[Webkit-unassigned] [Bug 84834] CSS Specificity: First-line style(if present) is always applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 26 08:50:23 PDT 2012


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





--- Comment #3 from Pravin D <pravind.2k4 at gmail.com>  2012-04-26 08:50:24 PST ---
(In reply to comment #2)
> because ::first-line is a pseudo-element selector, div::first-line doesn't select the same thing as #div1 or div.divclass. The test case you provide demonstrates expected behaviour - you can think about the pseudo-element selector as a selector that introduces extra structure to the document and then styles the structure that is created:
> 
> <div class="divclass"><::first-line>Filler Text Filler Text Filler Text</::first-line><br>...</div>

Ah!!! sorry... got it

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