DescriptionCSSStyleSheet::insertRule should respect the default namespace
This patch fixes CSSStyleSheet::insertRule to respect the default
namespace a stylesheet. The default namespace is currently only stored
during initial parsing of a stylesheet, so this moves the value to be
stored on the StyleSheetContents. This is stored separately to the rest
of the namespaces to avoid an extra hash map lookup, but could probably
be added to the m_namespaces map keyed off a null AtomicString.
The added test passes in FF and IE, but fails in Safari.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201712
Patch Set 1 #Patch Set 2 : #
Total comments: 1
Patch Set 3 : #
Dependent Patchsets: Messages
Total messages: 8 (3 generated)
|