From 6b740f02831a7840610cce64f4c5295f71a5ce34 Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Thu, 2 Apr 2020 08:23:57 +0000 Subject: [PATCH 1/2] Update web-platform-tests to revision 6366ae15c2bc2314adca4321357c68bb468fec98 --- .../cookies/http-state/mozilla-tests.html.ini | 16 + .../cookies/http-state/name-tests.html.ini | 15 + .../CSS2/floats/hit-test-floats-003.html.ini | 4 + .../CSS2/floats/hit-test-floats-005.html.ini | 4 + .../Document-getAnimations.tentative.html.ini | 52 + .../flex-item-z-ordering-001.html.ini | 2 + ...ex-one-sets-flex-basis-to-zero-px.html.ini | 2 + .../flexbox_width-wrapping-column.html.ini | 4 + .../multiline-reverse-wrap-baseline.html.ini | 2 + .../multiline-shrink-to-fit.html.ini | 2 + .../shrinking-column-flexbox.html.ini | 4 + .../text-overflow-on-flexbox-001.html.ini | 2 + ...orientation-background-properties.html.ini | 2 + ...ation-from-image-embedded-content.html.ini | 2 + .../hyphens/hyphens-auto-inline-010.html.ini | 2 + .../hyphens-manual-inline-011.html.ini | 2 + .../hyphens-manual-inline-012.html.ini | 2 + .../transform-scale-hittest.html.ini | 3 + ...ryList-addListener-removeListener.html.ini | 12 - .../cssom-view/elementFromPoint-001.html.ini | 4 - .../elementsFromPoint-iframes.html.ini | 3 + .../elementsFromPoint-invalid-cases.html.ini | 4 + .../css/geometry/DOMQuad-001.html.ini | 4 + .../css/geometry/DOMQuad-nan.html.ini | 25 + .../fetch/content-type/response.window.js.ini | 9 +- .../nosniff/parsing-nosniff.window.js.ini | 3 + .../traverse_the_history_1.html.ini | 4 - ...ml.ini => traverse_the_history_3.html.ini} | 2 +- .../supported-elements.html.ini | 9 +- ...rame_sandbox_popups_nonescaping-2.html.ini | 3 +- ...rame_sandbox_popups_nonescaping-3.html.ini | 3 +- .../audiobuffersource-multi-channels.html.ini | 3 + .../sub-sample-buffer-stitching.html.ini | 6 + tests/wpt/metadata/MANIFEST.json | 915 +++++++++++++----- .../cookies/http-state/mozilla-tests.html.ini | 16 + .../cookies/http-state/name-tests.html.ini | 15 + .../CSS2/floats/hit-test-floats-003.html.ini | 4 + .../CSS2/floats/hit-test-floats-005.html.ini | 4 + .../Document-getAnimations.tentative.html.ini | 3 + .../flex-item-z-ordering-001.html.ini | 2 + ...ex-one-sets-flex-basis-to-zero-px.html.ini | 2 + .../flexbox_width-wrapping-column.html.ini | 4 + .../multiline-reverse-wrap-baseline.html.ini | 2 + .../multiline-shrink-to-fit.html.ini | 2 + .../shrinking-column-flexbox.html.ini | 4 + .../text-overflow-on-flexbox-001.html.ini | 2 + ...orientation-background-properties.html.ini | 2 + ...ation-from-image-embedded-content.html.ini | 2 + ...ntation-from-image-image-document.html.ini | 2 - .../hyphens/hyphens-auto-inline-010.html.ini | 2 + .../hyphens-manual-inline-011.html.ini | 2 + .../hyphens-manual-inline-012.html.ini | 2 + .../transform-scale-hittest.html.ini | 3 + ...ryList-addListener-removeListener.html.ini | 3 + .../cssom-view/elementFromPoint-001.html.ini | 4 - .../elementsFromPoint-iframes.html.ini | 3 + .../elementsFromPoint-invalid-cases.html.ini | 4 + .../css/geometry/DOMQuad-001.html.ini | 3 + .../css/geometry/DOMQuad-nan.html.ini | 25 + .../fetch/content-type/response.window.js.ini | 9 +- .../nosniff/parsing-nosniff.window.js.ini | 3 + .../traverse_the_history_1.html.ini | 4 - ...ml.ini => traverse_the_history_3.html.ini} | 2 +- .../supported-elements.html.ini | 9 +- ...rame_sandbox_popups_nonescaping-2.html.ini | 3 +- ...rame_sandbox_popups_nonescaping-3.html.ini | 3 +- .../audiobuffersource-multi-channels.html.ini | 3 + .../sub-sample-buffer-stitching.html.ini | 6 + .../reporting/report-clips-sample.https.html | 6 +- .../web-platform-tests/cookie-store/README.md | 2 +- ...ListItem_attributes.tentative.https.any.js | 22 + ...re_delete_arguments.tentative.https.any.js | 26 + ...Store_set_arguments.tentative.https.any.js | 28 + .../test-files/chromium0009-expected | 1 + .../test-files/chromium0010-expected | 1 + .../test-files/chromium0012-expected | 1 + .../resources/test-files/mozilla0012-expected | 2 +- .../resources/test-files/mozilla0014-expected | 1 + .../resources/test-files/mozilla0015-expected | 1 + .../resources/test-files/mozilla0016-expected | 1 + .../resources/test-files/mozilla0017-expected | 2 +- .../resources/test-files/name0017-expected | 1 + .../resources/test-files/name0023-expected | 1 + .../resources/test-files/name0025-expected | 1 + .../resources/test-files/name0028-expected | 1 + .../resources/test-files/name0033-expected | 1 + .../synthesized-baseline-grid-001.html | 2 +- .../Document-getAnimations.tentative.html | 23 + .../css/css-animations/historical.html | 2 +- ...ckground-gradient-subpixel-fills-area.html | 2 +- ...und-image-centered-with-border-radius.html | 2 +- .../background-image-centered.html | 2 +- .../background-image-cover-zoomed-1.html | 2 +- .../background-image-large-with-auto.html | 2 +- .../background-image-table-cells-zoomed.html | 2 +- ...background-position-three-four-values.html | 41 + ...osition-xy-three-four-values-passthru.html | 51 + .../background-size-cover-svg.html | 2 +- .../background_position_three_four_values.htm | 39 - .../border-top-left-radius-values-001.htm | 2 +- .../border-top-left-radius-values-002.htm | 2 +- .../border-top-left-radius-values-003.htm | 2 +- ...ground-position-three-four-values-ref.html | 37 + .../css-display/display-change-iframe.html | 2 +- .../display-change-object-iframe.html | 2 +- ...-and-wrap-001.html => align-self-015.html} | 6 +- ...margins-001.html => auto-margins-003.html} | 6 +- .../canvas-dynamic-change-001.html | 35 + .../css-flexbox/change-column-flex-width.html | 2 +- .../content-height-with-scrollbars.html | 2 +- .../css-flexbox/flex-item-vertical-align.html | 28 + .../css-flexbox/flex-item-z-ordering-001.html | 35 + .../css-flexbox/flex-margin-no-collapse.html | 2 +- .../flex-one-sets-flex-basis-to-zero-px.html | 61 ++ ...ox_width-change-and-relayout-children.html | 40 + .../flexbox_width-wrapping-column.html | 44 + .../multiline-min-preferred-width.html | 36 + .../multiline-reverse-wrap-baseline.html | 57 ++ .../css-flexbox/multiline-shrink-to-fit.html | 73 ++ ...p-001-ref.html => align-self-015-ref.html} | 0 ...001-ref.html => auto-margins-003-ref.html} | 0 .../flex-item-vertical-align-ref.html | 17 + .../flex-item-z-ordering-001-ref.html | 28 + .../multiline-reverse-wrap-baseline-ref.html | 52 + .../multiline-shrink-to-fit-ref.html | 85 ++ .../stretching-orthogonal-flows-ref.html | 5 + .../text-overflow-on-flexbox-001-ref.html | 26 + .../css-flexbox/shrinking-column-flexbox.html | 54 ++ .../stretch-after-sibling-size-change.html | 27 + .../stretched-child-shrink-on-relayout.html | 77 ++ .../stretching-orthogonal-flows.html | 15 + .../text-overflow-on-flexbox-001.html | 31 + ...ero-content-size-with-scrollbar-crash.html | 2 +- ...ify-margin-border-padding-vertical-lr.html | 2 +- ...ify-margin-border-padding-vertical-rl.html | 2 +- ...d-align-justify-margin-border-padding.html | 2 +- ...n-axis-alignment-positioned-items-003.html | 2 +- ...n-axis-alignment-positioned-items-004.html | 2 +- ...w-axis-alignment-positioned-items-003.html | 2 +- ...w-axis-alignment-positioned-items-004.html | 2 +- ...-placement-using-named-grid-lines-007.html | 57 ++ .../css-image-fallbacks-and-annotations.html | 2 +- ...ss-image-fallbacks-and-annotations002.html | 2 +- ...ss-image-fallbacks-and-annotations003.html | 2 +- ...ss-image-fallbacks-and-annotations004.html | 2 +- ...ss-image-fallbacks-and-annotations005.html | 2 +- .../css/css-images/image-fit-001.xht | 2 +- .../css/css-images/image-fit-006.xht | 2 +- ...age-orientation-background-properties.html | 55 ++ .../image-orientation-default.html | 3 - ...tation-from-image-composited-dynamic1.html | 1 - ...tation-from-image-composited-dynamic2.html | 1 - ...age-orientation-from-image-composited.html | 1 - ...orientation-from-image-computed-style.html | 3 +- ...orientation-from-image-content-images.html | 1 - ...image-orientation-from-image-dynamic1.html | 1 - ...image-orientation-from-image-dynamic2.html | 1 - ...entation-from-image-embedded-content.html} | 25 +- .../image-orientation-from-image.html | 3 - ...image-orientation-none-content-images.html | 1 - ...image-orientation-none-image-document.html | 1 - .../image-orientation-none.html | 3 - ...orientation-background-properties-ref.html | 53 + .../image-orientation-default-ref.html | 4 - ...ntation-from-image-content-images-ref.html | 1 - ...tion-from-image-embedded-content-ref.html} | 23 +- .../image-orientation-from-image-ref.html | 3 - ...e-orientation-none-content-images-ref.html | 1 - ...e-orientation-none-image-document-ref.html | 1 - .../reference/image-orientation-none-ref.html | 3 - .../clip-path-interpolation-002.html | 2 +- .../css/css-multicol/multicol-basic-005.xht | 2 +- .../css/css-multicol/multicol-basic-006.xht | 2 +- .../text-overflow-ellipsis-002-ref.html | 13 + .../reference/webkit-line-clamp-035-ref.html | 23 + .../text-overflow-ellipsis-002.html | 25 + .../css-overflow/webkit-line-clamp-034.html | 22 + .../css-overflow/webkit-line-clamp-035.html | 33 + .../css/css-scroll-snap/input/keyboard.html | 2 +- .../nested-scrollIntoView-snaps.html | 2 +- .../overflowing-snap-areas.html | 2 +- .../scrollTo-scrollBy-snaps.html | 2 +- .../snap-at-user-scroll-end-manual.html | 2 +- .../css-scroll-snap/snap-inline-block.html | 2 +- .../snap-to-transformed-target.html | 2 +- .../hyphens/hyphens-auto-inline-010.html | 41 + .../hyphens/hyphens-manual-inline-010.html | 41 + .../hyphens/hyphens-manual-inline-011.html | 39 + .../hyphens/hyphens-manual-inline-012.html | 39 + .../css-text/hyphens/hyphens-none-012.html | 44 + .../css-text/hyphens/hyphens-none-013.html | 44 + .../hyphens-auto-inline-010-ref.html | 27 + .../hyphens-manual-inline-010-ref.html | 27 + .../hyphens-manual-inline-011-ref.html | 27 + .../hyphens-manual-inline-012-ref.html | 27 + .../svg-gradientTransform-001.html | 2 +- .../css/css-transforms/rotate_45deg.html | 2 +- .../css/css-transforms/scalex.html | 2 +- .../css/css-transforms/scaley.html | 2 +- .../svg-transform-list-separations-001.html | 2 +- .../svg-transform-list-separations-002.html | 2 +- .../svg-transform-list-separations-003.html | 2 +- .../svg-transform-list-separations-004.html | 2 +- .../svg-transform-list-separations-005.html | 2 +- .../svg-transform-list-separations-006.html | 2 +- .../svg-transform-list-separations-007.html | 2 +- .../svg-transform-list-separations-008.html | 2 +- .../svg-transform-list-separations-009.html | 2 +- .../svg-transform-list-separations-010.html | 2 +- .../svg-transform-list-separations-011.html | 2 +- .../css/css-transforms/translate.html | 2 +- .../css/css-transitions/historical.html | 2 +- .../css-transitions/properties-value-001.html | 4 +- .../css-transitions/properties-value-002.html | 4 +- .../css-transitions/properties-value-003.html | 4 +- ...-background-position-with-edge-offset.html | 4 +- .../transition-property-006-manual.html | 3 +- .../transition-property-007-manual.html | 3 +- .../transition-property-008-manual.html | 3 +- .../transition-property-009-manual.html | 3 +- .../transition-property-010-manual.html | 3 +- .../transition-property-011-manual.html | 3 +- .../transition-property-012-manual.html | 3 +- .../transition-property-013-manual.html | 3 +- .../transition-property-014-manual.html | 3 +- .../transition-property-015-manual.html | 3 +- .../transition-property-016-manual.html | 3 +- .../transition-property-017-manual.html | 3 +- .../transition-property-018-manual.html | 3 +- .../transition-property-019-manual.html | 3 +- .../transition-property-020-manual.html | 3 +- .../transition-property-021-manual.html | 3 +- .../transition-property-022-manual.html | 3 +- .../transition-property-023-manual.html | 3 +- .../transition-property-024-manual.html | 3 +- .../transition-property-025-manual.html | 3 +- .../transition-property-026-manual.html | 3 +- .../transition-property-027-manual.html | 3 +- .../transition-property-028-manual.html | 3 +- .../transition-property-029-manual.html | 3 +- .../transition-property-030-manual.html | 3 +- .../transition-property-031-manual.html | 3 +- .../transition-property-032-manual.html | 3 +- .../transition-property-033-manual.html | 3 +- .../transition-property-034-manual.html | 3 +- .../transition-property-035-manual.html | 3 +- .../transition-property-036-manual.html | 3 +- .../transition-property-037-manual.html | 3 +- .../transition-property-038-manual.html | 3 +- .../transition-property-039-manual.html | 3 +- .../transition-property-040-manual.html | 3 +- .../transition-property-041-manual.html | 3 +- .../transition-property-042-manual.html | 3 +- .../transition-property-043-manual.html | 3 +- .../transition-property-044-manual.html | 3 +- .../transition-property-045-manual.html | 3 +- ...transition-timing-function-002-manual.html | 2 +- ...transition-timing-function-003-manual.html | 2 +- ...transition-timing-function-004-manual.html | 2 +- ...transition-timing-function-005-manual.html | 2 +- ...transition-timing-function-006-manual.html | 2 +- ...transition-timing-function-010-manual.html | 2 +- .../css-transitions/transitioncancel-001.html | 4 +- .../css/css-ui/caret-color-017.html | 2 +- .../css/css-ui/caret-color-021.html | 2 +- .../css/css-ui/outline-019.html | 2 +- .../css/css-ui/outline-023.html | 2 +- .../ch-empty-pseudo-recalc-on-font-load.html | 2 +- .../css-filters-animation-blur.html | 2 +- .../css-filters-animation-brightness.html | 2 +- .../css-filters-animation-combined-001.html | 16 +- .../css-filters-animation-contrast.html | 2 +- .../css-filters-animation-drop-shadow.html | 2 +- .../css-filters-animation-grayscale.html | 2 +- .../css-filters-animation-hue-rotate.html | 2 +- .../css-filters-animation-invert.html | 2 +- .../css-filters-animation-opacity.html | 2 +- .../css-filters-animation-saturate.html | 2 +- .../css-filters-animation-sepia.html | 2 +- .../filter-effects/filter-contrast-001.html | 2 +- .../filter-effects/filter-contrast-002.html | 2 +- .../filter-effects/filter-contrast-003.html | 2 +- .../filter-external-001-test.html | 2 +- .../filter-external-002-test.html | 2 +- .../filter-hue_rotate-001-test.html | 2 +- .../filter-invert-001-test.html | 2 +- .../filter-invert-002-test.html | 2 +- .../filter-saturate-001-test.html | 2 +- .../filter-effects/filters-drop-shadow.html | 2 +- .../filters-grayscale-001-test.html | 2 +- .../filters-opacity-001-test.html | 2 +- .../filters-opacity-002-test.html | 2 +- .../filters-sepia-001-test.html | 2 +- .../filters-test-brightness-001.html | 2 +- .../filters-test-brightness-002.html | 2 +- .../filters-test-brightness-003.html | 2 +- .../reference/svg-relative-urls-0001-ref.html | 3 + .../support/div-with-filter.html | 2 + .../css/filter-effects/support/hueRotate.svg | 7 + .../svg-relative-urls-0001.html | 25 + .../css/geometry/DOMMatrix-002.html | 2 +- .../css/geometry/DOMMatrix-003.html | 2 +- .../DOMMatrixInit-validate-fixup.html | 6 + .../css/geometry/DOMPoint-001.html | 5 +- .../css/geometry/DOMQuad-001.html | 4 +- .../css/geometry/DOMQuad-nan.html | 34 + .../css/geometry/DOMRect-001.html | 5 +- .../css/geometry/DOMRect-nan.html | 79 ++ .../css/selectors/invalidation/defined.html | 2 +- .../selectorText-dynamic-001.html | 2 +- .../invalidation/sheet-going-away-001.html | 2 +- .../invalidation/sheet-going-away-002.html | 2 +- .../css/selectors/x-pseudo-element.html | 2 +- ...feature-policy-trust-token-redemption.html | 22 +- ...lt-feature-policy.tentative.https.sub.html | 17 +- .../dedicated-worker.https.html | 114 +++ .../resources/dedicated-worker.js | 7 + ...rcapture_for_disconnected_shadow_host.html | 138 +++ .../tools/wptrunner/wptrunner/metadata.py | 2 +- .../wptrunner/tests/test_stability.py | 52 + .../wptrunner/wptrunner/wptmanifest/parser.py | 18 +- .../wptrunner/wptmanifest/serializer.py | 13 +- .../wptmanifest/tests/test_parser.py | 39 + .../wptmanifest/tests/test_serializer.py | 7 +- ...ameter-validation-xhr.tentative.https.html | 99 ++ ...sted-types-navigation.tentative.https.html | 2 +- ...usted-types-reporting.tentative.https.html | 62 +- .../worker-constructor.https.html | 86 ++ 328 files changed, 3757 insertions(+), 591 deletions(-) create mode 100644 tests/wpt/metadata-layout-2020/cookies/http-state/mozilla-tests.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-animations/Document-getAnimations.tentative.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-flexbox/flex-item-z-ordering-001.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-flexbox/flex-one-sets-flex-basis-to-zero-px.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-flexbox/flexbox_width-wrapping-column.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-flexbox/multiline-reverse-wrap-baseline.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-flexbox/multiline-shrink-to-fit.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-flexbox/shrinking-column-flexbox.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-flexbox/text-overflow-on-flexbox-001.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-background-properties.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-from-image-embedded-content.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-auto-inline-010.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-manual-inline-011.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-manual-inline-012.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-001.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-invalid-cases.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/geometry/DOMQuad-001.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/geometry/DOMQuad-nan.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini rename tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/{traverse_the_history_4.html.ini => traverse_the_history_3.html.ini} (71%) create mode 100644 tests/wpt/metadata/cookies/http-state/mozilla-tests.html.ini create mode 100644 tests/wpt/metadata/css/CSS2/floats/hit-test-floats-003.html.ini create mode 100644 tests/wpt/metadata/css/CSS2/floats/hit-test-floats-005.html.ini create mode 100644 tests/wpt/metadata/css/css-flexbox/flex-item-z-ordering-001.html.ini create mode 100644 tests/wpt/metadata/css/css-flexbox/flex-one-sets-flex-basis-to-zero-px.html.ini create mode 100644 tests/wpt/metadata/css/css-flexbox/flexbox_width-wrapping-column.html.ini create mode 100644 tests/wpt/metadata/css/css-flexbox/multiline-reverse-wrap-baseline.html.ini create mode 100644 tests/wpt/metadata/css/css-flexbox/multiline-shrink-to-fit.html.ini create mode 100644 tests/wpt/metadata/css/css-flexbox/shrinking-column-flexbox.html.ini create mode 100644 tests/wpt/metadata/css/css-flexbox/text-overflow-on-flexbox-001.html.ini create mode 100644 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-background-properties.html.ini create mode 100644 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-from-image-embedded-content.html.ini delete mode 100644 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-from-image-image-document.html.ini create mode 100644 tests/wpt/metadata/css/css-text/hyphens/hyphens-auto-inline-010.html.ini create mode 100644 tests/wpt/metadata/css/css-text/hyphens/hyphens-manual-inline-011.html.ini create mode 100644 tests/wpt/metadata/css/css-text/hyphens/hyphens-manual-inline-012.html.ini delete mode 100644 tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini create mode 100644 tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini create mode 100644 tests/wpt/metadata/css/geometry/DOMQuad-nan.html.ini delete mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini rename tests/wpt/metadata/html/browsers/history/the-history-interface/{traverse_the_history_4.html.ini => traverse_the_history_3.html.ini} (71%) create mode 100644 tests/wpt/web-platform-tests/css/css-backgrounds/background-position-three-four-values.html create mode 100644 tests/wpt/web-platform-tests/css/css-backgrounds/background-position-xy-three-four-values-passthru.html delete mode 100644 tests/wpt/web-platform-tests/css/css-backgrounds/background_position_three_four_values.htm create mode 100644 tests/wpt/web-platform-tests/css/css-backgrounds/reference/background-position-three-four-values-ref.html rename tests/wpt/web-platform-tests/css/css-flexbox/{columns-center-with-margins-and-wrap-001.html => align-self-015.html} (86%) rename tests/wpt/web-platform-tests/css/css-flexbox/{columns-center-with-margins-001.html => auto-margins-003.html} (80%) create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/canvas-dynamic-change-001.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/flex-item-vertical-align.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/flex-item-z-ordering-001.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/flex-one-sets-flex-basis-to-zero-px.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/flexbox_width-change-and-relayout-children.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/flexbox_width-wrapping-column.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/multiline-min-preferred-width.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/multiline-reverse-wrap-baseline.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/multiline-shrink-to-fit.html rename tests/wpt/web-platform-tests/css/css-flexbox/reference/{columns-center-with-margins-and-wrap-001-ref.html => align-self-015-ref.html} (100%) rename tests/wpt/web-platform-tests/css/css-flexbox/reference/{columns-center-with-margins-001-ref.html => auto-margins-003-ref.html} (100%) create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/reference/flex-item-vertical-align-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/reference/flex-item-z-ordering-001-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/reference/multiline-reverse-wrap-baseline-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/reference/multiline-shrink-to-fit-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/reference/stretching-orthogonal-flows-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/reference/text-overflow-on-flexbox-001-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/shrinking-column-flexbox.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/stretch-after-sibling-size-change.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/stretched-child-shrink-on-relayout.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/stretching-orthogonal-flows.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/text-overflow-on-flexbox-001.html create mode 100644 tests/wpt/web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-007.html create mode 100644 tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-background-properties.html rename tests/wpt/web-platform-tests/css/css-images/image-orientation/{image-orientation-from-image-image-document.html => image-orientation-from-image-embedded-content.html} (59%) create mode 100644 tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-background-properties-ref.html rename tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/{image-orientation-from-image-image-document-ref.html => image-orientation-from-image-embedded-content-ref.html} (59%) create mode 100644 tests/wpt/web-platform-tests/css/css-overflow/reference/text-overflow-ellipsis-002-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-035-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-overflow/text-overflow-ellipsis-002.html create mode 100644 tests/wpt/web-platform-tests/css/css-overflow/webkit-line-clamp-034.html create mode 100644 tests/wpt/web-platform-tests/css/css-overflow/webkit-line-clamp-035.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-auto-inline-010.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-010.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-011.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-012.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-none-012.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-none-013.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-auto-inline-010-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-010-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-011-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-012-ref.html create mode 100644 tests/wpt/web-platform-tests/css/filter-effects/reference/svg-relative-urls-0001-ref.html create mode 100644 tests/wpt/web-platform-tests/css/filter-effects/support/div-with-filter.html create mode 100644 tests/wpt/web-platform-tests/css/filter-effects/support/hueRotate.svg create mode 100644 tests/wpt/web-platform-tests/css/filter-effects/svg-relative-urls-0001.html create mode 100644 tests/wpt/web-platform-tests/css/geometry/DOMQuad-nan.html create mode 100644 tests/wpt/web-platform-tests/css/geometry/DOMRect-nan.html create mode 100644 tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker.https.html create mode 100644 tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/dedicated-worker.js create mode 100644 tests/wpt/web-platform-tests/pointerevents/pointerevent_lostpointercapture_for_disconnected_shadow_host.html create mode 100644 tests/wpt/web-platform-tests/trust-tokens/trust-token-parameter-validation-xhr.tentative.https.html create mode 100644 tests/wpt/web-platform-tests/trusted-types/worker-constructor.https.html diff --git a/tests/wpt/metadata-layout-2020/cookies/http-state/mozilla-tests.html.ini b/tests/wpt/metadata-layout-2020/cookies/http-state/mozilla-tests.html.ini new file mode 100644 index 00000000000..8000f114509 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/cookies/http-state/mozilla-tests.html.ini @@ -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 + diff --git a/tests/wpt/metadata-layout-2020/cookies/http-state/name-tests.html.ini b/tests/wpt/metadata-layout-2020/cookies/http-state/name-tests.html.ini index 36bcc843522..d2458b32102 100644 --- a/tests/wpt/metadata-layout-2020/cookies/http-state/name-tests.html.ini +++ b/tests/wpt/metadata-layout-2020/cookies/http-state/name-tests.html.ini @@ -5,3 +5,18 @@ [name0031 - name0031] expected: FAIL + [name0025 - name0025] + expected: FAIL + + [name0023 - name0023] + expected: FAIL + + [name0033 - name0033] + expected: FAIL + + [name0028 - name0028] + expected: FAIL + + [name0017 - name0017] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini new file mode 100644 index 00000000000..f29da48a2a0 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini @@ -0,0 +1,4 @@ +[hit-test-floats-003.html] + [Miss float below something else] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini new file mode 100644 index 00000000000..baa9f1a7541 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini @@ -0,0 +1,4 @@ +[hit-test-floats-005.html] + [Miss clipped float] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/css-animations/Document-getAnimations.tentative.html.ini b/tests/wpt/metadata-layout-2020/css/css-animations/Document-getAnimations.tentative.html.ini new file mode 100644 index 00000000000..e4237b19a4c --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-animations/Document-getAnimations.tentative.html.ini @@ -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 + diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/flex-item-z-ordering-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/flex-item-z-ordering-001.html.ini new file mode 100644 index 00000000000..f84b7757cb6 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/flex-item-z-ordering-001.html.ini @@ -0,0 +1,2 @@ +[flex-item-z-ordering-001.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/flex-one-sets-flex-basis-to-zero-px.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/flex-one-sets-flex-basis-to-zero-px.html.ini new file mode 100644 index 00000000000..28a24ecf62c --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/flex-one-sets-flex-basis-to-zero-px.html.ini @@ -0,0 +1,2 @@ +[flex-one-sets-flex-basis-to-zero-px.html] + expected: ERROR diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/flexbox_width-wrapping-column.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/flexbox_width-wrapping-column.html.ini new file mode 100644 index 00000000000..48c81ebde76 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/flexbox_width-wrapping-column.html.ini @@ -0,0 +1,4 @@ +[flexbox_width-wrapping-column.html] + [.flexbox 1] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/multiline-reverse-wrap-baseline.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/multiline-reverse-wrap-baseline.html.ini new file mode 100644 index 00000000000..a01dbd8f8ff --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/multiline-reverse-wrap-baseline.html.ini @@ -0,0 +1,2 @@ +[multiline-reverse-wrap-baseline.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/multiline-shrink-to-fit.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/multiline-shrink-to-fit.html.ini new file mode 100644 index 00000000000..35a72187950 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/multiline-shrink-to-fit.html.ini @@ -0,0 +1,2 @@ +[multiline-shrink-to-fit.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/shrinking-column-flexbox.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/shrinking-column-flexbox.html.ini new file mode 100644 index 00000000000..c2a2b02aa24 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/shrinking-column-flexbox.html.ini @@ -0,0 +1,4 @@ +[shrinking-column-flexbox.html] + [body 1] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/text-overflow-on-flexbox-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/text-overflow-on-flexbox-001.html.ini new file mode 100644 index 00000000000..21a3897f188 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/text-overflow-on-flexbox-001.html.ini @@ -0,0 +1,2 @@ +[text-overflow-on-flexbox-001.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-background-properties.html.ini b/tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-background-properties.html.ini new file mode 100644 index 00000000000..d2e76defea3 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-background-properties.html.ini @@ -0,0 +1,2 @@ +[image-orientation-background-properties.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-from-image-embedded-content.html.ini b/tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-from-image-embedded-content.html.ini new file mode 100644 index 00000000000..77a3b45a945 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-from-image-embedded-content.html.ini @@ -0,0 +1,2 @@ +[image-orientation-from-image-embedded-content.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-auto-inline-010.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-auto-inline-010.html.ini new file mode 100644 index 00000000000..0c70d5b8e32 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-auto-inline-010.html.ini @@ -0,0 +1,2 @@ +[hyphens-auto-inline-010.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-manual-inline-011.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-manual-inline-011.html.ini new file mode 100644 index 00000000000..5f374b1f6e2 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-manual-inline-011.html.ini @@ -0,0 +1,2 @@ +[hyphens-manual-inline-011.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-manual-inline-012.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-manual-inline-012.html.ini new file mode 100644 index 00000000000..ff96b9a7a9e --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-text/hyphens/hyphens-manual-inline-012.html.ini @@ -0,0 +1,2 @@ +[hyphens-manual-inline-012.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini b/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini index 4a1e8110f6f..f8e7e539aae 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini @@ -2,3 +2,6 @@ [Hit test intersecting scaled box] expected: FAIL + [Hit test within unscaled box] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini index e481f8ab1e7..c884dc82eab 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini @@ -2,18 +2,6 @@ [listeners are called when - - + +
- - + +
diff --git a/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-from-image.html b/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-from-image.html index f1343e9f23f..9e27bd79051 100644 --- a/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-from-image.html +++ b/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-from-image.html @@ -12,9 +12,6 @@ overflow: hidden; image-orientation: from-image; } - img { - border: 1px solid black; - } div { display: inline-block; width: 100px; diff --git a/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-none-content-images.html b/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-none-content-images.html index 7bcb5ce3394..da5b6704143 100644 --- a/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-none-content-images.html +++ b/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-none-content-images.html @@ -10,7 +10,6 @@ diff --git a/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-none.html b/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-none.html index 03c46c620a0..c903cee741f 100644 --- a/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-none.html +++ b/tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-none.html @@ -12,9 +12,6 @@ overflow: hidden; image-orientation: none; } - img { - border: 1px solid black; - } div { display: inline-block; width: 100px; diff --git a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-background-properties-ref.html b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-background-properties-ref.html new file mode 100644 index 00000000000..0d2aabc4d00 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-background-properties-ref.html @@ -0,0 +1,53 @@ + + + + +CSS Images Module Level 3: image-orientation with background properties reference + + + + + +
+
+
+
+
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-default-ref.html b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-default-ref.html index aa8bede6014..a146af36575 100644 --- a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-default-ref.html +++ b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-default-ref.html @@ -8,10 +8,6 @@ body { overflow: hidden; } - img { - border: 1px - solid black; - } div { display: inline-block; width: 100px; diff --git a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-from-image-content-images-ref.html b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-from-image-content-images-ref.html index 21fed5fbb66..c0d29909f90 100644 --- a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-from-image-content-images-ref.html +++ b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-from-image-content-images-ref.html @@ -7,7 +7,6 @@ @@ -20,13 +29,13 @@ documents always respect the orientation, regardless of the image-orientation property.

- - + +
- - + +
diff --git a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-from-image-ref.html b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-from-image-ref.html index d731e837778..c569690967e 100644 --- a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-from-image-ref.html +++ b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-from-image-ref.html @@ -9,9 +9,6 @@ body { overflow: hidden; } - img { - border: 1px solid black; - } div { display: inline-block; width: 100px; diff --git a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-none-content-images-ref.html b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-none-content-images-ref.html index d73c554f329..5192f5c35aa 100644 --- a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-none-content-images-ref.html +++ b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-none-content-images-ref.html @@ -8,7 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-none-ref.html b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-none-ref.html index 8293d6e003d..c4d140f1533 100644 --- a/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-none-ref.html +++ b/tests/wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-none-ref.html @@ -9,9 +9,6 @@ body { overflow: hidden; } - img { - border: 1px solid black; - } div { display: inline-block; width: 100px; diff --git a/tests/wpt/web-platform-tests/css/css-masking/animations/clip-path-interpolation-002.html b/tests/wpt/web-platform-tests/css/css-masking/animations/clip-path-interpolation-002.html index e00170ed331..88e34b3864f 100644 --- a/tests/wpt/web-platform-tests/css/css-masking/animations/clip-path-interpolation-002.html +++ b/tests/wpt/web-platform-tests/css/css-masking/animations/clip-path-interpolation-002.html @@ -2,7 +2,7 @@ clip-path-interpolation - + diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-basic-005.xht b/tests/wpt/web-platform-tests/css/css-multicol/multicol-basic-005.xht index 6a9cfdd31e3..a4d0e69a5a4 100644 --- a/tests/wpt/web-platform-tests/css/css-multicol/multicol-basic-005.xht +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-basic-005.xht @@ -5,7 +5,7 @@ - + +
ABC
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-035-ref.html b/tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-035-ref.html new file mode 100644 index 00000000000..f7488ba2ec6 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-035-ref.html @@ -0,0 +1,23 @@ + + +CSS reference + + +
+
+ AAA
+ BBB
+ CCC +
+
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/text-overflow-ellipsis-002.html b/tests/wpt/web-platform-tests/css/css-overflow/text-overflow-ellipsis-002.html new file mode 100644 index 00000000000..019e8902af0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-overflow/text-overflow-ellipsis-002.html @@ -0,0 +1,25 @@ + + +CSS Overflow: text-overflow with visibility: hidden; and visibility: visible; descendant + + + + + +
+
ABCABCABCABC
+
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/webkit-line-clamp-034.html b/tests/wpt/web-platform-tests/css/css-overflow/webkit-line-clamp-034.html new file mode 100644 index 00000000000..acc66952f1a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-overflow/webkit-line-clamp-034.html @@ -0,0 +1,22 @@ + + +CSS Overflow: -webkit-line-clamp with visibility: hidden; + + + + +
+ AAAAAAAAA
+ BBBBBBBBB
+ CCCCCCCCC
+ DDDDDDDDD
+ EEEEEEEEE +
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/webkit-line-clamp-035.html b/tests/wpt/web-platform-tests/css/css-overflow/webkit-line-clamp-035.html new file mode 100644 index 00000000000..52b539d505f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-overflow/webkit-line-clamp-035.html @@ -0,0 +1,33 @@ + + +CSS Overflow: -webkit-line-clamp with visibility: hidden; and visibility: visible; descendant + + + + + +
+
+ + AAA
+ BBB
+ CCCCCCCCC
+ DDDDDDDDD
+ EEEEEEEEE +
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-scroll-snap/input/keyboard.html b/tests/wpt/web-platform-tests/css/css-scroll-snap/input/keyboard.html index 47eade8b809..2d39e0dd22c 100644 --- a/tests/wpt/web-platform-tests/css/css-scroll-snap/input/keyboard.html +++ b/tests/wpt/web-platform-tests/css/css-scroll-snap/input/keyboard.html @@ -1,5 +1,5 @@ - + Arrow key scroll snapping - + + + + +

Test passes if the characters inside of each black-bordered rectangles are laid out identically. + +

There are new guidelines now.
+ +
There are new guide-lines now.
diff --git a/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-010.html b/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-010.html new file mode 100644 index 00000000000..ea60684d3ff --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-010.html @@ -0,0 +1,41 @@ + + + + + CSS Text: 'hyphens: manual' with no explicit hyphenation opportunity (basic) + + + + + + + + + + + + +

Test passes if the characters inside of each black-bordered rectangles are laid out identically. Only "ucleic" should be outside of the black-bordered rectangles. + +

DNA means Deoxyribonucleic acid.
+ +
DNA means Deoxyribonucleic acid.
diff --git a/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-011.html b/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-011.html new file mode 100644 index 00000000000..ec08f4d3887 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-011.html @@ -0,0 +1,39 @@ + + + + + CSS Text: 'hyphens: manual' with 2 explicit hyphenation opportunities (inline) + + + + + + + + + + +

Test passes if the characters inside of each black-bordered rectangles are laid out identically. + +

DNA means Deoxy­ribo­nucleic acid.
+ +
DNA means Deoxyribo-nucleic acid.
diff --git a/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-012.html b/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-012.html new file mode 100644 index 00000000000..0267fa7baaa --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-manual-inline-012.html @@ -0,0 +1,39 @@ + + + + + CSS Text: 'hyphens: manual' with 4 explicit hyphenation opportunities (inline) + + + + + + + + + + +

Test passes if the characters inside of each black-bordered rectangles are laid out identically. + +

DNA means Deo­xy­ribo­nu­cleic acid.
+ +
DNA means Deoxy-ribonu-cleic acid.
diff --git a/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-none-012.html b/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-none-012.html new file mode 100644 index 00000000000..9c5c5d693c0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-none-012.html @@ -0,0 +1,44 @@ + + + + + CSS Text: 'hyphens: none', hyphen-minus character and line wrapping + + + + + + + + + + + + +

Test passes if each black-bordered rectangles have identical inside content. + +

regu-lation imple-menta-tion
+ +
regu-
lation
imple-
menta-
tion
+ + diff --git a/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-none-013.html b/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-none-013.html new file mode 100644 index 00000000000..ba3286f085a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hyphens/hyphens-none-013.html @@ -0,0 +1,44 @@ + + + + + CSS Text: 'hyphens: none', hyphen character and line wrapping + + + + + + + + + + + + +

Test passes if each black-bordered rectangles have identical inside content. + +

regu-lation imple-menta-tion
+ +
regu‐
lation
imple‐
menta‐
tion
+ + diff --git a/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-auto-inline-010-ref.html b/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-auto-inline-010-ref.html new file mode 100644 index 00000000000..ce1296eb78c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-auto-inline-010-ref.html @@ -0,0 +1,27 @@ + + + + + CSS Reference Test + + + + + + + +

Test passes if the characters inside of each black-bordered rectangles are laid out identically. + +

There are new guide-lines now.
+ +
There are new guide-lines now.
diff --git a/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-010-ref.html b/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-010-ref.html new file mode 100644 index 00000000000..a55fe859ff2 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-010-ref.html @@ -0,0 +1,27 @@ + + + + + CSS Reference Test + + + + + + + +

Test passes if the characters inside of each black-bordered rectangles are laid out identically. Only "ucleic" should be outside of the black-bordered rectangles. + +

DNA means Deoxyribonucleic acid.
+ +
DNA means Deoxyribonucleic acid.
diff --git a/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-011-ref.html b/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-011-ref.html new file mode 100644 index 00000000000..17254a09f17 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-011-ref.html @@ -0,0 +1,27 @@ + + + + + CSS Reference Test + + + + + + + +

Test passes if the characters inside of each black-bordered rectangles are laid out identically. + +

DNA means Deoxyribo-nucleic acid.
+ +
DNA means Deoxyribo-nucleic acid.
diff --git a/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-012-ref.html b/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-012-ref.html new file mode 100644 index 00000000000..5dfc2b8e221 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hyphens/reference/hyphens-manual-inline-012-ref.html @@ -0,0 +1,27 @@ + + + + + CSS Reference Test + + + + + + + +

Test passes if the characters inside of each black-bordered rectangles are laid out identically. + +

DNA means Deoxy-ribonu-cleic acid.
+ +
DNA means Deoxy-ribonu-cleic acid.
diff --git a/tests/wpt/web-platform-tests/css/css-transforms/gradientTransform/svg-gradientTransform-001.html b/tests/wpt/web-platform-tests/css/css-transforms/gradientTransform/svg-gradientTransform-001.html index 92e2e00ad7a..a660ac4bee6 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/gradientTransform/svg-gradientTransform-001.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/gradientTransform/svg-gradientTransform-001.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/rotate_45deg.html b/tests/wpt/web-platform-tests/css/css-transforms/rotate_45deg.html index a0e799a17f6..9fe068829d4 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/rotate_45deg.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/rotate_45deg.html @@ -3,7 +3,7 @@ CSS Test: rotateY with perspective produces a trapezoid - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/scalex.html b/tests/wpt/web-platform-tests/css/css-transforms/scalex.html index 8f7e75ee222..a26c2a907f2 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/scalex.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/scalex.html @@ -3,7 +3,7 @@ CSS Test: test scale x - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/scaley.html b/tests/wpt/web-platform-tests/css/css-transforms/scaley.html index b1e0e8b14b6..fdd8a9dca8d 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/scaley.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/scaley.html @@ -3,7 +3,7 @@ CSS Test: test scale y - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html index 0695de5c32a..b80742dfe70 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-002.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-002.html index 948909c9b01..eaf4bddc77f 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-002.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-002.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-003.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-003.html index 916fc2f1ddc..5128499e148 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-003.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-003.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-004.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-004.html index cceb47fcadb..137898c891b 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-004.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-004.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-005.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-005.html index faef67c0b77..62aae678f83 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-005.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-005.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-006.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-006.html index b52a0d597ba..83322f71e97 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-006.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-006.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-007.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-007.html index 6d2b99dbbf6..94455681dc1 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-007.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-007.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-008.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-008.html index 22f5af76696..547b77c390c 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-008.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-008.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-009.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-009.html index 9e91d488564..205931a84f7 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-009.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-009.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-010.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-010.html index 3ab02766ea5..4845d3ae308 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-010.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-010.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-011.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-011.html index 726469350e2..f414acbd75f 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-011.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-011.html @@ -5,7 +5,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/translate.html b/tests/wpt/web-platform-tests/css/css-transforms/translate.html index ddaada3be2a..a087a44fea9 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/translate.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/translate.html @@ -3,7 +3,7 @@ CSS Test: test translate - + diff --git a/tests/wpt/web-platform-tests/css/css-transitions/historical.html b/tests/wpt/web-platform-tests/css/css-transitions/historical.html index 8d0360a8ecf..e01ed4da9de 100644 --- a/tests/wpt/web-platform-tests/css/css-transitions/historical.html +++ b/tests/wpt/web-platform-tests/css/css-transitions/historical.html @@ -1,7 +1,7 @@ Historical CSS Transition features must be removed - + diff --git a/tests/wpt/web-platform-tests/css/css-transitions/properties-value-001.html b/tests/wpt/web-platform-tests/css/css-transitions/properties-value-001.html index 1f6d49881bf..54e84be2b09 100644 --- a/tests/wpt/web-platform-tests/css/css-transitions/properties-value-001.html +++ b/tests/wpt/web-platform-tests/css/css-transitions/properties-value-001.html @@ -5,8 +5,8 @@ CSS Transitions Test: Intermediate Property Values - - + + diff --git a/tests/wpt/web-platform-tests/css/css-transitions/properties-value-002.html b/tests/wpt/web-platform-tests/css/css-transitions/properties-value-002.html index 9c5d9afbb93..ed85b007d2c 100644 --- a/tests/wpt/web-platform-tests/css/css-transitions/properties-value-002.html +++ b/tests/wpt/web-platform-tests/css/css-transitions/properties-value-002.html @@ -4,8 +4,8 @@ CSS Transitions Test: Intermediate Property Values of missing value types - - + + diff --git a/tests/wpt/web-platform-tests/css/css-transitions/properties-value-003.html b/tests/wpt/web-platform-tests/css/css-transitions/properties-value-003.html index 4f6bbda53bc..faf0258a60b 100644 --- a/tests/wpt/web-platform-tests/css/css-transitions/properties-value-003.html +++ b/tests/wpt/web-platform-tests/css/css-transitions/properties-value-003.html @@ -5,8 +5,8 @@ CSS Transitions Test: Intermediate Property Values of unspecified properties - - + + diff --git a/tests/wpt/web-platform-tests/css/css-transitions/transition-background-position-with-edge-offset.html b/tests/wpt/web-platform-tests/css/css-transitions/transition-background-position-with-edge-offset.html index 9a74bebfb7a..b6aa43ead26 100644 --- a/tests/wpt/web-platform-tests/css/css-transitions/transition-background-position-with-edge-offset.html +++ b/tests/wpt/web-platform-tests/css/css-transitions/transition-background-position-with-edge-offset.html @@ -2,8 +2,8 @@ CSS Transitions Test: transition-property - background-position - - + + diff --git a/tests/wpt/web-platform-tests/css/css-transitions/transition-property-006-manual.html b/tests/wpt/web-platform-tests/css/css-transitions/transition-property-006-manual.html index 6032a401d0c..b6fa3a67a14 100644 --- a/tests/wpt/web-platform-tests/css/css-transitions/transition-property-006-manual.html +++ b/tests/wpt/web-platform-tests/css/css-transitions/transition-property-006-manual.html @@ -3,7 +3,8 @@ CSS Transitions Test: transition-property - background-position - + + + + + +

Pointer Events - lostpointercapture when capturing element in shadow dom is removed by removing the shadow host

+

+ Test Description: + This test checks if lostpointercapture is fired at the document when the capturing node is removed from the document by removing the shadow host. + The shadow host is colored magenta and the shadow dom element is colored gray. + Complete the following actions: +
    +
  1. Press left mouse button over "Set Capture" button. Pointer should be captured by the gray rectangle.
  2. +
  3. Shadow host magenta rectangle including the gray rectangle will be removed from shadow dom.
  4. +
  5. "lostpointercapture" should be received on the document not on the gray rectangle.
  6. +
+

+
+
+ +
+ + + + diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/metadata.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/metadata.py index ba5a4798226..df31ac40de8 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/metadata.py +++ b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/metadata.py @@ -326,7 +326,7 @@ def write_new_expected(metadata_path, expected): tmp_path = path + ".tmp" try: with open(tmp_path, "wb") as f: - f.write(manifest_str.encode()) + f.write(manifest_str.encode("utf8")) if sys.version_info >= (3, 3): os.replace(tmp_path, path) else: diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/tests/test_stability.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/tests/test_stability.py index 274efb360a6..77cb23a71e1 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/tests/test_stability.py +++ b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/tests/test_stability.py @@ -1,4 +1,5 @@ from .. import stability +from collections import OrderedDict, defaultdict def test_is_inconsistent(): assert stability.is_inconsistent({"PASS": 10}, 10) is False @@ -65,3 +66,54 @@ def test_get_steps(): assert steps[0][0] == "Running tests in a loop %d times" % repeat_loop assert steps[1][0] == ( "Running tests in a loop with restarts %d times" % repeat_restart) + + +def test_log_handler(): + handler = stability.LogHandler() + data = OrderedDict() + data["test"] = "test_name" + test = handler.find_or_create_test(data) + assert test["subtests"] == OrderedDict() + assert test["status"] == defaultdict(int) + assert test["longest_duration"] == defaultdict(float) + assert test == handler.find_or_create_test(data) + + start_time = 100 + data["time"] = start_time + handler.test_start(data) + assert test["start_time"] == start_time + + data["subtest"] = "subtest_name" + subtest = handler.find_or_create_subtest(data) + assert subtest["status"] == defaultdict(int) + assert subtest["messages"] == set() + assert subtest == handler.find_or_create_subtest(data) + + data["status"] = 0 + assert subtest["status"][data["status"]] == 0 + handler.test_status(data) + assert subtest["status"][data["status"]] == 1 + handler.test_status(data) + assert subtest["status"][data["status"]] == 2 + data["status"] = 1 + assert subtest["status"][data["status"]] == 0 + message = "test message" + data["message"] = message + handler.test_status(data) + assert subtest["status"][data["status"]] == 1 + assert len(subtest["messages"]) == 1 + assert message in subtest["messages"] + + test_duration = 10 + data["time"] = data["time"] + test_duration + handler.test_end(data) + assert test["longest_duration"][data["status"]] == test_duration + assert "timeout" not in test + + data["test2"] = "test_name_2" + timeout = 5 + data["extra"] = {} + data["extra"]["test_timeout"] = timeout + handler.test_start(data) + handler.test_end(data) + assert test["timeout"] == timeout * 1000 diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/parser.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/parser.py index abb6d4da7c8..911efac80f2 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/parser.py +++ b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/parser.py @@ -75,6 +75,7 @@ class Tokenizer(object): self.state = self.line_start_state self.next_state = self.data_line_state self.line_number = 0 + self.filename = "" def tokenize(self, stream): self.reset() @@ -136,9 +137,10 @@ class Tokenizer(object): self.indent_levels.append(self.index) yield (token_types.group_start, None) else: - while self.index < self.indent_levels[-1]: - self.indent_levels.pop() - yield (token_types.group_end, None) + if self.index < self.indent_levels[-1]: + while self.index < self.indent_levels[-1]: + self.indent_levels.pop() + yield (token_types.group_end, None) # This is terrible; if we were parsing an expression # then the next_state will be expr_or_value but when we deindent # it must always be a heading or key next so we go back to data_line_state @@ -303,7 +305,8 @@ class Tokenizer(object): def value_state(self): self.skip_whitespace() - if self.char() in ("'", '"'): + c = self.char() + if c in ("'", '"'): quote_char = self.char() self.consume() yield (token_types.string, self.consume_string(quote_char)) @@ -311,10 +314,12 @@ class Tokenizer(object): self.state = self.comment_state else: self.state = self.line_end_state - elif self.char() == "@": + elif c == "@": self.consume() for _, value in self.value_inner_state(): yield token_types.atom, value + elif c == "[": + self.state = self.list_start_state else: self.state = self.value_inner_state @@ -596,6 +601,9 @@ class Parser(object): self.expression_values() if self.token[0] == token_types.string: self.value() + elif self.token[0] == token_types.list_start: + self.consume() + self.list_value() self.eof_or_end_group() elif self.token[0] == token_types.atom: self.atom() diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/serializer.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/serializer.py index e92fd70d9fd..ec8d80ed6f7 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/serializer.py +++ b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/serializer.py @@ -1,9 +1,10 @@ -from six import ensure_str, ensure_text +from __future__ import unicode_literals +from six import ensure_text from .node import NodeVisitor, ValueNode, ListNode, BinaryExpressionNode from .parser import atoms, precedence -atom_names = {v:"@%s" % k for (k,v) in atoms.items()} +atom_names = {v: "@%s" % k for (k,v) in atoms.items()} named_escapes = {"\a", "\b", "\f", "\n", "\r", "\t", "\v"} @@ -21,7 +22,7 @@ def escape(string, extras=""): rv += "\\" + c else: rv += c - return ensure_str(rv) + return ensure_text(rv) class ManifestSerializer(NodeVisitor): @@ -99,7 +100,7 @@ class ManifestSerializer(NodeVisitor): return rv def visit_NumberNode(self, node): - return [str(node.data)] + return [ensure_text(node.data)] def visit_VariableNode(self, node): rv = escape(node.data) @@ -133,10 +134,10 @@ class ManifestSerializer(NodeVisitor): return [" ".join(children)] def visit_UnaryOperatorNode(self, node): - return [str(node.data)] + return [ensure_text(node.data)] def visit_BinaryOperatorNode(self, node): - return [str(node.data)] + return [ensure_text(node.data)] def serialize(tree, *args, **kwargs): diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_parser.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_parser.py index 28d89bd1847..23beb2bef20 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_parser.py +++ b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_parser.py @@ -105,6 +105,45 @@ key: with self.assertRaises(parser.ParseError): self.parse(b"key: @true") + def test_list_expr(self): + self.compare( + b""" +key: + if x == 1: [a] + [b]""", + ["DataNode", None, + [["KeyValueNode", "key", + [["ConditionalNode", None, + [["BinaryExpressionNode", None, + [["BinaryOperatorNode", "==", []], + ["VariableNode", "x", []], + ["NumberNode", "1", []] + ]], + ["ListNode", None, + [["ValueNode", "a", []]]], + ]], + ["ListNode", None, + [["ValueNode", "b", []]]]]]]]) + + def test_list_heading(self): + self.compare( + b""" +key: + if x == 1: [a] +[b]""", + ["DataNode", None, + [["KeyValueNode", "key", + [["ConditionalNode", None, + [["BinaryExpressionNode", None, + [["BinaryOperatorNode", "==", []], + ["VariableNode", "x", []], + ["NumberNode", "1", []] + ]], + ["ListNode", None, + [["ValueNode", "a", []]]], + ]]]], + ["DataNode", "b", []]]]) + def test_if_1(self): with self.assertRaises(parser.ParseError): self.parse(b"key: if foo") diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_serializer.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_serializer.py index 70fca931090..b247855801e 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_serializer.py +++ b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_serializer.py @@ -1,4 +1,3 @@ -import six import sys import unittest @@ -18,7 +17,7 @@ class TokenizerTest(unittest.TestCase): def compare(self, input_str, expected=None): if expected is None: expected = input_str.decode("utf-8") - actual = six.ensure_text(self.serialize(input_str)) + actual = self.serialize(input_str) self.assertEqual(actual, expected) def test_0(self): @@ -232,3 +231,7 @@ class TokenizerTest(unittest.TestCase): def test_if_string_0(self): self.compare(b"""foo: "if bar" """) + + def test_non_ascii_1(self): + self.compare(b"""[\xf0\x9f\x99\x84] +""") diff --git a/tests/wpt/web-platform-tests/trust-tokens/trust-token-parameter-validation-xhr.tentative.https.html b/tests/wpt/web-platform-tests/trust-tokens/trust-token-parameter-validation-xhr.tentative.https.html new file mode 100644 index 00000000000..4a6c30c6d32 --- /dev/null +++ b/tests/wpt/web-platform-tests/trust-tokens/trust-token-parameter-validation-xhr.tentative.https.html @@ -0,0 +1,99 @@ + + +JavaScript: the Trust Token API XHR interface correctly validates its parameters + + + diff --git a/tests/wpt/web-platform-tests/trusted-types/trusted-types-navigation.tentative.https.html b/tests/wpt/web-platform-tests/trusted-types/trusted-types-navigation.tentative.https.html index 657cbb74e0e..4e784611dd6 100644 --- a/tests/wpt/web-platform-tests/trusted-types/trusted-types-navigation.tentative.https.html +++ b/tests/wpt/web-platform-tests/trusted-types/trusted-types-navigation.tentative.https.html @@ -33,7 +33,7 @@ openWindow(t, "support/navigation-support.html"); return Promise.all([ expectLoadedAsMessage("navigation-support.html"), - expectViolationAsMessage("Location.href"), + expectViolationAsMessage("Location href"), ]); }, "Navigate a window with javascript:-urls in enforcing mode."); diff --git a/tests/wpt/web-platform-tests/trusted-types/trusted-types-reporting.tentative.https.html b/tests/wpt/web-platform-tests/trusted-types/trusted-types-reporting.tentative.https.html index bd336f3ad68..5003fc7fad5 100644 --- a/tests/wpt/web-platform-tests/trusted-types/trusted-types-reporting.tentative.https.html +++ b/tests/wpt/web-platform-tests/trusted-types/trusted-types-reporting.tentative.https.html @@ -1,5 +1,6 @@ + @@ -154,17 +155,25 @@ let p = Promise.resolve() .then(promise_violation("require-trusted-types-for 'script'")) .then(expect_blocked_uri("trusted-types-sink")) - .then(expect_sample("Element.innerHTML")) - .then(expect_sample("abc")); + .then(expect_sample("Element innerHTML|abc")); expect_throws(_ => { document.getElementById("div").innerHTML = "abc" }); return p; - }, "Trusted Type violation report: sample for .innerHTML assignment"); + }, "Trusted Type violation report: sample for innerHTML assignment"); promise_test(t => { let p = Promise.resolve() .then(promise_violation("require-trusted-types-for 'script'")) .then(expect_blocked_uri("trusted-types-sink")) - .then(expect_sample("HTMLScriptElement.src")); + .then(expect_sample("HTMLScriptElement text|abc")); + expect_throws(_ => { document.getElementById("script").text = "abc" }); + return p; + }, "Trusted Type violation report: sample for text assignment"); + + promise_test(t => { + let p = Promise.resolve() + .then(promise_violation("require-trusted-types-for 'script'")) + .then(expect_blocked_uri("trusted-types-sink")) + .then(expect_sample("HTMLScriptElement src")); expect_throws(_ => { document.getElementById("script").src = "" }); return p; }, "Trusted Type violation report: sample for script.src assignment"); @@ -173,18 +182,48 @@ let p = Promise.resolve() .then(promise_violation("require-trusted-types-for 'script'")) .then(expect_blocked_uri("trusted-types-sink")) - .then(expect_sample("HTMLElement.innerText")) - .then(expect_sample("2+2;")); + .then(expect_sample("HTMLElement innerText|2+2;")); expect_throws(_ => document.getElementById("script").innerText = "2+2;"); return p; }, "Trusted Type violation report: sample for script innerText assignment"); + // TODO(lyf): https://crbug.com/1066791 Following tests which related to svg + // script element cause a flaky timeout in `linux-blink-rel`, following tests + // should be added back after the bug fix. + // + // TODO(lyf): https://crbug.com/1064598 + // promise_test(t => { + // let p = Promise.resolve() + // .then(promise_violation("require-trusted-types-for 'script'")) + // .then(expect_blocked_uri("trusted-types-sink")) + // .then(expect_sample("SVGScriptElement href")); + // expect_throws(_ => { document.getElementById("svgscript").href.baseVal = "" }); + // return p; + // }, "Trusted Type violation report: sample for SVGScriptElement href assignment"); + // + // promise_test(t => { + // let p = Promise.resolve() + // .then(promise_violation("require-trusted-types-for 'script'")) + // .then(expect_blocked_uri("trusted-types-sink")) + // .then(expect_sample("Element setAttribute")); + // expect_throws(_ => { document.getElementById("svgscript").setAttribute('href', "test"); }); + // return p; + // }, "Trusted Type violation report: sample for SVGScriptElement href assignment by setAttribute"); + // + // promise_test(t => { + // let p = Promise.resolve() + // .then(promise_violation("require-trusted-types-for 'script'")) + // .then(expect_blocked_uri("trusted-types-sink")) + // .then(expect_sample("SVGScriptElement text")); + // expect_throws(_ => { document.getElementById("svgscript").insertBefore(document.createTextNode("Hello"), null) }); + // return p; + // }, "Trusted Type violation report: sample for SVGScriptElement text assignment"); + promise_test(t => { let p = Promise.resolve() .then(promise_violation("require-trusted-types-for 'script'")) .then(expect_blocked_uri("trusted-types-sink")) - .then(expect_sample("eval")) - .then(expect_sample("2+2")) + .then(expect_sample("eval|2+2")) .then(promise_flush()); expect_throws(_ => eval("2+2")); flush(); @@ -197,8 +236,7 @@ let p = Promise.resolve() .then(promise_violation("require-trusted-types-for 'script'")) .then(expect_blocked_uri("trusted-types-sink")) - .then(expect_sample("HTMLElement.innerText")) - .then(expect_sample("abbb")) + .then(expect_sample("HTMLElement innerText|abbb")) .then(e => assert_less_than(e.sample.length, 150)); const value = "a" + "b".repeat(50000); expect_throws(_ => document.getElementById("script").innerText = value); @@ -216,8 +254,7 @@ let p = Promise.resolve() .then(promise_violation("require-trusted-types-for 'script'")) .then(expect_blocked_uri("trusted-types-sink")) - .then(expect_sample("HTMLScriptElement.src")) - .then(expect_sample("abc")); + .then(expect_sample("HTMLScriptElement src|abc")); expect_throws(_ => document.getElementById("customscript").src = "abc"); return p; }, "Trusted Type violation report: sample for custom element assignment"); @@ -229,4 +266,5 @@
+ diff --git a/tests/wpt/web-platform-tests/trusted-types/worker-constructor.https.html b/tests/wpt/web-platform-tests/trusted-types/worker-constructor.https.html new file mode 100644 index 00000000000..6e127b11a5b --- /dev/null +++ b/tests/wpt/web-platform-tests/trusted-types/worker-constructor.https.html @@ -0,0 +1,86 @@ + + + + + + + + + + From 65fd97cce983da8c8230a49bd4eb569f4562f454 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 2 Apr 2020 10:57:34 -0400 Subject: [PATCH 2/2] Add mac-only failure. --- .../metadata/css/css-text/hyphens/hyphens-none-013.html.ini | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/wpt/metadata/css/css-text/hyphens/hyphens-none-013.html.ini diff --git a/tests/wpt/metadata/css/css-text/hyphens/hyphens-none-013.html.ini b/tests/wpt/metadata/css/css-text/hyphens/hyphens-none-013.html.ini new file mode 100644 index 00000000000..ce7cdfefd49 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/hyphens/hyphens-none-013.html.ini @@ -0,0 +1,3 @@ +[hyphens-none-013.html] + expected: + if os == "mac": FAIL