Bug 1756716 [wpt PR 32947] - Fix modal-dialog-in-table-column.html & modal-dialog...
commit2248c6afb3262ac6832a686fce912fdebbd1297a
authorTim Nguyen <ntim@apple.com>
Fri, 18 Mar 2022 10:31:02 +0000 (18 10:31 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 21 Mar 2022 06:50:50 +0000 (21 06:50 +0000)
tree08a427a067ae74805af5af8f5e3120f8c72ad932
parentde718ce3cd0fd87d1cd8635086684195b5bc851f
Bug 1756716 [wpt PR 32947] - Fix modal-dialog-in-table-column.html & modal-dialog-in-replaced-rend…, a=testonly

Automatic update from web-platform-tests
Fix modal-dialog-in-table-column.html & modal-dialog-in-replaced-renderer.html to match Gecko & WebKit behavior

Gecko & WebKit do not generate boxes for modal dialogs in replaced renderers, and nothing in the spec really says this is the wanted behavior.

Blink follows the 'reparent in box tree' logic, but it can be argued that since no box is generated in the first place (like for display: none),
there is nothing to reparent, hence no box should be displayed.

This is the consensus of a CSSWG meeting: https://github.com/w3c/csswg-drafts/issues/6939#issuecomment-1016671534

--

wpt-commits: b64788f3cb9f8f18adf27422efbf71536a3f244b
wpt-pr: 32947
testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/modal-dialog-in-replaced-renderer-ref.html
testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/modal-dialog-in-replaced-renderer.html
testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/modal-dialog-in-table-column-ref.html
testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/modal-dialog-in-table-column.html