CSSStyleSheet::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. Review URL: https://codereview.chromium.org/1322543004 git-svn-id: svn://svn.chromium.org/blink/trunk@201712 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment