Граф коммитов

836013 Коммитов

Автор SHA1 Сообщение Дата
stransky 0e1a5de915 Bug 1824943 [VAAPI] Don't init VAAPI in child process r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173950
2023-03-29 12:57:36 +00:00
moz-wptsync-bot 29f51ffcf3 Bug 1823471 - [wpt-sync] Update web-platform-tests to 1b93b258c8257e5361c2f41c7dd1b1a9e43f8dea, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 1b93b258c8257e5361c2f41c7dd1b1a9e43f8dea
wpt-type: landing
2023-03-29 12:52:33 +00:00
moz-wptsync-bot 4ab6b487cb Bug 1823277 [wpt PR 39073] - Update wpt metadata, a=testonly
wpt-pr: 39073
wpt-type: metadata
2023-03-29 12:52:32 +00:00
Andrew Williams 5fa110350b Bug 1823277 [wpt PR 39073] - Fix console error in anonymous-iframe/worker-cookies SW test, a=testonly
Automatic update from web-platform-tests
Fix console error in anonymous-iframe/worker-cookies SW test

Fixes the following console error that appears when running
anonymous-iframe/worker-cookies.tentative.https.window.html?worker=service_worker:

CONSOLE ERROR: Uncaught (in promise)
  ReferenceError: add_completion_callback is not defined

Bug: None
Change-Id: I613b8adf0105d0798c6807896437d12f3c10e22e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4350542
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1119288}

--

wpt-commits: 1b93b258c8257e5361c2f41c7dd1b1a9e43f8dea
wpt-pr: 39073
2023-03-29 12:52:31 +00:00
moz-wptsync-bot 92d4f4c64c Bug 1822836 [wpt PR 39034] - Update wpt metadata, a=testonly
wpt-pr: 39034
wpt-type: metadata
2023-03-29 12:52:31 +00:00
Henrik Skupin d223cae391 Bug 1822836 [wpt PR 39034] - Set custom default timeouts for WebDriver classic session, a=testonly
Automatic update from web-platform-tests
Set custom default timeouts for WebDriver classic session

--

wpt-commits: 1a44d855cb79fd0e1bc19332f2c995b058925310
wpt-pr: 39034
2023-03-29 12:52:30 +00:00
dependabot[bot] ad955ef226 Bug 1823101 [wpt PR 39061] - Bump cairocffi from 1.3.0 to 1.5.0 in /tools, a=testonly
Automatic update from web-platform-tests
Bump cairocffi from 1.3.0 to 1.5.0 in /tools

Bumps [cairocffi](https://github.com/Kozea/cairocffi) from 1.3.0 to 1.5.0.
- [Release notes](https://github.com/Kozea/cairocffi/releases)
- [Changelog](https://github.com/Kozea/cairocffi/blob/master/NEWS.rst)
- [Commits](https://github.com/Kozea/cairocffi/compare/v1.3.0...v1.5.0)

---
updated-dependencies:
- dependency-name: cairocffi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: 3426f51fe3ae9913062b02c90338baac1e8cace7
wpt-pr: 39061
2023-03-29 12:52:29 +00:00
dependabot[bot] 462c34e7a9 Bug 1808152 [wpt PR 37718] - Bump sphinx-js from 3.1.2 to 3.2.1 in /docs, a=testonly
Automatic update from web-platform-tests
Bump sphinx-js from 3.1.2 to 3.2.1 in /docs

Bumps [sphinx-js](https://github.com/mozilla/sphinx-js) from 3.1.2 to 3.2.1.
- [Release notes](https://github.com/mozilla/sphinx-js/releases)
- [Commits](https://github.com/mozilla/sphinx-js/commits)

---
updated-dependencies:
- dependency-name: sphinx-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: e9d1046792b252486aa26753be2bd231aa4d9ceb
wpt-pr: 37718
2023-03-29 12:52:29 +00:00
dependabot[bot] d9874f1cad Bug 1822830 [wpt PR 39032] - Bump hypothesis from 6.31.3 to 6.70.0 in /tools, a=testonly
Automatic update from web-platform-tests
Bump hypothesis from 6.31.3 to 6.70.0 in /tools

Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.31.3 to 6.70.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.31.3...hypothesis-python-6.70.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: 4f8e806fc8f2b31b5b2dc33909f342f69593a1dd
wpt-pr: 39032
2023-03-29 12:52:28 +00:00
moz-wptsync-bot c0660be03a Bug 1819243 [wpt PR 38732] - Update wpt metadata, a=testonly
wpt-pr: 38732
wpt-type: metadata
2023-03-29 12:52:27 +00:00
Thiago Perrotta 410f845c61 Bug 1819243 [wpt PR 38732] - BiDi: consolidate BiDi fixtures in webdriver/tests/support/fixtures_bidi, a=testonly
Automatic update from web-platform-tests
BiDi: consolidate BiDi fixtures in webdriver/tests/support/fixtures_bidi

This fixtures file is already globally included in
webdriver/tests/conftest.py via `pytest_plugins`.

Stop having webdriver/tests/bidi/conftest.py be a duplicate of the
support fixture.

--

wpt-commits: 969b345fb0c50a5fff56ea3a081629fd95c24ff9
wpt-pr: 38732
2023-03-29 12:52:26 +00:00
moz-wptsync-bot 9128a1ce53 Bug 1822990 [wpt PR 39050] - Update wpt metadata, a=testonly
wpt-pr: 39050
wpt-type: metadata
2023-03-29 12:52:25 +00:00
Anders Hartvoll Ruud c1bbe5c478 Bug 1822990 [wpt PR 39050] - [@scope] Allow CSSNestingType::kScope without having a parent rule, a=testonly
Automatic update from web-platform-tests
[@scope] Allow CSSNestingType::kScope without having a parent rule

Scopes without a <scope-start> selector are scoped to the owner node's
parent. The selectors within such @scope rules should parse according
to the behavior of CSSNestingType::kScope (i.e. relative rules allowed,
implicit :scope descendant if needed), even though there is no
parent rule. Therefore this CL changes CSSSelectorParser to check
for `nesting_type` instead of `parent_rule_for_nesting` when setting
the initial value of in_nested_style_rule.

Bug: 1280240
Change-Id: Ie8d90b8ef059e519919b89a13b93d340d0917d8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4345880
Reviewed-by: Steinar H Gunderson <sesse@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1119277}

--

wpt-commits: e9ef5fdaa91bd718b3479f437015d5c82dce85ea
wpt-pr: 39050
2023-03-29 12:52:25 +00:00
dependabot[bot] e65bd291e2 Bug 1822202 [wpt PR 38968] - Bump urllib3[secure] from 1.26.14 to 1.26.15 in /tools, a=testonly
Automatic update from web-platform-tests
Bump urllib3[secure] from 1.26.14 to 1.26.15 in /tools

Bumps [urllib3[secure]](https://github.com/urllib3/urllib3) from 1.26.14 to 1.26.15.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.14...1.26.15)

---
updated-dependencies:
- dependency-name: urllib3[secure]
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: dcb1255abf548cf449d048b896667595b77b9a5a
wpt-pr: 38968
2023-03-29 12:52:24 +00:00
moz-wptsync-bot e5f7acf39f Bug 1823351 [wpt PR 39078] - Update wpt metadata, a=testonly
wpt-pr: 39078
wpt-type: metadata
2023-03-29 12:52:23 +00:00
Anne van Kesteren 12dda92a46 Bug 1823351 [wpt PR 39078] - Fetch: correct blob: URL Range header tests, a=testonly
Automatic update from web-platform-tests
Fetch: correct blob: URL Range header tests

--

wpt-commits: 1f41dfbb4b25ba9ee196e334c620dfa0d8771d1c
wpt-pr: 39078
2023-03-29 12:52:23 +00:00
dependabot[bot] bbcbcbb1bd Bug 1823102 [wpt PR 39062] - Bump types-setuptools from 63.2.3 to 67.6.0.5 in /tools, a=testonly
Automatic update from web-platform-tests
Bump types-setuptools from 63.2.3 to 67.6.0.5 in /tools

Bumps [types-setuptools](https://github.com/python/typeshed) from 63.2.3 to 67.6.0.5.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: fd7d528ec48c92bd5a400429495f54d149c1fb03
wpt-pr: 39062
2023-03-29 12:52:22 +00:00
moz-wptsync-bot ca73f144dc Bug 1822476 [wpt PR 39005] - Update wpt metadata, a=testonly
wpt-pr: 39005
wpt-type: metadata
2023-03-29 12:52:21 +00:00
Anders Hartvoll Ruud f7b0d262fa Bug 1822476 [wpt PR 39005] - [@scope] Enable nesting features within @scope's body, a=testonly
Automatic update from web-platform-tests
[@scope] Enable nesting features within @scope's body

This CL passes a parent rule and accompanying CSSNestingType
to the ConsumeRuleList call which handles @scope's body. This has
the following effects:

 - A :scope descendant compound is implicitly inserted if the selector
   is not scope-containing.
 - The parent selector (&) now refers to the <scope-start>
   selector list.
 - Relative selectors are enabled.

The code to resize the arena in ConsumeStyleRule must now be detached
from whether or not parent_rule_for_nesting is nullptr. This is because
we can now enter ConsumeStyleRule with parent_rule_for_nesting!=nullptr
without another call to ConsumeStyleRule below us on the stack
(via ConsumeScopeRule).

Bug: 1280240
Change-Id: Ibe6b1e40e22d535a094b0ec464ae119952b015f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4272459
Reviewed-by: Steinar H Gunderson <sesse@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1119257}

--

wpt-commits: 00b9747943d4c008b366cb42a2b50d5717189e0e
wpt-pr: 39005
2023-03-29 12:52:21 +00:00
Philip Jägenstedt 08a5329ca9 Bug 1823361 [wpt PR 39079] - Update additional Python 3.6 versions to 3.7, a=testonly
Automatic update from web-platform-tests
Update additional Python 3.6 versions to 3.7 (#39079)

Follow-up to https://github.com/web-platform-tests/wpt/pull/38911.
--

wpt-commits: 91963dba3924d63a78720f13fbc00c581d62758a
wpt-pr: 39079
2023-03-29 12:52:20 +00:00
James Graham b16df8f886 Bug 1821391 [wpt PR 38911] - Drop Python 3.6 support from tools/, a=testonly
Automatic update from web-platform-tests
Drop Python 3.6 support from tools/

This replaces the 3.6-based CI jobs with Python 3.7, and drops 3.6
from test configurations.

It also updates requirements files that have specific pinned package
versions for 3.6, but does not attempt to update dependencies in
general (either through requirements or pinned).

--

wpt-commits: 8cf108d380ee91ef2667a05dd2389ad5cd6d6529
wpt-pr: 38911
2023-03-29 12:52:20 +00:00
moz-wptsync-bot 050d07e361 Bug 1823131 [wpt PR 39069] - Update wpt metadata, a=testonly
wpt-pr: 39069
wpt-type: metadata
2023-03-29 12:52:19 +00:00
Anne van Kesteren dd894b2c15 Bug 1823131 [wpt PR 39069] - URL: URL.canParse(), a=testonly
Automatic update from web-platform-tests
URL: URL.canParse()

For https://github.com/whatwg/url/pull/763.
--

wpt-commits: 7c5c3cc125979b4768d414471e6ab655b473aae8
wpt-pr: 39069
2023-03-29 12:52:18 +00:00
Kent Tamura c706e046a9 Bug 1823325 [wpt PR 39076] - LayoutMedia: Should not handle OOF boxes, a=testonly
Automatic update from web-platform-tests
LayoutMedia: Should not handle OOF boxes

After LayoutMediaNGContainer task, LayoutMedia could be a container of
its OOF descendants, but NGReplacedLayoutAlgorithm has no ability to lay
out OOF boxes.

This CL fixes the issue by making LayoutMedia children OOF containers
by forcing paint containment.

Bug: 1425520
Change-Id: I19e10c9a94341cba376883bf544ef69ea413dca5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4349736
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1119211}

--

wpt-commits: 78f0f7dfccc8ea071919199e9c36d0dc87c8b19f
wpt-pr: 39076
2023-03-29 12:52:18 +00:00
Tim Nguyen 7452a4012f Bug 1823297 [wpt PR 39074] - Include Ahem in mask-text-001.svg and reference, a=testonly
Automatic update from web-platform-tests
Include Ahem in mask-text-001.svg and reference

This test references Ahem, but never includes the stylesheet.
--

wpt-commits: 1a963a601aa0ce5dd7eb88cd70af32f38f5307d0
wpt-pr: 39074
2023-03-29 12:52:17 +00:00
BruceDai 017f4f7c79 Bug 1822745 [wpt PR 39025] - [webnn] Remove reduction/slice/split tests with negative axis, a=testonly
Automatic update from web-platform-tests
[webnn] Remove reduction/slice/split tests with negative axis (#39025)

* [webnn] Remove reduction tests and split tests with negative axis

* Remove slice tests with negative axis
--

wpt-commits: f0d5cb6bfb6ee297c79274ecd6a9a6e078d2ea76
wpt-pr: 39025
2023-03-29 12:52:17 +00:00
moz-wptsync-bot 6fc80880f6 Bug 1823107 [wpt PR 39063] - Update wpt metadata, a=testonly
wpt-pr: 39063
wpt-type: metadata
2023-03-29 12:52:16 +00:00
Khushal Sagar a454d12701 Bug 1823107 [wpt PR 39063] - view-transitions: Ensure elements in the transition are stacking contexts., a=testonly
Automatic update from web-platform-tests
view-transitions: Ensure elements in the transition are stacking contexts.

This change ensures that the rendering constraints added by
view-transition-name continue to apply even if the property is removed,
if they are participating in an ongoing transition.

Change-Id: I8eb485233eefe1282baf15eb8bbdbd6a42f14f02
Fixed: 1424312
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4343032
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1119071}

--

wpt-commits: 2bf9cc74a8b58bb0af9ae9d31f9919e8a3b56205
wpt-pr: 39063
2023-03-29 12:52:15 +00:00
Xiaocheng Hu f3b1dbb880 Bug 1823108 [wpt PR 39064] - Fix a TextIterator crash in Greek text-transform, a=testonly
Automatic update from web-platform-tests
Fix a TextIterator crash in Greek text-transform

CSS text-transform can change text length in either ways, resulting in
more or fewer characters in LayoutText. The former case is more well
known and has been largely worked around.

Now that we see the latter case being possible, this patch works around
it in TextIterator to avoid reaching a NOTREACHED().

Fixed: 1424324
Bug: 750990
Change-Id: I4b8ba886bcacc06e9e491badb30af98d0f22c37c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4351287
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1119018}

--

wpt-commits: ceb972b009e1b43c589dce3f36b050121493d2e0
wpt-pr: 39064
2023-03-29 12:52:15 +00:00
Tim Nguyen 0d52704118 Bug 1823110 [wpt PR 39065] - Delete tests assuming device aspect ratio of 1280/1024, a=testonly
Automatic update from web-platform-tests
Delete tests assuming device aspect ratio of 1280/1024 (#39065)

* device-aspect-ratio-001.html
* device-aspect-ratio-005.html
--

wpt-commits: e2c9f6a70093bdf5b268a774fc51a0825e703582
wpt-pr: 39065
2023-03-29 12:52:14 +00:00
Chris Harrelson 8325e0f826 Bug 1823099 [wpt PR 39060] - De-flake two tests, a=testonly
Automatic update from web-platform-tests
De-flake two tests

These tests were timing out because window.screenX and window.screenY
were never set during the test run, leading to the code to wait 15
seconds before giving up trying to find them. But once it gave up,
it got the correct result, because there is no expected_screenX
or expected_screenY for these tests anyway.

Tests are:

external/wpt/html/browsers/the-window-object/open-close/open-features-non-integer-innerwidth.html
external/wpt/html/browsers/the-window-object/open-close/open-features-non-integer-width.html

Fixed: 1048149

Change-Id: I9e9620254b0e9284923e7a683213b1c0721ffc81
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4347589
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118959}

--

wpt-commits: cb19b01d65d9677bf53223322e32211c190eee5c
wpt-pr: 39060
2023-03-29 12:52:13 +00:00
Xiaocheng Hu 30550a7c5c Bug 1822920 [wpt PR 39041] - [anchor-position] Make `anchor` attribute work for non-popovers, a=testonly
Automatic update from web-platform-tests
[anchor-position] Make `anchor` attribute work for non-popovers

This patch reimplements how we mark elements that are implicit anchors.
Previously it was only marked for popover element's implicit anchors,
and now it works for all implicit anchors. This is done by a new class
AnchorElementObserver that observes all possible changes in implicit
anchor and replaces the old PopoverAnchorObserver.

This patch also reveals two existing issues:
1. Element::GetElementAttribute() may return non-null result even if
   the element is out of tree scope. As fixing the bug is out of the
   scope here, this patch just works around it. crbug.com/1425215 was
   filed.
2. popover-anchor-idl-property.html has some bugs that made it pass
   previously. This patch fixes those bugs.

Fixed: 1417346
Change-Id: I798977ab1ed7df0c528b7eb98c64fc04476e6106
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4338487
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118933}

--

wpt-commits: e1dabe08c494d1b7aaf5e2e9437b71e51997c299
wpt-pr: 39041
2023-03-29 12:52:12 +00:00
moz-wptsync-bot 333c7c3918 Bug 1822414 [wpt PR 38998] - Update wpt metadata, a=testonly
wpt-pr: 38998
wpt-type: metadata
2023-03-29 12:52:12 +00:00
Xiaocheng Hu cc00170a6b Bug 1822414 [wpt PR 38998] - [anchor-position] Use scroll-adjusted IMCB for position fallback, a=testonly
Automatic update from web-platform-tests
[anchor-position] Use scroll-adjusted IMCB for position fallback

Previously, we've been using the inset-modified containing block for
position fallback, which doesn't work well with scrolling.

This patch fixes the issue by using the scroll-adjusted IMCB instead,
which was introduced earlier on the spec side [1].

As an implementation detail, this patch also calculates and stores
the non-overflowing scroll ranges [2] for each fallback position, so
that we can still use composited scrolling, and need to invalidate
layout only when we have scrolled out of that range.

This patch also adds WPT tests under various writing modes and
directions to cover all the new code paths.

[1] https://drafts4.csswg.org/css-anchor-position-1/#determine-the-position-fallback-styles
[2] https://github.com/w3c/csswg-drafts/issues/8059#issuecomment-1444616906

Bug: 1418725
Change-Id: If9e104c6ac3c51ccdfc4fa7d3cf9cbffcc5af46d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4292618
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118926}

--

wpt-commits: e2169b6b0b5ca89b61b976f512e9ad52bace8597
wpt-pr: 38998
2023-03-29 12:52:11 +00:00
Scott Haseley 35cbdc5799 Bug 1822915 [wpt PR 39040] - Scheduling APIs: Implement scheduler.yield() prototype (part 2: inherit), a=testonly
Automatic update from web-platform-tests
Scheduling APIs: Implement scheduler.yield() prototype (part 2: inherit)

This CL implements the scheduler.yield() "inherit" option:
 - Signal selection: GetTaskSignalFromOptions() is updated to take
   inheritance into account. If either the signal or priority options
   are to inherit, the inherited signal is retrieved from V8 and used
   in the computation:
     - signal: "inherit", priority: unset - use the inherited signal
     if there is one, otherwise default priority.
     - signal: "inherit", priority: fixed - create a composite signal
     from the inherited signal and fixed priority. If the inherited
     signal is null, just use a fixed priority signal.
     - signal: unset, priority: "inherit" - if there's nothing to
     inherit use the default priority; if the inherited signal has
     fixed priority and can't abort, use that; otherwise create a
     new composite signal.

 - DOMTask is updated to support continuation, passing its signal
   when creating a task scope (main thread). For workers, DOMTask
   will set the continuation preserved embedder data manually before
   running the task.

 - WPT tests are added and modified to cover the "inherit" option.

Bug: 979020
Change-Id: Ia9776b9292d70636e2b1eea191e9c09b1809fa84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4326152
Commit-Queue: Scott Haseley <shaseley@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118868}

--

wpt-commits: c19eb6a201cf1dd04915ef9a2de24b779532df9d
wpt-pr: 39040
2023-03-29 12:52:10 +00:00
Khushal Sagar 4c249eb318 Bug 1823054 [wpt PR 39058] - view-transitions: Update CSS to name the root element., a=testonly
Automatic update from web-platform-tests
view-transitions: Update CSS to name the root element.

Default UA CSS is supposed to add view-transition-name to the root
element. Currently it targets html which is incorrect since multiple
html elements can exist on the page. Update it to target :root.

This also aligns with the spec. See
https://drafts.csswg.org/css-view-transitions-1/#ua-styles.

Bug: 1425445
Change-Id: If989e5549f1977c248b4f7e933379e2bfc17d07d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4350707
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118792}

--

wpt-commits: c2a197e2cbb2afc7cc7849f926884bb1ffdd3109
wpt-pr: 39058
2023-03-29 12:52:10 +00:00
Anders Hartvoll Ruud 372e33257e Bug 1823087 [wpt PR 39051] - [CSSTransitionDiscrete] Fix custom property issues, a=testonly
Automatic update from web-platform-tests
[CSSTransitionDiscrete] Fix custom property issues

When attempting to transition a custom property with universal syntax,
we hit a DCHECK in StyleBuilder::ApplyProperty because we send
a CSSVariableReferenceValue, which is normally expected to be resolved
at this point. However, such custom properties represent their
computed values as CSSVariableReferenceValues, and the discrete
transitions machinery sends those computed values to ApplyProperty
without "transformations". This is expected behavior as of CL:4315803.

Representing the computed value of universal custom properties with
CSSVariableReferenceValue is a bit suspicious and might warrant further
investigation, but this CL does not attempt to address that. Instead
we alter the DCHECK to expect CSSVariableReferenceValues for relevant
custom properties.

Also:

 - Fixed usage of irrelevant custom property in the WPT
   token-stream-type-type-interpolation.html.
 - Fixed accumulation of "transitionrun" event listeners when
   testing multiple transitions in the same .html file
   (e.g. custom-property-transition-mismatched-list.html).

WPTs related to <transform-function> and <transform-list> are still
failing, because we don't implement interpolation for those syntaxes
yet.

Bug: 1399631
Change-Id: I22f0766921061216421839def84bc305edda2a41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4334509
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118779}

--

wpt-commits: e6c2d4cacfa621bc2656b577c1fb63f080bac2f5
wpt-pr: 39051
2023-03-29 12:52:09 +00:00
moz-wptsync-bot b2fb192dfe Bug 1823048 [wpt PR 39057] - Update wpt metadata, a=testonly
wpt-pr: 39057
wpt-type: metadata
2023-03-29 12:52:09 +00:00
Sam Sneddon 952131bf81 Bug 1823048 [wpt PR 39057] - Test which XSLT functions are defined, a=testonly
Automatic update from web-platform-tests
Test which XSLT functions are defined

This currently expects only functions defined in XSLT 1.0 (and references) to be defined. This matches what all browsers currently implement.
--

wpt-commits: d963cd40e87f20bbfaaffdb9eca2e539bac4d631
wpt-pr: 39057
2023-03-29 12:52:08 +00:00
Joey Arhar 150156e0df Bug 1820368 [wpt PR 38817] - CSSTransitionDiscrete: Fix counter related crashes, a=testonly
Automatic update from web-platform-tests
CSSTransitionDiscrete: Fix counter related crashes

The generated code in CounterIncrement::ApplyValue expects to receive a
CSSValueList with a CSSValuePair inside of it, so this patch adds a
CSSValuePair to ComputedStyleUtils::ValueForCounterDirectives

Bug: 1399631, 1413556
Change-Id: If38d51d026965b2f481a9ed6432ce519587847ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4310132
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118697}

--

wpt-commits: 98afc8a86461237414d32da9e6628499c0a0022a
wpt-pr: 38817
2023-03-29 12:52:07 +00:00
Geoffrey Sneddon 6a10bc415d Bug 1440713 [wpt PR 8150] - Fix #8122: Upstream Mozilla counter-style tests, a=testonly
Automatic update from web-platform-tests
Fix #8122: Upstream Mozilla counter-style tests

These don't cover all of the counter styles, but they give us automated tests
for most of them.

They are all originally authored by @dbaron and @upsuper.

--

wpt-commits: 5e9421703a3de453d0792109a714f624e5185f27
wpt-pr: 8150
2023-03-29 12:52:07 +00:00
moz-wptsync-bot 409ce1270d Bug 1822296 [wpt PR 38981] - Update wpt metadata, a=testonly
wpt-pr: 38981
wpt-type: metadata
2023-03-29 12:52:06 +00:00
Mason Freed ac0f2e548c Bug 1822296 [wpt PR 38981] - Collect popover invokers on root instead of document, a=testonly
Automatic update from web-platform-tests
Collect popover invokers on root instead of document

See this HTML spec PR:

  https://github.com/whatwg/html/pull/8993

It points out that it would be better to look within `root`
rather than `document` for invokers. Otherwise this use case
will be broken:

<div>
  <template shadowrootmode=open>
    <button popovertarget=p1>Click</button>
    <div popover id=p1>Popover 1
      <button popovertarget=p2>Click</button>
    </div>
    <div popover id=p2>Popover 2 (I'm not detected as a being related to p1)</div>
  </template>
</div>

I.e. nested popovers entirely within a shadow tree. This CL
fixes that behavior and adds a test.

Bug: 1307772
Change-Id: I28521ec1008d43994ca738c5673da3b704d7ba9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4335444
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118671}

--

wpt-commits: 887ed601ff82d1cee8a358559e2c963528e6520b
wpt-pr: 38981
2023-03-29 12:52:05 +00:00
moz-wptsync-bot fb0d84dd10 Bug 1822668 [wpt PR 39019] - Update wpt metadata, a=testonly
wpt-pr: 39019
wpt-type: metadata
2023-03-29 12:52:04 +00:00
Shuran Huang 04623b7ec5 Bug 1822668 [wpt PR 39019] - Fix inconsistent hasStorageAccess behavior for A(B(A)) frame tree case, a=testonly
Automatic update from web-platform-tests
Fix inconsistent hasStorageAccess behavior for A(B(A)) frame tree case

This change for document.hasStorageAccess() is based on spec PR
fd28dc0543.

Bug: 1422628
Change-Id: I72cc1bb21a5d075a00b4b6719e2010855e5c2a63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4340989
Reviewed-by: Johann Hofmann <johannhof@chromium.org>
Commit-Queue: Shuran Huang <shuuran@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118658}

--

wpt-commits: 186820b4ea00e96be00a7f57a2f709c67d78d05c
wpt-pr: 39019
2023-03-29 12:52:04 +00:00
moz-wptsync-bot 52100a5166 Bug 1823014 [wpt PR 39052] - Update wpt metadata, a=testonly
wpt-pr: 39052
wpt-type: metadata
2023-03-29 12:52:03 +00:00
Rune Lillesveen 4526e548f3 Bug 1823014 [wpt PR 39052] - Use base::ValuesEquivalent for custom property style queries, a=testonly
Automatic update from web-platform-tests
Use base::ValuesEquivalent for custom property style queries

We previously compared the tokens from the tokenizated string instead.

Add tests for matching and serializing original string in style()
queries.

Bug: 1302630
Change-Id: I2768b930407f65c979b320597276e0d5d01a1b93
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4342894
Reviewed-by: Steinar H Gunderson <sesse@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118626}

--

wpt-commits: 0b9590a78d353217ae0bc6321ecc456f2da197ec
wpt-pr: 39052
2023-03-29 12:52:02 +00:00
Frédéric Wang 1f4085b8d3 Bug 1822982 [wpt PR 39049] - Fix MathML Python code to conform to the PEP 8 style guide, a=testonly
Automatic update from web-platform-tests
Fix MathML Python code to conform to the PEP 8 style guide

This commit fixes PEP 8 errors reported by `check-webkit-style` script:

```
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/largeop.py:59:  continuation line under-indented for hanging indent  [pep8/E121] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/mathvariant-transforms.py:75:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/mathvariant-transforms.py:103:  missing whitespace around operator  [pep8/E225] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/mathvariant-transforms.py:176:  expected 2 blank lines after class or function definition, found 1  [pep8/E305] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:28:  at least two spaces before inline comment  [pep8/E261] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:29:  at least two spaces before inline comment  [pep8/E261] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:28:  at least two spaces before inline comment  [pep8/E261] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:29:  at least two spaces before inline comment  [pep8/E261] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:189:  missing whitespace around arithmetic operator  [pep8/E226] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:189:  missing whitespace around arithmetic operator  [pep8/E226] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:195:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:200:  the backslash is redundant between brackets  [pep8/E502] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:206:  the backslash is redundant between brackets  [pep8/E502] [5]
```

--

wpt-commits: 3a3453c62176c97ab51cd492553c2dacd24366b1
wpt-pr: 39049
2023-03-29 12:52:02 +00:00
moz-wptsync-bot 2f0f7d95f0 Bug 1822232 [wpt PR 38974] - Update wpt metadata, a=testonly
wpt-pr: 38974
wpt-type: metadata
2023-03-29 12:52:01 +00:00
Arnaud Mandy ae4bbc4900 Bug 1822232 [wpt PR 38974] - compute pressure: Add support for Workers, a=testonly
Automatic update from web-platform-tests
compute pressure: Add support for Workers

Implementation of compute pressure for dedicated workers and
shared workers.[1]

WPT tests have been updated accordingly.

[1]: https://w3c.github.io/compute-pressure/#supporting-algorithms

Bug: 1421715
Change-Id: Ia8a9b8c13677f6eeb0d302838e8d20224aa5512f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4204027
Reviewed-by: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Fr <beaufort.francois@gmail.com>
Commit-Queue: Arnaud Mandy <arnaud.mandy@intel.com>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118524}

--

wpt-commits: 19d101562394344018f4ea72bc6cb5220a4148b2
wpt-pr: 38974
2023-03-29 12:52:00 +00:00