Automatic update from web-platform-tests
Split the test cases for mapping width and height to aspect ratio (#28623)
Split up the test cases for mapping width and height attributes to aspect ratio.
To make sure that each element has its own test case, so that the test won't
break in the middle of test cases and affect other images' test.
--
wpt-commits: 1f07a2242db1842f57c321489bf24c51225522cf
wpt-pr: 28623
Automatic update from web-platform-tests
Don't try to set Access-Control-Allow-Origin to None in worklet tests
--
wpt-commits: cac1166c49e3aa511f8fd38ce0a5f588f9f145d4
wpt-pr: 28625
Automatic update from web-platform-tests
[composite-bgcolor-animation] Move some layout test to subdir
Some of the test in css-backgrounds/animations/ are specifically
test that we can trigger repaint or paint invalidation correctly.
This CL moves those test into a subdir. No behavior change is
expected.
Bug: 1197218
Change-Id: I7e585dae9316a19cfbe08ba264b353eca5b21934
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2842187
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874766}
--
wpt-commits: 8d09bbcbe986725e7f9b770c4443a2a598ee59a3
wpt-pr: 28624
Automatic update from web-platform-tests
[WebCodecs] Fix WPT tests for reset during flush.
The previous test didn't actually expose the desired issue since
flush() was still pending when reset() occurs. Resulting in the
flush() being cancelled before it started executing.
Instead wait for the first frame before queueing the flush to
ensure there are no other pending operations.
R=eugene
Fixed: 1200768
Change-Id: I8a68ef608aa5565f9c86f8c004c292298d30ef0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2841756
Reviewed-by: Eugene Zemtsov <eugene@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874747}
--
wpt-commits: f13c3c022ac45ee6bd282af0be7fc7d730e9c9f5
wpt-pr: 28613
Automatic update from web-platform-tests
Off-thread CSS paint: handle no-op animation
In a previous CL here:
https://chromium-review.googlesource.com/c/chromium/src/+/2795243
We handled a no-op background-color animation by keep it running on
the compositor thread. This is okay because it is a no-op animation.
This CL follows the same approach as the background-color animation
case. In particular, when it is a custom property animated by CSS
paint worklet, and this custom property animation is a no-op one,
then we keep it running on the compositor thread.
Bug: 1193162
Change-Id: I3f2093092053ad9c9363a64d6d46df039e9bddf0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2841783
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874704}
--
wpt-commits: b47b8a1f933a9ec2b62f1608886155f911431111
wpt-pr: 28605
Automatic update from web-platform-tests
[GitHub Actions] consistently use ubuntu-20.04 and checkout v2 (#28538)
The default fetch-depth has changed, and the epochs workflow needs the
history for `./wpt rev-list` to work.
--
wpt-commits: 280d5059bbeff7177215e0990d7cfb3ef8e14ec7
wpt-pr: 28538
Automatic update from web-platform-tests
[GitHub Actions] Update certificate regeneration workflow (#28548)
For consistency of naming and versions in other workflows.
--
wpt-commits: a5a57f829bc30ca1e8a637df61a551603f6c6365
wpt-pr: 28548
Automatic update from web-platform-tests
Historical test for WheelEvent#initWheelEvent
--
wpt-commits: df6f7468721aa6c498ce42281ab4c2cb33066259
wpt-pr: 28241
Automatic update from web-platform-tests
Only clip the axes that should be clipped, also when block-fragmented.
Bug: 829028
Change-Id: I02c3c7be4b82c7213c96a6413e9a5aa0dc50cd9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2837827
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874610}
--
wpt-commits: 4d03b26e10d8565bb10b27b0fd3c9aa518c0d18e
wpt-pr: 28602
Automatic update from web-platform-tests
[blink] 1/2 Module streaming compilation for <link rel=preload>
Share ScriptResources, even if the script type mismatches to avoid
downloading resources twice in the case of preload for class and
module scripts.
Bug: 1178198
Change-Id: I32feadfdd04ce3cabae30a2208d9daedb4724380
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2764608
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874609}
--
wpt-commits: de1d31decb9c7f9fdcd77a9c553b4f3d49e6f061
wpt-pr: 28116
Automatic update from web-platform-tests
Adding more toBlob and toDataURL tests for p3 colorspace
Adding toBlob and toDataURL tests for p3 colorspace, which does the
following:
- create a p3 canvas
- Use putImageData to put in some p3 data
- Call getImageData to retrieve data from canvas
- call toBlob/toDataURL and asking for data in p3 format
- compare if result of toBlob/toDataURL is same as the result from
getImageData from step 3
Bug: 1178707
Change-Id: I720b881defea6c94ab900499a6589d29323b1457
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2836407
Commit-Queue: Yi Xu <yiyix@chromium.org>
Reviewed-by: Juanmi Huertas <juanmihd@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874588}
--
wpt-commits: ae3e3fc88e738e6ea434f5f877a91223832e6f97
wpt-pr: 28587
Automatic update from web-platform-tests
[WebCodecs] Fix issues when reset() happens during flush().
reset() clears the active configuration, so we should not attempt
to reinitialize if reset() was called during flush().
R=eugene
Fixed: 1200768
Change-Id: Iac34480ba859ab156d6a93c943a7ffce9304b1ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2842784
Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Eugene Zemtsov <eugene@chromium.org>
Reviewed-by: Eugene Zemtsov <eugene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874546}
--
wpt-commits: 48d3f81aaa869cfeb088cec66b50b513319bf2ec
wpt-pr: 28609
Automatic update from web-platform-tests
MSE-in-Workers: Add tests of detach concurrent with appendBuffer
To help find faults like those fixed in crbug 1195441, this change adds
a web test that is like the existing
mediasource-worker-play-terminate-worker case, though instead it
detaches the MediaSource from the element at various times before,
during and after the worker is buffering in small pieces. Further
refinement of the MediaSource readyState for the scenario where a
concurrent "closing has begun" causes exception on attempt to use the
closing MediaSource will be necessary to refine this new test further to
not ignore so many exceptions in the worker thread; TODOs are included
for that in the new test.
This change also refactors MSE-in-Workers tests' communication to use
a structured message format.
BUG=1195441,878133
TEST=mediasource-worker-detach-element.html, confirmed locally in a
release build with DCHECKS enabled to reliably catch the issue in bug
1195441 (with that bug's fix locally reverted for this check).
Change-Id: I3e041d7b06db96d3d976593f20181d073fad1da1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2823974
Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org>
Reviewed-by: Will Cassella <cassew@google.com>
Cr-Commit-Position: refs/heads/master@{#874470}
--
wpt-commits: ece50720e2ad03fb16c129e50706dd77029d4ca4
wpt-pr: 28491
Automatic update from web-platform-tests
Add an anchor IDL attribute to <popup>, readonly for now
This CL exposes the anchor element as an IDL property. This will be
useful with the anchor positioning proposal (which isn't out yet).
Bug: 1168738
Change-Id: Ia47514dada57c44191c7af439b0051f3e3d26622
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2832148
Commit-Queue: Mason Freed <masonf@chromium.org>
Reviewed-by: Ionel Popescu <iopopesc@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#874440}
--
wpt-commits: db1033776685ff1793509a3be05c596acfa2821c
wpt-pr: 28567
Automatic update from web-platform-tests
Implement imperative slotting API changes
The original implementation of the imperative slot distribution
API was done before the final spec PRs landed. In the process of
landing those PRs, several changes were made to the way the API
works. Primarily, there are two changes:
1. The "auto" slotAssignment mode was renamed to "named".
2. The "linkage" that is created by HTMLSlotElement.assign() was
made more permanent. Previously, moving either the <slot> or
the assigned node around in the tree (or across documents)
would "break" the linkage. Now, the linkage is more permanent,
and the only way to break it is through another call to .assign().
See [1] for the chromestatus entry, [2] for the intent to ship,
[3], [4], and [5] for the spec PRs, and [6]/[7] for the landed spec.
[1] https://chromestatus.com/feature/4979822998585344
[2] https://groups.google.com/a/chromium.org/g/blink-dev/c/6U78F3KWJ78
[3] https://github.com/whatwg/html/pull/6561
[4] https://github.com/whatwg/html/pull/6585
[5] https://github.com/whatwg/dom/pull/966
[6] https://dom.spec.whatwg.org/#find-slotables
[7] https://html.spec.whatwg.org/#dom-slot-assign
Fixed: 1196842
Fixed: 1067153
Bug: 1067157
Change-Id: I0ee71043c23f3b49a1461296d722045f06eca540
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2824763
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874413}
--
wpt-commits: db1be04691e1b5fe58e186d682d26c69d282cbe0
wpt-pr: 28521
Automatic update from web-platform-tests
Consider text direction when building the GlyphData structure
When there is a list item we need to insert a space between the marker
symbol and the element being listed. We use the CreateForSpace function
in this case. Depending on the length, we create a space glyph of the
required font size, plus length - 1 0 width space glyphs.
The character index is added in a for loop as an ascending integer
sequence. However, this approach is not correct when the text is RTL,
where the index sequence should be descending to match how the text is
rendered visually.
Bug: 1188728, 1160582
Change-Id: I50c30ae142e73ffde3c3302b8e4baa4ab334a258
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2825447
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874326}
--
wpt-commits: c99958cd1ebbd17045842d57706545362616020e
wpt-pr: 28595
Automatic update from web-platform-tests
[LayoutNG] Nested fixedpos in a multicol static position
When a fixedpos is nested in an OOF inside a multicol, the static
position can be incorrect. The reason being that when calling
PropagateOOFPositionedInfo() from NGOutOfFlowLayoutPart, the offset
of the OOF ancestor should be relative the current builder
(i.e. the multicol container) rather than relative to its
fragmentainer. To fix this, adjust the OOF offset using the
fragmentainer offset so that it is relative to the multicol when
calling PropagateOOFPositionedInfo().
Bug: 1200324
Change-Id: I3742efe2daf38e3f51b8f4abc8c332b8de117385
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2836226
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874309}
--
wpt-commits: 99e23355e8a04cb873e9cb6a0a3fe34fbd0d8125
wpt-pr: 28576
Automatic update from web-platform-tests
[Credentialless]: Test window.crossOriginIsolated (#28575)
This patch adds WPT test cases about whether COEP:cors-or-credentialess
allows a main document to be crossOriginIsolated or not.
COEP:require-corp and COEP:cors-or-credentialless have similar properties.
The only difference is one require no-cors response to include CORP
, the other strips credentials from those no-cors requests.
For everything else, they are perfects twins. In particular, they both
allow the document to be crossOriginIsolated.
Bug: 1175099
Change-Id: Ib03f68cc9849d9a2c5581175c299db8baf3226db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2835926
Reviewed-by: Camille Lamy <clamy@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874246}
Co-authored-by: arthursonzogni <arthursonzogni@chromium.org>
--
wpt-commits: 29e3e2928c1ac75e8a3a5a65ce0af21c3d616d15
wpt-pr: 28575
Automatic update from web-platform-tests
Remove Elements from toJSON
1. PerformanceElementTiming
2. LargestContentfulPaint
3. LayoutShiftAttribution
These include element or node in each toJSONForBinding implementation.
Those should be removed because they use the default toJSON operation and
those should not include interfaces that themselves do not have a toJSON
operation. So we should remove them from the toJSON builder and update
the existing toJSON WPT tests,
Bug: 1199954
Change-Id: I282439c17485264f1621102e3d002a693d48c1f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2831166
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874300}
--
wpt-commits: 0955b44aa165a247a43dd8ea6da9eb25b9012744
wpt-pr: 28559
Automatic update from web-platform-tests
NativeIO: Fix null pointer when throwing on releaseCapacity
This fixes a null pointer to the context when throwing on
releaseCapacity. Although the problem cannot happen for the sync case,
the corresponding logic is adapted to match the async case.
Bug: 1199639
Change-Id: Iaa7fd6d5bdcb3a616ba59f7c419b11203c293e67
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2831590
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Richard Stotz <rstz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874298}
--
wpt-commits: 77ca851359d5bcc5e7c40168b6473bea51de4daa
wpt-pr: 28546
Automatic update from web-platform-tests
Move audioparam-nominal-range test to WPT
The test audioparam-nominal-range verifies that the nominal range
(min/max): of each AudioParam has the specified values, and that
attempts to set the value outside the min/max range clamps the value
to the nominal range.
The behavior is specified here:
https://webaudio.github.io/web-audio-api/#nominal-range
Bug: 1041105
Change-Id: I03f58e3e29aaeff84d764fedd6748fe41baf6eeb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2836870
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874293}
--
wpt-commits: b65ba2471f6f8356e606470f9837bde04e5d3122
wpt-pr: 28600
Automatic update from web-platform-tests
[selectors] Add test for :focus-visible and Shadow DOM
This test check that :focus-visible doesn't match on the ShadowRoot,
otherwise UAs would end up showing two focus indicators.
--
wpt-commits: aba7d28837d13947d561337c762e4de8ff9feea6
wpt-pr: 28131
Automatic update from web-platform-tests
Fix padding-valid.html to use sorted calc() in expected serialized value according to spec
https://drafts.csswg.org/css-values-4/#sort-a-calculations-children
> 11.13. Serialization
> [...]
> 6. If root is a Sum node, let s be a string initially containing "(".
> Sort root’s children.
--
wpt-commits: 2dca9ad3b16faeed9c82d80084a7323735c5821a
wpt-pr: 28598
Automatic update from web-platform-tests
Tests for unbounded cue end time (#28394)
Added tests for unbounded TextTrackCue endTime changes proposed in whatwg/html#5953 & w3c/webvtt#493
--
wpt-commits: 786c430165d916bdab740ab491ac541afb3f8bf5
wpt-pr: 28394