[Webkit-unassigned] [Bug 72930] window.getMatchedCSSRules() not supporting pseudo element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 28 11:48:08 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=72930





--- Comment #9 from Simon Fraser (smfr) <simon.fraser at apple.com>  2011-11-28 11:48:07 PST ---
(From update of attachment 116705)
View in context: https://bugs.webkit.org/attachment.cgi?id=116705&action=review

> Source/WebCore/page/DOMWindow.cpp:1370
> +    return m_frame->document()->styleSelector()->pseudoStyleRulesForElement(element, pseudoId, rulesToInclude);

Is there any benefit to the old code path when pseudoElement is empty?

> LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements.html:22
> +var cssText = "border-top-width: 1pxborder-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; border-image: initial;"

Is there a missing semicolon at "1pxborder"?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list