[Webkit-unassigned] [Bug 187718] New: [css-counters][css-display-contents] "display: contents" breaks counter incrementing???

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 16 17:46:34 PDT 2018


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

            Bug ID: 187718
           Summary: [css-counters][css-display-contents] "display:
                    contents" breaks counter incrementing???
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hi at jonjohnjohnson.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

CSS counters break, at least do not increment, when using "display: contents" on the elements ancestor within the "counter-reset" container.

testcase -> http://jsfiddle.net/5rcjk9gv/3/

Test case is straightforward, the first box does not use display: contents, the second box uses it on ancestors of the items that want access to the incremented counter value, but it's broken :(

This isn't broken in chrome or firefox.

-- 
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/20180717/7615c59d/attachment.html>


More information about the webkit-unassigned mailing list