[Webkit-unassigned] [Bug 218256] New: REGRESSION: CSS rules using :first-of-type are applied to any/all siblings in a group under certain circumstances

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 27 13:23:30 PDT 2020


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

            Bug ID: 218256
           Summary: REGRESSION: CSS rules using :first-of-type are applied
                    to any/all siblings in a group under certain
                    circumstances
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ebenpackwood at gmail.com

Created attachment 412456

  --> https://bugs.webkit.org/attachment.cgi?id=412456&action=review

Minimal working example

In the attached example, when using Safari 14 or Safari Technology Preview, moving the mouse over the different elements of the page will result in the CSS rule `table td:first-of-type {color: red;}` being applied to potentially any arbitrary sibling in a group.

Only the first `td` in each group should be colored red, but mousing over and out of the other `td` elements results in these element also being colored red. This also occurs with various other properties.

-- 
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/20201027/eabb6fe5/attachment.htm>


More information about the webkit-unassigned mailing list