mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
script: Clamp table spans according to the HTML specification (#36703)
Previously, spans were partially clamped during layout, but this means that accessing and setting these properties via script wouldn't behave according to the HTML specification. In addition, the value wasn't floored in layout, so could lead to panics. This change improves clamping and moves it to script. Testing: This change includes a new WPT test. Fixes #36699. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
b10fc49e8a
commit
0d21992edd
9 changed files with 177 additions and 75 deletions
|
@ -1487,9 +1487,6 @@
|
|||
[colgroup.tabIndex: IDL set to -2147483648]
|
||||
expected: FAIL
|
||||
|
||||
[colgroup.span: setAttribute() to 2147483647]
|
||||
expected: FAIL
|
||||
|
||||
[colgroup.span: setAttribute() to 2147483648]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1499,9 +1496,6 @@
|
|||
[colgroup.span: setAttribute() to 4294967296]
|
||||
expected: FAIL
|
||||
|
||||
[colgroup.span: setAttribute() to 1001]
|
||||
expected: FAIL
|
||||
|
||||
[colgroup.span: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2276,9 +2270,6 @@
|
|||
[col.tabIndex: IDL set to -2147483648]
|
||||
expected: FAIL
|
||||
|
||||
[col.span: setAttribute() to 2147483647]
|
||||
expected: FAIL
|
||||
|
||||
[col.span: setAttribute() to 2147483648]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2288,9 +2279,6 @@
|
|||
[col.span: setAttribute() to 4294967296]
|
||||
expected: FAIL
|
||||
|
||||
[col.span: setAttribute() to 1001]
|
||||
expected: FAIL
|
||||
|
||||
[col.span: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5657,9 +5645,6 @@
|
|||
[td.tabIndex: IDL set to -2147483648]
|
||||
expected: FAIL
|
||||
|
||||
[td.colSpan: setAttribute() to 2147483647]
|
||||
expected: FAIL
|
||||
|
||||
[td.colSpan: setAttribute() to 2147483648]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5669,9 +5654,6 @@
|
|||
[td.colSpan: setAttribute() to 4294967296]
|
||||
expected: FAIL
|
||||
|
||||
[td.colSpan: setAttribute() to 1001]
|
||||
expected: FAIL
|
||||
|
||||
[td.colSpan: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5684,9 +5666,6 @@
|
|||
[td.colSpan: IDL set to 1001]
|
||||
expected: FAIL
|
||||
|
||||
[td.rowSpan: setAttribute() to 2147483647]
|
||||
expected: FAIL
|
||||
|
||||
[td.rowSpan: setAttribute() to 2147483648]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5696,9 +5675,6 @@
|
|||
[td.rowSpan: setAttribute() to 4294967296]
|
||||
expected: FAIL
|
||||
|
||||
[td.rowSpan: setAttribute() to 65535]
|
||||
expected: FAIL
|
||||
|
||||
[td.rowSpan: IDL set to 2147483647]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7157,9 +7133,6 @@
|
|||
[th.tabIndex: IDL set to -2147483648]
|
||||
expected: FAIL
|
||||
|
||||
[th.colSpan: setAttribute() to 2147483647]
|
||||
expected: FAIL
|
||||
|
||||
[th.colSpan: setAttribute() to 2147483648]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7169,9 +7142,6 @@
|
|||
[th.colSpan: setAttribute() to 4294967296]
|
||||
expected: FAIL
|
||||
|
||||
[th.colSpan: setAttribute() to 1001]
|
||||
expected: FAIL
|
||||
|
||||
[th.colSpan: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7184,9 +7154,6 @@
|
|||
[th.colSpan: IDL set to 1001]
|
||||
expected: FAIL
|
||||
|
||||
[th.rowSpan: setAttribute() to 2147483647]
|
||||
expected: FAIL
|
||||
|
||||
[th.rowSpan: setAttribute() to 2147483648]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7196,9 +7163,6 @@
|
|||
[th.rowSpan: setAttribute() to 4294967296]
|
||||
expected: FAIL
|
||||
|
||||
[th.rowSpan: setAttribute() to 65535]
|
||||
expected: FAIL
|
||||
|
||||
[th.rowSpan: IDL set to 2147483647]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue