From 75286b8eabb02709ca5aabf5baa2a46594b90e70 Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Sun, 16 Apr 2023 01:26:13 +0000 Subject: [PATCH] Update web-platform-tests to revision b'f0b66362cc5dec54d81e0a56458b48f310a2eba9' --- .../absolute-non-replaced-height-003.xht.ini | 2 + .../absolute-non-replaced-height-004.xht.ini | 2 + .../absolute-non-replaced-height-005.xht.ini | 2 + .../absolute-non-replaced-height-010.xht.ini | 2 + .../absolute-non-replaced-height-011.xht.ini | 2 + .../absolute-non-replaced-height-012.xht.ini | 2 + ...solute-non-replaced-max-height-004.xht.ini | 2 + ...solute-non-replaced-max-height-005.xht.ini | 2 + ...solute-non-replaced-max-height-006.xht.ini | 2 + ...solute-non-replaced-max-height-010.xht.ini | 2 + ...solute-non-replaced-max-height-012.xht.ini | 2 + ...isplay-none-dont-cancel.tentative.html.ini | 15 + ...-attachment-fixed-inline-scrolled.html.ini | 2 + .../abspos/position-absolute-013.html.ini | 156 -- .../css-flexbox/justify-content-007.html.ini | 3 + .../table-as-flex-item-max-content.html.ini | 2 + .../variations/font-weight-matching.html.ini | 1 - .../overlay/overlay-computed.html.ini | 18 + .../overlay-transition-property.html.ini | 3 + .../overlay/overlay-valid.html.ini | 18 + .../properties-value-002.html.ini | 24 + .../properties-value-inherit-001.html.ini | 150 -- ...elementFromPoint-dynamic-anon-box.html.ini | 1 + .../cssom-view/elementFromPosition.html.ini | 3 + .../elementsFromPoint-iframes.html.ini | 3 + .../selectors/selectors-4/lang-011.html.ini | 2 + .../selectors/selectors-4/lang-012.html.ini | 2 + .../fetch/content-type/response.window.js.ini | 3 - ...lement-img-environment-change.sub.html.ini | 4 +- .../navigating-across-documents/005.html.ini | 1 + ...c-aboutblank-navigate-immediately.html.ini | 3 +- ...url-return-value-handling-dynamic.html.ini | 3 + .../replace-before-load/a-click.html.ini | 3 + .../embedded-opener-remove-frame.html.ini | 2 +- ...FilterObject.dropShadow.tentative.html.ini | 2 - .../html/dom/idlharness.https.html.ini | 270 ++- ...ocument-with-fragment-nonexistent.html.ini | 4 +- .../http-equiv-and-name-1.html.ini | 3 + .../http-equiv-and-name-2.html.ini | 3 + .../media_fragment_seek.html.ini | 3 + .../iframe_sandbox_popups_escaping-1.html.ini | 3 +- .../iframe_sandbox_popups_escaping-2.html.ini | 3 +- .../iframe_sandbox_popups_escaping-3.html.ini | 3 +- ...rame_sandbox_popups_nonescaping-3.html.ini | 3 +- ...rse-a-sizes-attribute-quirks-mode.html.ini | 24 - ...rm-during-planned-navigation-task.html.ini | 4 +- .../defer-script/async-script.html.ini | 4 - .../event-handler-all-global-events.html.ini | 9 + ...nt-handler-attributes-body-window.html.ini | 9 + ...andler-attributes-frameset-window.html.ini | 9 + ...andler-attributes-windowless-body.html.ini | 6 + .../resource-timing/idlharness.any.js.ini | 12 + .../selection/idlharness.window.js.ini | 15 + .../anchors/idlharness.https.window.js.ini | 3 + .../webxr/idlharness.https.window.js.ini | 6 + .../FileAPI/url/url-charset.window.js.ini | 4 + .../url/url-in-tags-revoke.window.js.ini | 2 +- tests/wpt/metadata/MANIFEST.json | 2035 ++++++++++++++--- .../CSS2/floats/hit-test-floats-001.html.ini | 3 + .../CSS2/floats/hit-test-floats-002.html.ini | 3 - .../CSS2/floats/hit-test-floats-003.html.ini | 3 + .../CSS2/floats/hit-test-floats-005.html.ini | 3 + .../block-in-inline-hittest-002.html.ini | 3 - ...k-in-inline-hittest-relpos-zindex.html.ini | 3 - .../hit-test-anonymous-block.html.ini | 3 - ...isplay-none-dont-cancel.tentative.html.ini | 15 + ...-attachment-fixed-inline-scrolled.html.ini | 2 + .../hittest-anonymous-box.html.ini | 3 - .../hittest-before-pseudo.html.ini | 3 - .../css-flexbox/justify-content-007.html.ini | 3 + .../table-as-flex-item-max-content.html.ini | 2 + .../variations/font-weight-matching.html.ini | 6 + .../overlay/overlay-computed.html.ini | 18 + .../overlay-transition-property.html.ini | 3 + .../overlay/overlay-valid.html.ini | 18 + ...e-with-filter-and-hidden-backface.html.ini | 3 - .../cssom-view/elementFromPoint-001.html.ini | 3 + .../elementFromPoint-float-in-table.html.ini | 3 - .../elementFromPoint-list-001.html.ini | 12 - .../elementFromPoint-subpixel.html.ini | 3 + ...omPoint-visibility-hidden-resizer.html.ini | 3 - .../cssom-view/elementFromPosition.html.ini | 6 + .../elementsFromPoint-invalid-cases.html.ini | 3 - .../elementsFromPoint-simple.html.ini | 3 + ...scroll-behavior-smooth-navigation.html.ini | 6 + .../scripting-print-noscript.html.ini | 2 + .../scripting-print-script.html.ini | 2 + .../css/mediaqueries/scripting.html.ini | 27 + .../selectors/selectors-4/lang-011.html.ini | 2 + .../selectors/selectors-4/lang-012.html.ini | 2 + .../fetch/api/basic/keepalive.any.js.ini | 1 + .../redirect/redirect-keepalive.any.js.ini | 2 - .../fetch/content-type/response.window.js.ini | 3 - .../css-images.sub.tentative.html.ini | 3 + .../empty-iframe-load-event.html.ini | 6 - .../failure-check-sequence.https.html.ini | 9 +- ...url-return-value-handling-dynamic.html.ini | 3 + ...tion-unload-cross-origin.sub.window.js.ini | 3 + ...avigation-unload-same-origin.window.js.ini | 3 + .../replace-before-load/a-click.html.ini | 3 + .../pageload-image-in-popup.html.ini | 3 - .../traverse_the_history_5.html.ini | 3 + .../canvas.2d.disconnected.html.ini | 2 +- ...FilterObject.dropShadow.tentative.html.ini | 2 - .../html/dom/idlharness.https.html.ini | 267 +++ .../http-equiv-and-name-1.html.ini | 3 + .../http-equiv-and-name-2.html.ini | 3 + .../http-equiv-and-name.html.ini | 6 - .../iframe_sandbox_popups_escaping-2.html.ini | 1 - ...rame_sandbox_popups_nonescaping-1.html.ini | 3 +- .../non-active-document.html.ini | 6 + ...mit-iframe-then-location-navigate.html.ini | 3 + .../htmlanchorelement_noopener.html.ini | 3 - .../defer-script/async-script.html.ini | 4 - ...le-event-handler-settings-objects.html.ini | 3 + .../event-handler-all-global-events.html.ini | 9 + ...nt-handler-attributes-body-window.html.ini | 9 + ...andler-attributes-frameset-window.html.ini | 9 + ...andler-attributes-windowless-body.html.ini | 6 + ...ob-entry-different-function-realm.html.ini | 5 +- .../content-type-parsing.html.ini | 4 +- .../resource-timing/idlharness.any.js.ini | 12 + .../selection/idlharness.window.js.ini | 15 + .../realtimeanalyser-fft-scaling.html.ini | 1 - .../audiocontext-not-fully-active.html.ini | 1 - .../webmessaging/with-ports/017.html.ini | 4 - .../webmessaging/without-ports/018.html.ini | 4 - ...s-3P-window.partitioned.tentative.html.ini | 4 + .../anchors/idlharness.https.window.js.ini | 3 + .../webxr/idlharness.https.window.js.ini | 6 + .../Worker/Worker-constructor.html.ini | 2 + .../mozilla/meta/mozilla/scrollBy.html.ini | 3 + .../.github/workflows/interfaces.yml | 2 +- .../.github/workflows/regen_certs.yml | 2 +- .../resources/reports.py | 16 +- ...ute_pressure_basic.tentative.https.any.js} | 21 +- ...e_pressure_basic.tentative.https.window.js | 35 - ...in_focus_control.tentative.https.window.js | 12 +- ...ssure_detached_iframe.tentative.https.html | 32 +- ...ressure_disconnect.tentative.https.any.js} | 16 +- ...connect_idempotent.tentative.https.any.js} | 16 +- ...onnect_immediately.tentative.https.any.js} | 28 +- ..._duplicate_updates.tentative.https.any.js} | 9 +- ...e_pressure_factors.tentative.https.any.js} | 8 +- ..._pressure_multiple.tentative.https.any.js} | 19 +- ...e_across_iframes.tentative.https.window.js | 40 - ..._observe_idempotent.tentative.https.any.js | 19 + ...serve_idempotent.tentative.https.window.js | 16 - ..._unobserve_failure.tentative.https.any.js} | 10 +- ...e_pressure_options.tentative.https.any.js} | 2 + ...ure_privacy_test.tentative.https.window.js | 10 +- ...in_focus_control.tentative.https.window.js | 14 +- ..._supported_sources.tentative.https.any.js} | 2 + ...ssure_take_records.tentative.https.any.js} | 14 +- ...pressure_timestamp.tentative.https.any.js} | 8 +- ...sure_update_toJSON.tentative.https.any.js} | 6 +- .../resources/observer-in-dedicated-worker.js | 10 - .../resources/observer-in-shared-worker.js | 21 - .../resources/support-iframe.html | 2 +- .../anchor-non-oof-inherit.html | 117 + ...nchor-scroll-composited-scrolling-006.html | 61 + ...r-scroll-composited-scrolling-006-ref.html | 39 + .../display-none-dont-cancel.tentative.html | 146 ++ ...-attachment-fixed-inline-scrolled-ref.html | 23 + ...ound-attachment-fixed-inline-scrolled.html | 35 + .../css/css-break/overflow-clip-014.html | 14 + .../css/css-break/overflow-clip-015.html | 15 + .../css/css-break/overflow-clip-016.html | 16 + .../css/css-break/overflow-clip-017.html | 19 + .../css-cascade/import-conditional-001.html | 2 + .../css/css-cascade/import-conditions.html | 72 +- .../parsing/supports-import-parsing.html | 74 + .../abspos/dynamic-align-self-001.html | 46 + ...as-container-justify-center.tentative.html | 46 + .../flex-aspect-ratio-img-row-017.html | 27 + .../css-flexbox/grandchild-span-height.html | 32 + .../css/css-flexbox/grid-flex-item-007.html | 30 + .../css/css-flexbox/justify-content-007.html | 31 + .../table-as-flex-item-max-content.html | 37 + .../subgrid/auto-track-sizing-001-ref.html | 4 +- .../subgrid/auto-track-sizing-001.html | 4 +- .../independent-formatting-context-ref.html | 22 +- .../independent-formatting-context.html | 48 +- .../image-orientation-none-cross-origin.html | 30 +- ...age-orientation-none-cross-origin-ref.html | 15 +- .../text-box-trim/text-box-trim-valid.html | 2 +- .../overlay/overlay-computed.html | 19 + .../css-position/overlay/overlay-invalid.html | 15 + .../overlay/overlay-transition-property.html | 15 + .../css-position/overlay/overlay-valid.html | 15 + .../root-element-cv-hidden-crash.html | 11 + .../scripting-print-noscript-ref.html | 4 + .../scripting-print-noscript.html | 13 + .../scripting-print-script-ref.html | 4 + .../mediaqueries/scripting-print-script.html | 17 + .../css/mediaqueries/scripting.html | 26 + .../i18n/css3-selectors-lang-014.html | 4 +- .../selectors/selectors-4/lang-000-ref.html | 11 + .../css/selectors/selectors-4/lang-000.html | 13 + .../css/selectors/selectors-4/lang-001.html | 14 + .../css/selectors/selectors-4/lang-002.html | 14 + .../css/selectors/selectors-4/lang-003.html | 14 + .../css/selectors/selectors-4/lang-004.html | 14 + .../css/selectors/selectors-4/lang-005.html | 14 + .../css/selectors/selectors-4/lang-006.html | 14 + .../css/selectors/selectors-4/lang-007.html | 14 + .../css/selectors/selectors-4/lang-008.html | 14 + .../css/selectors/selectors-4/lang-009.html | 14 + .../css/selectors/selectors-4/lang-010.html | 14 + .../css/selectors/selectors-4/lang-011.html | 14 + .../css/selectors/selectors-4/lang-012.html | 14 + .../css/selectors/selectors-4/lang-013.html | 14 + .../css/selectors/selectors-4/lang-014.html | 14 + .../css/selectors/selectors-4/lang-015.html | 14 + ...d-to-element-with-overscroll-behavior.html | 223 +- ...eave-ad-interest-group.https.sub.window.js | 8 +- .../FileSystemBaseHandle-IndexedDB.js | 24 + ...-request-fullscreen-screen-size.https.html | 63 + ...ilterObject.blur.exceptions.tentative.html | 12 +- ...vasFilterObject.colorMatrix.tentative.html | 34 +- ....componentTransfer.discrete.tentative.html | 8 +- ...ect.componentTransfer.gamma.tentative.html | 8 +- ....componentTransfer.identity.tentative.html | 8 +- ...ct.componentTransfer.linear.tentative.html | 8 +- ...ect.componentTransfer.table.tentative.html | 8 +- ...t.convolveMatrix.exceptions.tentative.html | 32 +- ...rObject.dropShadow.tentative-expected.html | 92 +- ...nvasFilterObject.dropShadow.tentative.html | 42 +- ...d.filter.canvasFilterObject.tentative.html | 10 +- ...bject.turbulence.inputTypes.tentative.html | 32 +- ...ilterObject.blur.exceptions.tentative.html | 12 +- ...Object.blur.exceptions.tentative.worker.js | 12 +- ...vasFilterObject.colorMatrix.tentative.html | 34 +- ...lterObject.colorMatrix.tentative.worker.js | 34 +- ....componentTransfer.discrete.tentative.html | 8 +- ...onentTransfer.discrete.tentative.worker.js | 8 +- ...ect.componentTransfer.gamma.tentative.html | 8 +- ...omponentTransfer.gamma.tentative.worker.js | 8 +- ....componentTransfer.identity.tentative.html | 8 +- ...onentTransfer.identity.tentative.worker.js | 8 +- ...ct.componentTransfer.linear.tentative.html | 8 +- ...mponentTransfer.linear.tentative.worker.js | 8 +- ...ect.componentTransfer.table.tentative.html | 8 +- ...omponentTransfer.table.tentative.worker.js | 8 +- ...t.convolveMatrix.exceptions.tentative.html | 32 +- ...volveMatrix.exceptions.tentative.worker.js | 32 +- ...rObject.dropShadow.tentative-expected.html | 92 +- ...nvasFilterObject.dropShadow.tentative.html | 42 +- ...asFilterObject.dropShadow.tentative.w.html | 42 +- ...d.filter.canvasFilterObject.tentative.html | 10 +- ...ter.canvasFilterObject.tentative.worker.js | 10 +- ...bject.turbulence.inputTypes.tentative.html | 32 +- ....turbulence.inputTypes.tentative.worker.js | 32 +- .../html/canvas/tools/yaml-new/filters.yaml | 304 ++- ...d-name.html => http-equiv-and-name-1.html} | 11 +- .../http-equiv-and-name-2.html | 13 + ...trary-content-displayed-ref.tentative.html | 14 +- ...arbitrary-content-displayed.tentative.html | 4 +- .../support/fake-selectmenu.js | 12 +- .../webtransport-h3.https.sub.any.js.ini | 22 +- .../testdriver/actions/wheelScroll.html.ini | 2 +- .../interfaces/EXT_clip_cull_distance.idl | 20 - .../web-platform-tests/interfaces/FedCM.idl | 88 +- .../interfaces/WEBGL_clip_cull_distance.idl | 20 + .../interfaces/WEBGL_provoking_vertex.idl | 13 + .../web-platform-tests/interfaces/anchors.idl | 2 + .../web-platform-tests/interfaces/badging.idl | 10 +- .../interfaces/compression.idl | 10 +- .../interfaces/compute-pressure.idl | 7 +- .../interfaces/contact-picker.idl | 2 +- .../interfaces/cookie-store.idl | 4 +- .../interfaces/css-cascade-6.idl | 10 + .../interfaces/css-contain.idl | 6 +- .../interfaces/css-typed-om.idl | 4 +- .../interfaces/css-view-transitions.idl | 8 +- .../interfaces/device-posture.idl | 3 +- .../wpt/web-platform-tests/interfaces/dom.idl | 2 +- .../interfaces/edit-context.idl | 40 +- .../interfaces/fenced-frame.idl | 54 + .../web-platform-tests/interfaces/fetch.idl | 1 + .../wpt/web-platform-tests/interfaces/fs.idl | 4 - .../interfaces/gamepad-extensions.idl | 2 +- .../interfaces/gpc-spec.idl | 10 + .../web-platform-tests/interfaces/html.idl | 32 +- .../interfaces/mediacapture-streams.idl | 10 +- .../interfaces/navigation-api.idl | 158 -- .../interfaces/notifications.idl | 1 - .../interfaces/orientation-event.idl | 4 - .../interfaces/permissions-policy.idl | 1 - .../interfaces/priority-hints.idl | 20 - .../interfaces/requestStorageAccessFor.idl | 12 + .../interfaces/resource-timing.idl | 1 + .../interfaces/scroll-animations.idl | 1 + .../interfaces/scroll-to-text-fragment.idl | 2 +- .../secure-payment-confirmation.idl | 11 - .../interfaces/selection-api.idl | 3 +- .../interfaces/trust-token-api.idl | 29 + .../interfaces/turtledove.idl | 109 + .../interfaces/ua-client-hints.idl | 7 +- .../wpt/web-platform-tests/interfaces/url.idl | 4 + .../interfaces/wasm-js-api.idl | 12 +- .../interfaces/web-animations-2.idl | 11 + .../interfaces/web-animations.idl | 1 - .../interfaces/web-bluetooth.idl | 1 + .../interfaces/webauthn.idl | 42 +- .../webcodecs-av1-codec-registration.idl | 12 + .../webcodecs-vp9-codec-registration.idl | 12 + .../interfaces/webcodecs.idl | 16 +- .../web-platform-tests/interfaces/webgpu.idl | 68 +- .../web-platform-tests/interfaces/webidl.idl | 2 - .../web-platform-tests/interfaces/webnn.idl | 25 +- .../interfaces/webrtc-encoded-transform.idl | 1 + .../interfaces/webrtc-stats.idl | 2 +- .../web-platform-tests/interfaces/webrtc.idl | 55 +- .../interfaces/webtransport.idl | 20 +- .../web-platform-tests/interfaces/webxr.idl | 1 + ...ow-placement.idl => window-management.idl} | 2 +- .../wpt/web-platform-tests/interfaces/xhr.idl | 2 +- .../tentative/loaf-blocking-duration.html | 57 + .../tentative/loaf-toJSON.html | 4 +- .../utils/peerconnection.js | 4 +- ...ment-crossorigin-sameorigindomain.sub.html | 4 +- .../click-crossdocument-sameorigin.html | 4 +- ...ment-crossorigin-sameorigindomain.sub.html | 4 +- .../click-samedocument-crossorigin.html | 4 +- .../click-samedocument-sameorigin.html | 4 +- ...ment-crossorigin-sameorigindomain.sub.html | 4 +- .../location-crossdocument-sameorigin.html | 4 +- ...ment-crossorigin-sameorigindomain.sub.html | 4 +- .../location-samedocument-crossorigin.html | 4 +- .../location-samedocument-sameorigin.html | 4 +- ...ment-crossorigin-sameorigindomain.sub.html | 4 +- .../open-crossdocument-sameorigin.html | 4 +- ...ment-crossorigin-sameorigindomain.sub.html | 4 +- .../open-samedocument-crossorigin.html | 4 +- .../open-samedocument-sameorigin.html | 4 +- ...ment-crossorigin-sameorigindomain.sub.html | 4 +- .../submit-crossdocument-sameorigin.html | 4 +- ...ment-crossorigin-sameorigindomain.sub.html | 4 +- .../submit-samedocument-crossorigin.html | 4 +- .../submit-samedocument-sameorigin.html | 4 +- .../navigate-anchor-cross-origin.html | 4 +- ...avigate-anchor-download-userInitiated.html | 4 +- .../navigate-anchor-download.html | 4 +- .../navigate-anchor-fragment.html | 4 +- ...ate-anchor-same-origin-cross-document.html | 4 +- .../navigate-anchor-userInitiated.html | 4 +- .../navigate-anchor-with-target.html | 4 +- .../navigate-destination-after-detach.html | 33 + .../navigate-destination-dynamic-index.html | 34 + ...ate-destination-getState-back-forward.html | 4 +- ...avigate-destination-getState-navigate.html | 4 +- .../navigate-destination-getState-reload.html | 4 +- .../navigate-event/navigate-form-get.html | 4 +- .../navigate-form-userInitiated.html | 4 +- .../navigate-form-with-target.html | 4 +- .../navigate-event/navigate-form.html | 4 +- .../navigate-event/navigate-history-go-0.html | 4 +- .../navigate-history-pushState.html | 4 +- .../navigate-history-replaceState.html | 4 +- .../navigate-iframe-location.html | 4 +- .../navigate-event/navigate-location.html | 4 +- .../navigate-event/navigate-meta-refresh.html | 4 +- .../navigate-navigation-navigate.html | 4 +- .../navigate-event/navigate-to-srcdoc.html | 4 +- .../navigate-window-open-self.html | 4 +- .../navigate-event/navigate-window-open.html | 4 +- .../resources/window_state_context.js | 20 +- .../visibility-state-entry.tentative.html | 62 +- .../chromium/mock-pressure-service.js | 43 +- .../resources/chromium/mock-subapps.js | 7 +- .../orientation-reading.html | 169 +- .../animation-duration-auto.tentative.html | 6 +- ...oll-timeline-specified-scroller-print.html | 2 +- ...croll-timeline-specified-scroller-ref.html | 2 +- .../progress-based-animation-timeline.html | 7 +- .../css/scroll-timeline-attachment.html | 296 +++ .../scroll-timeline-axis-writing-mode.html | 47 +- ...eline-offset-keyframes-hidden-subject.html | 5 +- ...ge-name-offset-in-keyframes.tentative.html | 1 - .../css/view-timeline-animation.html | 1 + .../css/view-timeline-attachment.html | 338 +++ .../css/view-timeline-inset-animation.html | 1 + ...eline-keyframe-boundary-interpolation.html | 5 +- .../css/view-timeline-lookup.html | 12 +- ...tication-disallowed-when-hidden.https.html | 57 + .../shadow-dom/leaktests/html-collection.html | 7 +- .../insecure-context.tentative.http.html | 10 + .../different-initiators-2.https.html | 51 + .../subapps/remove-error.tentative.https.html | 55 +- .../remove-success.tentative.https.html | 35 +- .../subapps/resources/subapps-helpers.js | 44 +- .../svg/text/reftests/opacity-ref.svg | 26 + .../svg/text/reftests/opacity.svg | 31 + .../tools/ci/requirements_build.txt | 2 +- .../tools/ci/requirements_tc.txt | 2 +- .../wpt/web-platform-tests/tools/ci/run_tc.py | 4 +- .../wpt/web-platform-tests/tools/lint/lint.py | 2 +- .../tools/manifest/XMLParser.py | 2 +- .../web-platform-tests/tools/manifest/item.py | 12 +- tests/wpt/web-platform-tests/tools/mypy.ini | 1 + .../tools/requirements_mypy.txt | 18 +- .../tools/requirements_pytest.txt | 4 +- .../tools/requirements_tests.txt | 6 +- tests/wpt/web-platform-tests/tools/tox.ini | 2 +- .../tools/webdriver/webdriver/bidi/client.py | 2 +- .../tools/webdriver/webdriver/bidi/error.py | 3 + .../webdriver/bidi/modules/_module.py | 5 - .../webdriver/webdriver/bidi/modules/input.py | 17 +- .../webdriver/webdriver/bidi/transport.py | 6 +- .../tools/webdriver/webdriver/client.py | 45 +- .../webtransport/h3/webtransport_h3_server.py | 7 +- .../web-platform-tests/tools/wpt/browser.py | 139 +- .../web-platform-tests/tools/wpt/install.py | 12 +- tests/wpt/web-platform-tests/tools/wpt/run.py | 13 +- .../wpt/tests/test_update_expectations.py | 4 +- .../tools/wptrunner/requirements.txt | 4 +- .../tools/wptrunner/requirements_firefox.txt | 5 +- .../wptrunner/formatters/chromium.py | 3 + .../wptrunner/wptrunner/tests/test_update.py | 6 +- .../tools/wptserve/tests/functional/base.py | 1 + ...ameter-validation-xhr.tentative.https.html | 26 - ...-parameter-validation.tentative.https.html | 24 - .../webcodecs/video-encoder.https.any.js | 2 +- ...serialization.crossAgentCluster.https.html | 4 +- .../dom_content_loaded/dom_content_loaded.py | 11 + .../tests/bidi/browsing_context/load/load.py | 11 + .../tests/bidi/browsing_context/print/page.py | 22 +- .../webdriver/tests/bidi/input/__init__.py | 28 + .../webdriver/tests/bidi/input/conftest.py | 21 + .../bidi/input/perform_actions/__init__.py | 0 .../bidi/input/perform_actions/invalid.py | 22 + .../bidi/input/perform_actions/key_events.py | 57 +- .../bidi/input/release_actions/__init__.py | 0 .../bidi/input/release_actions/context.py | 42 + .../bidi/input/release_actions/invalid.py | 16 + .../bidi/input/release_actions/release.py | 28 + .../bidi/input/release_actions/sequence.py | 84 + .../webdriver/tests/bidi/network/conftest.py | 9 +- .../bidi/script/call_function/invalid.py | 15 + .../tests/bidi/script/disown/handles.py | 14 +- .../tests/bidi/script/disown/target.py | 6 +- .../tests/perform_actions/conftest.py | 2 +- .../tests/perform_actions/key_events.py | 34 +- .../tests/release_actions/conftest.py | 2 +- .../tests/release_actions/sequence.py | 8 +- .../tests/release_actions/support/refine.py | 2 +- .../support/test_actions_wdspec.html | 197 -- .../webdriver/tests/support/fixtures_bidi.py | 14 + .../webdriver/tests/support/helpers.py | 10 + .../webnn/resources/test_data/prelu.json | 83 +- .../webnn/resources/test_data/softsign.json | 400 ++++ .../webnn/resources/utils.js | 1 + .../webnn/softsign.https.any.js | 10 + ...RtpTransceiver-headerExtensionControl.html | 255 ++- .../webtransport/close.https.any.js.ini | 19 - .../webtransport/connect.https.any.js.ini | 19 - .../webtransport/csp-fail.https.window.js.ini | 3 - .../webtransport/csp-pass.https.window.js.ini | 3 - .../webtransport/datagrams.https.any.js | 103 +- .../webtransport/datagrams.https.any.js.ini | 19 - .../webtransport-test-helpers.sub.js | 17 + .../streams-close.https.any.js.ini | 19 - .../webtransport/streams-echo.https.any.js | 80 + .../streams-echo.https.any.js.ini | 19 - ...clean-conformance-offscreencanvas.html.ini | 3 - ...clean-conformance-offscreencanvas.html.ini | 3 - 467 files changed, 8309 insertions(+), 3209 deletions(-) create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-003.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-004.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-005.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-010.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-011.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-012.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-004.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-005.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-006.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-010.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-012.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-animations/display-none-dont-cancel.tentative.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-backgrounds/background-attachment-fixed-inline-scrolled.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-flexbox/justify-content-007.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-flexbox/table-as-flex-item-max-content.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-computed.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-transition-property.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-valid.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/selectors/selectors-4/lang-011.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/selectors/selectors-4/lang-012.html.ini create mode 100644 tests/wpt/metadata-layout-2020/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/a-click.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.dropShadow.tentative.html.ini create mode 100644 tests/wpt/metadata-layout-2020/html/semantics/document-metadata/the-meta-element/http-equiv-and-name-1.html.ini create mode 100644 tests/wpt/metadata-layout-2020/html/semantics/document-metadata/the-meta-element/http-equiv-and-name-2.html.ini create mode 100644 tests/wpt/metadata-layout-2020/html/semantics/embedded-content/media-elements/media_fragment_seek.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-quirks-mode.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/html/semantics/scripting-1/the-script-element/defer-script/async-script.html.ini create mode 100644 tests/wpt/metadata/FileAPI/url/url-charset.window.js.ini create mode 100644 tests/wpt/metadata/css/CSS2/floats/hit-test-floats-001.html.ini delete mode 100644 tests/wpt/metadata/css/CSS2/floats/hit-test-floats-002.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 delete mode 100644 tests/wpt/metadata/css/CSS2/normal-flow/hit-test-anonymous-block.html.ini create mode 100644 tests/wpt/metadata/css/css-animations/display-none-dont-cancel.tentative.html.ini create mode 100644 tests/wpt/metadata/css/css-backgrounds/background-attachment-fixed-inline-scrolled.html.ini delete mode 100644 tests/wpt/metadata/css/css-flexbox/hittest-anonymous-box.html.ini delete mode 100644 tests/wpt/metadata/css/css-flexbox/hittest-before-pseudo.html.ini create mode 100644 tests/wpt/metadata/css/css-flexbox/justify-content-007.html.ini create mode 100644 tests/wpt/metadata/css/css-flexbox/table-as-flex-item-max-content.html.ini create mode 100644 tests/wpt/metadata/css/css-position/overlay/overlay-computed.html.ini create mode 100644 tests/wpt/metadata/css/css-position/overlay/overlay-transition-property.html.ini create mode 100644 tests/wpt/metadata/css/css-position/overlay/overlay-valid.html.ini delete mode 100644 tests/wpt/metadata/css/css-transforms/inline-with-filter-and-hidden-backface.html.ini create mode 100644 tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini delete mode 100644 tests/wpt/metadata/css/cssom-view/elementFromPoint-float-in-table.html.ini create mode 100644 tests/wpt/metadata/css/cssom-view/elementFromPoint-subpixel.html.ini delete mode 100644 tests/wpt/metadata/css/cssom-view/elementFromPoint-visibility-hidden-resizer.html.ini delete mode 100644 tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini create mode 100644 tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth-navigation.html.ini create mode 100644 tests/wpt/metadata/css/mediaqueries/scripting-print-noscript.html.ini create mode 100644 tests/wpt/metadata/css/mediaqueries/scripting-print-script.html.ini create mode 100644 tests/wpt/metadata/css/mediaqueries/scripting.html.ini create mode 100644 tests/wpt/metadata/css/selectors/selectors-4/lang-011.html.ini create mode 100644 tests/wpt/metadata/css/selectors/selectors-4/lang-012.html.ini delete mode 100644 tests/wpt/metadata/fetch/api/redirect/redirect-keepalive.any.js.ini delete mode 100644 tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/empty-iframe-load-event.html.ini create mode 100644 tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-cross-origin.sub.window.js.ini create mode 100644 tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.js.ini create mode 100644 tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/a-click.html.ini delete mode 100644 tests/wpt/metadata/html/browsers/browsing-the-web/read-media/pageload-image-in-popup.html.ini create mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini delete mode 100644 tests/wpt/metadata/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.dropShadow.tentative.html.ini create mode 100644 tests/wpt/metadata/html/semantics/document-metadata/the-meta-element/http-equiv-and-name-1.html.ini create mode 100644 tests/wpt/metadata/html/semantics/document-metadata/the-meta-element/http-equiv-and-name-2.html.ini delete mode 100644 tests/wpt/metadata/html/semantics/document-metadata/the-meta-element/http-equiv-and-name.html.ini create mode 100644 tests/wpt/metadata/html/semantics/forms/form-submission-0/form-submit-iframe-then-location-navigate.html.ini delete mode 100644 tests/wpt/metadata/html/semantics/scripting-1/the-script-element/defer-script/async-script.html.ini delete mode 100644 tests/wpt/metadata/webmessaging/with-ports/017.html.ini delete mode 100644 tests/wpt/metadata/webmessaging/without-ports/018.html.ini create mode 100644 tests/wpt/metadata/webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.tentative.html.ini create mode 100644 tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini create mode 100644 tests/wpt/mozilla/meta/mozilla/scrollBy.html.ini rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_basic_async.tentative.https.window.js => compute_pressure_basic.tentative.https.any.js} (77%) delete mode 100644 tests/wpt/web-platform-tests/compute-pressure/compute_pressure_basic.tentative.https.window.js rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_disconnect.tentative.https.window.js => compute_pressure_disconnect.tentative.https.any.js} (73%) rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_disconnect_idempotent.tentative.https.window.js => compute_pressure_disconnect_idempotent.tentative.https.any.js} (69%) rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_disconnect_immediately.tentative.https.window.js => compute_pressure_disconnect_immediately.tentative.https.any.js} (72%) rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_duplicate_updates.tentative.https.window.js => compute_pressure_duplicate_updates.tentative.https.any.js} (88%) rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_factors.tentative.https.window.js => compute_pressure_factors.tentative.https.any.js} (63%) rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_multiple.tentative.https.window.js => compute_pressure_multiple.tentative.https.any.js} (58%) delete mode 100644 tests/wpt/web-platform-tests/compute-pressure/compute_pressure_multiple_across_iframes.tentative.https.window.js create mode 100644 tests/wpt/web-platform-tests/compute-pressure/compute_pressure_observe_idempotent.tentative.https.any.js delete mode 100644 tests/wpt/web-platform-tests/compute-pressure/compute_pressure_observe_idempotent.tentative.https.window.js rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_observe_unobserve_failure.tentative.https.window.js => compute_pressure_observe_unobserve_failure.tentative.https.any.js} (62%) rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_options.tentative.https.window.js => compute_pressure_options.tentative.https.any.js} (93%) rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_supported_sources.tentative.https.window.js => compute_pressure_supported_sources.tentative.https.any.js} (92%) rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_take_records.tentative.https.window.js => compute_pressure_take_records.tentative.https.any.js} (67%) rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_timestamp.tentative.https.window.js => compute_pressure_timestamp.tentative.https.any.js} (91%) rename tests/wpt/web-platform-tests/compute-pressure/{compute_pressure_update_toJSON.tentative.https.window.js => compute_pressure_update_toJSON.tentative.https.any.js} (74%) delete mode 100644 tests/wpt/web-platform-tests/compute-pressure/resources/observer-in-dedicated-worker.js delete mode 100644 tests/wpt/web-platform-tests/compute-pressure/resources/observer-in-shared-worker.js create mode 100644 tests/wpt/web-platform-tests/css/css-anchor-position/anchor-non-oof-inherit.html create mode 100644 tests/wpt/web-platform-tests/css/css-anchor-position/anchor-scroll-composited-scrolling-006.html create mode 100644 tests/wpt/web-platform-tests/css/css-anchor-position/reference/anchor-scroll-composited-scrolling-006-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-animations/display-none-dont-cancel.tentative.html create mode 100644 tests/wpt/web-platform-tests/css/css-backgrounds/background-attachment-fixed-inline-scrolled-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-backgrounds/background-attachment-fixed-inline-scrolled.html create mode 100644 tests/wpt/web-platform-tests/css/css-break/overflow-clip-014.html create mode 100644 tests/wpt/web-platform-tests/css/css-break/overflow-clip-015.html create mode 100644 tests/wpt/web-platform-tests/css/css-break/overflow-clip-016.html create mode 100644 tests/wpt/web-platform-tests/css/css-break/overflow-clip-017.html create mode 100644 tests/wpt/web-platform-tests/css/css-cascade/parsing/supports-import-parsing.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/abspos/dynamic-align-self-001.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/fieldset-as-container-justify-center.tentative.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/flex-aspect-ratio-img-row-017.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/grandchild-span-height.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/grid-flex-item-007.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/justify-content-007.html create mode 100644 tests/wpt/web-platform-tests/css/css-flexbox/table-as-flex-item-max-content.html create mode 100644 tests/wpt/web-platform-tests/css/css-position/overlay/overlay-computed.html create mode 100644 tests/wpt/web-platform-tests/css/css-position/overlay/overlay-invalid.html create mode 100644 tests/wpt/web-platform-tests/css/css-position/overlay/overlay-transition-property.html create mode 100644 tests/wpt/web-platform-tests/css/css-position/overlay/overlay-valid.html create mode 100644 tests/wpt/web-platform-tests/css/css-view-transitions/root-element-cv-hidden-crash.html create mode 100644 tests/wpt/web-platform-tests/css/mediaqueries/scripting-print-noscript-ref.html create mode 100644 tests/wpt/web-platform-tests/css/mediaqueries/scripting-print-noscript.html create mode 100644 tests/wpt/web-platform-tests/css/mediaqueries/scripting-print-script-ref.html create mode 100644 tests/wpt/web-platform-tests/css/mediaqueries/scripting-print-script.html create mode 100644 tests/wpt/web-platform-tests/css/mediaqueries/scripting.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-000-ref.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-000.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-001.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-002.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-003.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-004.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-005.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-006.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-007.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-008.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-009.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-010.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-011.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-012.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-013.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-014.html create mode 100644 tests/wpt/web-platform-tests/css/selectors/selectors-4/lang-015.html create mode 100644 tests/wpt/web-platform-tests/fullscreen/api/element-request-fullscreen-screen-size.https.html rename tests/wpt/web-platform-tests/html/semantics/document-metadata/the-meta-element/{http-equiv-and-name.html => http-equiv-and-name-1.html} (53%) create mode 100644 tests/wpt/web-platform-tests/html/semantics/document-metadata/the-meta-element/http-equiv-and-name-2.html delete mode 100644 tests/wpt/web-platform-tests/interfaces/EXT_clip_cull_distance.idl create mode 100644 tests/wpt/web-platform-tests/interfaces/WEBGL_clip_cull_distance.idl create mode 100644 tests/wpt/web-platform-tests/interfaces/WEBGL_provoking_vertex.idl create mode 100644 tests/wpt/web-platform-tests/interfaces/css-cascade-6.idl create mode 100644 tests/wpt/web-platform-tests/interfaces/fenced-frame.idl create mode 100644 tests/wpt/web-platform-tests/interfaces/gpc-spec.idl delete mode 100644 tests/wpt/web-platform-tests/interfaces/navigation-api.idl delete mode 100644 tests/wpt/web-platform-tests/interfaces/priority-hints.idl create mode 100644 tests/wpt/web-platform-tests/interfaces/requestStorageAccessFor.idl create mode 100644 tests/wpt/web-platform-tests/interfaces/trust-token-api.idl create mode 100644 tests/wpt/web-platform-tests/interfaces/turtledove.idl create mode 100644 tests/wpt/web-platform-tests/interfaces/webcodecs-av1-codec-registration.idl create mode 100644 tests/wpt/web-platform-tests/interfaces/webcodecs-vp9-codec-registration.idl rename tests/wpt/web-platform-tests/interfaces/{window-placement.idl => window-management.idl} (93%) create mode 100644 tests/wpt/web-platform-tests/long-animation-frame/tentative/loaf-blocking-duration.html create mode 100644 tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-after-detach.html create mode 100644 tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-dynamic-index.html create mode 100644 tests/wpt/web-platform-tests/scroll-animations/css/scroll-timeline-attachment.html create mode 100644 tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-attachment.html create mode 100644 tests/wpt/web-platform-tests/secure-payment-confirmation/authentication-disallowed-when-hidden.https.html create mode 100644 tests/wpt/web-platform-tests/shared-storage/insecure-context.tentative.http.html create mode 100644 tests/wpt/web-platform-tests/speculation-rules/prefetch/different-initiators-2.https.html create mode 100644 tests/wpt/web-platform-tests/svg/text/reftests/opacity-ref.svg create mode 100644 tests/wpt/web-platform-tests/svg/text/reftests/opacity.svg create mode 100644 tests/wpt/web-platform-tests/webdriver/tests/bidi/input/__init__.py create mode 100644 tests/wpt/web-platform-tests/webdriver/tests/bidi/input/conftest.py create mode 100644 tests/wpt/web-platform-tests/webdriver/tests/bidi/input/perform_actions/__init__.py create mode 100644 tests/wpt/web-platform-tests/webdriver/tests/bidi/input/perform_actions/invalid.py create mode 100644 tests/wpt/web-platform-tests/webdriver/tests/bidi/input/release_actions/__init__.py create mode 100644 tests/wpt/web-platform-tests/webdriver/tests/bidi/input/release_actions/context.py create mode 100644 tests/wpt/web-platform-tests/webdriver/tests/bidi/input/release_actions/invalid.py create mode 100644 tests/wpt/web-platform-tests/webdriver/tests/bidi/input/release_actions/release.py create mode 100644 tests/wpt/web-platform-tests/webdriver/tests/bidi/input/release_actions/sequence.py delete mode 100644 tests/wpt/web-platform-tests/webdriver/tests/release_actions/support/test_actions_wdspec.html create mode 100644 tests/wpt/web-platform-tests/webnn/resources/test_data/softsign.json create mode 100644 tests/wpt/web-platform-tests/webnn/softsign.https.any.js delete mode 100644 tests/wpt/web-platform-tests/webtransport/close.https.any.js.ini delete mode 100644 tests/wpt/web-platform-tests/webtransport/connect.https.any.js.ini delete mode 100644 tests/wpt/web-platform-tests/webtransport/csp-fail.https.window.js.ini delete mode 100644 tests/wpt/web-platform-tests/webtransport/csp-pass.https.window.js.ini delete mode 100644 tests/wpt/web-platform-tests/webtransport/datagrams.https.any.js.ini delete mode 100644 tests/wpt/web-platform-tests/webtransport/streams-close.https.any.js.ini delete mode 100644 tests/wpt/web-platform-tests/webtransport/streams-echo.https.any.js.ini diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-003.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-003.xht.ini new file mode 100644 index 00000000000..a7c02218dae --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-003.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-height-003.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-004.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-004.xht.ini new file mode 100644 index 00000000000..d5edb75b0ee --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-004.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-height-004.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-005.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-005.xht.ini new file mode 100644 index 00000000000..acbe4a16f4d --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-005.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-height-005.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-010.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-010.xht.ini new file mode 100644 index 00000000000..ffa0aa5f51d --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-010.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-height-010.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-011.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-011.xht.ini new file mode 100644 index 00000000000..ff562b47bae --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-011.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-height-011.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-012.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-012.xht.ini new file mode 100644 index 00000000000..5cd0779a01b --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-height-012.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-height-012.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-004.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-004.xht.ini new file mode 100644 index 00000000000..520f8f51740 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-004.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-max-height-004.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-005.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-005.xht.ini new file mode 100644 index 00000000000..f0a70485254 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-005.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-max-height-005.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-006.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-006.xht.ini new file mode 100644 index 00000000000..b49a7b20e06 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-006.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-max-height-006.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-010.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-010.xht.ini new file mode 100644 index 00000000000..26bf546864a --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-010.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-max-height-010.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-012.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-012.xht.ini new file mode 100644 index 00000000000..bbeee78f08a --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/positioning/absolute-non-replaced-max-height-012.xht.ini @@ -0,0 +1,2 @@ +[absolute-non-replaced-max-height-012.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-animations/display-none-dont-cancel.tentative.html.ini b/tests/wpt/metadata-layout-2020/css/css-animations/display-none-dont-cancel.tentative.html.ini new file mode 100644 index 00000000000..0ac75b5ef27 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-animations/display-none-dont-cancel.tentative.html.ini @@ -0,0 +1,15 @@ +[display-none-dont-cancel.tentative.html] + [display:none animating to display:inline should be inline for the whole animation.] + expected: FAIL + + [A CSS variable of display:none animating to display:inline should be inline for the whole animation.] + expected: FAIL + + [Animating from display:none to display:none should not cancel the animation.] + expected: FAIL + + [Animating from display:none to display:none with an intermediate variable should not cancel the animation.] + expected: FAIL + + [Animating a variable of "none" which gets set to display elsewhere should not cancel the animation.] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-backgrounds/background-attachment-fixed-inline-scrolled.html.ini b/tests/wpt/metadata-layout-2020/css/css-backgrounds/background-attachment-fixed-inline-scrolled.html.ini new file mode 100644 index 00000000000..2789084260c --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-backgrounds/background-attachment-fixed-inline-scrolled.html.ini @@ -0,0 +1,2 @@ +[background-attachment-fixed-inline-scrolled.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/abspos/position-absolute-013.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/abspos/position-absolute-013.html.ini index d4f9786638e..0c429395c15 100644 --- a/tests/wpt/metadata-layout-2020/css/css-flexbox/abspos/position-absolute-013.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/abspos/position-absolute-013.html.ini @@ -964,159 +964,3 @@ [.flexbox 129] expected: FAIL - - [.flexbox 10] - expected: FAIL - - [.flexbox 12] - expected: FAIL - - [.flexbox 20] - expected: FAIL - - [.flexbox 31] - expected: FAIL - - [.flexbox 33] - expected: FAIL - - [.flexbox 47] - expected: FAIL - - [.flexbox 58] - expected: FAIL - - [.flexbox 60] - expected: FAIL - - [.flexbox 68] - expected: FAIL - - [.flexbox 79] - expected: FAIL - - [.flexbox 81] - expected: FAIL - - [.flexbox 95] - expected: FAIL - - [.flexbox 107] - expected: FAIL - - [.flexbox 115] - expected: FAIL - - [.flexbox 117] - expected: FAIL - - [.flexbox 128] - expected: FAIL - - [.flexbox 142] - expected: FAIL - - [.flexbox 144] - expected: FAIL - - [.flexbox 155] - expected: FAIL - - [.flexbox 167] - expected: FAIL - - [.flexbox 176] - expected: FAIL - - [.flexbox 188] - expected: FAIL - - [.flexbox 203] - expected: FAIL - - [.flexbox 215] - expected: FAIL - - [.flexbox 224] - expected: FAIL - - [.flexbox 236] - expected: FAIL - - [.flexbox 250] - expected: FAIL - - [.flexbox 252] - expected: FAIL - - [.flexbox 262] - expected: FAIL - - [.flexbox 264] - expected: FAIL - - [.flexbox 271] - expected: FAIL - - [.flexbox 273] - expected: FAIL - - [.flexbox 283] - expected: FAIL - - [.flexbox 285] - expected: FAIL - - [.flexbox 298] - expected: FAIL - - [.flexbox 300] - expected: FAIL - - [.flexbox 308] - expected: FAIL - - [.flexbox 319] - expected: FAIL - - [.flexbox 321] - expected: FAIL - - [.flexbox 335] - expected: FAIL - - [.flexbox 346] - expected: FAIL - - [.flexbox 348] - expected: FAIL - - [.flexbox 356] - expected: FAIL - - [.flexbox 367] - expected: FAIL - - [.flexbox 369] - expected: FAIL - - [.flexbox 383] - expected: FAIL - - [.flexbox 395] - expected: FAIL - - [.flexbox 403] - expected: FAIL - - [.flexbox 405] - expected: FAIL - - [.flexbox 416] - expected: FAIL - - [.flexbox 430] - expected: FAIL - - [.flexbox 432] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/justify-content-007.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/justify-content-007.html.ini new file mode 100644 index 00000000000..ea29b95ecec --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/justify-content-007.html.ini @@ -0,0 +1,3 @@ +[justify-content-007.html] + [.flexitem + .flexitem 1] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/table-as-flex-item-max-content.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/table-as-flex-item-max-content.html.ini new file mode 100644 index 00000000000..0757e0f9b55 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/table-as-flex-item-max-content.html.ini @@ -0,0 +1,2 @@ +[table-as-flex-item-max-content.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-fonts/variations/font-weight-matching.html.ini b/tests/wpt/metadata-layout-2020/css/css-fonts/variations/font-weight-matching.html.ini index 5aa97a62ffc..2aa858c8719 100644 --- a/tests/wpt/metadata-layout-2020/css/css-fonts/variations/font-weight-matching.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-fonts/variations/font-weight-matching.html.ini @@ -40,4 +40,3 @@ [Test @font-face matching for weight 420] expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-computed.html.ini b/tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-computed.html.ini new file mode 100644 index 00000000000..cc0692d0132 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-computed.html.ini @@ -0,0 +1,18 @@ +[overlay-computed.html] + [Property overlay value 'none'] + expected: FAIL + + [Property overlay value 'auto'] + expected: FAIL + + [Property overlay value 'inherit'] + expected: FAIL + + [Property overlay value 'initial'] + expected: FAIL + + [Property overlay value 'revert'] + expected: FAIL + + [Property overlay value 'unset'] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-transition-property.html.ini b/tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-transition-property.html.ini new file mode 100644 index 00000000000..aacfbd3b035 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-transition-property.html.ini @@ -0,0 +1,3 @@ +[overlay-transition-property.html] + [Property transition value 'overlay 1s'] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-valid.html.ini new file mode 100644 index 00000000000..5c27614af3c --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-position/overlay/overlay-valid.html.ini @@ -0,0 +1,18 @@ +[overlay-valid.html] + [e.style['overlay'\] = "none" should set the property value] + expected: FAIL + + [e.style['overlay'\] = "auto" should set the property value] + expected: FAIL + + [e.style['overlay'\] = "inherit" should set the property value] + expected: FAIL + + [e.style['overlay'\] = "initial" should set the property value] + expected: FAIL + + [e.style['overlay'\] = "revert" should set the property value] + expected: FAIL + + [e.style['overlay'\] = "unset" should set the property value] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-002.html.ini b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-002.html.ini index 56b0fa56d4b..17c3b71eca7 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-002.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-002.html.ini @@ -4,3 +4,27 @@ [vertical-align vertical(keyword) / events] expected: FAIL + + [margin-bottom percentage(%) / values] + expected: FAIL + + [margin-left percentage(%) / values] + expected: FAIL + + [margin-right percentage(%) / values] + expected: FAIL + + [margin-top percentage(%) / values] + expected: FAIL + + [padding-bottom percentage(%) / values] + expected: FAIL + + [padding-left percentage(%) / values] + expected: FAIL + + [padding-right percentage(%) / values] + expected: FAIL + + [padding-top percentage(%) / values] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini index 1f5e357c51f..719b9b6ff15 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini @@ -544,153 +544,3 @@ [margin-right length(mm) / events] expected: FAIL - - [margin-right length(cm) / events] - expected: FAIL - - [margin-right length(in) / events] - expected: FAIL - - [margin-top length(pt) / events] - expected: FAIL - - [margin-top length(pc) / events] - expected: FAIL - - [margin-top length(px) / events] - expected: FAIL - - [margin-top length(em) / events] - expected: FAIL - - [margin-top length(ex) / events] - expected: FAIL - - [margin-top length(mm) / events] - expected: FAIL - - [margin-top length(cm) / events] - expected: FAIL - - [margin-top length(in) / events] - expected: FAIL - - [height length(pt) / events] - expected: FAIL - - [height length(pc) / events] - expected: FAIL - - [height length(px) / events] - expected: FAIL - - [height length(em) / events] - expected: FAIL - - [height length(ex) / events] - expected: FAIL - - [height length(mm) / events] - expected: FAIL - - [height length(cm) / events] - expected: FAIL - - [height length(in) / events] - expected: FAIL - - [height percentage(%) / events] - expected: FAIL - - [width length(pt) / events] - expected: FAIL - - [width length(pc) / events] - expected: FAIL - - [width length(px) / events] - expected: FAIL - - [width length(em) / events] - expected: FAIL - - [width length(ex) / events] - expected: FAIL - - [width length(mm) / events] - expected: FAIL - - [width length(cm) / events] - expected: FAIL - - [width length(in) / events] - expected: FAIL - - [width percentage(%) / events] - expected: FAIL - - [min-height length(pt) / events] - expected: FAIL - - [min-height length(pc) / events] - expected: FAIL - - [min-height length(px) / events] - expected: FAIL - - [min-height length(em) / events] - expected: FAIL - - [min-height length(ex) / events] - expected: FAIL - - [min-height length(mm) / events] - expected: FAIL - - [min-height length(cm) / events] - expected: FAIL - - [min-height length(in) / events] - expected: FAIL - - [min-height percentage(%) / events] - expected: FAIL - - [min-width length(pt) / events] - expected: FAIL - - [min-width length(pc) / events] - expected: FAIL - - [min-width length(px) / events] - expected: FAIL - - [min-width length(em) / events] - expected: FAIL - - [min-width length(ex) / events] - expected: FAIL - - [min-width length(mm) / events] - expected: FAIL - - [min-width length(cm) / events] - expected: FAIL - - [min-width length(in) / events] - expected: FAIL - - [min-width percentage(%) / events] - expected: FAIL - - [max-height length(pt) / events] - expected: FAIL - - [max-height length(pc) / events] - expected: FAIL - - [max-height length(px) / events] - expected: FAIL - - [max-height length(em) / events] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini index cf67b5d03dd..80ed711305d 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini @@ -1,3 +1,4 @@ [elementFromPoint-dynamic-anon-box.html] + expected: CRASH [Link should be clickable after hiding a scrollbox with an anonymous table inside] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini index fef9ce7fc04..1a06450c5c1 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini @@ -16,3 +16,6 @@ [test some point of the element: top left corner] expected: FAIL + + [test the top of layer] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-iframes.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-iframes.html.ini index 314c2710dc9..78f6aab8d85 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-iframes.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-iframes.html.ini @@ -1,3 +1,6 @@ [elementsFromPoint-iframes.html] [elementsFromPoint on the root document for points in iframe elements] expected: FAIL + + [elementsFromPoint on inner documents] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/selectors/selectors-4/lang-011.html.ini b/tests/wpt/metadata-layout-2020/css/selectors/selectors-4/lang-011.html.ini new file mode 100644 index 00000000000..b168bf5cd3a --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/selectors/selectors-4/lang-011.html.ini @@ -0,0 +1,2 @@ +[lang-011.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/selectors/selectors-4/lang-012.html.ini b/tests/wpt/metadata-layout-2020/css/selectors/selectors-4/lang-012.html.ini new file mode 100644 index 00000000000..cdc6bafba43 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/selectors/selectors-4/lang-012.html.ini @@ -0,0 +1,2 @@ +[lang-012.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini index 8edde75f4d0..df1b6f0e51b 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini @@ -186,9 +186,6 @@ [fetch(): separate response Content-Type: text/plain;charset=gbk text/plain] expected: NOTRUN - [Request: combined response Content-Type: text/plain] - expected: FAIL - [ + diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-dynamic-index.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-dynamic-index.html new file mode 100644 index 00000000000..2e0f1ea4973 --- /dev/null +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-dynamic-index.html @@ -0,0 +1,34 @@ + + + + + diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-back-forward.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-back-forward.html index c118aa7a1f3..c8b1043aba6 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-back-forward.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-back-forward.html @@ -16,8 +16,8 @@ async_test(t => { assert_not_equals(e.destination, null); assert_not_equals(e.destination.getState(), undefined); assert_not_equals(e.destination.getState(), e.destination.getState()); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); }); navigation.back(); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-navigate.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-navigate.html index 9c34c5753a1..5dac40de566 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-navigate.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-navigate.html @@ -13,8 +13,8 @@ async_test(t => { assert_not_equals(e.destination.getState(), undefined); assert_equals(e.destination.getState().statevar, "state"); assert_not_equals(e.destination.getState(), e.destination.getState()); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); }); navigation.navigate("#foo", { state: navState }); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-reload.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-reload.html index b3afb72482c..a180e086a94 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-reload.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-reload.html @@ -13,8 +13,8 @@ async_test(t => { assert_not_equals(e.destination.getState(), undefined); assert_equals(e.destination.getState().statevar, "state"); assert_not_equals(e.destination.getState(), e.destination.getState()); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); e.intercept(); }); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-get.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-get.html index 69a49eb08a6..87a102ddc05 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-get.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-get.html @@ -15,8 +15,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(e.destination.url, location.href + "?"); assert_false(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); // Because it's a GET, not a POST diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-userInitiated.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-userInitiated.html index 454f0773962..40c5905447c 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-userInitiated.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-userInitiated.html @@ -20,8 +20,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(e.destination.url, location.href); assert_false(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_not_equals(e.formData, null); }); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-with-target.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-with-target.html index b23ab3a70cc..f6fe05c938f 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-with-target.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form-with-target.html @@ -18,8 +18,8 @@ async_test(t => { assert_equals(new URL(e.destination.url).pathname, "/navigation-api/navigate-event/foo.html"); assert_false(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_not_equals(e.formData, null); }); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form.html index b537a9b58f0..c57d72c3deb 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-form.html @@ -15,8 +15,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(e.destination.url, location.href); assert_false(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_not_equals(e.formData, null); }); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-go-0.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-go-0.html index 96d98cf44c8..b1f41425b62 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-go-0.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-go-0.html @@ -14,8 +14,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(new URL(e.destination.url).pathname, "/common/blank.html"); assert_false(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_equals(e.formData, null); e.preventDefault(); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-pushState.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-pushState.html index 2f8c81c7090..266309a79e1 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-pushState.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-pushState.html @@ -13,8 +13,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(new URL(e.destination.url).hash, "#1"); assert_true(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_equals(e.formData, null); e.preventDefault(); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-replaceState.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-replaceState.html index d8417fbfd30..ea6d3df455d 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-replaceState.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-history-replaceState.html @@ -13,8 +13,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(new URL(e.destination.url).hash, "#1"); assert_true(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_equals(e.formData, null); e.preventDefault(); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-iframe-location.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-iframe-location.html index 059b9950118..25d51476f3f 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-iframe-location.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-iframe-location.html @@ -17,8 +17,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(new URL(e.destination.url).hash, "#1"); assert_true(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_equals(e.formData, null); e.preventDefault(); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-location.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-location.html index c5aa0be97a4..a4d0c60776d 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-location.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-location.html @@ -13,8 +13,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(new URL(e.destination.url).hash, "#1"); assert_true(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_equals(e.formData, null); }); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-meta-refresh.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-meta-refresh.html index 1f8ed306851..9fa59b29f24 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-meta-refresh.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-meta-refresh.html @@ -16,8 +16,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(e.destination.url, i.contentWindow.location.href); assert_false(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_equals(e.formData, null); e.preventDefault(); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-navigation-navigate.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-navigation-navigate.html index 76f98c72361..ffc8ea867f7 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-navigation-navigate.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-navigation-navigate.html @@ -12,8 +12,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(new URL(e.destination.url).hash, "#foo"); assert_true(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_equals(e.formData, null); }); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-to-srcdoc.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-to-srcdoc.html index 26ad135b6ad..8bbb66a31fd 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-to-srcdoc.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-to-srcdoc.html @@ -17,8 +17,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(e.destination.url, "about:srcdoc"); assert_false(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_equals(e.formData, null); e.preventDefault(); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-window-open-self.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-window-open-self.html index 274c8bc4d57..a6e443fd5a1 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-window-open-self.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-window-open-self.html @@ -12,8 +12,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(new URL(e.destination.url).hash, "#1"); assert_true(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_equals(e.formData, null); e.preventDefault(); diff --git a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-window-open.html b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-window-open.html index afc998271f6..1fe2402bc91 100644 --- a/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-window-open.html +++ b/tests/wpt/web-platform-tests/navigation-api/navigate-event/navigate-window-open.html @@ -17,8 +17,8 @@ async_test(t => { assert_equals(e.downloadRequest, null); assert_equals(new URL(e.destination.url).hash, "#1"); assert_true(e.destination.sameDocument); - assert_equals(e.destination.key, null); - assert_equals(e.destination.id, null); + assert_equals(e.destination.key, ""); + assert_equals(e.destination.id, ""); assert_equals(e.destination.index, -1); assert_equals(e.formData, null); e.preventDefault(); diff --git a/tests/wpt/web-platform-tests/page-visibility/resources/window_state_context.js b/tests/wpt/web-platform-tests/page-visibility/resources/window_state_context.js index 40f10a56448..fa96bf3b760 100644 --- a/tests/wpt/web-platform-tests/page-visibility/resources/window_state_context.js +++ b/tests/wpt/web-platform-tests/page-visibility/resources/window_state_context.js @@ -15,5 +15,23 @@ function window_state_context(t) { rect = await test_driver.minimize_window(); } - return {minimize, restore}; + function visibilityEventPromise() { + return new Promise(resolve => new PerformanceObserver( + (entries, observer) => { observer.disconnect(); resolve(); }).observe( + {type: "visibility-state"})) + } + + async function minimizeAndWait() { + const promise = visibilityEventPromise(); + await Promise.all([minimize(), promise]); + await new Promise(resolve => t.step_timeout(resolve, 0)); + } + + async function restoreAndWait() { + const promise = visibilityEventPromise(); + await Promise.all([restore(), promise]); + await new Promise(resolve => t.step_timeout(resolve, 0)); + } + + return {minimize, restore, minimizeAndWait, restoreAndWait}; } diff --git a/tests/wpt/web-platform-tests/page-visibility/visibility-state-entry.tentative.html b/tests/wpt/web-platform-tests/page-visibility/visibility-state-entry.tentative.html index c62b6c583f4..0dbe634d25b 100644 --- a/tests/wpt/web-platform-tests/page-visibility/visibility-state-entry.tentative.html +++ b/tests/wpt/web-platform-tests/page-visibility/visibility-state-entry.tentative.html @@ -1,6 +1,6 @@ Test VisibleStateEntry - + @@ -15,68 +15,56 @@ setup(() => { }); promise_test(async t => { - const {minimize, restore} = window_state_context(t); + const {minimizeAndWait, restoreAndWait} = window_state_context(t); + const all = performance.getEntries(); let entries = performance.getEntriesByType("visibility-state"); assert_equals(entries.length, 1); assert_equals(entries[0].name, "visible"); assert_equals(entries[0].startTime, 0); assert_equals(entries[0].duration, 0); - await minimize(); + await minimizeAndWait(); entries = performance.getEntriesByType("visibility-state"); assert_equals(entries.length, 2); assert_equals(entries[1].name, "hidden"); assert_equals(entries[1].duration, 0); - await restore(); + await restoreAndWait(); + entries = performance.getEntriesByType("visibility-state"); assert_equals(entries.length, 3); assert_equals(entries[2].name, "visible"); assert_equals(entries[2].duration, 0); }, "Hiding/showing the page should create visibility-state entries"); promise_test(async t => { - const {minimize, restore} = window_state_context(t); - await minimize(); - const popup = window.open("resources/blank_page_green.html"); - t.add_cleanup(() => popup.close()); - await restore(); - let entries = popup.performance.getEntriesByType("visibility-state"); - assert_equals(entries.length, 2); + const {minimizeAndWait} = window_state_context(t); + await minimizeAndWait(); + const iframe = document.createElement("iframe"); + iframe.src = "resources/blank_page_green.html"; + const loaded = new Promise(resolve => iframe.addEventListener("load", resolve)); + t.add_cleanup(() => iframe.remove()); + document.body.appendChild(iframe); + await loaded; + const entries = iframe.contentWindow.performance.getEntriesByType("visibility-state"); assert_equals(entries[0].name, "hidden"); assert_equals(entries[0].startTime, 0); - assert_equals(entries[1].name, "visible"); - assert_greater_than(entries[1].startTime, 0); - }, "If a page starts as hidden, the first visibility-state entry should be hidden"); promise_test(async t => { const {minimize, restore} = window_state_context(t); - await minimize(); const observed = new Promise(resolve => new PerformanceObserver(list => { - const entries = list.getEntries(); - assert_equals(entries.length, 1); - assert_equals(entries[0].name, "visible"); - assert_greater_than(entries[0].startTime, 0); - assert_equals(entries[0].duration, 0); + if (list.getEntries()[0].name === "visible") resolve(); - }).observe({entryTypes: ['visibility-state'], buffered: true})); + }).observe({entryTypes: ['visibility-state']})); + await minimize(); await restore(); await observed; }, "Visibility state entries should be queued to performance observers"); promise_test(async t => { - const {minimize, restore} = window_state_context(t); - await minimize(); - await restore(); - await new Promise(resolve => new PerformanceObserver(list => { - const entries = list.getEntries(); - assert_equals(entries.length, 3); - assert_equals(entries[0].name, "visible"); - assert_equals(entries[0].startTime, 0); - assert_equals(entries[0].duration, 0); - assert_equals(entries[1].name, "hidden"); - assert_equals(entries[1].duration, 0); - assert_equals(entries[2].name, "visible"); - assert_equals(entries[2].duration, 0); - resolve(); - }).observe({entryTypes: ['visibility-state'], buffered: true})); -}, "Visibility state entries should respect the buffered flag"); + const entry = await new Promise(resolve => new PerformanceObserver( + (list, observer) => { + observer.disconnect(); + resolve(list.getEntries()[0]); + }).observe({type: "visibility-state", buffered: true})); + assert_equals(entry.name, "visible"); +}, "Visibility state observers should respect the buffered flag"); diff --git a/tests/wpt/web-platform-tests/resources/chromium/mock-pressure-service.js b/tests/wpt/web-platform-tests/resources/chromium/mock-pressure-service.js index 91efe529f2a..21811ed52da 100644 --- a/tests/wpt/web-platform-tests/resources/chromium/mock-pressure-service.js +++ b/tests/wpt/web-platform-tests/resources/chromium/mock-pressure-service.js @@ -1,5 +1,5 @@ import {PressureManager, PressureManagerReceiver, PressureStatus} from '/gen/services/device/public/mojom/pressure_manager.mojom.m.js' -import {PressureFactor, PressureState} from '/gen/services/device/public/mojom/pressure_update.mojom.m.js' +import {PressureFactor, PressureSource, PressureState} from '/gen/services/device/public/mojom/pressure_update.mojom.m.js' class MockPressureService { constructor() { @@ -9,11 +9,8 @@ class MockPressureService { this.interceptor_.oninterfacerequest = e => { this.receiver_.$.bindHandle(e.handle); }; - this.receiver_.onConnectionError.addListener(() => { - this.stopPlatformCollector(); - this.observer_ = null; - }); this.reset(); + this.mojomSourceType_ = new Map([['cpu', PressureSource.kCpu]]); this.mojomStateType_ = new Map([ ['nominal', PressureState.kNominal], ['fair', PressureState.kFair], ['serious', PressureState.kSerious], ['critical', PressureState.kCritical] @@ -40,22 +37,27 @@ class MockPressureService { } reset() { - this.observer_ = null; + this.observers_ = []; this.pressureUpdate_ = null; this.pressureServiceReadingTimerId_ = null; this.pressureStatus_ = PressureStatus.kOk; this.updatesDelivered_ = 0; } - async addClient(observer) { - if (this.observer_ !== null) - throw new Error('BindObserver() has already been called'); + async addClient(observer, source) { + if (this.observers_.indexOf(observer) >= 0) + throw new Error('addClient() has already been called'); - this.observer_ = observer; - this.observer_.onConnectionError.addListener(() => { - this.stopPlatformCollector(); - this.observer_ = null; + // TODO(crbug.com/1342184): Consider other sources. + // For now, "cpu" is the only source. + if (source !== PressureSource.kCpu) + throw new Error('Call addClient() with a wrong PressureSource'); + + observer.onConnectionError.addListener(() => { + // Remove this observer from observer array. + this.observers_.splice(this.observers_.indexOf(observer), 1); }); + this.observers_.push(observer); return {status: this.pressureStatus_}; } @@ -83,20 +85,21 @@ class MockPressureService { const epochDeltaInMs = unixEpoch - windowsEpoch; const timeout = (1 / sampleRate) * 1000; - this.pressureServiceReadingTimerId_ = window.setInterval(() => { - if (this.pressureUpdate_ === null || this.observer_ === null) + this.pressureServiceReadingTimerId_ = self.setInterval(() => { + if (this.pressureUpdate_ === null || this.observers_.length === 0) return; this.pressureUpdate_.timestamp = { internalValue: BigInt((new Date().getTime() + epochDeltaInMs) * 1000) }; - this.observer_.onPressureUpdated(this.pressureUpdate_); + for (let observer of this.observers_) + observer.onPressureUpdated(this.pressureUpdate_); this.updatesDelivered_++; }, timeout); } stopPlatformCollector() { if (this.pressureServiceReadingTimerId_ != null) { - window.clearInterval(this.pressureServiceReadingTimerId_); + self.clearInterval(this.pressureServiceReadingTimerId_); this.pressureServiceReadingTimerId_ = null; } this.updatesDelivered_ = 0; @@ -106,7 +109,10 @@ class MockPressureService { return this.updatesDelivered_; } - setPressureUpdate(state, factors) { + setPressureUpdate(source, state, factors) { + if (!this.mojomSourceType_.has(source)) + throw new Error(`PressureSource '${source}' is invalid`); + if (!this.mojomStateType_.has(state)) throw new Error(`PressureState '${state}' is invalid`); @@ -120,6 +126,7 @@ class MockPressureService { } this.pressureUpdate_ = { + source: this.mojomSourceType_.get(source), state: this.mojomStateType_.get(state), factors: pressureFactors, }; diff --git a/tests/wpt/web-platform-tests/resources/chromium/mock-subapps.js b/tests/wpt/web-platform-tests/resources/chromium/mock-subapps.js index b63e97b8c4d..b81936713b1 100644 --- a/tests/wpt/web-platform-tests/resources/chromium/mock-subapps.js +++ b/tests/wpt/web-platform-tests/resources/chromium/mock-subapps.js @@ -37,7 +37,7 @@ self.SubAppsServiceTest = (() => { remove() { return Promise.resolve({ - result: testInternal.serviceResultCode, + result: testInternal.removeCallReturnValue, }); } } @@ -48,6 +48,7 @@ self.SubAppsServiceTest = (() => { serviceResultCode: 0, addCallReturnValue: [], listCallReturnValue: [], + removeCallReturnValue: [], } class SubAppsServiceTestChromium { @@ -55,7 +56,7 @@ self.SubAppsServiceTest = (() => { Object.freeze(this); // Make it immutable. } - initialize(service_result_code, add_call_return_value, list_call_return_value) { + initialize(service_result_code, add_call_return_value, list_call_return_value, remove_call_return_value) { if (!testInternal.initialized) { testInternal = { mockSubAppsService: new MockSubAppsService(), @@ -63,6 +64,7 @@ self.SubAppsServiceTest = (() => { serviceResultCode: service_result_code, addCallReturnValue: add_call_return_value, listCallReturnValue: list_call_return_value, + removeCallReturnValue: remove_call_return_value, }; }; } @@ -76,6 +78,7 @@ self.SubAppsServiceTest = (() => { serviceResultCode: 0, addCallReturnValue: [], listCallReturnValue: [], + removeCallReturnValue: [], }; await new Promise(resolve => setTimeout(resolve, 0)); } diff --git a/tests/wpt/web-platform-tests/screen-orientation/orientation-reading.html b/tests/wpt/web-platform-tests/screen-orientation/orientation-reading.html index 0bebb6723a3..90bbb8071da 100644 --- a/tests/wpt/web-platform-tests/screen-orientation/orientation-reading.html +++ b/tests/wpt/web-platform-tests/screen-orientation/orientation-reading.html @@ -6,110 +6,91 @@ diff --git a/tests/wpt/web-platform-tests/scroll-animations/css/animation-duration-auto.tentative.html b/tests/wpt/web-platform-tests/scroll-animations/css/animation-duration-auto.tentative.html index f44a682890d..375489c26a4 100644 --- a/tests/wpt/web-platform-tests/scroll-animations/css/animation-duration-auto.tentative.html +++ b/tests/wpt/web-platform-tests/scroll-animations/css/animation-duration-auto.tentative.html @@ -13,7 +13,7 @@ width: 100px; height: 100px; } - #scroller > div { + #scroller > #content { height: 200px; width: 200px; } @@ -36,9 +36,9 @@
-
+
+
-
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/scroll-animations/css/scroll-timeline-axis-writing-mode.html b/tests/wpt/web-platform-tests/scroll-animations/css/scroll-timeline-axis-writing-mode.html index 37b4dfdf549..958ce4964e8 100644 --- a/tests/wpt/web-platform-tests/scroll-animations/css/scroll-timeline-axis-writing-mode.html +++ b/tests/wpt/web-platform-tests/scroll-animations/css/scroll-timeline-axis-writing-mode.html @@ -41,15 +41,16 @@ scroll-timeline: timeline_inline_in_vertical inline; writing-mode: vertical-lr; } - #container > div { + .target { width: 0px; animation-name: expand; animation-duration: 10s; animation-timing-function: linear; + position: absolute; } /* Ensure stable expectations if feature is not supported */ @supports not (animation-timeline:foo) { - #container > div { animation-play-state: paused; } + .target { animation-play-state: paused; } } #element_initial_axis { animation-timeline: timeline_initial_axis; } #element_vertical { animation-timeline: timeline_vertical; } @@ -59,21 +60,33 @@ #element_block_in_vertical { animation-timeline: timeline_block_in_vertical; } #element_inline_in_vertical { animation-timeline: timeline_inline_in_vertical; } -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-attachment.html b/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-attachment.html new file mode 100644 index 00000000000..47f4444b0dc --- /dev/null +++ b/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-attachment.html @@ -0,0 +1,338 @@ + +View Timeline Attachment + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-inset-animation.html b/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-inset-animation.html index a95086b62bf..a7e807c2e81 100644 --- a/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-inset-animation.html +++ b/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-inset-animation.html @@ -1,5 +1,6 @@ Animations using view-timeline-inset + diff --git a/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-keyframe-boundary-interpolation.html b/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-keyframe-boundary-interpolation.html index 1dc766d961c..04eb6489490 100644 --- a/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-keyframe-boundary-interpolation.html +++ b/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-keyframe-boundary-interpolation.html @@ -80,7 +80,10 @@ promise_test(async t => { await waitForNextFrame(); - const anim = document.getAnimations()[0]; + const anims = document.getAnimations(); + assert_equals(anims.length, 1, + "Should have one animation attatched to the view-timeline"); + const anim = anims[0]; await anim.ready; await waitForNextFrame(); diff --git a/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-lookup.html b/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-lookup.html index c1797c7ba1c..b8a5b0008be 100644 --- a/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-lookup.html +++ b/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-lookup.html @@ -260,8 +260,7 @@ }, 'view-timeline on ancestor sibling, closer scroll-timeline wins'); - -