mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
layout: Take into account display: table
etc in offset* queries (#32448)
* layout: Take into account `display: table` etc in offset* queries The specification says that for deciding whether an element should be used for offset* queries, a browser should take into account whether the element is a table cell or table. This change makes that happen. Co-authored-by: Oriol Brufau <obrufau@igalia.com> * Only tag HTML elements if they are in the HTML namespace --------- Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
35bbcc0d95
commit
f4c9b310d5
11 changed files with 60 additions and 127 deletions
|
@ -2,20 +2,11 @@
|
|||
[vertical-align:top and align-content:start are equivalent]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align:middle and `align-content:unsafe center` are equivalent]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align:bottom and `align-content:unsafe end` are equivalent]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align:baseline and align-content:baseline are equivalent]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align:middle and `align-content:safe center` are equivalent if the container is tall]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align:bottom and `align-content:safe end` are equivalent if the container is tall]
|
||||
expected: FAIL
|
||||
|
||||
[`align-content:safe center` is equivalent to `unsafe center` even if the specified `height` is short]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
[baseline-td.html]
|
||||
[table, .display-table 1]
|
||||
expected: FAIL
|
||||
|
||||
[table, .display-table 3]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[element-sizing.html]
|
||||
[table 2]
|
||||
expected: FAIL
|
|
@ -1,7 +1,4 @@
|
|||
[td-box-sizing-003.html]
|
||||
[table 8]
|
||||
expected: FAIL
|
||||
|
||||
[table 9]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -215,42 +215,6 @@
|
|||
[<input type="number" value="0" style="overflow: scroll; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="range" style="overflow: visible; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="range" style="overflow: hidden; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="range" style="overflow: scroll; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="range" style="overflow: visible; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="range" style="overflow: hidden; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="range" style="overflow: scroll; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="color" value="#000000" style="overflow: visible; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="color" value="#000000" style="overflow: hidden; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="color" value="#000000" style="overflow: scroll; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="color" value="#000000" style="overflow: visible; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="color" value="#000000" style="overflow: hidden; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="color" value="#000000" style="overflow: scroll; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="checkbox" style="overflow: visible; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -263,12 +227,6 @@
|
|||
[<input type="checkbox" style="overflow: visible; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="checkbox" style="overflow: hidden; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="checkbox" style="overflow: scroll; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="radio" style="overflow: visible; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -281,12 +239,6 @@
|
|||
[<input type="radio" style="overflow: visible; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="radio" style="overflow: hidden; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="radio" style="overflow: scroll; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="file" style="overflow: visible; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -326,39 +278,9 @@
|
|||
[<input type="image" src="data:,broken" alt="x" style="overflow: visible; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:,broken" alt="x" style="overflow: hidden; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:,broken" alt="x" style="overflow: scroll; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:,broken" alt="x" style="overflow: visible; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:,broken" alt="x" style="overflow: hidden; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:,broken" alt="x" style="overflow: scroll; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:(png)" alt="x" style="overflow: visible; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:(png)" alt="x" style="overflow: hidden; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:(png)" alt="x" style="overflow: scroll; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:(png)" alt="x" style="overflow: visible; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:(png)" alt="x" style="overflow: hidden; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="image" src="data:(png)" alt="x" style="overflow: scroll; appearance: none;">]
|
||||
expected: FAIL
|
||||
|
||||
[<input type="reset" value="x" style="overflow: visible; appearance: auto;">]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue