Skip to content

Releases: web-platform-tests/wpt

merge_pr_48658

16 Oct 23:32
Compare
Choose a tag to compare

Add InputClosesSelect flag

This flag is intended to de-risk the launch of SelectParserRelaxation by
partially reverting the new parser behavior to the old parser behavior
specifically in the case of an tag being parsed inside a
. The old parser would convert into
, and based on my research, this is the case
that is most likely going to break sites in SelectParserRelaxation:
whatwg/html#10310

Bug: 373672164
Change-Id: I33b40d11c2001092aa076a219dd56c5ea86f13f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5936092
Reviewed-by: Mason Freed [email protected]
Commit-Queue: Joey Arhar [email protected]
Cr-Commit-Position: refs/heads/main@{#1369676}

merge_pr_48655

16 Oct 23:15
Compare
Choose a tag to compare

[text-decoration] Fix crashes for multiline ellipsis with ::first-line

The ellipsis should be styled according to the block[1]. It
was using the first-line style of the block, because it's the
common case, and it's the same style unless ::first-line is
applied.

This patch changes it to distinguish ellipsis on the first
line from other cases.

Wrong style can cause wrong rendering, but when
text-decoration is involved, it can confuse decoration box
calculation and result in crashes. This patch fixes both the
crashes and the correctness.

[1] https://www.w3.org/TR/css-overflow-3/#ellipsing-details

Fixed: 358957652
Change-Id: I26af0ae034876bdc0b0cc114670c52d24e2f36a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5936973
Commit-Queue: Kent Tamura [email protected]
Auto-Submit: Koji Ishii [email protected]
Reviewed-by: Kent Tamura [email protected]
Cr-Commit-Position: refs/heads/main@{#1369664}

merge_pr_48654

16 Oct 22:29
Compare
Choose a tag to compare

Remove TextCluster caching in TextMetrics

In a previous CL, the getTextClusters() API was implemented with a cache
for the created TextCluster objects. This API may include as a parameter
a dictionary with text align and baseline options. Since the cache is
used if it was already calculated, subsequent calls with different
options return clusters in the wrong positions.

This CL removes this cache to guarantee that the results are always
calculated from scratch taking into account the current options passed

Tests were added using the CanvasTest font to check that the positions
are coherent with the options passed.

A future CL with reincorporate this cache in a way that allows
offsetting the stored clusters following the current align and
baseline options passed.

Bug: 341213359
Change-Id: I4cabdb62d05a9c8763300c0d268d7794ca9f160b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5933690
Reviewed-by: Jean-Philippe Gravel [email protected]
Commit-Queue: Andres Ricardo Perez [email protected]
Cr-Commit-Position: refs/heads/main@{#1369650}

merge_pr_48650

16 Oct 17:48
Compare
Choose a tag to compare

[shared storage] Implement interestGroup()

Add interestGroups() to the shared storage worklet, to return the
Protected Audience interest groups associated with the
shared storage origin's owner, with some additional metadata.

Implement this behind a runtime feature, which is implicitly
controlled by a Finch flag.

Explainer PR: WICG/shared-storage#180

Spec PR(s):

  1. WICG/turtledove#1299
  2. WICG/shared-storage#203

Bug: 367992703
Binary-Size: Size increase is unavoidable.
Fuchsia-Binary-Size: Size increase is unavoidable.
Change-Id: I5fc5767fa53a91f021d64a871a6dd9cb88f4431c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5696046
Reviewed-by: Daniel Cheng [email protected]
Commit-Queue: Yao Xiao [email protected]
Cr-Commit-Position: refs/heads/main@{#1369483}

merge_pr_48649

16 Oct 15:13
Compare
Choose a tag to compare

[@container] stuck queries with writing direction changes

  • Fix a typo that caused stuck not to be dynamically changed with
    writing direction changes.
  • Add tests.
  • Remove TODO as the current behavior is the spec'ed behavior.

Bug: 40268059
Change-Id: Icc0fb12eeec5735d623bc5272916b7fc92ad5e5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5938224
Reviewed-by: Morten Stenshorne [email protected]
Commit-Queue: Rune Lillesveen [email protected]
Cr-Commit-Position: refs/heads/main@{#1369380}

merge_pr_48648

16 Oct 15:00
Compare
Choose a tag to compare

Support custom element reactions for moveBefore

  • A new custom element reaction: connectedMoveCallback
  • Called when the moved element is re-inserted
  • Falls back to calling disconnectedMove/connectedMove if not provided.

Bug: 40150299
Change-Id: I0d3ed83ca03bbffcd2db79d1c421d8d155a4d9c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5920804
Reviewed-by: Dominic Farolino [email protected]
Commit-Queue: Noam Rosenthal [email protected]
Cr-Commit-Position: refs/heads/main@{#1369383}

merge_pr_48645

16 Oct 10:46
bef6fa3
Compare
Choose a tag to compare

Test OKP algorithm normalization in crypto.subtle.importKey (#48645)

merge_pr_48643

16 Oct 10:25
Compare
Choose a tag to compare

Add view-transition-capture-mode CSS property

This property has the values of flat | layered, layered by
default.

  • Flat is the current way we capture view transition content
  • Layered is the new way, which captures box decorations and
    effects as style instead of baking them into the image.

Bug: 347947051
Change-Id: If70c8436ef34d194002452447dbd2d5ebedfa387
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5935195
Commit-Queue: Noam Rosenthal [email protected]
Reviewed-by: Khushal Sagar [email protected]
Cr-Commit-Position: refs/heads/main@{#1369285}

merge_pr_48640

16 Oct 07:57
Compare
Choose a tag to compare

sideways: Fix an issue of block fragmentation

Fix layout in sideways-rl writing mode.

  • transform-025.html is based on transform-014.html.

Bug: 40501131
Change-Id: I1f48af7f61460e88c10a8374ce39f2f6859991e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5932991
Reviewed-by: Morten Stenshorne [email protected]
Commit-Queue: Morten Stenshorne [email protected]
Auto-Submit: Kent Tamura [email protected]
Cr-Commit-Position: refs/heads/main@{#1369218}

merge_pr_48639

16 Oct 07:57
Compare
Choose a tag to compare

sideways: Support scroll anchoring

  • Store the anchor object offset as a LogicalOffset, not a block-
    flipped LayoutPoint
  • Add functions converting between LogicalOffset and gfx::Vector2d /
    gfx::PointF / ScrollOffset.

Bug: 40501131
Change-Id: I8d32b1a2a8e9fc6ade68f12188430ac768dd14d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5933384
Reviewed-by: Koji Ishii [email protected]
Auto-Submit: Kent Tamura [email protected]
Commit-Queue: Koji Ishii [email protected]
Cr-Commit-Position: refs/heads/main@{#1369217}