From 5682eb79304408bd5584cc2b9624fe272aa91852 Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Mon, 29 Oct 2018 22:02:09 -0400 Subject: [PATCH] Update web-platform-tests to revision 7b078f0d6ff82157c57f343838f61b5200686e53 --- .../FileAPI/url/url-with-fetch.any.js.ini | 3 - tests/wpt/metadata/MANIFEST.json | 87 +++++- ...-block-in-inline-in-relpos-inline.html.ini | 4 + .../at-font-face-font-matching.html.ini | 3 - .../properties-value-inherit-002.html.ini | 195 +++--------- ...nsitions-animatable-properties-01.html.ini | 68 ++--- .../css/filter-effects/inheritance.html.ini | 31 ++ .../css/selectors/invalidation/where.html.ini | 16 + .../encoding/single-byte-decoder.html.ini | 69 +---- .../beforeunload-canceling.html.ini | 5 + .../traverse_the_history_4.html.ini | 4 - ...-protocol-setter-non-broken-weird.html.ini | 16 + .../select-1-line-height.html.ini | 2 + .../event_timeupdate_noautoplay.html.ini | 2 +- .../viewport-change.html.ini | 18 ++ .../the-details-element/toggleEvent.html.ini | 7 - .../activation-behavior.window.js.ini | 5 - .../aborted-parser.window.js.ini | 3 + ...lout-exception-vs-return-xml.window.js.ini | 2 +- .../webtiming-resolution.any.js.ini | 5 +- .../unitless-length/limited-quirks.html.ini | 283 ++++++++++++++++++ .../quirks/unitless-length/quirks.html.ini | 283 ++++++++++++++++++ .../touch-events/idlharness.window.js.ini | 3 - .../metadata/url/urlencoded-parser.any.js.ini | 26 +- .../semantics/multiple-workers/005.html.ini | 1 - ...s-in-block-in-inline-in-relpos-inline.html | 33 ++ .../registered-property-computation.html | 26 +- .../registered-property-cssom.html | 8 +- .../registered-property-initial.html | 4 +- .../css/filter-effects/inheritance.html | 25 ++ .../css/selectors/invalidation/where.html | 108 +++++++ .../web-platform-tests/docs/introduction.md | 6 + .../select-1-line-height-ref.html | 23 ++ .../select-1-line-height.html | 35 +++ .../webtiming-resolution.any.js | 7 +- .../picture-in-picture-window.html | 2 +- .../resources/idlharness.js | 10 +- .../reftests/use-hidden-attr-change.html | 32 ++ .../tests/functional/test_response.py | 14 +- 39 files changed, 1136 insertions(+), 338 deletions(-) create mode 100644 tests/wpt/metadata/css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html.ini create mode 100644 tests/wpt/metadata/css/filter-effects/inheritance.html.ini create mode 100644 tests/wpt/metadata/css/selectors/invalidation/where.html.ini create mode 100644 tests/wpt/metadata/html/browsers/browsing-the-web/unloading-documents/beforeunload-canceling.html.ini delete mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini create mode 100644 tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-weird.html.ini create mode 100644 tests/wpt/metadata/html/rendering/replaced-elements/the-select-element/select-1-line-height.html.ini delete mode 100644 tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini delete mode 100644 tests/wpt/metadata/html/semantics/links/following-hyperlinks/activation-behavior.window.js.ini create mode 100644 tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini create mode 100644 tests/wpt/metadata/quirks/unitless-length/quirks.html.ini create mode 100644 tests/wpt/web-platform-tests/css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html create mode 100644 tests/wpt/web-platform-tests/css/filter-effects/inheritance.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/invalidation/where.html create mode 100644 tests/wpt/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-1-line-height-ref.html create mode 100644 tests/wpt/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-1-line-height.html create mode 100644 tests/wpt/web-platform-tests/svg/linking/reftests/use-hidden-attr-change.html diff --git a/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini b/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini index 3b874fc1748..947e223fb28 100644 --- a/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini +++ b/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini @@ -34,6 +34,3 @@ [Revoke blob URL after creating Request, will fetch] expected: FAIL - [Revoke blob URL after calling fetch, fetch should succeed] - expected: FAIL - diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 298dca0ce8d..6426d83ab0d 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -188569,6 +188569,18 @@ {} ] ], + "html/rendering/replaced-elements/the-select-element/select-1-line-height.html": [ + [ + "/html/rendering/replaced-elements/the-select-element/select-1-line-height.html", + [ + [ + "/html/rendering/replaced-elements/the-select-element/select-1-line-height-ref.html", + "==" + ] + ], + {} + ] + ], "html/rendering/the-css-user-agent-style-sheet-and-presentational-hints/body-bgcolor-attribute-change.html": [ [ "/html/rendering/the-css-user-agent-style-sheet-and-presentational-hints/body-bgcolor-attribute-change.html", @@ -190649,6 +190661,18 @@ {} ] ], + "svg/linking/reftests/use-hidden-attr-change.html": [ + [ + "/svg/linking/reftests/use-hidden-attr-change.html", + [ + [ + "/svg/linking/reftests/use-descendant-combinator-ref.html", + "==" + ] + ], + {} + ] + ], "svg/painting/currentColor-override-pserver-fallback.svg": [ [ "/svg/painting/currentColor-override-pserver-fallback.svg", @@ -291810,6 +291834,11 @@ {} ] ], + "html/rendering/replaced-elements/the-select-element/select-1-line-height-ref.html": [ + [ + {} + ] + ], "html/rendering/replaced-elements/tools/gen-svgsizing-tests.py": [ [ {} @@ -334422,6 +334451,12 @@ {} ] ], + "css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html": [ + [ + "/css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html", + {} + ] + ], "css/CSS2/floats/zero-space-between-floats-001.html": [ [ "/css/CSS2/floats/zero-space-between-floats-001.html", @@ -346014,6 +346049,12 @@ {} ] ], + "css/filter-effects/inheritance.html": [ + [ + "/css/filter-effects/inheritance.html", + {} + ] + ], "css/filter-effects/interfaces.any.js": [ [ "/css/filter-effects/interfaces.any.html", @@ -346724,6 +346765,12 @@ {} ] ], + "css/selectors/invalidation/where.html": [ + [ + "/css/selectors/invalidation/where.html", + {} + ] + ], "css/selectors/matches-nested.html": [ [ "/css/selectors/matches-nested.html", @@ -471143,6 +471190,10 @@ "129263ecb7d972fa85974e0423ba59645b2b0424", "reftest" ], + "css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html": [ + "4b1baff8b956d706b2f90e67277ccf3a7c4d3458", + "testharness" + ], "css/CSS2/abspos/between-float-and-text.html": [ "b4c933e8d8021ed357d9942d2f44b7cd44abbf76", "reftest" @@ -555912,15 +555963,15 @@ "testharness" ], "css/css-properties-values-api/registered-property-computation.html": [ - "1651295cba45af823a4c5c2b7074dc361308847b", + "180cdf601edd4a82398d29239141bf38e55bd0c1", "testharness" ], "css/css-properties-values-api/registered-property-cssom.html": [ - "019778e95e03689aaab5e47a0fd6be2382f3fb99", + "59443b3323a89f64e2ae5b07508819b2872ead12", "testharness" ], "css/css-properties-values-api/registered-property-initial.html": [ - "d655af661f7fd95ed0289cddb9c5546467d28592", + "24543d5c5fdc84706a28502d8cf8c2c7f925978e", "testharness" ], "css/css-properties-values-api/resources/utils.js": [ @@ -584515,6 +584566,10 @@ "9ecef28aa54d133dfaea55551dbed91305cf9d0e", "reftest" ], + "css/filter-effects/inheritance.html": [ + "2bd854ac051d78048e2d83b681d346762d9c5728", + "testharness" + ], "css/filter-effects/interfaces.any.js": [ "e7de16e8d62904986610a484b046a4caf0f161e3", "testharness" @@ -585663,6 +585718,10 @@ "41778239518d4d9b602f7fc18ee3ea5c910da85b", "reftest" ], + "css/selectors/invalidation/where.html": [ + "1c6432f46eb4f2b424fdd3ca9c453925a23710ed", + "testharness" + ], "css/selectors/matches-nested.html": [ "b82d43d09017955af2904f6362e858929a6d4399", "testharness" @@ -597036,7 +597095,7 @@ "support" ], "docs/introduction.md": [ - "0e3b5915090471a45bc158a6549e2217a19cfa17", + "191e76d39970eab49f4717a6a9838d1590255abc", "support" ], "dom/META.yml": [ @@ -614135,6 +614194,14 @@ "3b8d992cc2a07dfd902dbb1011e2c348e862baaa", "reftest" ], + "html/rendering/replaced-elements/the-select-element/select-1-line-height-ref.html": [ + "26e5f33282192b10f56cd66fefeda2c1b9d9b389", + "support" + ], + "html/rendering/replaced-elements/the-select-element/select-1-line-height.html": [ + "e6383f089ffa5550005f99257ecac7984dd09110", + "reftest" + ], "html/rendering/replaced-elements/tools/gen-svgsizing-tests.py": [ "5ba69f8ab5ba0a74810c570d9a4f3d7ddd90a3ba", "support" @@ -636796,7 +636863,7 @@ "support" ], "performance-timeline/webtiming-resolution.any.js": [ - "4031388a3bce39692e68292596d30864f5dfbaff", + "46e0489352f09767dc847615bd64464946f9088e", "testharness" ], "performance-timeline/worker-with-performance-observer.html": [ @@ -636844,7 +636911,7 @@ "testharness" ], "picture-in-picture/picture-in-picture-window.html": [ - "6d14cf54c71bd3ec30e0818e0af0713562c4cfcf", + "47b8133274276b407e854bfffc7362fb37777e21", "testharness" ], "picture-in-picture/request-picture-in-picture-twice.html": [ @@ -646512,7 +646579,7 @@ "support" ], "resources/idlharness.js": [ - "9e6ed236b0a43f32ffaecbbbb2b8fbe7540b83c5", + "40a5fa59cd209d12e6d42dcdff92c4974ae49cf2", "support" ], "resources/idlharness.js.headers": [ @@ -655795,6 +655862,10 @@ "dae3fc1173b9280de8959edff3d5991a8b4c7593", "support" ], + "svg/linking/reftests/use-hidden-attr-change.html": [ + "4fe535bbac11a457cdd4d9187498e4a9f3bf6f8d", + "reftest" + ], "svg/linking/scripted/a-download-click.svg": [ "b728603d547582b15ff6b0d32bc39e8021fa2bae", "testharness" @@ -662404,7 +662475,7 @@ "support" ], "tools/wptserve/tests/functional/test_response.py": [ - "daf8e6ed0028502f0876159cbda37e9ac6b6c99c", + "4e1e053d01971477d259c8e8d0e67552f81753bb", "support" ], "tools/wptserve/tests/functional/test_server.py": [ diff --git a/tests/wpt/metadata/css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html.ini b/tests/wpt/metadata/css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html.ini new file mode 100644 index 00000000000..2964f02b25c --- /dev/null +++ b/tests/wpt/metadata/css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html.ini @@ -0,0 +1,4 @@ +[abspos-in-block-in-inline-in-relpos-inline.html] + [Make sure that we're sized by the right ancestor] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini index e58ccabb7b7..305de527a49 100644 --- a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini +++ b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini @@ -44,9 +44,6 @@ [Matching font-weight: '500' should prefer '500' over '450 460'] expected: FAIL - [Matching font-weight: '500' should prefer '450 460' over '400'] - expected: FAIL - [Matching font-weight: '500' should prefer '400' over '350 399'] expected: FAIL diff --git a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini index dcc80c78163..cfd5b57b8c0 100644 --- a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini +++ b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini @@ -1,5 +1,4 @@ [properties-value-inherit-002.html] - expected: TIMEOUT [background-position length(pt) / values] expected: FAIL @@ -55,7 +54,7 @@ expected: FAIL [outline-width length(px) / values] - expected: TIMEOUT + expected: FAIL [border-left-width length(em) / values] expected: FAIL @@ -70,13 +69,13 @@ expected: FAIL [opacity number[0,1\](zero-to-one) / values] - expected: TIMEOUT + expected: FAIL [line-height number(integer) / values] expected: FAIL [outline-offset length(px) / values] - expected: TIMEOUT + expected: FAIL [font-size length(pt) / values] expected: FAIL @@ -85,7 +84,7 @@ expected: FAIL [vertical-align length(in) / values] - expected: TIMEOUT + expected: FAIL [max-height percentage(%) / values] expected: FAIL @@ -112,7 +111,7 @@ expected: FAIL [vertical-align percentage(%) / values] - expected: TIMEOUT + expected: FAIL [border-right-width length(pc) / values] expected: FAIL @@ -133,10 +132,10 @@ expected: FAIL [vertical-align length(em) / values] - expected: TIMEOUT + expected: FAIL [clip rectangle(rectangle) / values] - expected: TIMEOUT + expected: FAIL [word-spacing length(em) / values] expected: FAIL @@ -157,7 +156,7 @@ expected: FAIL [outline-offset length(ex) / values] - expected: TIMEOUT + expected: FAIL [min-width length(cm) / values] expected: FAIL @@ -172,16 +171,16 @@ expected: FAIL [vertical-align length(pc) / values] - expected: TIMEOUT + expected: FAIL [vertical-align length(cm) / values] - expected: TIMEOUT + expected: FAIL [max-height length(ex) / values] expected: FAIL [vertical-align length(ex) / values] - expected: TIMEOUT + expected: FAIL [min-height percentage(%) / values] expected: FAIL @@ -190,7 +189,7 @@ expected: FAIL [outline-offset length(mm) / values] - expected: TIMEOUT + expected: FAIL [font-weight font-weight(keyword) / values] expected: FAIL @@ -199,7 +198,7 @@ expected: FAIL [outline-offset length(pt) / values] - expected: TIMEOUT + expected: FAIL [line-height length(mm) / values] expected: FAIL @@ -232,7 +231,7 @@ expected: FAIL [vertical-align length(pt) / values] - expected: TIMEOUT + expected: FAIL [border-left-color color(rgba) / values] expected: FAIL @@ -295,10 +294,10 @@ expected: FAIL [outline-offset length(in) / values] - expected: TIMEOUT + expected: FAIL [outline-width length(pt) / values] - expected: TIMEOUT + expected: FAIL [border-top-width length(pc) / values] expected: FAIL @@ -316,7 +315,7 @@ expected: FAIL [outline-width length(in) / values] - expected: TIMEOUT + expected: FAIL [word-spacing length(pt) / values] expected: FAIL @@ -328,7 +327,7 @@ expected: FAIL [outline-color color(rgba) / values] - expected: TIMEOUT + expected: FAIL [border-right-width length(pt) / values] expected: FAIL @@ -346,7 +345,7 @@ expected: FAIL [outline-width length(ex) / values] - expected: TIMEOUT + expected: FAIL [font-size length(pc) / values] expected: FAIL @@ -355,7 +354,7 @@ expected: FAIL [outline-width length(cm) / values] - expected: TIMEOUT + expected: FAIL [max-width percentage(%) / values] expected: FAIL @@ -370,19 +369,19 @@ expected: FAIL [outline-width length(mm) / values] - expected: TIMEOUT + expected: FAIL [border-left-width length(pc) / values] expected: FAIL [outline-width length(pc) / values] - expected: TIMEOUT + expected: FAIL [font-weight font-weight(numeric) / values] expected: FAIL [vertical-align length(px) / values] - expected: TIMEOUT + expected: FAIL [letter-spacing length(px) / values] expected: FAIL @@ -403,7 +402,7 @@ expected: FAIL [outline-width length(em) / values] - expected: TIMEOUT + expected: FAIL [border-right-width length(em) / values] expected: FAIL @@ -415,10 +414,10 @@ expected: FAIL [outline-offset length(em) / values] - expected: TIMEOUT + expected: FAIL [outline-offset length(cm) / values] - expected: TIMEOUT + expected: FAIL [border-top-width length(ex) / values] expected: FAIL @@ -427,13 +426,13 @@ expected: FAIL [z-index integer(integer) / values] - expected: TIMEOUT + expected: FAIL [border-left-width length(pt) / values] expected: FAIL [vertical-align length(mm) / values] - expected: TIMEOUT + expected: FAIL [border-bottom-width length(pc) / values] expected: FAIL @@ -451,7 +450,7 @@ expected: FAIL [outline-offset length(pc) / values] - expected: TIMEOUT + expected: FAIL [max-height length(pc) / values] expected: FAIL @@ -471,156 +470,42 @@ [word-spacing length(mm) / values] expected: FAIL - [height length(mm) / values] - expected: FAIL - [word-spacing length(in) / values] expected: FAIL [word-spacing length(cm) / values] expected: FAIL - [right length(pc) / values] + [text-indent length(pc) / values] expected: FAIL - [outline-width length(pc) / events] - expected: TIMEOUT - - [height percentage(%) / values] + [text-indent length(ex) / values] expected: FAIL - [vertical-align length(px) / events] - expected: TIMEOUT - - [outline-offset length(mm) / events] - expected: TIMEOUT - - [vertical-align length(in) / events] - expected: TIMEOUT - - [padding-left length(px) / values] + [text-indent length(px) / values] expected: FAIL - [vertical-align length(em) / events] - expected: TIMEOUT - - [vertical-align length(cm) / events] - expected: TIMEOUT - - [margin-bottom length(pt) / values] + [text-indent length(mm) / values] expected: FAIL - [outline-offset length(cm) / events] - expected: TIMEOUT - - [vertical-align length(mm) / events] - expected: TIMEOUT - - [outline-offset length(em) / events] - expected: TIMEOUT - - [z-index integer(integer) / events] - expected: TIMEOUT - - [height length(px) / values] + [text-indent length(cm) / values] expected: FAIL - [vertical-align length(ex) / events] - expected: TIMEOUT - - [outline-width length(em) / events] - expected: TIMEOUT - - [visibility visibility(keyword) / events] - expected: TIMEOUT - - [opacity number[0,1\](zero-to-one) / events] - expected: TIMEOUT - - [right length(ex) / values] + [text-indent length(pt) / values] expected: FAIL - [right length(mm) / values] + [text-shadow shadow(shadow) / values] expected: FAIL - [visibility visibility(keyword) / values] - expected: TIMEOUT - - [outline-width length(cm) / events] - expected: TIMEOUT - - [padding-right length(ex) / values] + [word-spacing percentage(%) / values] expected: FAIL - [clip rectangle(rectangle) / events] - expected: TIMEOUT - - [margin-left length(pt) / values] + [text-indent length(in) / values] expected: FAIL - [outline-width length(ex) / events] - expected: TIMEOUT - - [outline-width length(mm) / events] - expected: TIMEOUT - - [width length(mm) / values] + [text-indent length(em) / values] expected: FAIL - [vertical-align percentage(%) / events] - expected: TIMEOUT - - [outline-width length(pt) / events] - expected: TIMEOUT - - [outline-color color(rgba) / events] - expected: TIMEOUT - - [height length(pt) / values] + [text-indent percentage(%) / values] expected: FAIL - [outline-width length(in) / events] - expected: TIMEOUT - - [margin-right length(cm) / values] - expected: FAIL - - [padding-right length(px) / values] - expected: FAIL - - [outline-offset length(ex) / events] - expected: TIMEOUT - - [vertical-align length(pc) / events] - expected: TIMEOUT - - [vertical-align length(pt) / events] - expected: TIMEOUT - - [width length(ex) / values] - expected: FAIL - - [outline-offset length(pt) / events] - expected: TIMEOUT - - [margin-top length(pc) / values] - expected: FAIL - - [right length(pt) / values] - expected: FAIL - - [height length(ex) / values] - expected: FAIL - - [outline-offset length(px) / events] - expected: TIMEOUT - - [outline-offset length(in) / events] - expected: TIMEOUT - - [outline-width length(px) / events] - expected: TIMEOUT - - [outline-offset length(pc) / events] - expected: TIMEOUT - diff --git a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini index d67fb57d9b3..384da3bc556 100644 --- a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini +++ b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini @@ -80,54 +80,42 @@ [border-left-width end] expected: FAIL - [left end] - expected: FAIL - - [width end] - expected: FAIL - - [outline-color end] - expected: FAIL - - [line-height end] - expected: FAIL - - [margin-right intermediate] - expected: FAIL - - [padding-top intermediate] - expected: FAIL - - [color end] - expected: FAIL - - [border-spacing end] - expected: FAIL - - [text-indent end] - expected: FAIL - - [width intermediate] - expected: FAIL - - [outline-width end] - expected: FAIL - - [padding-left end] - expected: FAIL - [font-size end] expected: FAIL - [text-shadow end] - expected: FAIL - [vertical-align end] expected: FAIL [border-right-color end] expected: FAIL - [border-top-color end] + [margin-right end] + expected: FAIL + + [max-width end] + expected: FAIL + + [height end] + expected: FAIL + + [bottom end] + expected: FAIL + + [top end] + expected: FAIL + + [font-weight end] + expected: FAIL + + [border-left-color end] + expected: FAIL + + [margin-bottom end] + expected: FAIL + + [border-right-width end] + expected: FAIL + + [padding-bottom intermediate] expected: FAIL diff --git a/tests/wpt/metadata/css/filter-effects/inheritance.html.ini b/tests/wpt/metadata/css/filter-effects/inheritance.html.ini new file mode 100644 index 00000000000..ff3390e8cef --- /dev/null +++ b/tests/wpt/metadata/css/filter-effects/inheritance.html.ini @@ -0,0 +1,31 @@ +[inheritance.html] + [Property color-interpolation-filters has initial value linearrgb] + expected: FAIL + + [Property flood-color does not inherit] + expected: FAIL + + [Property lighting-color does not inherit] + expected: FAIL + + [Property color-interpolation-filters inherits] + expected: FAIL + + [Property lighting-color has initial value rgb(255, 255, 255)] + expected: FAIL + + [Property flood-opacity does not inherit] + expected: FAIL + + [Property flood-opacity has initial value 1] + expected: FAIL + + [Property filter does not inherit] + expected: FAIL + + [Property filter has initial value none] + expected: FAIL + + [Property flood-color has initial value rgb(0, 0, 0)] + expected: FAIL + diff --git a/tests/wpt/metadata/css/selectors/invalidation/where.html.ini b/tests/wpt/metadata/css/selectors/invalidation/where.html.ini new file mode 100644 index 00000000000..71afad61d62 --- /dev/null +++ b/tests/wpt/metadata/css/selectors/invalidation/where.html.ini @@ -0,0 +1,16 @@ +[where.html] + [Invalidate :where() for complex selector arguments.] + expected: FAIL + + [Preconditions.] + expected: FAIL + + [Invalidate :where() for simple selector arguments.] + expected: FAIL + + [Invalidate :where() for compound selector arguments.] + expected: FAIL + + [Invalidate nested :where().] + expected: FAIL + diff --git a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini index cec0927ab0b..b0ddb349557 100644 --- a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini +++ b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini @@ -509,7 +509,6 @@ [single-byte-decoder.html?XMLHttpRequest] - expected: TIMEOUT [ISO-8859-2: iso_8859-2:1987 (XMLHttpRequest)] expected: FAIL @@ -535,73 +534,7 @@ expected: FAIL [windows-1254: iso_8859-9:1989 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1258: cp1258 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1256: cp1256 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1258: x-cp1258 (XMLHttpRequest)] - expected: TIMEOUT - - [x-mac-cyrillic: x-mac-ukrainian (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1257: cp1257 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1257: x-cp1257 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: latin5 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1258: windows-1258 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1256: x-cp1256 (XMLHttpRequest)] - expected: TIMEOUT - - [x-mac-cyrillic: x-mac-cyrillic (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1256: windows-1256 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: iso_8859-9 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: iso88599 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1257: windows-1257 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: windows-1254 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1255: x-cp1255 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: iso8859-9 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: l5 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: x-cp1254 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1255: cp1255 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: iso-ir-148 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1255: windows-1255 (XMLHttpRequest)] - expected: TIMEOUT + expected: FAIL [single-byte-decoder.html?TextDecoder] diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/unloading-documents/beforeunload-canceling.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/unloading-documents/beforeunload-canceling.html.ini new file mode 100644 index 00000000000..2cc52f4040d --- /dev/null +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/unloading-documents/beforeunload-canceling.html.ini @@ -0,0 +1,5 @@ +[beforeunload-canceling.html] + expected: TIMEOUT + [Returning 0 with a real iframe unloading; setting returnValue to foo] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini deleted file mode 100644 index 385376c7321..00000000000 --- a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[traverse_the_history_4.html] - [Multiple history traversals, last would be aborted] - expected: FAIL - diff --git a/tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-weird.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-weird.html.ini new file mode 100644 index 00000000000..a30c51097ab --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-weird.html.ini @@ -0,0 +1,16 @@ +[location-protocol-setter-non-broken-weird.html] + [Set location.protocol to data] + expected: FAIL + + [Set location.protocol to ftp] + expected: FAIL + + [Set location.protocol to gopher] + expected: FAIL + + [Set location.protocol to x] + expected: FAIL + + [Set location.protocol to http+x] + expected: FAIL + diff --git a/tests/wpt/metadata/html/rendering/replaced-elements/the-select-element/select-1-line-height.html.ini b/tests/wpt/metadata/html/rendering/replaced-elements/the-select-element/select-1-line-height.html.ini new file mode 100644 index 00000000000..d60822005c7 --- /dev/null +++ b/tests/wpt/metadata/html/rendering/replaced-elements/the-select-element/select-1-line-height.html.ini @@ -0,0 +1,2 @@ +[select-1-line-height.html] + expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/media-elements/event_timeupdate_noautoplay.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/media-elements/event_timeupdate_noautoplay.html.ini index a6f7ac6f249..22d1f1d6900 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/media-elements/event_timeupdate_noautoplay.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/media-elements/event_timeupdate_noautoplay.html.ini @@ -5,5 +5,5 @@ expected: NOTRUN [calling play() on a sufficiently long video should trigger timeupdate event] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini index 772148dc71f..0f1a214d0ee 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini @@ -13,3 +13,21 @@ [picture: source (max-width:500px) valid image, img valid image, resize to narrow] expected: FAIL + [picture: source (max-width:500px) broken image, img valid image, resize to narrow] + expected: FAIL + + [img (srcset 1 cand) valid image, resize to wide] + expected: FAIL + + [picture: same URL in source (max-width:500px) and img, resize to wide] + expected: FAIL + + [img (srcset 1 cand) valid image, resize to narrow] + expected: FAIL + + [picture: source (max-width:500px) valid image, img broken image, resize to wide] + expected: FAIL + + [picture: same URL in source (max-width:500px) and img, resize to narrow] + expected: FAIL + diff --git a/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini b/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini deleted file mode 100644 index 9e522297c94..00000000000 --- a/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini +++ /dev/null @@ -1,7 +0,0 @@ -[toggleEvent.html] - [Calling open twice on 'details' fires only one toggle event] - expected: FAIL - - [Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element] - expected: FAIL - diff --git a/tests/wpt/metadata/html/semantics/links/following-hyperlinks/activation-behavior.window.js.ini b/tests/wpt/metadata/html/semantics/links/following-hyperlinks/activation-behavior.window.js.ini deleted file mode 100644 index a9a44c4ef54..00000000000 --- a/tests/wpt/metadata/html/semantics/links/following-hyperlinks/activation-behavior.window.js.ini +++ /dev/null @@ -1,5 +0,0 @@ -[activation-behavior.window.html] - type: testharness - [ that is not connected should be followed] - expected: FAIL - diff --git a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/aborted-parser.window.js.ini b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/aborted-parser.window.js.ini index c6d49957c4a..ce482a60da8 100644 --- a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/aborted-parser.window.js.ini +++ b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/aborted-parser.window.js.ini @@ -2,3 +2,6 @@ [document.open() after parser is aborted] expected: FAIL + [async document.open() after parser is aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/bailout-exception-vs-return-xml.window.js.ini b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/bailout-exception-vs-return-xml.window.js.ini index 6e41a19efd8..2314441517b 100644 --- a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/bailout-exception-vs-return-xml.window.js.ini +++ b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/bailout-exception-vs-return-xml.window.js.ini @@ -1,5 +1,5 @@ [bailout-exception-vs-return-xml.window.html] - expected: CRASH + expected: TIMEOUT [document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during beforeunload event)] expected: TIMEOUT diff --git a/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini b/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini index 7f9b8e85550..99a24216c88 100644 --- a/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini +++ b/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini @@ -4,8 +4,11 @@ [webtiming-resolution.any.worker.html] expected: TIMEOUT [Verifies the resolution of performance.now() is at least 20 microseconds.] - expected: FAIL + expected: FAIL [Verifies the resolution of entry.startTime is at least 20 microseconds.] expected: TIMEOUT + [Verifies the resolution of entry.startTime is at least 5 microseconds.] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini b/tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini new file mode 100644 index 00000000000..c7e9c7434f5 --- /dev/null +++ b/tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini @@ -0,0 +1,283 @@ +[limited-quirks.html] + [top: -\\31 .5] + expected: FAIL + + [bottom: -1A] + expected: FAIL + + [bottom: -1a] + expected: FAIL + + [top: @1] + expected: FAIL + + [top: "1a"] + expected: FAIL + + [top: @a] + expected: FAIL + + [bottom: "1"] + expected: FAIL + + [bottom: -/**/1] + expected: FAIL + + [top: +/**/1] + expected: FAIL + + [bottom: @1a] + expected: FAIL + + [top: 1\\31 ] + expected: FAIL + + [top: url('1')] + expected: FAIL + + [bottom: -\\31 ] + expected: FAIL + + [top: calc(1)] + expected: FAIL + + [top: \\31 ] + expected: FAIL + + [bottom: +1\\31 ] + expected: FAIL + + [bottom: 1\\31 .5] + expected: FAIL + + [bottom: #0001] + expected: FAIL + + [top: calc(2 * 2px)] + expected: FAIL + + [bottom: 1a] + expected: FAIL + + [bottom: A] + expected: FAIL + + [bottom: #01] + expected: FAIL + + [top: +\\31 .5] + expected: FAIL + + [bottom: #1] + expected: FAIL + + [top: -/**/1] + expected: FAIL + + [bottom: +\\31 .5] + expected: FAIL + + [bottom: \\31 ] + expected: FAIL + + [bottom: calc(1)] + expected: FAIL + + [top: #001] + expected: FAIL + + [top: +\\31 ] + expected: FAIL + + [bottom: +\\31 ] + expected: FAIL + + [top: +1.5] + expected: FAIL + + [top: +1\\31 ] + expected: FAIL + + [bottom: @a] + expected: FAIL + + [bottom: @1] + expected: FAIL + + [top: #1] + expected: FAIL + + [top: 1a] + expected: FAIL + + [bottom: +1a] + expected: FAIL + + [bottom: +1A] + expected: FAIL + + [bottom: "a"] + expected: FAIL + + [top: #00001] + expected: FAIL + + [bottom: -1\\31 .5] + expected: FAIL + + [top: "1"] + expected: FAIL + + [bottom: 1.5] + expected: FAIL + + [bottom: -\\31 .5] + expected: FAIL + + [bottom: url('1')] + expected: FAIL + + [bottom: -1.5] + expected: FAIL + + [top: \\31 .5] + expected: FAIL + + [bottom: "1a"] + expected: FAIL + + [bottom: calc(2 * 2px)] + expected: FAIL + + [bottom: +1\\31 .5] + expected: FAIL + + [bottom: 1\\31 ] + expected: FAIL + + [bottom: +/**/1] + expected: FAIL + + [bottom: #00001] + expected: FAIL + + [top: url(1)] + expected: FAIL + + [bottom: #001] + expected: FAIL + + [top: +1\\31 .5] + expected: FAIL + + [top: -1a] + expected: FAIL + + [top: -1A] + expected: FAIL + + [bottom: url(1)] + expected: FAIL + + [top: a] + expected: FAIL + + [top: A] + expected: FAIL + + [top: #000001] + expected: FAIL + + [top: 1] + expected: FAIL + + [top: 1\\31 .5] + expected: FAIL + + [bottom: a] + expected: FAIL + + [bottom: 1] + expected: FAIL + + [bottom: +1] + expected: FAIL + + [bottom: #000001] + expected: FAIL + + [bottom: +a] + expected: FAIL + + [bottom: +A] + expected: FAIL + + [top: 1.5] + expected: FAIL + + [top: +A] + expected: FAIL + + [top: +a] + expected: FAIL + + [top: +1] + expected: FAIL + + [top: -1.5] + expected: FAIL + + [top: -1\\31 .5] + expected: FAIL + + [top: +1a] + expected: FAIL + + [top: +1A] + expected: FAIL + + [top: @1a] + expected: FAIL + + [bottom: \\31 .5] + expected: FAIL + + [top: "a"] + expected: FAIL + + [top: #01] + expected: FAIL + + [bottom: +1.5] + expected: FAIL + + [bottom: -A] + expected: FAIL + + [bottom: -a] + expected: FAIL + + [bottom: -1\\31 ] + expected: FAIL + + [top: #0001] + expected: FAIL + + [bottom: -1] + expected: FAIL + + [top: -\\31 ] + expected: FAIL + + [top: -A] + expected: FAIL + + [top: -a] + expected: FAIL + + [top: -1] + expected: FAIL + + [top: -1\\31 ] + expected: FAIL + diff --git a/tests/wpt/metadata/quirks/unitless-length/quirks.html.ini b/tests/wpt/metadata/quirks/unitless-length/quirks.html.ini new file mode 100644 index 00000000000..2ed601c6ff4 --- /dev/null +++ b/tests/wpt/metadata/quirks/unitless-length/quirks.html.ini @@ -0,0 +1,283 @@ +[quirks.html] + [top: -\\31 .5] + expected: FAIL + + [bottom: -1A] + expected: FAIL + + [bottom: -1a] + expected: FAIL + + [top: @1] + expected: FAIL + + [top: "1a"] + expected: FAIL + + [top: @a] + expected: FAIL + + [bottom: "1"] + expected: FAIL + + [bottom: -/**/1] + expected: FAIL + + [top: +/**/1] + expected: FAIL + + [bottom: @1a] + expected: FAIL + + [top: 1\\31 ] + expected: FAIL + + [top: url('1')] + expected: FAIL + + [bottom: -\\31 ] + expected: FAIL + + [top: calc(1)] + expected: FAIL + + [top: \\31 ] + expected: FAIL + + [bottom: +1\\31 ] + expected: FAIL + + [bottom: 1\\31 .5] + expected: FAIL + + [bottom: #0001] + expected: FAIL + + [top: calc(2 * 2px)] + expected: FAIL + + [bottom: 1a] + expected: FAIL + + [bottom: A] + expected: FAIL + + [bottom: #01] + expected: FAIL + + [top: +\\31 .5] + expected: FAIL + + [bottom: #1] + expected: FAIL + + [top: -/**/1] + expected: FAIL + + [bottom: +\\31 .5] + expected: FAIL + + [bottom: \\31 ] + expected: FAIL + + [bottom: calc(1)] + expected: FAIL + + [top: #001] + expected: FAIL + + [top: +\\31 ] + expected: FAIL + + [bottom: +\\31 ] + expected: FAIL + + [top: +1.5] + expected: FAIL + + [top: +1\\31 ] + expected: FAIL + + [bottom: @a] + expected: FAIL + + [bottom: @1] + expected: FAIL + + [top: #1] + expected: FAIL + + [top: 1a] + expected: FAIL + + [bottom: +1a] + expected: FAIL + + [bottom: +1A] + expected: FAIL + + [bottom: "a"] + expected: FAIL + + [top: #00001] + expected: FAIL + + [bottom: -1\\31 .5] + expected: FAIL + + [top: "1"] + expected: FAIL + + [bottom: 1.5] + expected: FAIL + + [bottom: -\\31 .5] + expected: FAIL + + [bottom: url('1')] + expected: FAIL + + [bottom: -1.5] + expected: FAIL + + [top: \\31 .5] + expected: FAIL + + [bottom: "1a"] + expected: FAIL + + [bottom: calc(2 * 2px)] + expected: FAIL + + [bottom: +1\\31 .5] + expected: FAIL + + [bottom: 1\\31 ] + expected: FAIL + + [bottom: +/**/1] + expected: FAIL + + [bottom: #00001] + expected: FAIL + + [top: url(1)] + expected: FAIL + + [bottom: #001] + expected: FAIL + + [top: +1\\31 .5] + expected: FAIL + + [top: -1a] + expected: FAIL + + [top: -1A] + expected: FAIL + + [bottom: url(1)] + expected: FAIL + + [top: a] + expected: FAIL + + [top: A] + expected: FAIL + + [top: #000001] + expected: FAIL + + [top: 1] + expected: FAIL + + [top: 1\\31 .5] + expected: FAIL + + [bottom: a] + expected: FAIL + + [bottom: 1] + expected: FAIL + + [bottom: +1] + expected: FAIL + + [bottom: #000001] + expected: FAIL + + [bottom: +a] + expected: FAIL + + [bottom: +A] + expected: FAIL + + [top: 1.5] + expected: FAIL + + [top: +A] + expected: FAIL + + [top: +a] + expected: FAIL + + [top: +1] + expected: FAIL + + [top: -1.5] + expected: FAIL + + [top: -1\\31 .5] + expected: FAIL + + [top: +1a] + expected: FAIL + + [top: +1A] + expected: FAIL + + [top: @1a] + expected: FAIL + + [bottom: \\31 .5] + expected: FAIL + + [top: "a"] + expected: FAIL + + [top: #01] + expected: FAIL + + [bottom: +1.5] + expected: FAIL + + [bottom: -A] + expected: FAIL + + [bottom: -a] + expected: FAIL + + [bottom: -1\\31 ] + expected: FAIL + + [top: #0001] + expected: FAIL + + [bottom: -1] + expected: FAIL + + [top: -\\31 ] + expected: FAIL + + [top: -A] + expected: FAIL + + [top: -a] + expected: FAIL + + [top: -1] + expected: FAIL + + [top: -1\\31 ] + expected: FAIL + diff --git a/tests/wpt/metadata/touch-events/idlharness.window.js.ini b/tests/wpt/metadata/touch-events/idlharness.window.js.ini index d47a18855a9..83161979656 100644 --- a/tests/wpt/metadata/touch-events/idlharness.window.js.ini +++ b/tests/wpt/metadata/touch-events/idlharness.window.js.ini @@ -191,6 +191,3 @@ [HTMLElement interface: attribute ontouchcancel] expected: FAIL - [idl_test setup] - expected: FAIL - diff --git a/tests/wpt/metadata/url/urlencoded-parser.any.js.ini b/tests/wpt/metadata/url/urlencoded-parser.any.js.ini index ecaf060fc33..98f06af7269 100644 --- a/tests/wpt/metadata/url/urlencoded-parser.any.js.ini +++ b/tests/wpt/metadata/url/urlencoded-parser.any.js.ini @@ -1,23 +1,11 @@ [urlencoded-parser.any.html] - [response.formData() with input: a=b&c=d] - expected: FAIL - [request.formData() with input: &&&a=b&&&&c=d&] expected: FAIL - [request.formData() with input: a=b&c=d&] - expected: FAIL - [response.formData() with input: a&b&c] expected: FAIL - [request.formData() with input: _charset_=windows-1252&test=%C2x] - expected: FAIL - - [response.formData() with input: a=b&c=d&] - expected: FAIL - - [response.formData() with input: _charset_=windows-1252&test=%C2x] + [request.formData() with input: a&b&c] expected: FAIL @@ -25,12 +13,18 @@ [request.formData() with input: a&b&c] expected: FAIL - [request.formData() with input: a=b&c=d&] - expected: FAIL - [response.formData() with input: a=b&c=d&] expected: FAIL [response.formData() with input: a=b&c=d] expected: FAIL + [response.formData() with input: a&b&c] + expected: FAIL + + [request.formData() with input: &&&a=b&&&&c=d&] + expected: FAIL + + [response.formData() with input: _charset_=windows-1252&test=%C2x] + expected: FAIL + diff --git a/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini b/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini index f806a845a2a..9d72f08e38e 100644 --- a/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini +++ b/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini @@ -1,6 +1,5 @@ [005.html] type: testharness - expected: ERROR [dedicated worker in shared worker in dedicated worker] expected: FAIL diff --git a/tests/wpt/web-platform-tests/css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html b/tests/wpt/web-platform-tests/css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html new file mode 100644 index 00000000000..4b1baff8b95 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html @@ -0,0 +1,33 @@ + + + + + +

There should be a green square below.

+
+ +
+
+ +
+ +
+
+
+
+

+
+
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html b/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html index 1651295cba4..180cdf601ed 100644 --- a/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html +++ b/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html @@ -29,7 +29,7 @@ for (let element of [divWithFontSizeSet, divWithFontSizeInherited]) { // Because we want to include the parsing step, insert a stylesheet // node with textContent. let node = document.createElement('style'); - node.textContent = `#${id} { ${name}: ${value}; }`; + node.textContent = `#${id} { ${name}:${value}; }`; document.body.append(node); try { @@ -123,5 +123,29 @@ for (let element of [divWithFontSizeSet, divWithFontSizeInherited]) { test(function() { assert_computed_value('+', '15 calc(2.4) calc(2.6)', '15 2 3'); }, "+ values are computed correctly for " + id); + + test(function() { + assert_computed_value('', '#ff0000', 'rgb(255, 0, 0)'); + assert_computed_value('', '#000f00', 'rgb(0, 15, 0)'); + assert_computed_value('', '#00000a', 'rgb(0, 0, 10)'); + assert_computed_value('', '#badbee', 'rgb(186, 219, 238)'); + assert_computed_value('', '#badbee33', 'rgba(186, 219, 238, 0.2)'); + assert_computed_value('', 'tomato', 'rgb(255, 99, 71)'); + assert_computed_value('', 'plum', 'rgb(221, 160, 221)'); + assert_computed_value('', 'currentcolor', 'currentcolor'); + }, " values are computed correctly for " + id); + + test(function() { + assert_computed_value('*', 'tomato', 'tomato'); + assert_computed_value('tomato | plum', 'plum', 'plum'); + assert_computed_value('tomato | plum | ', 'plum', 'plum'); + }, "ident values that look like color keywords are not converted to colors" + id); + + test(function() { + assert_computed_value('*', '-50grad', '-50grad'); + assert_computed_value('', '180deg', '180deg'); + assert_computed_value('', '400grad', '360deg'); + assert_computed_value('', 'calc(360deg + 400grad)', '720deg'); + }, " values computed correctly for " + id); } diff --git a/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-cssom.html b/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-cssom.html index 019778e95e0..59443b3323a 100644 --- a/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-cssom.html +++ b/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-cssom.html @@ -46,7 +46,7 @@ test(function() { assert_equals(inlineStyle.getPropertyValue('--length'), '5'); assert_equals(inlineStyle.getPropertyValue('--color'), 'hello'); assert_equals(computedStyle.getPropertyValue('--length'), '0px'); - assert_equals(computedStyle.getPropertyValue('--color'), 'blue'); + assert_equals(computedStyle.getPropertyValue('--color'), 'rgb(0, 0, 255)'); }, "Formerly valid values are still readable from inline styles but are computed as the unset value"); test(function() { @@ -62,7 +62,7 @@ test(function() { assert_equals(inlineStyle.getPropertyValue('--length'), ''); assert_equals(inlineStyle.getPropertyValue('--color'), ''); assert_equals(computedStyle.getPropertyValue('--length'), '10px'); - assert_equals(computedStyle.getPropertyValue('--color'), 'red'); + assert_equals(computedStyle.getPropertyValue('--color'), 'rgb(255, 0, 0)'); }, "Values can be removed from inline styles"); test(function() { @@ -80,9 +80,9 @@ test(function() { assert_equals(inlineStyle.getPropertyValue('--length'), '30px'); assert_equals(inlineStyle.getPropertyValue('--color'), 'pink'); assert_equals(computedStyle.getPropertyValue('--length'), '30px'); - assert_equals(computedStyle.getPropertyValue('--color'), 'pink'); + assert_equals(computedStyle.getPropertyValue('--color'), 'rgb(255, 192, 203)'); inlineStyle.setProperty('--color', 'inherit'); assert_equals(inlineStyle.getPropertyValue('--color'), 'inherit'); - assert_equals(computedStyle.getPropertyValue('--color'), 'blue'); + assert_equals(computedStyle.getPropertyValue('--color'), 'rgb(0, 0, 255)'); }, "Valid values can be set on inline styles"); diff --git a/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-initial.html b/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-initial.html index d655af661f7..24543d5c5fd 100644 --- a/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-initial.html +++ b/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-initial.html @@ -23,8 +23,8 @@ test(function() { computedStyle = getComputedStyle(target); assert_equals(computedStyle.getPropertyValue('--length'), '25px'); assert_equals(computedStyle.getPropertyValue('--length-percentage'), 'calc(100px + 10%)'); - assert_equals(computedStyle.getPropertyValue('--inherited-color'), 'pink'); - assert_equals(computedStyle.getPropertyValue('--non-inherited-color'), 'purple'); + assert_equals(computedStyle.getPropertyValue('--inherited-color'), 'rgb(255, 192, 203)'); + assert_equals(computedStyle.getPropertyValue('--non-inherited-color'), 'rgb(128, 0, 128)'); assert_equals(computedStyle.getPropertyValue('--transform-function'), 'rotate(42deg)'); assert_equals(computedStyle.getPropertyValue('--single-transform-list'), 'scale(4)'); assert_equals(computedStyle.getPropertyValue('--multiple-transform-list'), 'scale(3) translateX(4px)'); diff --git a/tests/wpt/web-platform-tests/css/filter-effects/inheritance.html b/tests/wpt/web-platform-tests/css/filter-effects/inheritance.html new file mode 100644 index 00000000000..2bd854ac051 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/filter-effects/inheritance.html @@ -0,0 +1,25 @@ + + + + +Inheritance of Filter Effects properties + + + + + + + + +
+
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/selectors/invalidation/where.html b/tests/wpt/web-platform-tests/css/selectors/invalidation/where.html new file mode 100644 index 00000000000..1c6432f46eb --- /dev/null +++ b/tests/wpt/web-platform-tests/css/selectors/invalidation/where.html @@ -0,0 +1,108 @@ + + + + CSS Selectors Invalidation: :where() + + + + + + + + +
+
+
+
+
+
+ Blue +
+
+
+ Yellow +
+
+ Red +
+
+ Green +
+
+ Red +
+
+ Yellow +
+ + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/docs/introduction.md b/tests/wpt/web-platform-tests/docs/introduction.md index 0e3b5915090..191e76d3997 100644 --- a/tests/wpt/web-platform-tests/docs/introduction.md +++ b/tests/wpt/web-platform-tests/docs/introduction.md @@ -9,6 +9,12 @@ the [web platform][web-platform]; it excludes only ECMAScript (whose testsuite lives in [test262][test262]) and WebGL (whose testsuite lives in [WebGL][WebGL]). +## Watch a Talk + +If you prefer watching a video, here is a talk introducing web-platform-tests: + + + ## Help! If you get stuck or want clarification about anything, feel free to diff --git a/tests/wpt/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-1-line-height-ref.html b/tests/wpt/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-1-line-height-ref.html new file mode 100644 index 00000000000..26e5f332821 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-1-line-height-ref.html @@ -0,0 +1,23 @@ + + + + + Reference: Combobox ignores CSS 'line-height' + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-1-line-height.html b/tests/wpt/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-1-line-height.html new file mode 100644 index 00000000000..e6383f089ff --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-1-line-height.html @@ -0,0 +1,35 @@ + + + + + Test: Combobox ignores CSS 'line-height' + + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/performance-timeline/webtiming-resolution.any.js b/tests/wpt/web-platform-tests/performance-timeline/webtiming-resolution.any.js index 4031388a3bc..46e0489352f 100644 --- a/tests/wpt/web-platform-tests/performance-timeline/webtiming-resolution.any.js +++ b/tests/wpt/web-platform-tests/performance-timeline/webtiming-resolution.any.js @@ -5,8 +5,9 @@ function testTimeResolution(highResTimeFunc, funcString) { while (t0 == t1) { t1 = highResTimeFunc(); } - assert_greater_than_equal(t1 - t0, 0.02, 'The second ' + funcString + ' should be much greater than the first'); - }, 'Verifies the resolution of ' + funcString + ' is at least 20 microseconds.'); + const epsilon = 1e-5; + assert_greater_than_equal(t1 - t0, 0.005 - epsilon, 'The second ' + funcString + ' should be much greater than the first'); + }, 'Verifies the resolution of ' + funcString + ' is at least 5 microseconds.'); } function timeByPerformanceNow() { @@ -21,4 +22,4 @@ function timeByUserTiming() { } testTimeResolution(timeByPerformanceNow, 'performance.now()'); -testTimeResolution(timeByUserTiming, 'entry.startTime'); +testTimeResolution(timeByUserTiming, 'entry.startTime'); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/picture-in-picture/picture-in-picture-window.html b/tests/wpt/web-platform-tests/picture-in-picture/picture-in-picture-window.html index 6d14cf54c71..47b81332742 100644 --- a/tests/wpt/web-platform-tests/picture-in-picture/picture-in-picture-window.html +++ b/tests/wpt/web-platform-tests/picture-in-picture/picture-in-picture-window.html @@ -16,7 +16,7 @@ promise_test(async t => { assert_not_equals(pipWindow.height, 0); const videoAspectRatio = video.videoWidth / video.videoHeight; const pipWindowAspectRatio = pipWindow.width / pipWindow.height; - assert_equals(videoAspectRatio, pipWindowAspectRatio); + assert_approx_equals(videoAspectRatio, pipWindowAspectRatio, 0.01); }); }, 'Picture-in-Picture window dimensions are set after entering Picture-in-Picture'); diff --git a/tests/wpt/web-platform-tests/resources/idlharness.js b/tests/wpt/web-platform-tests/resources/idlharness.js index 9e6ed236b0a..40a5fa59cd2 100644 --- a/tests/wpt/web-platform-tests/resources/idlharness.js +++ b/tests/wpt/web-platform-tests/resources/idlharness.js @@ -305,7 +305,13 @@ IdlArray.prototype.add_dependency_idls = function(raw_idls, options) if (parsed[dep_type]) { const inheriting = parsed[dep_type]; const inheritor = parsed.name || parsed.target; - for (const dep of [inheriting, inheritor]) { + const deps = [inheriting]; + // For A includes B, we can ignore A unless B is being tested. + if (dep_type !== "includes" + || (inheriting in this.members && !this.members[inheriting].untested)) { + deps.push(inheritor); + } + for (const dep of deps) { new_options.only.push(dep); all_deps.add(dep); follow_up.add(dep); @@ -320,7 +326,7 @@ IdlArray.prototype.add_dependency_idls = function(raw_idls, options) next.forEach(process); } } - }); + }.bind(this)); }.bind(this); for (let parsed of parsed_idls) { diff --git a/tests/wpt/web-platform-tests/svg/linking/reftests/use-hidden-attr-change.html b/tests/wpt/web-platform-tests/svg/linking/reftests/use-hidden-attr-change.html new file mode 100644 index 00000000000..4fe535bbac1 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/linking/reftests/use-hidden-attr-change.html @@ -0,0 +1,32 @@ + + +use element reacts to attribute changes when it's not rendered + + + + + +

+ You should see a green square, and no red. +

+ + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/tools/wptserve/tests/functional/test_response.py b/tests/wpt/web-platform-tests/tools/wptserve/tests/functional/test_response.py index daf8e6ed002..4e1e053d019 100644 --- a/tests/wpt/web-platform-tests/tools/wptserve/tests/functional/test_response.py +++ b/tests/wpt/web-platform-tests/tools/wptserve/tests/functional/test_response.py @@ -2,10 +2,10 @@ import sys import os import unittest import json -from types import MethodType from io import BytesIO import pytest +from six import create_bound_method wptserve = pytest.importorskip("wptserve") from .base import TestUsingServer, TestUsingH2Server, doc_root @@ -19,13 +19,11 @@ def send_body_as_header(self): self._headers_complete = True class TestResponse(TestUsingServer): - @pytest.mark.xfail(sys.version_info >= (3,), reason="wptserve only works on Py2") def test_head_without_body(self): @wptserve.handlers.handler def handler(request, response): - response.writer.end_headers = MethodType(send_body_as_header, - response.writer, - wptserve.response.ResponseWriter) + response.writer.end_headers = create_bound_method(send_body_as_header, + response.writer) return [("X-Test", "TEST")], "body\r\n" route = ("GET", "/test/test_head_without_body", handler) @@ -35,14 +33,12 @@ class TestResponse(TestUsingServer): self.assertEqual("TEST", resp.info()['x-Test']) self.assertEqual("", resp.info()['x-body']) - @pytest.mark.xfail(sys.version_info >= (3,), reason="wptserve only works on Py2") def test_head_with_body(self): @wptserve.handlers.handler def handler(request, response): response.send_body_for_head_request = True - response.writer.end_headers = MethodType(send_body_as_header, - response.writer, - wptserve.response.ResponseWriter) + response.writer.end_headers = create_bound_method(send_body_as_header, + response.writer) return [("X-Test", "TEST")], "body\r\n" route = ("GET", "/test/test_head_with_body", handler)