readOnly property
Retrieves whether the rule or style sheet is defined on the document or is imported.
Syntax
| JavaScript | |
|---|
Property values
Type: Boolean
VARIANT_FALSE (false)
-
Style sheet is defined in the document or imported.
VARIANT_TRUE (true)
-
Style sheet is linked to the document.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Remarks
You cannot modify style sheets obtained through a link object or the @import rule while the designMode property is enabled. For more information, see Introduction to MSHTML Editing.
Send comments about this topic to Microsoft
Build date: 3/14/2012