ZVON > References > DOM2 Reference

type (attribute )

Owning interface and usage:  
CSSRule.type

Member of these other interfaces:  
CSSCharsetRule, CSSFontFaceRule, CSSImportRule, CSSMediaRule, CSSPageRule, CSSStyleRule, CSSUnknownRule

Readonly:   yes

Type:   unsigned

Description:  
The type of the rule, as defined below. The expectation is that binding-specific casting methods can be used to cast down from an instance of the CSSRule interface to the specific derived interface implied by the type.

Available values for the type attribute:
An integer indicating which type of rule this is.
  0 = UNKNOWN_RULE (of type unsigned short)
The rule is a CSSUnknownRule.
  1 = STYLE_RULE (of type unsigned short)
The rule is a CSSStyleRule.
  2 = CHARSET_RULE (of type unsigned short)
The rule is a CSSCharsetRule.
  3 = IMPORT_RULE (of type unsigned short)
The rule is a CSSImportRule.
  4 = MEDIA_RULE (of type unsigned short)
The rule is a CSSMediaRule.
  5 = FONT_FACE_RULE (of type unsigned short)
The rule is a CSSFontFaceRule.
  6 = PAGE_RULE (of type unsigned short)
The rule is a CSSPageRule.



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
UNLIMITED Web Hosting by HostDepartment Alojamiento Web UK Domain Names glossary for conference call answering service
MSN VoIP Internettelefonie Hosted Exchange, SDSL VoIP Internettelefonie AT VoIP Internettelefonie DE