Commit Graph

823163 Commits

Author SHA1 Message Date
moz-wptsync-bot
afb82f5d92 Bug 1802730 [wpt PR 37174] - Update wpt metadata, a=testonly
wpt-pr: 37174
wpt-type: metadata
2022-12-12 11:38:56 +00:00
Liviu Tinta
c6d4ec0f5a Bug 1802730 [wpt PR 37174] - [No-Vary-Search] Add No-Vary-Search logic to prefetch cache, a=testonly
Automatic update from web-platform-tests
[No-Vary-Search] Add No-Vary-Search logic to prefetch cache

Add logic to keep track of No-Vary-Search response data in
prefetch cache and use it to make decisions to use existing
prefetched response on new navigation.

Bug: 1378075
Change-Id: Ie299308ead2b369b899c17d4a33a64588376a07d
Fuchsia-Binary-Size: Size increase is unavoidable.
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4035669
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Max Curran <curranmax@chromium.org>
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081197}

--

wpt-commits: 5c4e374e6c3385befe533c12ab4db9c08cf9e5f4
wpt-pr: 37174
2022-12-12 11:38:55 +00:00
Morten Stenshorne
b7dd92bb0c Bug 1804745 [wpt PR 37409] - Miss the cache when breaking before a fragment with low break appeal., a=testonly
Automatic update from web-platform-tests
Miss the cache when breaking before a fragment with low break appeal.

If a fragment doesn't fit in the fragmentainer, we should of course
break before it. This normally happens automatically, but in some cases
the machinery needs an extra nudge. FinishFragmentation() will in some
cases clamp the break (inside) appeal down to kBreakAppealLastResort.
We need to miss the cache if we find such layout results in the cache,
since the break appeal may no longer be valid, when we have moved over
to a new fragmentainer. Otherwise we will never let the node fit in the
previous fragmentainer, not even after making the fragmentainers taller.
This leads to correctness issues, and also freezes during column
balancing, since no fragmentainer stretch amount will be enough to pull
the node back to the first fragmentainer.

Bug: 1395408, 1399449
Change-Id: Ic0fc032b0b7022dfb9e5c35af75e09d8b3f50316
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4085506
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1081158}

--

wpt-commits: e9fc77e6ef8591b00d6934ba7ac15e3e668926f8
wpt-pr: 37409
2022-12-12 11:38:55 +00:00
moz-wptsync-bot
6c40db2d0e Bug 1804776 [wpt PR 37314] - Update wpt metadata, a=testonly
wpt-pr: 37314
wpt-type: metadata
2022-12-12 11:38:54 +00:00
Blink WPT Bot
8a4c2f6b55 Bug 1804776 [wpt PR 37314] - [bfcache] Make NotRestoredReasons wpt tentative, a=testonly
Automatic update from web-platform-tests
[bfcache] Make NotRestoredReasons wpt tentative (#37314)

This CL makes NotRestoredReasons wpt tentative as only Chrome implements
it so far.

Change-Id: I8eaaeaf214ea2f4dd3319151fe7557f4e8b68713
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4074110
Commit-Queue: Ming-Ying Chung <mych@chromium.org>
Auto-Submit: Yuzu Saijo <yuzus@chromium.org>
Reviewed-by: Ming-Ying Chung <mych@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080774}

Co-authored-by: Yuzu Saijo <yuzus@chromium.org>
--

wpt-commits: 4e813febd86279a115d3a962801e0f3b66d4168e
wpt-pr: 37314
2022-12-12 11:38:53 +00:00
moz-wptsync-bot
88e052d9f2 Bug 1804767 [wpt PR 37212] - Update wpt metadata, a=testonly
wpt-pr: 37212
wpt-type: metadata
2022-12-12 11:38:53 +00:00
Jaspreet Sandhu
473872a7d9 Bug 1804767 [wpt PR 37212] - Add getEntriesWithChildFrames() method to Performance, a=testonly
Automatic update from web-platform-tests
Add getEntriesWithChildFrames() method to Performance

This change introduces a method to include the Performance Entries of nested, same-origin iframes when fetching Performance Timeline data. It uses a Breadth-First Search algorithm on the Frame Tree whose root node is the current frame.

This functionality is available via the `includeFrames` boolean flag in each of `getEntries()`, `getEntriesByType()`, and `getEntriesByName()`.

Change-Id: I725d29c8295851d957c8b6580bd0d065f3bb197f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4051366
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Jaspreet Sandhu <jaspreetsandhu@google.com>
Cr-Commit-Position: refs/heads/main@{#1081090}

--

wpt-commits: 8b6702ab638f60114baa3377e9269b1f5541891b
wpt-pr: 37212
2022-12-12 11:38:52 +00:00
Brad Triebwasser
d13ee4cd81 Bug 1781535 [wpt PR 35241] - Add Delay for popup.close() as a workaround., a=testonly
Automatic update from web-platform-tests
Add Delay for popup.close() as a workaround.

Bug: 1338645
Change-Id: Id5733e274406e02faf9b14e01c3a9bd747f6d2df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3758923
Reviewed-by: Mike Wasserman <msw@chromium.org>
Commit-Queue: Brad Triebwasser <btriebw@chromium.org>
Auto-Submit: Brad Triebwasser <btriebw@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081044}

--

wpt-commits: 449f5debcf46645323c407c6ba881de028cf8d5f
wpt-pr: 35241
2022-12-12 11:38:52 +00:00
Fredrik Söderquist
15e576d680 Bug 1804697 [wpt PR 37405] - Support for 'keyPoints' on <animateMotion> path animations, a=testonly
Automatic update from web-platform-tests
Support for 'keyPoints' on <animateMotion> path animations

If an <animateMotion> element had a path specified, 'keyPoints' would be
ignored. In this case 'keyPoints' can quite easily be supported using
the existing interval-progress remapping code though, so do that.

Fixed: 1297077
Change-Id: Icc6694e5d7f16c75a07794cc8a47e09ef520aacf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4085429
Reviewed-by: Philip Rogers <pdr@chromium.org>
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081036}

--

wpt-commits: 78336c40ad76be4032612267b23a1c858cb93be7
wpt-pr: 37405
2022-12-12 11:38:51 +00:00
moz-wptsync-bot
25fae26585 Bug 1804362 [wpt PR 37366] - Update wpt metadata, a=testonly
wpt-pr: 37366
wpt-type: metadata
2022-12-12 11:38:50 +00:00
Xiaocheng Hu
b9b5e11e66 Bug 1804362 [wpt PR 37366] - [anchor-position] Allow top-layer elements to anchor to abspos elements, a=testonly
Automatic update from web-platform-tests
[anchor-position] Allow top-layer elements to anchor to abspos elements

Per discussion [1], we should allow a top-layer element to anchor to:
- Non-top-layer absolutely positioned elements
- Elements preceding the current element in the document top-layer

This patch implements it and adds a comprehensive test suite.

The implementation:
- Adds a flag to NGLogicalAnchorQuery::AnchorReference() to allow
  returning invalid (i.e., abspos) anchors, and sets the flag when
  positioning top-layer elements. This is fine because valid anchors
  for a top-layer element are always inserted into the AnchorQuery
  before we layout the top-layer element (ensured by layout tree order)
- Adds a flag to NGPhysicalAnchorQuery::Fragment() to allow returning
  invalid (i.e., abspos) anchors, which is for `anchor-scroll`. The
  result is further validated with layout tree order, so that we don't
  anchor a top-layer element to another element after it in the top
  layer.
- Introduces `ContainingScrollContainerForAnchor()` to correctly get
  the scroll container (nullptr) of a fixed positioned anchor, as this
  case is not possible before this patch

[1] https://github.com/w3c/csswg-drafts/issues/8165

Fixed: 1396436
Fixed: 1385882
Change-Id: I4436f35885e6fede6d780aae633c6525b4100510
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4083692
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080999}

--

wpt-commits: 85ef51bdd55cea3fe87648edcedf1501ae6834dd
wpt-pr: 37366
2022-12-12 11:38:50 +00:00
Justin Novosad
46397d9b01 Bug 1804707 [wpt PR 37406] - Use direct compositing for canvases rendered on the CPU, a=testonly
Automatic update from web-platform-tests
Use direct compositing for canvases rendered on the CPU

Before this CL, we already had the plumbing for presenting CPU-rendered canvases via GpuMemoryBuffer for direct compositing.  That code path was originally implemented to support LowLatency mode. With this change, we exercise the GpuMemoryBuffer code path for "regular" latency canvases.  This accelerates compositing, especially for pages that have many canvases.

With this change, MotionMark Images test runs significantly faster, especially with angle/metal enabled.

Bug:1363627

Change-Id: I25b9e3105773fee84a1fc88432ed6640dac4c976
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4081383
Commit-Queue: Justin Novosad <junov@chromium.org>
Reviewed-by: Juanmi Huertas <juanmihd@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080998}

--

wpt-commits: 97d20cf7da9383db6a9f3b9848307e77b2d39454
wpt-pr: 37406
2022-12-12 11:38:49 +00:00
moz-wptsync-bot
0d3cf551a1 Bug 1804609 [wpt PR 37395] - Update wpt metadata, a=testonly
wpt-pr: 37395
wpt-type: metadata
2022-12-12 11:38:49 +00:00
Tim Nguyen
119a470eb7 Bug 1804609 [wpt PR 37395] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=246004, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=246004 (#37395)

Make fullscreen elements match the :modal pseudo-class
https://commits.webkit.org/257572@main
--

wpt-commits: f9bb52ae4beb6acef490b6031e644ed215feff5c
wpt-pr: 37395
2022-12-12 11:38:48 +00:00
moz-wptsync-bot
0282ca7bb9 Bug 1804612 [wpt PR 37396] - Update wpt metadata, a=testonly
wpt-pr: 37396
wpt-type: metadata
2022-12-12 11:38:48 +00:00
Tim Nguyen
2d3e59831a Bug 1804612 [wpt PR 37396] - Add test for :has(:fullscreen) invalidation, a=testonly
Automatic update from web-platform-tests
Add test for :has(:fullscreen) invalidation (#37396)

--

wpt-commits: 705d8645df38376784b2055d7de8fe93b362e723
wpt-pr: 37396
2022-12-12 11:38:47 +00:00
moz-wptsync-bot
71be1bc881 Bug 1802560 [wpt PR 37168] - Update wpt metadata, a=testonly
wpt-pr: 37168
wpt-type: metadata
2022-12-12 11:38:47 +00:00
Hao Liu
58974d7065 Bug 1802560 [wpt PR 37168] - Fix LCP start time logic for non TAO images, a=testonly
Automatic update from web-platform-tests
Fix LCP start time logic for non TAO images

This is to fix the logic of LCP start time for Non-Tao images and also
clean up of the previous CL https://crrev.com/c/4027513. The previous CL only accounts for the first non Tao image as LCP candidate.

The wpt in previous CL is flaky on Mac11-arm64. That is because somehow
FCP and LCP are set not by the same updates. We would expect so for a
page with an image and nothing else.

That wpt was re-written as non-tao-image-load-before-fcp-render-at-fcp.sub.html. That failure is no longer relevant as the new logic compares FCP with LCP.loadTime. We simply need to verify the logic is correct in the wpt. That is, if LCP.loadTime < FCP, LCP startTime should be the same as FCP, otherwise LCP startTime should be the same as LCP loadTime.

Also start time is passed as an additional arg to WindowPerformance::OnLargestContentfulPaintUpdated(), instead of being derived. This makes the logic easier to follow.

Bug: 1345948
Change-Id: I4451c8c46dc9c00eb5ecd2da743210d3a94004bf
Cq-Include-Trybots: luci.chromium.try​:mac11-arm64-rel,mac12-arm64-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4057886
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Hao Liu <haoliuk@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Reviewed-by: Bo Liu <boliu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080910}

--

wpt-commits: 3b0e272c7ffdf115befed378e8314f34c71512ec
wpt-pr: 37168
2022-12-12 11:38:46 +00:00
moz-wptsync-bot
3dd164b3fc Bug 1804516 [wpt PR 37382] - Update wpt metadata, a=testonly
wpt-pr: 37382
wpt-type: metadata
2022-12-12 11:38:45 +00:00
Jonathan Hao
70c6ad2549 Bug 1804516 [wpt PR 37382] - Make Access-Control-Request-Private-Network a forbidden header, a=testonly
Automatic update from web-platform-tests
Make Access-Control-Request-Private-Network a forbidden header

Spec: https://wicg.github.io/private-network-access/#forbidden-header-names.

Bug: 1368527
Change-Id: Id47a68dfbd2ddafa676b6617dcdd3cc94f459f7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4084910
Commit-Queue: Jonathan Hao <phao@chromium.org>
Reviewed-by: Finnur Thorarinsson <finnur@chromium.org>
Reviewed-by: Bence Béky <bnc@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080897}

--

wpt-commits: fb888b971d298f7dc1e64f008c80c3f659c0a5f7
wpt-pr: 37382
2022-12-12 11:38:45 +00:00
François Beaufort
69e60adcec Bug 1804245 [wpt PR 37347] - Remove autoPictureInPicture HTMLVideoElement attribute, a=testonly
Automatic update from web-platform-tests
Remove autoPictureInPicture HTMLVideoElement attribute

This CL removes the autoPictureInPicture HTMLVideoElement attribute as
it was only used for experimental purposes in Chrome and it never
shipped. It has been removed from the spec as well.

Spec: https://github.com/w3c/picture-in-picture/pull/216
Bug: 917303
Change-Id: Ie9cd9136a2c8632a86cf85eff4aec50843514685
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4079109
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Fr <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1080837}

--

wpt-commits: df2b9160a0c1b0d30561f0f7701ba1e2e02131bd
wpt-pr: 37347
2022-12-12 11:38:44 +00:00
Kent Tamura
2143e2f30d Bug 1804627 [wpt PR 37399] - SVG Text NG: Fix rendering with inconsistent textLength values, a=testonly
Automatic update from web-platform-tests
SVG Text NG: Fix rendering with inconsistent textLength values

    <text textLength="150" x="10" y="100">
    <tspan textLength="300">Scalable Vector</tspan>
    </text>

We placed the first 'S' at a wrong position.

The new behavior is compatible with the legacy layout.

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

--

wpt-commits: 2d8060eaf9b26c29425063343c24390cfb62619f
wpt-pr: 37399
2022-12-12 11:38:44 +00:00
moz-wptsync-bot
87959889ea Bug 1804472 [wpt PR 37375] - Update wpt metadata, a=testonly
wpt-pr: 37375
wpt-type: metadata
2022-12-12 11:38:43 +00:00
Evan Shrubsole
b7872fb8c7 Bug 1804472 [wpt PR 37375] - [webrtc-stats] Only expose hardware capabilities when capturing media, a=testonly
Automatic update from web-platform-tests
[webrtc-stats] Only expose hardware capabilities when capturing media

With a recent change to the webrtc-stats spec, user agents with a
fullscreen element will no longer have access to stats which expose
hardware capabilities.

The WPT tests for hardware capability stats has been updated to reflect
the fact that having a fullscreen element is not sufficient anymore,
rather than just removing these tests. This helps catch user agents that
have not updated to reflect this change to the spec.

Bug: 1398362
Change-Id: I221be5bfb900952c29459ce38b1fa1460205a1e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4084785
Auto-Submit: Evan Shrubsole <eshr@google.com>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080815}

--

wpt-commits: ec58998ff5fc1ed86979d864cb21c45241ad8988
wpt-pr: 37375
2022-12-12 11:38:42 +00:00
moz-wptsync-bot
8f37c68ade Bug 1803073 [wpt PR 37223] - Update wpt metadata, a=testonly
wpt-pr: 37223
wpt-type: metadata
2022-12-12 11:38:42 +00:00
Marcos Cáceres
eb33d9d04c Bug 1803073 [wpt PR 37223] - fullscreen: convert manual tests to automated tests, a=testonly
Automatic update from web-platform-tests
fullscreen: convert manual tests to automated tests (#37223)

--

wpt-commits: e3ef610db09bdb9d8936ee282c8074f409684a56
wpt-pr: 37223
2022-12-12 11:38:41 +00:00
moz-wptsync-bot
42d857d32d Bug 1800610 [wpt PR 36969] - Update wpt metadata, a=testonly
wpt-pr: 36969
wpt-type: metadata
2022-12-12 11:38:40 +00:00
Philip Jägenstedt
69b6e866c2 Bug 1800610 [wpt PR 36969] - Test that element.requestFullscreen() consumes user activation, a=testonly
Automatic update from web-platform-tests
Test that element.requestFullscreen() consumes user activation (#36969)

--

wpt-commits: 897b406f2925a22025d62001a5f7e97096e3f5a0
wpt-pr: 36969
2022-12-12 11:38:40 +00:00
moz-wptsync-bot
5b35b397bf Bug 1801362 [wpt PR 37031] - Update wpt metadata, a=testonly
wpt-pr: 37031
wpt-type: metadata
2022-12-12 11:38:39 +00:00
Mason Freed
1e2306fd3c Bug 1801362 [wpt PR 37031] - Combine the popoverhide/popovershow events into one beforetoggle event, a=testonly
Automatic update from web-platform-tests
Combine the popoverhide/popovershow events into one beforetoggle event

See [1] and [2] for context. This eliminates the "popoverhide" and
"popovershow" events, and replaces them with the "beforetoggle" event,
for both of these transitions. The event is a BeforeToggleEvent,
which has attributes `currentState` and `newState`, both of which
are either "open" or "closed" (and opposite of each other).

[1] https://github.com/openui/open-ui/issues/607#issuecomment-1319114654
[2] https://github.com/whatwg/html/pull/8221#issuecomment-1335672783

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

--

wpt-commits: 90aec8c944f678c6adc7c48692d7133145018761
wpt-pr: 37031
2022-12-12 11:38:39 +00:00
Weizhong Xia
6d1da8bd2d Bug 1804568 [wpt PR 37390] - Add test expectation for window-onload-test.html, a=testonly
Automatic update from web-platform-tests
Add test expectation for window-onload-test.html (#37390)

* Add test expectation for window-onload-test.html

To unblock https://github.com/web-platform-tests/wpt/pull/37299
--

wpt-commits: 466c3b35543d6c2d8382eb0fd408d58d88af550c
wpt-pr: 37390
2022-12-12 11:38:38 +00:00
moz-wptsync-bot
a727b8daf7 Bug 1804572 [wpt PR 37392] - Update wpt metadata, a=testonly
wpt-pr: 37392
wpt-type: metadata
2022-12-12 11:38:37 +00:00
Tab Atkins Jr
4283c730eb Bug 1804572 [wpt PR 37392] - Make :has() unforgiving, a=testonly
Automatic update from web-platform-tests
Make :has() unforgiving (#37392)

--

wpt-commits: 2ae111b066a1ddc5f22eca8fa91317b4733ccaf7
wpt-pr: 37392
2022-12-12 11:38:37 +00:00
moz-wptsync-bot
82632987de Bug 1804569 [wpt PR 37391] - Update wpt metadata, a=testonly
wpt-pr: 37391
wpt-type: metadata
2022-12-12 11:38:36 +00:00
Tab Atkins Jr
549758033a Bug 1804569 [wpt PR 37391] - Make :has() unforgiving, a=testonly
Automatic update from web-platform-tests
Make :has() unforgiving (#37391)

--

wpt-commits: 41ee6a14369e2aaa0f7283138449051e2b5e7725
wpt-pr: 37391
2022-12-12 11:38:35 +00:00
Koji Ishii
53ed7588cd Bug 1804430 [wpt PR 37374] - Remove the CSS line-height-step property, a=testonly
Automatic update from web-platform-tests
Remove the CSS line-height-step property

This patch removes the CSS line-height-step property and its
runtime flag, as the feature did not mature to ship.

Tests were removed in r741820 crrev.com/c/2059692 but there
are some left overs, which are removed in this patch.

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

--

wpt-commits: 1d6b02fa2c9671e91729f26e41aab7f7e5267326
wpt-pr: 37374
2022-12-12 11:38:35 +00:00
moz-wptsync-bot
465bcda27f Bug 1803021 [wpt PR 37215] - Update wpt metadata, a=testonly
wpt-pr: 37215
wpt-type: metadata
2022-12-12 11:38:34 +00:00
Mason Freed
c995f9525d Bug 1803021 [wpt PR 37215] - Add the shadowrootmode attribute, and trigger streaming only if present, a=testonly
Automatic update from web-platform-tests
Add the shadowrootmode attribute, and trigger streaming only if present

This CL adds the new "shadowrootmode" attribute for use with
declarative Shadow DOM. See the discussion at [1] for more details,
but this will be the new standardized attribute to enable DSD.
This CL triggers the other new behavior, streaming, based on the
presence of this new attribute. In this way, the old behavior and
the new behavior can both co-exist while developers migrate from
the old attribute to the new one, and behavior will not change
until they opt in.

The virtual/streaming-declarative-shadow-dom-disabled test suite
was enhanced with a copy of all of the "old" tests using the
"shadowroot" attribute, as they were before [2] landed. In this way
the virtual suite maintains the functionality of the old syntax.
This virtual suite also runs the "new" tests, to ensure no inadvertent
changes happen for the flag-disabled case.

[1] https://github.com/whatwg/html/pull/5465#discussion_r1026760650
[2] https://chromium-review.googlesource.com/c/chromium/src/+/3967571

Bug: 1042130,1379513,1396384
Change-Id: I5a888287b7f313d13dd28c8b4b0e36ae4feea512
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4039504
Commit-Queue: Mason Freed <masonf@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080576}

--

wpt-commits: 999a3a15a3eb648764ffe09a0f90a602ab93f2ca
wpt-pr: 37215
2022-12-12 11:38:34 +00:00
moz-wptsync-bot
492ececad8 Bug 1804255 [wpt PR 37349] - Update wpt metadata, a=testonly
wpt-pr: 37349
wpt-type: metadata
2022-12-12 11:38:33 +00:00
Anders Hartvoll Ruud
8b58d60b81 Bug 1804255 [wpt PR 37349] - [scroll-animations] Tree-scoped timeline lookups, a=testonly
Automatic update from web-platform-tests
[scroll-animations] Tree-scoped timeline lookups

This CL implements tree-scoped lookups for animation-timeline.

Previously, we could search for a timeline match on a given element
with a normal lookup in a hash table. This is unfortunately not enough
anymore, since tree-scoped lookups don't require exact matches, but
instead match any name in the target tree-scope or higher.
Therefore the lookup process now linearly iterates through the items
of the hash table. (We still store the timelines in a hash table
despite this linear traversal, because we use exact-match hash
lookups during CSSAnimations::CalculateTimelineUpdate).

Note: Adding a ::part() test exposed an issue with a call to
ParentOrShadowHostNode, since we'd pass a ShadowRoot to
LayoutTreeBuilderTraversal, which is not allowed. Hence this CL
changes that call to ParentOrShadowHostElement.

Fixed: 1382876
Change-Id: I4aa5ef03a663e201e97810b1f668036b90958316
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4079252
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080561}

--

wpt-commits: 8a7a1a5f7b00f6f0b65d52964bac8c2c6550cafb
wpt-pr: 37349
2022-12-12 11:38:33 +00:00
moz-wptsync-bot
a68858c896 Bug 1790768 [wpt PR 35889] - Update wpt metadata, a=testonly
wpt-pr: 35889
wpt-type: metadata
2022-12-12 11:38:32 +00:00
François Beaufort
3ca3dee22b Bug 1790768 [wpt PR 35889] - Add new slides media session actions to Picture-in-Picture window, a=testonly
Automatic update from web-platform-tests
Add new slides media session actions to Picture-in-Picture window

This CL introduces "previous slide" and "next slide" media session
actions to websites through the Media Session API. Those can be used
to show "previous slide" and "next slide" controls in the
Picture-in-Picture window.

Intent to ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/bjoGBvcwi7o

Bug: 1363548
Change-Id: I2492c699772b4a1b530a56d050259b3d374e9308
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3835037
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Tommy Steimel <steimel@chromium.org>
Commit-Queue: Fr <beaufort.francois@gmail.com>
Reviewed-by: Toni Barzic <tbarzic@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080468}

--

wpt-commits: 20232ccfda1e7578cb2d400ac3741c1b2eeb39c9
wpt-pr: 35889
2022-12-12 11:38:31 +00:00
moz-wptsync-bot
86da4653cd Bug 1804491 [wpt PR 37378] - Update wpt metadata, a=testonly
wpt-pr: 37378
wpt-type: metadata
2022-12-12 11:38:31 +00:00
Yoav Weiss
2d552a7b49 Bug 1804491 [wpt PR 37378] - Enable paint entry buffering for soft navigations, a=testonly
Automatic update from web-platform-tests
Enable paint entry buffering for soft navigations

Previously, paint timing entries were not being properly buffered, even
if they were fired when observed.
This CL fixes that, adds tests to that effect and ensures that the
buffering limits are respected and the dropped entries counter is being
incremented.

Bug: 1397720
Change-Id: Id53f0ea19fd85895b7a1942eb8faff77c7a5c49b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4084861
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080420}

--

wpt-commits: f0c9b47e4061bc94d5dffa0a9877ca8fd499d1e7
wpt-pr: 37378
2022-12-12 11:38:30 +00:00
moz-wptsync-bot
927e2e7f6d Bug 1804478 [wpt PR 37377] - Update wpt metadata, a=testonly
wpt-pr: 37377
wpt-type: metadata
2022-12-12 11:38:30 +00:00
Mustaq Ahmed
72e4d30e01 Bug 1804478 [wpt PR 37377] - [Interop] Add a WPT that canceling mousemove doesn't affect drag., a=testonly
Automatic update from web-platform-tests
[Interop] Add a WPT that canceling mousemove doesn't affect drag.

This is related to https://github.com/w3c/uievents/issues/278.

Bug: 346473
Change-Id: I0bc9d732369a0fa5eb8f4a4bcc04c7eabce26e6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4086261
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080459}

--

wpt-commits: 295326a59547f180def6ca57e5794fa68e07939f
wpt-pr: 37377
2022-12-12 11:38:29 +00:00
Evan Stade
c2cdefcb30 Bug 1803985 [wpt PR 37313] - Storage buckets: make sure caches handles a deleted bucket properly, a=testonly
Automatic update from web-platform-tests
Storage buckets: make sure `caches` handles a deleted bucket properly

Change-Id: I81cda084d841307cc520287dc4b3c576044c71bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4078506
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Commit-Queue: Ben Kelly <wanderview@chromium.org>
Auto-Submit: Evan Stade <estade@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080429}

--

wpt-commits: 127eb87d880f83cc666f976878391ce83f5818d8
wpt-pr: 37313
2022-12-12 11:38:29 +00:00
moz-wptsync-bot
24cffd62a7 Bug 1801148 [wpt PR 37009] - Update wpt metadata, a=testonly
wpt-pr: 37009
wpt-type: metadata
2022-12-12 11:38:28 +00:00
Mehdi Kazemi
d0dc31894a Bug 1801148 [wpt PR 37009] - Support timeline offsets in animation keyframes, a=testonly
Automatic update from web-platform-tests
Support timeline offsets in animation keyframes

Bug: 1383158
Change-Id: Ic10055ccfa7979d115bded56b63058bdb9babdf8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4022283
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Jonathan Ross <jonross@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Mehdi Kazemi <mehdika@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080379}

--

wpt-commits: e186d905e446a7d941d39fafaaacdd09e9e44596
wpt-pr: 37009
2022-12-12 11:38:28 +00:00
Sammy Gill
c5639d3ebb Bug 1799248 [wpt PR 36830] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=247507, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=247507 (#36830)

Replaced elements with intrinsic ratio and missing size don't respect min-max constraints
https://commits.webkit.org/257434@main
--

wpt-commits: 2f2fa4f92e81df6e159ccf7b1ad2eae441303934
wpt-pr: 36830
2022-12-12 11:38:27 +00:00