Saturday, 14 September 2013

In there a inherit value for the contenteditable attribute?

In there a inherit value for the contenteditable attribute?

As per
HTML-5
The values are "empty string", "true" and "false". There is no "inherit"
value. If the attribute is not set, than it inherits from the parent
element. "inherit" is a state since it is a Enumerated Attribute.
html5-contenteditable-valid-values
What happens when you travel upwards in the DOM and find no
Parent/Ancestor Element with the attribute set till the root html element?

No comments:

Post a Comment