[Webkit-unassigned] [Bug 240961] New: `position: relative` doesn't work as expected on table row

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 26 10:29:06 PDT 2022


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

            Bug ID: 240961
           Summary: `position: relative` doesn't work as expected on table
                    row
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Tables
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: benoit.rouleau at icloud.com
                CC: zalan at apple.com

Created attachment 459789

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

Example HTML file showcasing the issue

When trying to absolute-position an element relative to the nearest `position: relative` table row (`tr`), it skips the `tr` and positions it relative to the next ancestor with `position: relative`.

In the example HTML file provided, it positions it relative to the document because there is no other ancestor with `position: relative`. Open this file in Safari, Chrome, and Firefox, and you'll see that Safari is the only one that has this issue.

Thank you!

-- 
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/20220526/4a0f03ac/attachment.htm>


More information about the webkit-unassigned mailing list