Skip to content

Releases: web-platform-tests/wpt

merge_pr_49221

18 Nov 11:47
Compare
Choose a tag to compare

[@scope] Implement scoped declarations

This CL allows declarations to appear directly within an @scope
rule, e.g.:

@scope (.foo) {
color: green;
}

Such declarations match the scoping root with zero specificity, i.e.
as if wrapped in a :where(:scope) rule.

Using declarations directly is already possible when @scope
is a "nested group rule" [1] (i.e. nested within a style rule).
This capability is now extended to non-nested @scope rules as well [2].

[1] https://drafts.csswg.org/css-nesting-1/#nested-group-rules
[2] https://drafts.csswg.org/css-cascade-6/#scoped-declarations

Fixed: 351045927
Change-Id: I40058437abdf976c472122076ee5eed754f93718
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6020075
Commit-Queue: Anders Hartvoll Ruud [email protected]
Reviewed-by: Steinar H Gunderson [email protected]
Cr-Commit-Position: refs/heads/main@{#1384238}

merge_pr_49220

18 Nov 16:46
Compare
Choose a tag to compare

[wdspec] Add tests for "browsingContext.navigationStarted" event when a top-level browsing context get created.

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

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

merge_pr_49218

18 Nov 09:53
Compare
Choose a tag to compare

[Editing] Tests for copy/paste scenarios for text with CSS
text-transform style applied.

This file includes 4 tests:
Text-transform should not affect plain text copy.
Formatting on first letter should not affect plain text copy.
White space collapsing should be preserved.
Secured string should be masked.

Bug: 343247637
Change-Id: I0b96c2713de720023e2a35410bfcb062250e7f6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5952547
Reviewed-by: Siye Liu [email protected]
Commit-Queue: Shweta Bindal [email protected]
Reviewed-by: Koji Ishii [email protected]
Cr-Commit-Position: refs/heads/main@{#1384213}

merge_pr_49217

18 Nov 16:57
Compare
Choose a tag to compare

part 6) Add missing tests to <to-javascript-parent-initiated-child-csp.html>.

Those tests cover all injection sinks mentioned at [1]. There could be
other injection sinks accepting javascript: URLs but I'm not aware of
such.

Tests for when the parent and child differ and both have a CSP will be
added in a separate patch.

[1] https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/javascript#description

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1567058
gecko-commit: c8ab9251d2334f8abfd5c710b9cbe8d773067223
gecko-reviewers: freddyb

merge_pr_49213

18 Nov 14:51
Compare
Choose a tag to compare

fix: task done before test in audiobuffersource-duration-loop

merge_pr_49209

18 Nov 14:28
Compare
Choose a tag to compare

[Sanitizer] Update tests to match current spec draft.

This adapts WPT tests to the current spec draft.

  • sanitizer-secure-context + sanitizer-insecure-context are obsolete.
  • sanitizer-query-config is superseded by sanitizer-config.

The other tests mainly adapt the API (e.g. getConfiguration() => get()).

Bug: 356601280
Change-Id: I62f3e6acfc2d117426c30f2609e933286ff7c89c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6017222
Commit-Queue: Daniel Vogelheim [email protected]
Reviewed-by: Yifan Luo [email protected]
Cr-Commit-Position: refs/heads/main@{#1384297}

merge_pr_49208

18 Nov 05:08
Compare
Choose a tag to compare

Only skip non-leading item-less container fragments.

crrev.com/c/6022897 added code to skip over item-less container
fragments when painting an inline, as an attempt to map FragmentData
indices in a LayoutInline to the correct container fragment FragmentData
indices. However, in order to get this correct, we cannot skip leading
item-less container fragments, as InlineCursor has already taken those
into account.

Bug: 379259810
Change-Id: I8986e648a676ccb59578a780fd9e85c418b9009a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6025271
Reviewed-by: Koji Ishii [email protected]
Reviewed-by: Xianzhu Wang [email protected]
Auto-Submit: Morten Stenshorne [email protected]
Commit-Queue: Koji Ishii [email protected]
Cr-Commit-Position: refs/heads/main@{#1384156}

merge_pr_49207

18 Nov 04:11
Compare
Choose a tag to compare

Reland "webnn: implement reverse operator"

This is a reland of commit 0459ac1a9b94c1dd3e11410f7fb74f0a8e2ddeaf

The previous CL got reverted because another CL[1] changed the function
name buildGraphAndCompute to buildAndExecuteGraph in WPT. This CL
fixes the name.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/5556220

Original change's description:

webnn: implement reverse operator

This CL adds IDL and mojo definition of reverse operator according to
the spec issue [1] and implements it on DirectML backend.

[1] webmachinelearning/webnn#773

Bug: 376707210
Change-Id: I0d42b49b87ce243db9d44512e6000c7ee901077b
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac15.arm64-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5979825
Commit-Queue: ningxin hu [email protected]
Auto-Submit: Shiyi Zou [email protected]
Reviewed-by: Austin Sullivan [email protected]
Reviewed-by: ningxin hu [email protected]
Cr-Commit-Position: refs/heads/main@{#1382078}

Bug: 376707210
Change-Id: I604de69bcc5f8932ac47f9f34a9b4c58e589193d
Cq-Include-Trybots: luci.chromium.try:mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6015938
Reviewed-by: ningxin hu [email protected]
Commit-Queue: Shiyi Zou [email protected]
Auto-Submit: Shiyi Zou [email protected]
Reviewed-by: Weizhong Xia [email protected]
Reviewed-by: Alex Gough [email protected]
Reviewed-by: Austin Sullivan [email protected]
Cr-Commit-Position: refs/heads/main@{#1384152}

merge_pr_49202

18 Nov 08:31
Compare
Choose a tag to compare

Part 4 - Adjust test expectations.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1923955
gecko-commit: 5d001d82653cb8910abe6318dbc68eb5d3cdd751
gecko-reviewers: firefox-style-system-reviewers, emilio

merge_pr_49199

18 Nov 08:42
Compare
Choose a tag to compare

Add testcase as a crashtest.

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

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