[Webkit-unassigned] [Bug 210474] New: [css-flexbox] Incorrect computed style for first-letter pseudo-element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 13 20:29:56 PDT 2020


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

            Bug ID: 210474
           Summary: [css-flexbox] Incorrect computed style for
                    first-letter pseudo-element
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: rego at igalia.com

The spec <https://drafts.csswg.org/css-flexbox-1/#placement> says that the flexbox placement should not apply to the ::first-letter pseudo-content

Now, consider this test:

<style>
  div { display: flex; }
  div::first-letter { order: 2 }
</style>

<div>Triceratops</div>


WebKit renders it correctly because the first letter element (T) gets rendered ignoring the "order: 2" style value.
However, once you examine the computed style for the element, then that seems wrong as it appears with a computed value of "2" for "order".


This causes failures on WPT test http://wpt.live/css/css-flexbox/flexbox_first-letter.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200414/f91d762a/attachment-0001.htm>


More information about the webkit-unassigned mailing list