Add layout_2020 support for NodeGeometryQuery and ContentBoxQuery

This commit is contained in:
Martin Robinson 2020-01-31 17:54:56 +01:00 committed by Simon Sapin
parent b10a24e81e
commit fa7839270d
21 changed files with 196 additions and 175 deletions

View file

@ -1,4 +0,0 @@
[cssom-getBoundingClientRect-002.html]
[getBoundingClientRect on a newly-created Element not yet inserted into the DOM should return an all-zeroes DOMRect]
expected: FAIL

View file

@ -1,2 +0,0 @@
[cssom-getBoundingClientRect-vertical-rl.html]
expected: FAIL

View file

@ -1,4 +0,0 @@
[elementFromPoint-001.html]
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL

View file

@ -1,7 +1,4 @@
[elementFromPoint.html]
[Fieldsets]
expected: FAIL
[SVG element at x,y]
expected: FAIL

View file

@ -1,4 +0,0 @@
[elementsFromPoint-invalid-cases.html]
[The root element is the last element returned for valid queries]
expected: FAIL

View file

@ -1,7 +1,4 @@
[negativeMargins.html]
[cssom-view - elementFromPoint and elementsFromPoint dealing with negative margins]
expected: FAIL
[cssom-view - elementFromPoint and elementsFromPoint dealing with negative margins 1]
expected: FAIL

View file

@ -1,11 +1,5 @@
[scroll-behavior-smooth.html]
expected: ERROR
[Smooth scrolling while doing history navigation.]
expected: FAIL
[Instant scrolling while doing history navigation.]
expected: FAIL
[scroll-behavior: smooth on DIV element]
expected: FAIL

View file

@ -0,0 +1,19 @@
[scrollLeftTop.html]
[writing-mode:vertical-lr; direction:ltr]
expected: FAIL
[writing-mode:vertical-rl; direction:rtl]
expected: FAIL
[writing-mode:vertical-lr; direction:rtl]
expected: FAIL
[writing-mode:vertical-rl; direction:ltr]
expected: FAIL
[writing-mode:horizontal-tb; direction:ltr]
expected: FAIL
[writing-mode:horizontal-tb; direction:rtl]
expected: FAIL

View file

@ -1,28 +1,10 @@
[scrollWidthHeight.xht]
[elemSimple.clientWidth is the width of the padding edge]
expected: FAIL
[elemSimple.scrollWidth is its clientWidth]
expected: FAIL
[elemNestedOverflow.scrollWidth is the width of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL
[elemNestedOverflow.clientWidth is the height of the padding edge]
expected: FAIL
[elemOverflow.clientWidth is the width of the padding edge]
expected: FAIL
[elemSimple.clientHeight is the height of the padding edge]
expected: FAIL
[elemOverflow.clientHeight is the height of the padding edge]
expected: FAIL
[elemNestedOverflow.clientHeight is the height of the padding edge]
expected: FAIL
[elemSimple.scrollHeight is its clientHeight]
expected: FAIL

View file

@ -1,20 +1,19 @@
[scrollWidthHeightWhenNotScrollable.xht]
expected: ERROR
[elemSimple.clientWidth is the width of the padding edge]
expected: FAIL
[elemSimple.scrollWidth is its clientWidth]
expected: FAIL
[elemSimple.clientHeight is the height of the padding edge]
expected: FAIL
[elemOverflow.clientHeight is the height of the padding edge]
expected: FAIL
[elemSimple.scrollHeight is its clientHeight]
expected: FAIL
[elemOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL
[elemNestedOverflow.scrollWidth is the width of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL
[elemNestedOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL
[elemOverflow.scrollHeight is the width of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL

View file

@ -29,15 +29,9 @@
[scrollWidth/scrollHeight on the root element in non-quirks mode]
expected: FAIL
[clientWidth/clientHeight of the content in non-quirks mode]
expected: FAIL
[scroll() on the HTML body element in quirks mode]
expected: FAIL
[clientWidth/clientHeight of the content in quirks mode]
expected: FAIL
[scrollingElement in quirks mode]
expected: FAIL

View file

@ -1,4 +0,0 @@
[flex-item-assign-inline-size.html]
[Test inline size against percentage]
expected: FAIL

View file

@ -0,0 +1,2 @@
[word-break-keep-all-008.htm]
expected: FAIL

View file

@ -1,19 +0,0 @@
[client-top-left-height-width.html]
[Block without border and padding]
expected: FAIL
[Rotated block]
expected: FAIL
[Absolutely positioned block]
expected: FAIL
[Block without border]
expected: FAIL
[Block with border]
expected: FAIL
[Inline block]
expected: FAIL

View file

@ -1,4 +0,0 @@
[empty_clientrect.html]
[empty_clientrect]
expected: FAIL

View file

@ -1,7 +0,0 @@
[getBoundingClientRect.html]
[getBoundingClientRect 1]
expected: FAIL
[getBoundingClientRect]
expected: FAIL

View file

@ -1,4 +0,0 @@
[img_width_height.html]
[img_width_height]
expected: FAIL

View file

@ -1,11 +0,0 @@
[mime_sniffing_font_context.html]
expected: TIMEOUT
[Sniffed font with xml is not loaded]
expected: TIMEOUT
[Sniffed font with xhtml+xml is not loaded]
expected: TIMEOUT
[Sniffed font is loaded and applied]
expected: TIMEOUT