diff options
author | Oriol Brufau <obrufau@igalia.com> | 2023-08-15 02:28:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 00:28:32 +0000 |
commit | 963104e5fc1f34cf77bb65991e83156cab6bf9d4 (patch) | |
tree | 86c5c55d62ae62f0b8aa5c172cd620c03c371737 /tests/wpt/meta/quirks | |
parent | 78c70112405508354b6ed8461d4e1c81c933f721 (diff) | |
download | servo-963104e5fc1f34cf77bb65991e83156cab6bf9d4.tar.gz servo-963104e5fc1f34cf77bb65991e83156cab6bf9d4.zip |
Run same tests for layout-2020 and layout-2013 (#30092)
Most tests were only being run for layout-2013, not for layout-2020.
This wasn't great since layout-2020 is now the default.
So this patch unifies the lists of included tests for both layouts.
For layout-2013 this implies adding css/css-content/, css/css-logical/
and css/css-masking/clip/.
For layout-2020 this implies adding several additional css tests, and
also tests like dom/, js/, html/, etc.
Diffstat (limited to 'tests/wpt/meta/quirks')
15 files changed, 132 insertions, 472 deletions
diff --git a/tests/wpt/meta/quirks/body-fills-html-quirk-float.html.ini b/tests/wpt/meta/quirks/body-fills-html-quirk-float.html.ini deleted file mode 100644 index 1a95a341a8a..00000000000 --- a/tests/wpt/meta/quirks/body-fills-html-quirk-float.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[body-fills-html-quirk-float.html] - expected: FAIL diff --git a/tests/wpt/meta/quirks/line-height-calculation.html.ini b/tests/wpt/meta/quirks/line-height-calculation.html.ini index 81c6c4b37f7..36593e53e09 100644 --- a/tests/wpt/meta/quirks/line-height-calculation.html.ini +++ b/tests/wpt/meta/quirks/line-height-calculation.html.ini @@ -2,39 +2,21 @@ [The line height calculation quirk, <div id=test><img src="{png}"></div><img id=ref src="{png}"><div id=s_ref>x</div>] expected: FAIL - [The line height calculation quirk, <div id=test><img src="{png}"> <img src="{png}"></div><div id=ref>x</div><div id=s_ref>x</div>] - expected: FAIL - [The line height calculation quirk, <table><tr><td id=test><img src="{png}"><tr><td><img id=ref src="{png}"><tr><td id=s_ref>x</table>] expected: FAIL - [The line height calculation quirk, <table><tr><td id=test><img src="{png}"> <img src="{png}"><tr><td id=ref>x<tr><td id=s_ref>x</table>] - expected: FAIL - [The line height calculation quirk, <pre id=test><img src="{png}"></pre><img id=ref src="{png}"><pre id=s_ref>x</pre>] expected: FAIL [The line height calculation quirk, span { margin:1px }<div id=test><span></span></div><div id=ref></div><div id=s_ref>x</div>] expected: FAIL - [The line height calculation quirk, span { padding:1px 0 }<div id=test><span></span></div><div id=ref></div><div id=s_ref></div>] - expected: FAIL - [The line height calculation quirk, span { margin:0 1px }<div id=test><span></span></div><div id=ref></div><div id=s_ref>x</div>] expected: FAIL [The line height calculation quirk, span { margin:0 1px; padding:1px 0 }<div id=test><span></span></div><div id=ref></div><div id=s_ref>x</div>] expected: FAIL - [The line height calculation quirk, span { border-width:1px 0; border-style:solid }<div id=test><span></span></div><div id=ref></div><div id=s_ref></div>] - expected: FAIL - - [The line height calculation quirk, span { border-width:1px; border-style:solid none }<div id=test><span></span></div><div id=ref></div><div id=s_ref></div>] - expected: FAIL - - [The line height calculation quirk, span { border-width:1px; border-style:solid hidden }<div id=test><span></span></div><div id=ref></div><div id=s_ref></div>] - expected: FAIL - [The line height calculation quirk, span { border-right:1px solid }<div id=test><span></span></div><div id=ref>x</div><div id=s_ref>x</div>] expected: FAIL diff --git a/tests/wpt/meta/quirks/line-height-trailing-collapsable-whitespace.html.ini b/tests/wpt/meta/quirks/line-height-trailing-collapsable-whitespace.html.ini new file mode 100644 index 00000000000..5701278162e --- /dev/null +++ b/tests/wpt/meta/quirks/line-height-trailing-collapsable-whitespace.html.ini @@ -0,0 +1,2 @@ +[line-height-trailing-collapsable-whitespace.html] + expected: FAIL diff --git a/tests/wpt/meta/quirks/percentage-height-calculation.html.ini b/tests/wpt/meta/quirks/percentage-height-calculation.html.ini new file mode 100644 index 00000000000..69ac34f4d2f --- /dev/null +++ b/tests/wpt/meta/quirks/percentage-height-calculation.html.ini @@ -0,0 +1,120 @@ +[percentage-height-calculation.html] + [The percentage height calculation quirk, #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, #test { height:50% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, #test { height:25% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, #test { height:12.5% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, #test { height:100% }<div><div id=test></div></div>] + expected: FAIL + + [The percentage height calculation quirk, <img id=test src="{png}" height=100%>] + expected: FAIL + + [The percentage height calculation quirk, <img id=test src="{png}" height=100% border=10>] + expected: FAIL + + [The percentage height calculation quirk, <table id=test height=100%><tr><td></table>] + expected: FAIL + + [The percentage height calculation quirk, #foo { height:100px } #test { height:100% }<div id=foo><div><div id=test></div></div></div>] + expected: FAIL + + [The percentage height calculation quirk, #foo { position:relative } #test { height:100% }<div id=foo><div><div id=test></div></div></div>] + expected: FAIL + + [The percentage height calculation quirk, #foo { height:100px } #test { height:100%; position:relative }<div id=foo><div><div id=test></div></div></div>] + expected: FAIL + + [The percentage height calculation quirk, html { display:inline } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html { margin:10px } body { display:inline } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, body { margin:0 } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, body { margin:0; padding:10px } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, body { margin:0; border:10px solid } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html { margin:10px } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html { padding:10px } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html { border:10px solid } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html { height:100%; margin:10px } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html { height:100%; padding:10px } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html { height:100%; border:10px solid } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, body { height:100%; margin:10px } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, body { height:100%; padding:10px } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, body { height:100%; border:10px solid } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html { position:absolute; height:100%; margin:10px } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html { position:absolute; height:100%; padding:10px } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html { position:absolute; height:100%; border:10px solid } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, body { margin:99px 0 } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html, body { border:10px none } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, html, body { border:10px hidden } #test { height:100% }<div id=test></div>] + expected: FAIL + + [The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><body><div id="test"/></body></html>] + expected: FAIL + + [The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><body/><div id="test"/></html>] + expected: FAIL + + [The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><span><body><div id="test"/></body></span></html>] + expected: FAIL + + [The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><body><body><div id="test"/></body></body></html>] + expected: FAIL + + [The percentage height calculation quirk, <html><head xmlns="{html}"><style>#test { height:100% }</style></head><body xmlns="{html}"><div id="test"/></body></html>] + expected: FAIL + + [The percentage height calculation quirk, <div xmlns="{html}"><head><style>#test { height:100% }</style></head><body><div id="test"/></body></div>] + expected: FAIL + + [The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><body xmlns=""><div xmlns="{html}" id="test"/></body></html>] + expected: FAIL + + [The percentage height calculation quirk, <HTML xmlns="{html}"><head><style>#test { height:100% }</style></head><body><div id="test"/></body></HTML>] + expected: FAIL + + [The percentage height calculation quirk, <html xmlns="{html}"><head><style>#test { height:100% }</style></head><BODY><div id="test"/></BODY></html>] + expected: FAIL diff --git a/tests/wpt/meta/quirks/percentage-height-quirk-excludes-flex-grid-002.html.ini b/tests/wpt/meta/quirks/percentage-height-quirk-excludes-flex-grid-002.html.ini new file mode 100644 index 00000000000..cb37c253dd0 --- /dev/null +++ b/tests/wpt/meta/quirks/percentage-height-quirk-excludes-flex-grid-002.html.ini @@ -0,0 +1,2 @@ +[percentage-height-quirk-excludes-flex-grid-002.html] + expected: FAIL diff --git a/tests/wpt/meta/quirks/supports.html.ini b/tests/wpt/meta/quirks/supports.html.ini new file mode 100644 index 00000000000..93c1ce0b659 --- /dev/null +++ b/tests/wpt/meta/quirks/supports.html.ini @@ -0,0 +1,3 @@ +[supports.html] + [Sanity check @supports length] + expected: FAIL diff --git a/tests/wpt/meta/quirks/table-cell-nowrap-minimum-width-calculation.html.ini b/tests/wpt/meta/quirks/table-cell-nowrap-minimum-width-calculation.html.ini new file mode 100644 index 00000000000..161e8595871 --- /dev/null +++ b/tests/wpt/meta/quirks/table-cell-nowrap-minimum-width-calculation.html.ini @@ -0,0 +1,3 @@ +[table-cell-nowrap-minimum-width-calculation.html] + [The table cell nowrap minimum width calculation quirk, basic] + expected: FAIL diff --git a/tests/wpt/meta/quirks/table-cell-width-calculation-abspos.html.ini b/tests/wpt/meta/quirks/table-cell-width-calculation-abspos.html.ini deleted file mode 100644 index 7e664cb5b56..00000000000 --- a/tests/wpt/meta/quirks/table-cell-width-calculation-abspos.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[table-cell-width-calculation-abspos.html] - expected: FAIL diff --git a/tests/wpt/meta/quirks/table-cell-width-calculation-applies-to.html.ini b/tests/wpt/meta/quirks/table-cell-width-calculation-applies-to.html.ini deleted file mode 100644 index 74a3e841030..00000000000 --- a/tests/wpt/meta/quirks/table-cell-width-calculation-applies-to.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[table-cell-width-calculation-applies-to.html] - [table 1] - expected: FAIL diff --git a/tests/wpt/meta/quirks/table-cell-width-calculation.html.ini b/tests/wpt/meta/quirks/table-cell-width-calculation.html.ini index d77198cf766..11090da845a 100644 --- a/tests/wpt/meta/quirks/table-cell-width-calculation.html.ini +++ b/tests/wpt/meta/quirks/table-cell-width-calculation.html.ini @@ -1,7 +1,4 @@ [table-cell-width-calculation.html] - [The table cell width calculation quirk, baseline] - expected: FAIL - [The table cell width calculation quirk, basic] expected: FAIL @@ -17,24 +14,6 @@ [The table cell width calculation quirk, the quirk only applies when the cell is the containing block] expected: FAIL - [The table cell width calculation quirk, the quirk shouldn't apply for generated content] - expected: FAIL - - [The table cell width calculation quirk, the quirk shouldn't apply for <input>] - expected: FAIL - - [The table cell width calculation quirk, the quirk shouldn't apply for <object>] - expected: FAIL - - [The table cell width calculation quirk, the quirk shouldn't apply for <embed>] - expected: FAIL - - [The table cell width calculation quirk, the quirk shouldn't apply for <video poster>] - expected: FAIL - - [The table cell width calculation quirk, non-auto width on cell] - expected: FAIL - [The table cell width calculation quirk, zero width on cell, specified with on table] expected: FAIL diff --git a/tests/wpt/meta/quirks/text-decoration-doesnt-propagate-into-tables/quirks.html.ini b/tests/wpt/meta/quirks/text-decoration-doesnt-propagate-into-tables/quirks.html.ini new file mode 100644 index 00000000000..0aaec6276d6 --- /dev/null +++ b/tests/wpt/meta/quirks/text-decoration-doesnt-propagate-into-tables/quirks.html.ini @@ -0,0 +1,2 @@ +[quirks.html] + expected: FAIL diff --git a/tests/wpt/meta/quirks/unitless-length/excluded-properties-003.html.ini b/tests/wpt/meta/quirks/unitless-length/excluded-properties-003.html.ini deleted file mode 100644 index dc3b5ae057f..00000000000 --- a/tests/wpt/meta/quirks/unitless-length/excluded-properties-003.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[excluded-properties-003.html] - [inset does not support quirky length values] - expected: FAIL diff --git a/tests/wpt/meta/quirks/unitless-length/limited-quirks.html.ini b/tests/wpt/meta/quirks/unitless-length/limited-quirks.html.ini deleted file mode 100644 index 6c0be9e0cb3..00000000000 --- a/tests/wpt/meta/quirks/unitless-length/limited-quirks.html.ini +++ /dev/null @@ -1,141 +0,0 @@ -[limited-quirks.html] - [top: 1] - expected: FAIL - - [top: +1] - expected: FAIL - - [top: -1] - expected: FAIL - - [top: 1.5] - expected: FAIL - - [top: +1.5] - expected: FAIL - - [top: -1.5] - expected: FAIL - - [top: \\31 ] - expected: FAIL - - [top: +\\31 ] - expected: FAIL - - [top: -\\31 ] - expected: FAIL - - [top: \\31 .5] - expected: FAIL - - [top: +\\31 .5] - expected: FAIL - - [top: -\\31 .5] - expected: FAIL - - [top: 1\\31 ] - expected: FAIL - - [top: +1\\31 ] - expected: FAIL - - [top: -1\\31 ] - expected: FAIL - - [top: 1\\31 .5] - expected: FAIL - - [top: +1\\31 .5] - expected: FAIL - - [top: -1\\31 .5] - expected: FAIL - - [top: a] - expected: FAIL - - [top: A] - expected: FAIL - - [top: 1a] - expected: FAIL - - [top: +1a] - expected: FAIL - - [top: -1a] - expected: FAIL - - [top: +1A] - expected: FAIL - - [top: -1A] - expected: FAIL - - [top: +a] - expected: FAIL - - [top: -a] - expected: FAIL - - [top: +A] - expected: FAIL - - [top: -A] - expected: FAIL - - [top: @a] - expected: FAIL - - [top: @1] - expected: FAIL - - [top: @1a] - expected: FAIL - - [top: "a"] - expected: FAIL - - [top: "1"] - expected: FAIL - - [top: "1a"] - expected: FAIL - - [top: url(1)] - expected: FAIL - - [top: url('1')] - expected: FAIL - - [top: #1] - expected: FAIL - - [top: #01] - expected: FAIL - - [top: #001] - expected: FAIL - - [top: #0001] - expected: FAIL - - [top: #00001] - expected: FAIL - - [top: #000001] - expected: FAIL - - [top: +/**/1] - expected: FAIL - - [top: -/**/1] - expected: FAIL - - [top: calc(1)] - expected: FAIL - - [top: calc(2 * 2px)] - expected: FAIL diff --git a/tests/wpt/meta/quirks/unitless-length/no-quirks.html.ini b/tests/wpt/meta/quirks/unitless-length/no-quirks.html.ini deleted file mode 100644 index 92fa5eb90b0..00000000000 --- a/tests/wpt/meta/quirks/unitless-length/no-quirks.html.ini +++ /dev/null @@ -1,141 +0,0 @@ -[no-quirks.html] - [top: 1] - expected: FAIL - - [top: +1] - expected: FAIL - - [top: -1] - expected: FAIL - - [top: 1.5] - expected: FAIL - - [top: +1.5] - expected: FAIL - - [top: -1.5] - expected: FAIL - - [top: \\31 ] - expected: FAIL - - [top: +\\31 ] - expected: FAIL - - [top: -\\31 ] - expected: FAIL - - [top: \\31 .5] - expected: FAIL - - [top: +\\31 .5] - expected: FAIL - - [top: -\\31 .5] - expected: FAIL - - [top: 1\\31 ] - expected: FAIL - - [top: +1\\31 ] - expected: FAIL - - [top: -1\\31 ] - expected: FAIL - - [top: 1\\31 .5] - expected: FAIL - - [top: +1\\31 .5] - expected: FAIL - - [top: -1\\31 .5] - expected: FAIL - - [top: a] - expected: FAIL - - [top: A] - expected: FAIL - - [top: 1a] - expected: FAIL - - [top: +1a] - expected: FAIL - - [top: -1a] - expected: FAIL - - [top: +1A] - expected: FAIL - - [top: -1A] - expected: FAIL - - [top: +a] - expected: FAIL - - [top: -a] - expected: FAIL - - [top: +A] - expected: FAIL - - [top: -A] - expected: FAIL - - [top: @a] - expected: FAIL - - [top: @1] - expected: FAIL - - [top: @1a] - expected: FAIL - - [top: "a"] - expected: FAIL - - [top: "1"] - expected: FAIL - - [top: "1a"] - expected: FAIL - - [top: url(1)] - expected: FAIL - - [top: url('1')] - expected: FAIL - - [top: #1] - expected: FAIL - - [top: #01] - expected: FAIL - - [top: #001] - expected: FAIL - - [top: #0001] - expected: FAIL - - [top: #00001] - expected: FAIL - - [top: #000001] - expected: FAIL - - [top: +/**/1] - expected: FAIL - - [top: -/**/1] - expected: FAIL - - [top: calc(1)] - expected: FAIL - - [top: calc(2 * 2px)] - expected: FAIL diff --git a/tests/wpt/meta/quirks/unitless-length/quirks.html.ini b/tests/wpt/meta/quirks/unitless-length/quirks.html.ini deleted file mode 100644 index 845e270f290..00000000000 --- a/tests/wpt/meta/quirks/unitless-length/quirks.html.ini +++ /dev/null @@ -1,141 +0,0 @@ -[quirks.html] - [top: 1] - expected: FAIL - - [top: +1] - expected: FAIL - - [top: -1] - expected: FAIL - - [top: 1.5] - expected: FAIL - - [top: +1.5] - expected: FAIL - - [top: -1.5] - expected: FAIL - - [top: \\31 ] - expected: FAIL - - [top: +\\31 ] - expected: FAIL - - [top: -\\31 ] - expected: FAIL - - [top: \\31 .5] - expected: FAIL - - [top: +\\31 .5] - expected: FAIL - - [top: -\\31 .5] - expected: FAIL - - [top: 1\\31 ] - expected: FAIL - - [top: +1\\31 ] - expected: FAIL - - [top: -1\\31 ] - expected: FAIL - - [top: 1\\31 .5] - expected: FAIL - - [top: +1\\31 .5] - expected: FAIL - - [top: -1\\31 .5] - expected: FAIL - - [top: a] - expected: FAIL - - [top: A] - expected: FAIL - - [top: 1a] - expected: FAIL - - [top: +1a] - expected: FAIL - - [top: -1a] - expected: FAIL - - [top: +1A] - expected: FAIL - - [top: -1A] - expected: FAIL - - [top: +a] - expected: FAIL - - [top: -a] - expected: FAIL - - [top: +A] - expected: FAIL - - [top: -A] - expected: FAIL - - [top: @a] - expected: FAIL - - [top: @1] - expected: FAIL - - [top: @1a] - expected: FAIL - - [top: "a"] - expected: FAIL - - [top: "1"] - expected: FAIL - - [top: "1a"] - expected: FAIL - - [top: url(1)] - expected: FAIL - - [top: url('1')] - expected: FAIL - - [top: #1] - expected: FAIL - - [top: #01] - expected: FAIL - - [top: #001] - expected: FAIL - - [top: #0001] - expected: FAIL - - [top: #00001] - expected: FAIL - - [top: #000001] - expected: FAIL - - [top: +/**/1] - expected: FAIL - - [top: -/**/1] - expected: FAIL - - [top: calc(1)] - expected: FAIL - - [top: calc(2 * 2px)] - expected: FAIL |