Skip to content

Releases: web-platform-tests/wpt

merge_pr_51916

09 Apr 14:17
Compare
Choose a tag to compare

[animation-trigger] Support auto for animation-trigger-exit-range

animation-trigger is a shorthand that specifies, among other
properties, 4 points that represent the boundaries at which the trigger
will act on its animation(s). The 4 points correspond to the CSS
properties:

  • animation-trigger-range-start
  • animation-trigger-range-end
  • animation-trigger-exit-range-start
  • animation-trigger-exit-range-end

The first 2 properties define the "trigger range" and the last two
define the "exit range." animation-trigger-exit-range is the shorthand
for the last two properties. The default value for the exit range
boundaries is "auto" which can mean one of two things:

  1. Primarily,the meaning of auto is "match the trigger range."
  2. In the case of animation-trigger-exit-range-end, if a named range,
    e.g. "contain" has been specified for
    animation-trigger-exit-range-start, then auto should be interpreted
    as the end of that named range, similar to normal for
    animation-range.

The slightly expands the meaning of normal so that the case of
"auto normal" has the same meaning as "auto auto", i.e. "match the
trigger range."

Note: This has not yet been resolved on by the CSS working group but it
is being discussed[2] and is how we're thinking about how it all should
work.

[1] https://drafts.csswg.org/css-animations-2/#animation-trigger-exit-range-start
[2] w3c/csswg-drafts#11932

Bug: 390314945
Change-Id: I3a76401e0bf40bebe2960b96d11ba96bb010e705
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6426886
Reviewed-by: Anders Hartvoll Ruud [email protected]
Commit-Queue: David Awogbemila [email protected]
Cr-Commit-Position: refs/heads/main@{#1444687}

merge_pr_51914

09 Apr 10:31
Compare
Choose a tag to compare

corner-shape: support inset shadow

Use the same logic as outset shadow, by scaling the border
ContouredRect.

This produces a different visual effect than border width
because the shadow goes in axis-aligned direction and scales
the whole shape rather than offset each border separately.

Bug: 397459628
Change-Id: Ic1b79f6cdcaec3011344c1c682001738b1b6e52c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440290
Reviewed-by: Fredrik Söderquist [email protected]
Commit-Queue: Noam Rosenthal [email protected]
Cr-Commit-Position: refs/heads/main@{#1444597}

merge_pr_51912

09 Apr 09:06
Compare
Choose a tag to compare

SpeculationRules: Simplify WPTs for speculation rules tags

For code simplification, this CL consolidates test helpers for prefetch
and prerender.

Bug: 404294138
Change-Id: Iedfde61f0f980a3d9d5b6dc24d21490576d08ebd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6437945
Commit-Queue: Hiroki Nakagawa [email protected]
Reviewed-by: Domenic Denicola [email protected]
Cr-Commit-Position: refs/heads/main@{#1444579}

merge_pr_51911

09 Apr 06:54
1b4c64d
Compare
Choose a tag to compare

Update the revamped scoped custom elment registry tests

Account for the latest draft specification changes needed due to premature polyfilling.

merge_pr_51910

09 Apr 03:17
Compare
Choose a tag to compare

SpeculationRules: Move WPTs for speculation tags into its own directory

This CL moves WPTs for speculation tags from speculation-rules/prefetch
to speculation-rules/speculation-tags, as these tests are for both
prefetch and prerender, not only for prefetch.

Bug: 404294138
Change-Id: I1668b09e83c71bf6a1bd92ecf001e01385e20b9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6437938
Commit-Queue: Domenic Denicola [email protected]
Auto-Submit: Hiroki Nakagawa [email protected]
Reviewed-by: Huanpo Lin [email protected]
Reviewed-by: Domenic Denicola [email protected]
Cr-Commit-Position: refs/heads/main@{#1444501}

merge_pr_51902

09 Apr 10:17
Compare
Choose a tag to compare

[DIP] Fix flaky test

This CL updates the DocumentIsolationPolicy shared-workers WPT test,
that was flaky. The test was doing several calls for workers in parallel
with different configurations, and sometimes one would resolve before
the other, with a different result from the baseline. It was
unnecessary to load all those workers in parallel, so now each subset
only loads one worker. In addition, the worker is created from a remote
executor context, which allows to experiment with different values of
DIP for the worker creator. The previous alternative created an iframe
and reached into its DOM directly to create the worker, but this doesn't
work if the iframe and the main frame of the test have different DIP.
Finally, we removed tests that tried to create workers from FileSystem
URLs because SharedWorkers cannot be loaded from FileSystem URLs.

Bug: 333029146
Change-Id: Iaf74a8efb1268d7b44424beda9531b099b62f179
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440923
Reviewed-by: Mike West [email protected]
Commit-Queue: Camille Lamy [email protected]
Cr-Commit-Position: refs/heads/main@{#1444604}

merge_pr_51895

09 Apr 06:43
b97342b
Compare
Choose a tag to compare

Custom element registries meets initial about:blank

It appears that Chromium and WebKit already conform to the requirement that the non-scoped registry is tied to the lifetime of a Document object. Both of them fail the final assert however as it appears they also reset the Window object for a navigation away from initial about:blank.

merge_pr_51890

09 Apr 09:19
Compare
Choose a tag to compare

Add some WPT tests for vertical-align in orthogonal table cells.

Differential Revision: https://phabricator.services.mozilla.com/D244365

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1957710
gecko-commit: aafab72d75caba2a4a3944b272ea9c018c9d30ed
gecko-reviewers: layout-reviewers, emilio

merge_pr_51889

09 Apr 06:55
36452ef
Compare
Choose a tag to compare

Update obsolete Scoped Custom Element Registry tests

Update tests that don't appear to duplicate the "Revamped" tests to
match the new API surface.

The remainder are removed.

Historical tests are added at the same time for features we decided not
to standardize. Also remove some historical tests that have coverage
elsewhere.

merge_pr_51784

09 Apr 16:38
Compare
Choose a tag to compare

[wdspec] Handle navigations which have beforeunload prompt open.

Differential Revision: https://phabricator.services.mozilla.com/D243660

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1952238
gecko-commit: b13333ef81b858fe950930dedbd62177705dee07
gecko-reviewers: webdriver-reviewers, whimboo