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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 28 20:58:09 PST 2011


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





--- Comment #10 from Naveen Bobbili <qghc36 at motorola.com>  2011-11-28 20:58:09 PST ---
(In reply to comment #9)
> (From update of attachment 116705 [details])
> 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?
> 
No there is no change. The empty pseudoElement still returns the same value.

> > 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"?
Yes there is. I will fix it and upload the patch.

-- 
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