[Webkit-unassigned] [Bug 104485] New: Flexbox should ignore firstLine pseudo element.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 9 08:00:49 PST 2012


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

           Summary: Flexbox should ignore firstLine pseudo element.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: huangxueqing at baidu.com


Flexbox should ignore firstLine pseudo element.
testcase:
<style> 
    div { display: -webkit-flex;  display: -moz-flex; display: flex; } 
    div::first-line { font-size: 10em;} 
    p:first-child { -webkit-order: 1; -moz-order: 1; order: 1;}
</style>
<div>
    <p>The first item.</p>
    <p>The second item.</p>
</div>
In above case, the flex item <p>(both the firet one and the second) should ignore "font-size: 10em;"

Spec[1] said that "None of the properties defined in this module apply to the ‘::first-line’ or ‘::first-letter’ pseudo-elements."
In addition, css2[2] define that "The :first-line pseudo-element can only be attached to a block container element."

opera 12.11, IE 10 and firefox 20 alpha have correct behavior.

[1]http://dev.w3.org/csswg/css3-flexbox/#display-flex
[2]http://www.w3.org/TR/CSS2/selector.html#first-line-pseudo

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