layout: Convert layout internal display to inline for replaced elements (#31133)

Replaced elements should never be able to have a layout internal
display, according to the specification. This change makes it so that
the used value of replaced element's display is always inline, as the
specification says.
This commit is contained in:
Martin Robinson 2024-01-23 13:55:01 +01:00 committed by GitHub
parent 890588945d
commit 54fb381a0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 22 additions and 79 deletions

View file

@ -1,85 +1,9 @@
[table-model-fixup-2.html]
expected: CRASH
[Replaced elements inside a table cannot be table-row and are considered inline -- input elements (top)]
expected: FAIL
[Replaced elements inside a table cannot be table-row and are considered inline -- img elements (top)]
expected: FAIL
[Replaced elements inside a table cannot be table-column and are considered inline -- input elements (width)]
expected: FAIL
[Replaced elements inside a table cannot be table-column and are considered inline -- input elements (top)]
expected: FAIL
[Replaced elements inside a table cannot be table-column and are considered inline -- img elements (top)]
expected: FAIL
[Replaced elements inside a table cannot be table-cell and are considered inline -- input elements (width)]
expected: FAIL
[Replaced elements inside a table cannot be table-cell and are considered inline -- input elements (top)]
expected: FAIL
[Replaced elements inside a table cannot be table-cell and are considered inline -- img elements (top)]
expected: FAIL
[Replaced elements outside a table cannot be table-row and are considered inline -- input=text elements]
expected: FAIL
[Replaced elements outside a table cannot be table-row and are considered inline -- input=button elements]
expected: FAIL
[Replaced elements outside a table cannot be table-row and are considered inline -- input=file elements]
expected: FAIL
[Replaced elements outside a table cannot be table-row and are considered inline -- img elements]
expected: FAIL
[Replaced elements outside a table cannot be table-row-group and are considered inline -- input=text elements]
expected: FAIL
[Replaced elements outside a table cannot be table-row-group and are considered inline -- input=button elements]
expected: FAIL
[Replaced elements outside a table cannot be table-row-group and are considered inline -- input=file elements]
expected: FAIL
[Replaced elements outside a table cannot be table-row-group and are considered inline -- img elements]
expected: FAIL
[Replaced elements outside a table cannot be table-column and are considered inline inline -- input=text elements]
expected: FAIL
[Replaced elements outside a table cannot be table-column and are considered inline -- input=button elements]
expected: FAIL
[Replaced elements outside a table cannot be table-column and are considered inline -- input=file elements]
expected: FAIL
[Replaced elements outside a table cannot be table-column and are considered inline -- img elements]
expected: FAIL
[Replaced elements outside a table cannot be table-cell and are considered inline -- input=text elements]
expected: FAIL
[Replaced elements outside a table cannot be table-cell and are considered inline -- input=button elements]
expected: FAIL
[Replaced elements outside a table cannot be table-cell and are considered inline -- input=file elements]
expected: FAIL
[Replaced elements outside a table cannot be table-cell and are considered inline -- img elements]
expected: FAIL
[Replaced elements outside a table cannot be table-caption and are considered inline -- input=text elements]
expected: FAIL
[Replaced elements outside a table cannot be table-caption and are considered inline -- input=button elements]
expected: FAIL
[Replaced elements outside a table cannot be table-caption and are considered inline -- input=file elements]
expected: FAIL
[Replaced elements outside a table cannot be table-caption and are considered inline -- img elements]
[Replaced elements inside a table cannot be table-row and are considered inline -- input elements (width)]
expected: FAIL