Update web-platform-tests to revision 6366ae15c2bc2314adca4321357c68bb468fec98

This commit is contained in:
WPT Sync Bot 2020-04-02 08:23:57 +00:00
parent e47e884cc7
commit 6b740f0283
328 changed files with 3757 additions and 591 deletions

View file

@ -0,0 +1,16 @@
[mozilla-tests.html]
[mozilla0016 - mozilla0016]
expected: FAIL
[mozilla0015 - mozilla0015]
expected: FAIL
[mozilla0017 - mozilla0017]
expected: FAIL
[mozilla0014 - mozilla0014]
expected: FAIL
[mozilla0012 - mozilla0012]
expected: FAIL

View file

@ -5,3 +5,18 @@
[name0031 - name0031] [name0031 - name0031]
expected: FAIL expected: FAIL
[name0025 - name0025]
expected: FAIL
[name0023 - name0023]
expected: FAIL
[name0033 - name0033]
expected: FAIL
[name0028 - name0028]
expected: FAIL
[name0017 - name0017]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-003.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -0,0 +1,52 @@
[Document-getAnimations.tentative.html]
[CSS Animations targetting (pseudo-)elements should have correct order after sorting (::marker)]
expected: FAIL
[Finished but not filling CSS Animations are not returned]
expected: FAIL
[Order of CSS Animations and CSS Transitions]
expected: FAIL
[Order of CSS Animations - markup-bound vs free animations]
expected: FAIL
[Order of CSS Animations - across elements]
expected: FAIL
[getAnimations for CSS Animations]
expected: FAIL
[Order of CSS Animations - within an element unaffected by start time]
expected: FAIL
[Order of CSS Animations - free animations]
expected: FAIL
[Order of CSS Animations - free animation vs CSS Transitions]
expected: FAIL
[CSS Animations canceled and restarted via the API are returned]
expected: FAIL
[getAnimations for non-animated content]
expected: FAIL
[Order of CSS Animations - across and within elements]
expected: FAIL
[Order of CSS Animations - within an element]
expected: FAIL
[CSS Animations targetting (pseudo-)elements should have correct order after sorting]
expected: FAIL
[CSS Animations canceled via the API are not returned]
expected: FAIL
[Finished but filling CSS Animations are returned]
expected: FAIL
[Yet-to-start CSS Animations are returned]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-item-z-ordering-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-one-sets-flex-basis-to-zero-px.html]
expected: ERROR

View file

@ -0,0 +1,4 @@
[flexbox_width-wrapping-column.html]
[.flexbox 1]
expected: FAIL

View file

@ -0,0 +1,2 @@
[multiline-reverse-wrap-baseline.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[multiline-shrink-to-fit.html]
expected: FAIL

View file

@ -0,0 +1,4 @@
[shrinking-column-flexbox.html]
[body 1]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-overflow-on-flexbox-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[image-orientation-background-properties.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[image-orientation-from-image-embedded-content.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[hyphens-auto-inline-010.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[hyphens-manual-inline-011.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[hyphens-manual-inline-012.html]
expected: FAIL

View file

@ -2,3 +2,6 @@
[Hit test intersecting scaled box] [Hit test intersecting scaled box]
expected: FAIL expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -2,18 +2,6 @@
[listeners are called when <iframe> is resized] [listeners are called when <iframe> is resized]
expected: FAIL expected: FAIL
[removing listener from one MQL doesn't remove it from all MQLs]
expected: FAIL
[listeners are called in order they were added]
expected: FAIL
[listeners are called in order their MQLs were created]
expected: FAIL
[listener that was added twice is called only once]
expected: FAIL
[listeners are called correct number of times] [listeners are called correct number of times]
expected: FAIL expected: FAIL

View file

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

View file

@ -2,3 +2,6 @@
[elementsFromPoint on the root document for points in iframe elements] [elementsFromPoint on the root document for points in iframe elements]
expected: FAIL expected: FAIL
[elementsFromPoint on inner documents]
expected: FAIL

View file

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

View file

@ -0,0 +1,4 @@
[DOMQuad-001.html]
[fromRect() method on DOMQuad with Infinity: bounds]
expected: FAIL

View file

@ -0,0 +1,25 @@
[DOMQuad-nan.html]
[Setting DOMQuad's p1.x to NaN]
expected: FAIL
[Setting DOMQuad's p2.y to NaN]
expected: FAIL
[Setting DOMQuad's p2.x to NaN]
expected: FAIL
[Setting DOMQuad's p4.x to NaN]
expected: FAIL
[Setting DOMQuad's p3.x to NaN]
expected: FAIL
[Setting DOMQuad's p3.y to NaN]
expected: FAIL
[Setting DOMQuad's p4.y to NaN]
expected: FAIL
[Setting DOMQuad's p1.y to NaN]
expected: FAIL

View file

@ -312,21 +312,18 @@
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] [Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN expected: NOTRUN
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain] [<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;" text/plain] [<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain] [<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk] [<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL

View file

@ -11,3 +11,6 @@
[X-Content-Type-Options%3A%20nosniff%0C] [X-Content-Type-Options%3A%20nosniff%0C]
expected: FAIL expected: FAIL
[X-Content-Type-Options%3A%20%22nosniFF%22]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_4.html] [traverse_the_history_3.html]
[Multiple history traversals, last would be aborted] [Multiple history traversals, last would be aborted]
expected: FAIL expected: FAIL

View file

@ -4,14 +4,17 @@
expected: FAIL expected: FAIL
[Host element with delegatesFocus including no focusable descendants should be skipped] [Host element with delegatesFocus including no focusable descendants should be skipped]
expected: TIMEOUT expected: NOTRUN
[Element with tabindex should support autofocus] [Element with tabindex should support autofocus]
expected: FAIL expected: TIMEOUT
[Area element should support autofocus] [Area element should support autofocus]
expected: NOTRUN expected: NOTRUN
[Host element with delegatesFocus should support autofocus] [Host element with delegatesFocus should support autofocus]
expected: FAIL expected: NOTRUN
[Non-HTMLElement should not support autofocus]
expected: NOTRUN

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_nonescaping-2.html] [iframe_sandbox_popups_nonescaping-2.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox] [Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL expected: NOTRUN

View file

@ -1,5 +1,4 @@
[iframe_sandbox_popups_nonescaping-3.html] [iframe_sandbox_popups_nonescaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox] [Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN expected: FAIL

View file

@ -38,3 +38,6 @@
[X Rendered audio for channel 5 does not equal [0,0.0626220703125,0.125030517578125,0.18695068359375,0.24810791015625,0.308319091796875,0.3673095703125,0.42486572265625,0.480743408203125,0.53472900390625,0.58660888671875,0.636199951171875,0.68328857421875,0.727691650390625,0.76922607421875,0.8077392578125...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t3.6732959747314453e-1\t6.2622070312500000e-2\t3.0470752716064453e-1\t4.8658168859649127e+0\t3.0517578125000000e-5\n\t[2\]\t6.8329977989196777e-1\t1.2503051757812500e-1\t5.5826926231384277e-1\t4.4650639949963384e+0\t3.0517578125000000e-5\n\t[3\]\t9.0373212099075317e-1\t1.8695068359375000e-1\t7.1678143739700317e-1\t3.8340669508039502e+0\t3.0517578125000000e-5\n\t[4\]\t9.9780619144439697e-1\t2.4810791015625000e-1\t7.4969828128814697e-1\t3.0216621502152523e+0\t3.0517578125000000e-5\n\t[5\]\t9.5236867666244507e-1\t3.0831909179687500e-1\t6.4404958486557007e-1\t2.0889059484187866e+0\t3.0517578125000000e-5\n\t...and 40527 more errors.\n\tMax AbsError of 1.9986611604690552e+0 at index of 15080.\n\t[15080\]\t-9.9994289875030518e-1\t9.9871826171875000e-1\t1.9986611604690552e+0\t2.0012262087101997e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 10584.\n\t[10584\]\t-5.8778524398803711e-1\t0.0000000000000000e+0\t5.8778524398803711e-1\tInfinity\t3.0517578125000000e-5\n] [X Rendered audio for channel 5 does not equal [0,0.0626220703125,0.125030517578125,0.18695068359375,0.24810791015625,0.308319091796875,0.3673095703125,0.42486572265625,0.480743408203125,0.53472900390625,0.58660888671875,0.636199951171875,0.68328857421875,0.727691650390625,0.76922607421875,0.8077392578125...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t3.6732959747314453e-1\t6.2622070312500000e-2\t3.0470752716064453e-1\t4.8658168859649127e+0\t3.0517578125000000e-5\n\t[2\]\t6.8329977989196777e-1\t1.2503051757812500e-1\t5.5826926231384277e-1\t4.4650639949963384e+0\t3.0517578125000000e-5\n\t[3\]\t9.0373212099075317e-1\t1.8695068359375000e-1\t7.1678143739700317e-1\t3.8340669508039502e+0\t3.0517578125000000e-5\n\t[4\]\t9.9780619144439697e-1\t2.4810791015625000e-1\t7.4969828128814697e-1\t3.0216621502152523e+0\t3.0517578125000000e-5\n\t[5\]\t9.5236867666244507e-1\t3.0831909179687500e-1\t6.4404958486557007e-1\t2.0889059484187866e+0\t3.0517578125000000e-5\n\t...and 40527 more errors.\n\tMax AbsError of 1.9986611604690552e+0 at index of 15080.\n\t[15080\]\t-9.9994289875030518e-1\t9.9871826171875000e-1\t1.9986611604690552e+0\t2.0012262087101997e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 10584.\n\t[10584\]\t-5.8778524398803711e-1\t0.0000000000000000e+0\t5.8778524398803711e-1\tInfinity\t3.0517578125000000e-5\n]
expected: FAIL expected: FAIL
[X Rendered audio for channel 5 does not equal [0,0.0626220703125,0.125030517578125,0.18695068359375,0.24810791015625,0.308319091796875,0.3673095703125,0.42486572265625,0.480743408203125,0.53472900390625,0.58660888671875,0.636199951171875,0.68328857421875,0.727691650390625,0.76922607421875,0.8077392578125...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t3.6732959747314453e-1\t6.2622070312500000e-2\t3.0470752716064453e-1\t4.8658168859649127e+0\t3.0517578125000000e-5\n\t[2\]\t6.8329977989196777e-1\t1.2503051757812500e-1\t5.5826926231384277e-1\t4.4650639949963384e+0\t3.0517578125000000e-5\n\t[3\]\t9.0373212099075317e-1\t1.8695068359375000e-1\t7.1678143739700317e-1\t3.8340669508039502e+0\t3.0517578125000000e-5\n\t[4\]\t9.9780619144439697e-1\t2.4810791015625000e-1\t7.4969828128814697e-1\t3.0216621502152523e+0\t3.0517578125000000e-5\n\t[5\]\t9.5236867666244507e-1\t3.0831909179687500e-1\t6.4404958486557007e-1\t2.0889059484187866e+0\t3.0517578125000000e-5\n\t...and 44052 more errors.\n\tMax AbsError of 1.9986916780471802e+0 at index of 17995.\n\t[17995\]\t9.9994289875030518e-1\t-9.9874877929687500e-1\t1.9986916780471802e+0\t2.0011956154322119e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 12348.\n\t[12348\]\t9.5105654001235962e-1\t0.0000000000000000e+0\t9.5105654001235962e-1\tInfinity\t3.0517578125000000e-5\n]
expected: FAIL

View file

@ -65,3 +65,9 @@
[X Stitched sine-wave buffers at sample rate 44100 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[31080\]\t-5.1014587133360700e-22\t5.6332010030746460e-1\t5.6332010030746460e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\t[31081\]\t4.5858893543493963e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 6.1397600173950195e-1 at index of 31081.\n\tMax RelError of 1.0000000000000000e+0 at index of 31080.\n] [X Stitched sine-wave buffers at sample rate 44100 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[31080\]\t-5.1014587133360700e-22\t5.6332010030746460e-1\t5.6332010030746460e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\t[31081\]\t4.5858893543493963e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 6.1397600173950195e-1 at index of 31081.\n\tMax RelError of 1.0000000000000000e+0 at index of 31080.\n]
expected: FAIL expected: FAIL
[X Stitched sine-wave buffers at sample rate 44100 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[31080\]\t-2.6492188753920000e+12\t5.6332010030746460e-1\t2.6492188753925635e+12\t4.7028658731449463e+12\t9.0957000000000003e-5\n\t[31081\]\t4.5763605247919876e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 2.6492188753925635e+12 at index of 31080.\n\tMax RelError of 4.7028658731449463e+12 at index of 31080.\n]
expected: FAIL
[X SNR (-205.02827087155055 dB) is not greater than or equal to 85.58. Got -205.02827087155055.]
expected: FAIL

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,16 @@
[mozilla-tests.html]
[mozilla0016 - mozilla0016]
expected: FAIL
[mozilla0015 - mozilla0015]
expected: FAIL
[mozilla0017 - mozilla0017]
expected: FAIL
[mozilla0014 - mozilla0014]
expected: FAIL
[mozilla0012 - mozilla0012]
expected: FAIL

View file

@ -5,3 +5,18 @@
[name0031 - name0031] [name0031 - name0031]
expected: FAIL expected: FAIL
[name0025 - name0025]
expected: FAIL
[name0023 - name0023]
expected: FAIL
[name0033 - name0033]
expected: FAIL
[name0028 - name0028]
expected: FAIL
[name0017 - name0017]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-003.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -47,3 +47,6 @@
[CSS Animations targetting (pseudo-)elements should have correct order after sorting (::marker)] [CSS Animations targetting (pseudo-)elements should have correct order after sorting (::marker)]
expected: FAIL expected: FAIL
[Order of CSS Animations - free animation vs CSS Transitions]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-item-z-ordering-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-one-sets-flex-basis-to-zero-px.html]
expected: ERROR

View file

@ -0,0 +1,4 @@
[flexbox_width-wrapping-column.html]
[.flexbox 1]
expected: FAIL

View file

@ -0,0 +1,2 @@
[multiline-reverse-wrap-baseline.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[multiline-shrink-to-fit.html]
expected: FAIL

View file

@ -0,0 +1,4 @@
[shrinking-column-flexbox.html]
[body 1]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-overflow-on-flexbox-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[image-orientation-background-properties.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[image-orientation-from-image-embedded-content.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-orientation-from-image-image-document.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[hyphens-auto-inline-010.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[hyphens-manual-inline-011.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[hyphens-manual-inline-012.html]
expected: FAIL

View file

@ -2,3 +2,6 @@
[Hit test intersecting scaled box] [Hit test intersecting scaled box]
expected: FAIL expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -2,3 +2,6 @@
[listeners are called when <iframe> is resized] [listeners are called when <iframe> is resized]
expected: FAIL expected: FAIL
[listeners are called correct number of times]
expected: FAIL

View file

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

View file

@ -2,3 +2,6 @@
[elementsFromPoint on the root document for points in iframe elements] [elementsFromPoint on the root document for points in iframe elements]
expected: FAIL expected: FAIL
[elementsFromPoint on inner documents]
expected: FAIL

View file

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

View file

@ -24,3 +24,6 @@
[boundsAttribute1: points] [boundsAttribute1: points]
expected: FAIL expected: FAIL
[fromRect() method on DOMQuad with Infinity: bounds]
expected: FAIL

View file

@ -0,0 +1,25 @@
[DOMQuad-nan.html]
[Setting DOMQuad's p1.x to NaN]
expected: FAIL
[Setting DOMQuad's p2.y to NaN]
expected: FAIL
[Setting DOMQuad's p2.x to NaN]
expected: FAIL
[Setting DOMQuad's p4.x to NaN]
expected: FAIL
[Setting DOMQuad's p3.x to NaN]
expected: FAIL
[Setting DOMQuad's p3.y to NaN]
expected: FAIL
[Setting DOMQuad's p4.y to NaN]
expected: FAIL
[Setting DOMQuad's p1.y to NaN]
expected: FAIL

View file

@ -312,21 +312,18 @@
[fetch(): separate response Content-Type: text/plain ] [fetch(): separate response Content-Type: text/plain ]
expected: NOTRUN expected: NOTRUN
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain] [<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;" text/plain] [<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain] [<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk] [<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL

View file

@ -11,3 +11,6 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!] [X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL expected: FAIL
[X-Content-Type-Options%3A%20%22nosniFF%22]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_4.html] [traverse_the_history_3.html]
[Multiple history traversals, last would be aborted] [Multiple history traversals, last would be aborted]
expected: FAIL expected: FAIL

View file

@ -4,14 +4,17 @@
expected: FAIL expected: FAIL
[Element with tabindex should support autofocus] [Element with tabindex should support autofocus]
expected: FAIL expected: TIMEOUT
[Host element with delegatesFocus including no focusable descendants should be skipped] [Host element with delegatesFocus including no focusable descendants should be skipped]
expected: TIMEOUT expected: NOTRUN
[Area element should support autofocus] [Area element should support autofocus]
expected: NOTRUN expected: NOTRUN
[Host element with delegatesFocus should support autofocus] [Host element with delegatesFocus should support autofocus]
expected: FAIL expected: NOTRUN
[Non-HTMLElement should not support autofocus]
expected: NOTRUN

View file

@ -1,5 +1,6 @@
[iframe_sandbox_popups_nonescaping-2.html] [iframe_sandbox_popups_nonescaping-2.html]
type: testharness type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox] [Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL expected: NOTRUN

View file

@ -1,6 +1,5 @@
[iframe_sandbox_popups_nonescaping-3.html] [iframe_sandbox_popups_nonescaping-3.html]
type: testharness type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox] [Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN expected: FAIL

View file

@ -107,3 +107,6 @@
[X Rendered audio for channel 5 does not equal [0,0.0626220703125,0.125030517578125,0.18695068359375,0.24810791015625,0.308319091796875,0.3673095703125,0.42486572265625,0.480743408203125,0.53472900390625,0.58660888671875,0.636199951171875,0.68328857421875,0.727691650390625,0.76922607421875,0.8077392578125...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t3.6732959747314453e-1\t6.2622070312500000e-2\t3.0470752716064453e-1\t4.8658168859649127e+0\t3.0517578125000000e-5\n\t[2\]\t6.8329977989196777e-1\t1.2503051757812500e-1\t5.5826926231384277e-1\t4.4650639949963384e+0\t3.0517578125000000e-5\n\t[3\]\t9.0373212099075317e-1\t1.8695068359375000e-1\t7.1678143739700317e-1\t3.8340669508039502e+0\t3.0517578125000000e-5\n\t[4\]\t9.9780619144439697e-1\t2.4810791015625000e-1\t7.4969828128814697e-1\t3.0216621502152523e+0\t3.0517578125000000e-5\n\t[5\]\t9.5236867666244507e-1\t3.0831909179687500e-1\t6.4404958486557007e-1\t2.0889059484187866e+0\t3.0517578125000000e-5\n\t...and 40527 more errors.\n\tMax AbsError of 1.9986611604690552e+0 at index of 15080.\n\t[15080\]\t-9.9994289875030518e-1\t9.9871826171875000e-1\t1.9986611604690552e+0\t2.0012262087101997e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 10584.\n\t[10584\]\t-5.8778524398803711e-1\t0.0000000000000000e+0\t5.8778524398803711e-1\tInfinity\t3.0517578125000000e-5\n] [X Rendered audio for channel 5 does not equal [0,0.0626220703125,0.125030517578125,0.18695068359375,0.24810791015625,0.308319091796875,0.3673095703125,0.42486572265625,0.480743408203125,0.53472900390625,0.58660888671875,0.636199951171875,0.68328857421875,0.727691650390625,0.76922607421875,0.8077392578125...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t3.6732959747314453e-1\t6.2622070312500000e-2\t3.0470752716064453e-1\t4.8658168859649127e+0\t3.0517578125000000e-5\n\t[2\]\t6.8329977989196777e-1\t1.2503051757812500e-1\t5.5826926231384277e-1\t4.4650639949963384e+0\t3.0517578125000000e-5\n\t[3\]\t9.0373212099075317e-1\t1.8695068359375000e-1\t7.1678143739700317e-1\t3.8340669508039502e+0\t3.0517578125000000e-5\n\t[4\]\t9.9780619144439697e-1\t2.4810791015625000e-1\t7.4969828128814697e-1\t3.0216621502152523e+0\t3.0517578125000000e-5\n\t[5\]\t9.5236867666244507e-1\t3.0831909179687500e-1\t6.4404958486557007e-1\t2.0889059484187866e+0\t3.0517578125000000e-5\n\t...and 40527 more errors.\n\tMax AbsError of 1.9986611604690552e+0 at index of 15080.\n\t[15080\]\t-9.9994289875030518e-1\t9.9871826171875000e-1\t1.9986611604690552e+0\t2.0012262087101997e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 10584.\n\t[10584\]\t-5.8778524398803711e-1\t0.0000000000000000e+0\t5.8778524398803711e-1\tInfinity\t3.0517578125000000e-5\n]
expected: FAIL expected: FAIL
[X Rendered audio for channel 5 does not equal [0,0.0626220703125,0.125030517578125,0.18695068359375,0.24810791015625,0.308319091796875,0.3673095703125,0.42486572265625,0.480743408203125,0.53472900390625,0.58660888671875,0.636199951171875,0.68328857421875,0.727691650390625,0.76922607421875,0.8077392578125...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t3.6732959747314453e-1\t6.2622070312500000e-2\t3.0470752716064453e-1\t4.8658168859649127e+0\t3.0517578125000000e-5\n\t[2\]\t6.8329977989196777e-1\t1.2503051757812500e-1\t5.5826926231384277e-1\t4.4650639949963384e+0\t3.0517578125000000e-5\n\t[3\]\t9.0373212099075317e-1\t1.8695068359375000e-1\t7.1678143739700317e-1\t3.8340669508039502e+0\t3.0517578125000000e-5\n\t[4\]\t9.9780619144439697e-1\t2.4810791015625000e-1\t7.4969828128814697e-1\t3.0216621502152523e+0\t3.0517578125000000e-5\n\t[5\]\t9.5236867666244507e-1\t3.0831909179687500e-1\t6.4404958486557007e-1\t2.0889059484187866e+0\t3.0517578125000000e-5\n\t...and 44052 more errors.\n\tMax AbsError of 1.9986916780471802e+0 at index of 17995.\n\t[17995\]\t9.9994289875030518e-1\t-9.9874877929687500e-1\t1.9986916780471802e+0\t2.0011956154322119e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 12348.\n\t[12348\]\t9.5105654001235962e-1\t0.0000000000000000e+0\t9.5105654001235962e-1\tInfinity\t3.0517578125000000e-5\n]
expected: FAIL

View file

@ -296,3 +296,9 @@
[X Stitched sine-wave buffers at sample rate 44100 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[31080\]\t-5.1014587133360700e-22\t5.6332010030746460e-1\t5.6332010030746460e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\t[31081\]\t4.5858893543493963e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 6.1397600173950195e-1 at index of 31081.\n\tMax RelError of 1.0000000000000000e+0 at index of 31080.\n] [X Stitched sine-wave buffers at sample rate 44100 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[31080\]\t-5.1014587133360700e-22\t5.6332010030746460e-1\t5.6332010030746460e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\t[31081\]\t4.5858893543493963e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 6.1397600173950195e-1 at index of 31081.\n\tMax RelError of 1.0000000000000000e+0 at index of 31080.\n]
expected: FAIL expected: FAIL
[X Stitched sine-wave buffers at sample rate 44100 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[31080\]\t-2.6492188753920000e+12\t5.6332010030746460e-1\t2.6492188753925635e+12\t4.7028658731449463e+12\t9.0957000000000003e-5\n\t[31081\]\t4.5763605247919876e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 2.6492188753925635e+12 at index of 31080.\n\tMax RelError of 4.7028658731449463e+12 at index of 31080.\n]
expected: FAIL
[X SNR (-205.02827087155055 dB) is not greater than or equal to 85.58. Got -205.02827087155055.]
expected: FAIL

View file

@ -16,7 +16,7 @@
}); });
assert_false(evil); assert_false(evil);
return waitUntilCSPEventForTrustedTypes(t).then(t.step_func_done(e => { return waitUntilCSPEventForTrustedTypes(t).then(t.step_func_done(e => {
assert_equals(e.sample, "eval evil = '12345678901234567890123456789012"); assert_equals(e.sample, "eval|evil = '12345678901234567890123456789012");
})); }));
}, "Unsafe eval violation sample is clipped to 40 characters."); }, "Unsafe eval violation sample is clipped to 40 characters.");
@ -26,7 +26,7 @@
}); });
return waitUntilCSPEventForTrustedTypes(t).then(t.step_func_done(e => { return waitUntilCSPEventForTrustedTypes(t).then(t.step_func_done(e => {
assert_equals(e.sample.replace(/\n/g, ""), assert_equals(e.sample.replace(/\n/g, ""),
"eval (function anonymous(a,b) {return '1234"); "eval|(function anonymous(a,b) {return '1234");
})); }));
}, "Function constructor - the other kind of eval - is clipped."); }, "Function constructor - the other kind of eval - is clipped.");
@ -37,7 +37,7 @@
}); });
assert_equals(a.innerHTML, ""); assert_equals(a.innerHTML, "");
return waitUntilCSPEventForTrustedTypes(t).then(t.step_func_done(e => { return waitUntilCSPEventForTrustedTypes(t).then(t.step_func_done(e => {
assert_equals(e.sample, "Element.innerHTML 1234567890123456789012345678901234567890"); assert_equals(e.sample, "Element innerHTML|1234567890123456789012345678901234567890");
})); }));
}, "Trusted Types violation sample is clipped to 40 characters excluded the sink name."); }, "Trusted Types violation sample is clipped to 40 characters excluded the sink name.");
</script> </script>

View file

@ -1,5 +1,5 @@
This directory contains tests for the This directory contains tests for the
[Async Cookies API](https://github.com/WICG/cookie-store). [Cookie Store API](https://github.com/WICG/cookie-store).
## Note on cookie naming conventions ## Note on cookie naming conventions

View file

@ -169,6 +169,28 @@ promise_test(async testCase => {
assert_array_equals(Object.keys(cookie).sort(), kCookieListItemKeys); assert_array_equals(Object.keys(cookie).sort(), kCookieListItemKeys);
}, 'CookieListItem - cookieStore.set with path set to the current directory'); }, 'CookieListItem - cookieStore.set with path set to the current directory');
promise_test(async testCase => {
const currentUrl = new URL(self.location.href);
const currentPath = currentUrl.pathname;
const currentDirectory = currentPath.substr(0, currentPath.lastIndexOf('/'));
await cookieStore.delete({ name: 'cookie-name', path: currentDirectory });
await cookieStore.set('cookie-name', 'cookie-value',
{ path: currentDirectory });
testCase.add_cleanup(async () => {
await cookieStore.delete({ name: 'cookie-name', path: currentDirectory });
});
const cookie = await cookieStore.get('cookie-name');
assert_equals(cookie.name, 'cookie-name');
assert_equals(cookie.value, 'cookie-value');
assert_equals(cookie.domain, null);
assert_equals(cookie.path, currentDirectory + '/');
assert_equals(cookie.expires, null);
assert_equals(cookie.secure, true);
assert_equals(cookie.sameSite, 'strict');
assert_array_equals(Object.keys(cookie).sort(), kCookieListItemKeys);
}, 'CookieListItem - cookieStore.set adds / to path if it does not end with /');
promise_test(async testCase => { promise_test(async testCase => {
await cookieStore.delete('cookie-name'); await cookieStore.delete('cookie-name');

View file

@ -139,6 +139,32 @@ promise_test(async testCase => {
assert_equals(cookie.value, 'cookie-value'); assert_equals(cookie.value, 'cookie-value');
}, 'cookieStore.delete with path set to subdirectory of the current directory'); }, 'cookieStore.delete with path set to subdirectory of the current directory');
promise_test(async testCase => {
const currentUrl = new URL(self.location.href);
const currentPath = currentUrl.pathname;
const currentDirectory = currentPath.substr(0, currentPath.lastIndexOf('/'));
await cookieStore.set(
'cookie-name', 'cookie-value', { path: currentDirectory + '/' });
testCase.add_cleanup(async () => {
await cookieStore.delete({ name: 'cookie-name', path: currentDirectory });
});
await cookieStore.delete({ name: 'cookie-name', path: currentDirectory });
const cookie = await cookieStore.get('cookie-name');
assert_equals(cookie, null);
}, 'cookieStore.delete with missing / at the end of path');
promise_test(async testCase => {
const currentUrl = new URL(self.location.href);
const currentPath = currentUrl.pathname;
const currentDirectory =
currentPath.substr(0, currentPath.lastIndexOf('/') + 1);
const invalidPath = currentDirectory.substr(1);
await promise_rejects_js(testCase, TypeError, cookieStore.delete(
{ name: 'cookie-name', path: invalidPath }));
}, 'cookieStore.delete with path that does not start with /');
promise_test(async testCase => { promise_test(async testCase => {
await cookieStore.set('cookie-name', 'cookie-value'); await cookieStore.set('cookie-name', 'cookie-value');
testCase.add_cleanup(async () => { testCase.add_cleanup(async () => {

View file

@ -259,6 +259,34 @@ promise_test(async testCase => {
assert_equals(cookies[0].value, 'cookie-new-value'); assert_equals(cookies[0].value, 'cookie-new-value');
}, 'cookieStore.set default path is /'); }, 'cookieStore.set default path is /');
promise_test(async testCase => {
const currentUrl = new URL(self.location.href);
const currentPath = currentUrl.pathname;
const currentDirectory = currentPath.substr(0, currentPath.lastIndexOf('/'));
await cookieStore.delete({ name: 'cookie-name', path: currentDirectory });
await cookieStore.set(
'cookie-name', 'cookie-value', { path: currentDirectory });
testCase.add_cleanup(async () => {
await cookieStore.delete({ name: 'cookie-name', path: currentDirectory });
});
const cookie = await cookieStore.get('cookie-name');
assert_equals(cookie.name, 'cookie-name');
assert_equals(cookie.value, 'cookie-value');
assert_equals(cookie.path, currentDirectory + '/');
}, 'cookieStore.set adds / to path that does not end with /');
promise_test(async testCase => {
const currentUrl = new URL(self.location.href);
const currentPath = currentUrl.pathname;
const currentDirectory =
currentPath.substr(0, currentPath.lastIndexOf('/') + 1);
const invalidPath = currentDirectory.substr(1);
await promise_rejects_js(testCase, TypeError, cookieStore.set(
'cookie-name', 'cookie-value', { path: invalidPath }));
}, 'cookieStore.set with path that does not start with /');
promise_test(async testCase => { promise_test(async testCase => {
await cookieStore.set('cookie-name', 'old-cookie-value'); await cookieStore.set('cookie-name', 'old-cookie-value');
testCase.add_cleanup(async () => { testCase.add_cleanup(async () => {

View file

@ -1 +1 @@
Cookie: test="fubar! = foo Cookie: test="fubar! = foo; five

View file

@ -1 +1 @@
Cookie: test=six Cookie: eight; test=six

View file

@ -4,7 +4,7 @@
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-align-3/#baseline-rules"> <link rel="help" href="https://drafts.csswg.org/css-align-3/#baseline-rules">
<link rel="help" href="https://drafts.csswg.org/css-grid-1/#grid-baselines"> <link rel="help" href="https://drafts.csswg.org/css-grid-1/#grid-baselines">
<link rel="help" href="https://drafts.csswg.org/css-grid-1/#valdef-align-items-baseline"> <link rel="help" href="https://drafts.csswg.org/css-align-3/#align-items-property">
<meta name="flags" content="ahem"> <meta name="flags" content="ahem">
<meta name="assert" content="This test check the synthesized of a grid container if it has no items (it should use the grid container margin box) or if the items have no baseline (in that case it should use the grid item's border box)."> <meta name="assert" content="This test check the synthesized of a grid container if it has no items (it should use the grid container margin box) or if the items have no baseline (in that case it should use the grid item's border box).">
<style> <style>

View file

@ -180,6 +180,29 @@ test(t => {
assert_equals(animations[1], animLeft, 'Free animations come last'); assert_equals(animations[1], animLeft, 'Free animations come last');
}, 'Order of CSS Animations - markup-bound vs free animations'); }, 'Order of CSS Animations - markup-bound vs free animations');
test(t => {
// Add an animation first
const div = addDiv(t, { style: 'animation: animLeft 100s' });
const animLeft = document.getAnimations()[0];
// Disassociate animLeft from markup and restart
div.style.animation = '';
animLeft.play();
div.style.top = '0px';
div.style.transition = 'all 100s';
flushComputedStyle(div);
// *Then* add a transition
div.style.top = '100px';
flushComputedStyle(div);
// Although the transition was added later, it should come first in the list
const animations = document.getAnimations();
assert_equals(animations.length, 2,
'Both CSS animations and transitions are returned');
assert_class_string(animations[0], 'CSSTransition', 'Transition comes first');
assert_equals(animations[1], animLeft, 'Free animations come last');
}, 'Order of CSS Animations - free animation vs CSS Transitions');
test(t => { test(t => {
const div = addDiv(t, { style: 'animation: animLeft 100s, animTop 100s' }); const div = addDiv(t, { style: 'animation: animLeft 100s, animTop 100s' });
const animLeft = document.getAnimations()[0]; const animLeft = document.getAnimations()[0];

View file

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<title>Historical CSS Animation features must be removed</title> <title>Historical CSS Animation features must be removed</title>
<link rel="help" href="http://www.w3.org/TR/css3-animations"> <link rel="help" href="https://www.w3.org/TR/css-animations-1/#animations">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head> <head>
<title>CSS Background Test: Gradient backgrounds should fill the positioning area</title> <title>CSS Background Test: Gradient backgrounds should fill the positioning area</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org"> <link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<link rel="help" href="http://www.w3.org/TR/css3-background"> <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-origin">
<link rel="match" href="reference/background-gradient-subpixel-fills-area-ref.html"> <link rel="match" href="reference/background-gradient-subpixel-fills-area-ref.html">
<style> <style>
ul { ul {

View file

@ -3,7 +3,7 @@
<head> <head>
<title>CSS Background Test: Centered background image with border radius</title> <title>CSS Background Test: Centered background image with border radius</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org"> <link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<link rel="help" href="http://www.w3.org/TR/css3-background"> <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-position">
<link rel="match" href="reference/background-image-centered-with-border-radius-ref.html"> <link rel="match" href="reference/background-image-centered-with-border-radius-ref.html">
<style> <style>
span { span {

View file

@ -2,7 +2,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>Centered Background Gradient</title> <title>Centered Background Gradient</title>
<link rel="match" href="background-image-centered-ref.html"> <link rel="match" href="background-image-centered-ref.html">
<link rel="help" href="http://www.w3.org/TR/css3-background/"> <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-position">
<style> <style>
#a { #a {
width: 200px; width: 200px;

View file

@ -3,7 +3,7 @@
<head> <head>
<title>CSS Background Test: background-size:cover should cover at zoom</title> <title>CSS Background Test: background-size:cover should cover at zoom</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org"> <link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<link rel="help" href="http://www.w3.org/TR/css3-background"> <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-size">
<link rel="match" href="reference/background-image-cover-zoomed-1-ref.html"> <link rel="match" href="reference/background-image-cover-zoomed-1-ref.html">
<style> <style>
body { body {

View file

@ -3,7 +3,7 @@
<head> <head>
<title>CSS Background Test: Large images with one auto size are correctly sized</title> <title>CSS Background Test: Large images with one auto size are correctly sized</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org"> <link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<link rel="help" href="http://www.w3.org/TR/css3-background"> <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-image">
<link rel="match" href="reference/background-image-large-with-auto-ref.html"> <link rel="match" href="reference/background-image-large-with-auto-ref.html">
<style> <style>
.wide-div { .wide-div {

View file

@ -3,7 +3,7 @@
<head> <head>
<title>CSS Background Test: A background image on table cells with collapsed borders should fill the table</title> <title>CSS Background Test: A background image on table cells with collapsed borders should fill the table</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org"> <link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<link rel="help" href="http://www.w3.org/TR/css3-background"> <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-image">
<link rel="match" href="reference/background-image-table-cells-zoomed-ref.html"> <link rel="match" href="reference/background-image-table-cells-zoomed-ref.html">
<style> <style>
body { body {

View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: 'Background-position' with three and four values</title>
<link rel="help" href="http://www.w3.org/TR/css3-background/#background-position" />
<meta name="assert" content="If three or four values are given to 'background-position', then each percentage or length value represents an offset from the edge specified by the preceeding keyword." />
<link rel="match" href="reference/background-position-three-four-values-ref.html">
<style type="text/css">
div {
width: 200px;
height: 200px;
border: 2px solid black;
background-image: url("support/blue_color.png");
background-repeat: no-repeat;
display: inline-block;
}
.test1 {
background-position: left 50px center;
}
.test2 {
background-position: right 25px top 75%;
}
.test3 {
background-position: left 25px bottom 75%;
}
.test4 {
background-position: right 25px bottom 25%;
}
</style>
</head>
<body>
<div class="test1"></div>
<div class="test2"></div>
<div class="test3"></div>
<div class="test4"></div>
</body>
</html>

View file

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: 'Background-position' with three and four values</title>
<link rel="help" href="http://www.w3.org/TR/css3-background/#background-position" />
<meta name="assert" content="background-position-x/y will round-trip serialized values even if the new three/four value syntax is used for background-position." />
<link rel="match" href="reference/background-position-three-four-values-ref.html">
<style type="text/css">
div {
width: 200px;
height: 200px;
border: 2px solid black;
background-image: url("support/blue_color.png");
background-repeat: no-repeat;
display: inline-block;
}
#test1 {
background-position: left 50px center;
}
#test2 {
background-position: right 25px top 75%;
}
#test3 {
background-position: left 25px bottom 75%;
}
#test4 {
background-position: right 25px bottom 25%;
}
</style>
</head>
<body>
<div id="test1"></div>
<div id="test2"></div>
<div id="test3"></div>
<div id="test4"></div>
<script>
for (let id of ['test1','test2','test3','test4']) {
let d = document.getElementById(id);
let x = getComputedStyle(d).backgroundPositionX;
let y = getComputedStyle(d).backgroundPositionY;
d.style.backgroundPositionX = x;
d.style.backgroundPositionY = y;
}
</script>
</body>
</html>

View file

@ -3,7 +3,7 @@
<head> <head>
<title>CSS Background Test: A SVG background should fully cover the positioning area</title> <title>CSS Background Test: A SVG background should fully cover the positioning area</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org"> <link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<link rel="help" href="http://www.w3.org/TR/css3-background"> <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-size">
<link rel="match" href="reference/background-size-cover-svg-ref.html"> <link rel="match" href="reference/background-size-cover-svg-ref.html">
<style> <style>
div { div {

View file

@ -1,39 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: 'Background-position' with three and four values</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#background-position" />
<meta name="flags" content="" />
<meta name="assert" content="If three or four values are given to 'background-position', then each percentage or length value represents an offset from the edge specified by the keyword." />
<style type="text/css">
div
{
width: 3in;
height: 2in;
border: thick solid black;
margin: 10px;
background-image: url("support/blue_color.png");
background-repeat: no-repeat;
}
.reference
{
background-position: right center;
}
.test1
{
background-position: left 2in center;
}
.test2
{
background-position: left 2in top 50%;
}
</style>
</head>
<body>
<p>Test passes if the content of the three black boxes is identical.</p>
<div class="reference"></div>
<div class="test1"></div>
<div class="test2"></div>
</body>
</html>

View file

@ -3,7 +3,7 @@
<head> <head>
<title>CSS Test: 'Border-top-left-radius' with two values.</title> <title>CSS Test: 'Border-top-left-radius' with two values.</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#border-top-left-radius" /> <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-border-radius" />
<meta name="flags" content="" /> <meta name="flags" content="" />
<meta name="assert" content="The first value of the 'border-top-left-radius' is the horizontal radius of the rounded corner and the second value is its vertical radius." /> <meta name="assert" content="The first value of the 'border-top-left-radius' is the horizontal radius of the rounded corner and the second value is its vertical radius." />
<style type="text/css"> <style type="text/css">

Some files were not shown because too many files have changed in this diff Show more