Skip to content

Releases: web-platform-tests/wpt

merge_pr_54204

11 Aug 06:14
0930da7
Compare
Choose a tag to compare

Digital credential: promise should reject if frame is destroyed (#54204)

  • Digital credential: promise should reject if frame is destroyed

  • Apply suggestions from code review

Co-authored-by: Copilot [email protected]


Co-authored-by: Copilot [email protected]

merge_pr_54225

10 Aug 15:45
Compare
Choose a tag to compare

Exclude anchor() and anchor-size() functions from MISU

These functions can become invalid at computed value time, even though
they are not substitution functions. MISU [1] is not able handle this,
so we just exclude those values.

[1] CL:3412160

Fixed: 436621815
Change-Id: Ifa8b57cf339911fbb8cdb9aba1a61f451a810a7d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6830645
Commit-Queue: Anders Hartvoll Ruud [email protected]
Reviewed-by: Steinar H Gunderson [email protected]
Cr-Commit-Position: refs/heads/main@{#1499331}

merge_pr_54221

09 Aug 17:26
c5ffc0f
Compare
Choose a tag to compare

merge_pr_54211

09 Aug 06:00
Compare
Choose a tag to compare

Cookie Store API: trimming of TAB and SPACE

merge_pr_54217

08 Aug 21:01
Compare
Choose a tag to compare

Writing Assistance APIs: Update unsupported language codes in WPTs

Fixed: 407988949
Change-Id: Icd7eefe17d37f02bee713204cb360c7d492fd2a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6828698
Auto-Submit: Mike Wasserman [email protected]
Commit-Queue: Mike Wasserman [email protected]
Reviewed-by: Clark DuVall [email protected]
Commit-Queue: Clark DuVall [email protected]
Cr-Commit-Position: refs/heads/main@{#1498993}

merge_pr_54215

08 Aug 20:17
Compare
Choose a tag to compare

[gap-decorations] Interpolation with repeaters for *-rule-color

This CL implements Interpolation for *-rule-color for repeaters.

In order to handle repeaters, we add a new InterpolableType
InterpolableGapDataRepeater which handles interpolation for repeaters
by essentially keeping a member InterpolableList of the values in the
repeater and interpolating those individually through that type.

The overall structure of interpolation for gap decorations will be as
follows:

CSSGapLengthListInterpolationType handles interpolation for
GapDataList We then hand off the actual interpolation with an
InterpolableList of InterpolableLength,
InterpolableGapDataRepeater (which itself contains an
InterpolableList of InterpolableLengths) and InterpolableColor.

InterpolableGapDataRepeater is templated, in order to handle for
interpolation for column/row-rule-color as well as width.

For now we are implementing mirroring the behavior of grid-template
interpolation (which can be a list of values with repeaters), in which
we only interpolate if the length of the lists match. If this changes
after spec discussions then the test will be updated.

https://www.w3.org/TR/css-gaps-1/#lists-repeat

Bug: 357648037, 419066541

Change-Id: I317b0c059a901d8eafa722aa71b878c4ecde3eda
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6734136
Commit-Queue: Javier Contreras [email protected]
Reviewed-by: Robert Flack [email protected]
Cr-Commit-Position: refs/heads/main@{#1498969}

merge_pr_54214

08 Aug 19:47
Compare
Choose a tag to compare

[gap-decorations] Change rule-paint-order to rule-overlap

This CL updates the property to the new name as per the resolution
in w3c/csswg-drafts#12540.

Bug: 357648037
Change-Id: I921849351e9b31609a1120a3a96e3c75d0268bbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6829006
Reviewed-by: Alison Maher [email protected]
Commit-Queue: Javier Contreras [email protected]
Cr-Commit-Position: refs/heads/main@{#1498954}

merge_pr_54210

08 Aug 13:19
Compare
Choose a tag to compare

Unify paths for constructing the style sheet list.

We used to have three different ways of constructing the DOM-visible
style sheet list (document.styleSheets), and one of them (the one
for documents) would mistakenly include adopted style sheets as part
of the list. This meant that document.styleSheets could differ
depending on whether we had recently updated RuleSets or not.

Make every path call the existing fast path (the one that only
constructs this list, not RuleSets and such), fixing the problem.
Also, add a test.

Fixed: 437259105
Change-Id: Ida596657053af3a4a380ac5909f9fc6ed011a97d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6832391
Commit-Queue: Steinar H Gunderson [email protected]
Reviewed-by: Rune Lillesveen [email protected]
Commit-Queue: Rune Lillesveen [email protected]
Auto-Submit: Steinar H Gunderson [email protected]
Cr-Commit-Position: refs/heads/main@{#1498720}

merge_pr_54206

08 Aug 19:24
Compare
Choose a tag to compare

Treat SVG documents in / as replaced elements

SVG documents loaded inside or elements were being
treated as regular iframe content rather than as replaced elements. As a
result, CSS properties like object-fit and object-position were being
ignored.

This CL modifies LayoutEmbeddedContent::ReplacedContentRectFrom() to
detect SVG documents and apply the replaced element logic of their base
class, making SVG content behave like images.

The test external/wpt/fullscreen/rendering/backdrop-object.html started
failing as a result of this CL, because the default value of
object-position is not what the reference assumed. Since this
functionality is outside the focus of that test, the solution was to
explicitly align object-position with the expectations of the reference.

Bug: 40747033, 41302806
Change-Id: I8681636a18232127df67e899e6fc1070864f68cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6821135
Reviewed-by: Koji Ishii [email protected]
Reviewed-by: Kent Tamura [email protected]
Commit-Queue: Felipe Erias [email protected]
Cr-Commit-Position: refs/heads/main@{#1498641}

merge_pr_54205

08 Aug 06:52
Compare
Choose a tag to compare

Fix incorrect usage of percentage unit in tab-size test

This CL changes the incorrect use of word-spacing: 100% to 1ch in
the tab-size-spacing-003.html test.

In CSS Text Level 4, percentage values for word-spacing are defined to
resolve against the computed font-size of the element, not the advance
width of the space character. Meanwhile, tab-size is defined as a
multiple of the advance width of U+0020.

As a result, comparing tab-size alignment to spacing derived from
word-spacing: 100% mixes unrelated units and leads to an invalid test
condition.

This patch replaces the percentage value with 1ch to preserve the test
intent while ensuring spec compliance.

Specs:

Bug: 41435273
Change-Id: If1564727af832210af495096bd46786b80969f29
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6815996
Reviewed-by: Kent Tamura [email protected]
Reviewed-by: Koji Ishii [email protected]
Commit-Queue: Minseong Kim [email protected]
Cr-Commit-Position: refs/heads/main@{#1498615}