Automatic update from web-platform-tests
[initial-letter] Layout implementation
This patch implements layout of CSS property `initial-letter` for
preparation of releasing it[1].
The fundamental design points are
* Using atomic inline block as <::first-letter> pseudo element with
`initial-letter` property
- Done in StyleAdjuster::AdjustStyleForInitialLetter()
* Holds initial letter text font in first-letter-part text of
`LayoutTextFragment`
- Done in `StyleAdjuster::AdjustStyleForInitialLetterText()`
- No changes in `NGTextFragmentPainter` and `NGInkOverflow` unike
`text-combine-upright`.
* Utilize initial letter clearance in NGExclusionSpace[2]
- Better support initial-letter than implementing initial-letter as
`float` in WebKit
* Using text ink bounds to fit initial letter box to actual glyph to
follow[3].
- Avoid to have large spaces around initial text due by large ascent
and large descent
- Avoid to have empty descend in capital letters
- Handle initial letter text having descend, e.g. italic "f".
[1] http://crrev.com/c/3874383 Initial Letter All-In-One
[2] http://crrev.com/c/3963588 [initial-letter] Make NGExclusionSpace
to handle initial letter box
[3] https://drafts.csswg.org/css-inline/#initial-letter-box-size
Bug: 1276900
Change-Id: I43545a0f98f0413b58ab50d8d6e0ad2a78bb1146
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3981353
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Auto-Submit: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073713}
--
wpt-commits: 439696c08199f8f893d81e110480ec0d569354c8
wpt-pr: 36730
Automatic update from web-platform-tests
Clip inner border for local attachment background
We need to do inner border clip for none invisible or clip
background-attachment:local background with radius in case
painting extra corner.
Bug: 124089
Change-Id: I6772c9b2db39be6385eb6d7085026bfbbe868e2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4022859
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1072263}
--
wpt-commits: ec487c1560b4ae979e70d9847a267dc29e373784
wpt-pr: 36971
Automatic update from web-platform-tests
[SPC] Update TransactionAutomationMode naming convention
Per recommendation on crrev.com/c/4030688, following up with a change to
the naming style of the TransactionAutomationMode enum.
All SPC WPTs pass locally.
Bug: 1385865
Change-Id: Ib35b7abe9aaedd938568d5076436eb4568d8826e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4034924
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Auto-Submit: Nick Burris <nburris@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073594}
--
wpt-commits: 99458bfd6e43f5842a4a510cc5adfd8185e5c64c
wpt-pr: 37035
Automatic update from web-platform-tests
Call set_test_context in SAA WPTs
This is needed to get tests to pass when run with WPT tooling, e.g. on
wpt.fyi.
Bug: 1378969
Change-Id: I019a9877a6e26a778fba0de5e36831d76f600d88
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4035211
Commit-Queue: Chris Fredrickson <cfredric@chromium.org>
Quick-Run: Johann Hofmann <johannhof@chromium.org>
Reviewed-by: Chris Fredrickson <cfredric@chromium.org>
Auto-Submit: Johann Hofmann <johannhof@chromium.org>
Commit-Queue: Johann Hofmann <johannhof@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073537}
--
wpt-commits: 42799d288145dd80e10b7655a5a141300c7898b5
wpt-pr: 37034
Automatic update from web-platform-tests
[SPC] Add Secure Payment Confirmation opt out WPT
Adds chromedriver support and web platform test for opt-out for SPC. The
WPT passes locally with SPC opt out enabled (currently disabled behind a
flag).
There's a small change in the SPC MVC logic, since opt-out can now
happen by calling SPCController::OnOptOut directly, which resulted in
the dialog view calling back to OnCancel when the dialog closes since it
didn't know opt-out was programmatically invoked. This is fixed by
having the controller set a bit on the model which the view checks.
Spec PR: https://github.com/w3c/secure-payment-confirmation/pull/215
Bug: 1385865
Change-Id: I777e92b5110785415de68ef9f0497905598e4897
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4030688
Commit-Queue: Nick Burris <nburris@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073462}
--
wpt-commits: 29d4f9513ad84c09f54199ffc157a0f9ce7d1e90
wpt-pr: 37012
Automatic update from web-platform-tests
[WebCodecs] Fix embedded color profile for OpenH264 encoding.
This also improves the full cycle test to verify the decoded color
space matches the one provided by the encoder.
Bug: 1377842
Change-Id: If0635649ddec267910e7a307348fd79f6a96c879
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4032971
Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Dan Sanders <sandersd@chromium.org>
Commit-Queue: Dan Sanders <sandersd@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073441}
--
wpt-commits: 0b80fe4fe864952d9e8ba687588bba37dececd49
wpt-pr: 37023
Automatic update from web-platform-tests
[SameSite] Fix Get Named/All Cookie Tests
The stacked CL resolves the ChromeDriver issues, but we should resolve
the stabilities issues seen in WPT where multiple cookies are seen when
the test starts:
https://wpt.fyi/results/cookies/samesite?label=experimental&label=master&aligned
This also re-enables the tests disabled as part of:
https://chromium-review.googlesource.com/c/chromium/src/+/3994179
Bug: 1342633
Change-Id: I15196cb9c0454cdb2bc5d9396c85fe80be824dd8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4034986
Commit-Queue: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Mike Taylor <miketaylr@chromium.org>
Auto-Submit: Ari Chivukula <arichiv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073331}
--
wpt-commits: f87b2c8df6e3a6835b099652f0d643c6c0a2c5b2
wpt-pr: 37013
Automatic update from web-platform-tests
Adjust ref for wpt/svg/struct/reftests/currentScale-change-repaint.html
Use the reference/green-100x100.html so that we get the correct margin.
Add a equivalent test for the standalone case.
Bug: 1368167
Change-Id: I9078796ef18dfc7d9a3a3bdecc42d4d2a95c16d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4033974
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/main@{#1073285}
--
wpt-commits: 7fed25a6d7ee69fd34edc52aff82fa6de86ba740
wpt-pr: 37006
Automatic update from web-platform-tests
Centralize on a single garbage collection helper
Closes#36926.
--
wpt-commits: e97fac4791931fb7455ba3fad759d362c7108b09
wpt-pr: 37001
Automatic update from web-platform-tests
[@container] Add test triggering transition in multi-pass recalc
The added test causes the style to update twice for an element during a
lifecycle update due to container queries. The first pass changes the
computed color which should trigger a transition. The second pass
changes the background-color, but the color from the first pass does not
change.
This currently does not trigger a transition in Blink.
Bug: 1385891
Change-Id: I420e3231f93266853f5eb3ba60407f2613a4d5d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4035129
Auto-Submit: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073271}
--
wpt-commits: ac893a370a9f787e42c6d7ea28473decc6c56013
wpt-pr: 37014
Automatic update from web-platform-tests
Add makotokato as reviewer
makotokato is implementing in Gecko.
--
wpt-commits: 3833ba4222da1afcd1af4fd00c136f6e9b0a4c9e
wpt-pr: 36982
Automatic update from web-platform-tests
view-transitions: Correctly handle aborted transitions.
Ensure the transition is aborted if the state of participating elements
is invalid. This change also ensures that the reason propagated when
rejecting promises aligns with the spec.
R=vmpstr@chromium.org
Bug: 1384673
Change-Id: I6d7fb69994c7fd9860bf65a1cc7cfb9bb6b37f96
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4029618
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073167}
--
wpt-commits: 6f17011f295ada1ba80deba98e2ed991fb2ce8d2
wpt-pr: 36983
Automatic update from web-platform-tests
Add browser test to verify Cumulative Layout Shift one second gap
Add cumulative_layout_shift_browsertest to add coverage on CLS
Normalization one second gap. In the simple-block-movement.html file,
we perform the first layout shift with 160px movement, and we pause
the program for one second and then perform another layout shift
with 340px movement.
Add watcher_entry_record list in ScoreWatcher to record startTime and
score pair for each Performance Entry, and extract the list in browser
test to help us verify the gap between two layout shifts are at least
one second. Based on the rule of CLS Normalization, these two layout
shifts should be aggregated in different session windows, so we also
verify that the CLS values in UMA and UKM are the same as the second
layout shift score.
Bug: 1370548
Change-Id: If82935c06bb9c4c0655a297d497dcdedb23b2e32
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3982899
Reviewed-by: Annie Sullivan <sullivan@chromium.org>
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: Han Gao <hangaoy@google.com>
Cr-Commit-Position: refs/heads/main@{#1073098}
--
wpt-commits: 2481a913db3a69e0aaee034ed1ae1227fdb17550
wpt-pr: 36807
Automatic update from web-platform-tests
Add tests for nested color-mix() with inner currentColor
color-mix() values are computed and resolved according to the color
interpolation space in the color-mix() function.
Bug: 1092638
Change-Id: I44a3bb61a941e313fa94105b54374af97fa67934
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4020156
Reviewed-by: Aaron Krajeski <aaronhk@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073085}
--
wpt-commits: 320a61f17d99ff4883c6c66b23978a5a8e5f3e99
wpt-pr: 36909
Automatic update from web-platform-tests
Improved precision of text-align-end-00[1-15].html and their reference files (#34811)
--
wpt-commits: 3cab3305e365eff3c15a7ca33c157712c454d752
wpt-pr: 34811
Automatic update from web-platform-tests
Get SoftNavigationHeuristics to recognize popstate-based soft navs
Following up on [1], this CL also ensures that popstate events that
modify the DOM are properly being considered for Soft Navigation
Heuristics.
Rough design doc for this change: [2]
[1] https://chromium-review.googlesource.com/c/chromium/src/+/3941774
[2] https://docs.google.com/document/d/1bubR2GxFEQtdYFkdU1JMhEopjq69SiFjkiwmSAOTby4/edit#
Change-Id: I0fd669b51ff29f274ee437b469d6f81c4b6aa4b1
Bug: 1371932
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3945102
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1072892}
--
wpt-commits: 120d10be208089d4c0889fe55877d5258747454e
wpt-pr: 36428
Automatic update from web-platform-tests
Better parallel flow prevention around column spanners.
If we break inside a node, and continue layout (because the break was in
a parallel flow), we need to propagate this information down to
descendant containers, in case there's a column spanner there.
Bug: 1383916, 1383978
Change-Id: Iff09e356d936db477dc5abe45ea1e9e40171eac4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4030406
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1072882}
--
wpt-commits: bc2014d4fe5187d1df5cc1b3e720fe96d99fa13d
wpt-pr: 37002
Automatic update from web-platform-tests
webcodec support tests should fail if we can't tell
--
wpt-commits: 67eef80ad87e294d3d2378f4353ad004eb0ec6f1
wpt-pr: 37008
Automatic update from web-platform-tests
Update delegate-fullscreen-request-subframe-cross-origin.https.sub.tentative.html to use get-host-info.sub.js (#36996)
Update test to rely on get-host-info.sub.js to get a remote origin, instead of
hard-coding "https://{{hosts[alt][www]}}:{{ports[https][0]}}" so that it can run
with the WebKit test infrastructure where custom WPT localhost domains are not
supported.
This is a merge of WebKit's https://github.com/WebKit/WebKit/pull/6572.
--
wpt-commits: 310ff51a94a891ff20bf734b62ab1ab5fe977b42
wpt-pr: 36996
Automatic update from web-platform-tests
Revert "Fixed WPT: "getDisplayMedia() must adhere to frameRate if set""
This reverts commit 95c70d3a7080ffd029d33e3e6c659144fa7c3da6.
Reason for revert: getdisplaymedia.https.html became flaky (crbug.com/1385676), and this change is a likely culprit.
Original change's description:
> Fixed WPT: "getDisplayMedia() must adhere to frameRate if set"
>
> Replaced the ||-operator with a ??-operator in the frames() helper-function to treat getVideoPlaybackQuality()?.totalVideoFrames == 0 as a valid return-value.
>
> Bug: 1384645
> Change-Id: I072413ccb3980dcc89e96ebc0298d1085dde1d20
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4027916
> Reviewed-by: Florent Castelli <orphis@chromium.org>
> Commit-Queue: Tove Petersson <tovep@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1072137}
Bug: 1384645, 1385676
Change-Id: I5cb6c601856b60e0f6df3d13f66749204978d914
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4033970
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Tove Petersson <tovep@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1072796}
--
wpt-commits: c49acfe2b8c8d6612ffcdf0607179656aa03900b
wpt-pr: 37004
Automatic update from web-platform-tests
[CSS scroll timeline]: Add tests for timeline invalidation.
This patch introduces 2 new sub-tests:
* Deleting an element with a named scroll timeline invalidates
attached animations.
* Adding a scroll timeline with a name that matches an animation with
an unresolved timeline, updates the animation.
Bug: 1357797, 1357801
Change-Id: I4c87f443be1bfbcd8d656a747f64061f28ef1e24
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4021573
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1072774}
--
wpt-commits: 039f22453d96489bb19240ac478d7198aed0b2ad
wpt-pr: 36972
Automatic update from web-platform-tests
Make font-variant-valid.html less strict (#37000)
Accept different orderings of font-variant-ligatures and font-variant-numeric.
--
wpt-commits: 9ba6aa59702548b87e99f6dc609734fb84ab9552
wpt-pr: 37000