Skip to content

Releases: web-platform-tests/wpt

merge_pr_50440

03 Feb 13:01
Compare
Choose a tag to compare

Add support for inline if function

Current implementation compares computed custom property's value with
a raw query specified value. This might cause some of the queries with
registered custom properties to be evaluated incorrectly. See failing
test in external/wpt/css/css-values/if-style-query.html.

Comparison with computed query specified value to be done in the next
CL.

Bug: 346977961
Change-Id: I998cf13836796c65a618c08385bfa5e93d010c3c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6179820
Commit-Queue: Munira Tursunova [email protected]
Reviewed-by: Anders Hartvoll Ruud [email protected]
Cr-Commit-Position: refs/heads/main@{#1414842}

merge_pr_50436

03 Feb 10:37
Compare
Choose a tag to compare

[anchor] Avoid negative IMCB correctly with scroll shift.

When a positioned box is tethered both to an anchor and the original
containing block (e.g. position-area:top), and the relevant anchor edge
is scrolled out of view, the inset-modified containing block size needs
to be clamped to zero. At the same time, the inset that's auto should be
adjusted so that the border box of the positioned element steers clear
of the relevant anchor edges.

We used to check if the inset at the opposite side of the anchor was
zero, and adjust it accordingly if that was the case. But the comparison
with zero wasn't correct when there was a default scroll shift. Rather
than fixing it by comparing to the default scroll shift, clean up the
code to check if the relevant inset is specified or not, which is what
the code really wanted to do.

Bug: 373874012
Change-Id: Ic98f63d8098eb0c8a7192b3bc0d1b5efa5194f74
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6218569
Commit-Queue: Morten Stenshorne [email protected]
Reviewed-by: Ian Kilpatrick [email protected]
Reviewed-by: Rune Lillesveen [email protected]
Cr-Commit-Position: refs/heads/main@{#1414807}

merge_pr_50435

03 Feb 10:03
Compare
Choose a tag to compare

IDB WPTs: Extend idbobjectstore related tests to workers

The update modifies idbobjectstore related WPTs to run not
only in window environments but also on dedicated, service, and shared
workers.

Change-Id: Icc13423f5b76f5a79bc60f7f496312d465f90577
Bug: 41455766
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6197783
Reviewed-by: Steve Becker [email protected]
Reviewed-by: Rahul Singh [email protected]
Commit-Queue: Garima Chadha [email protected]
Auto-Submit: Garima Chadha [email protected]
Cr-Commit-Position: refs/heads/main@{#1414801}

merge_pr_50433

03 Feb 08:56
Compare
Choose a tag to compare

Consider for ImplicitAnchorElement() for ShouldStoreOldStyle()

Elements with multiple recalc passes need to store the old Element
ComputedStyle at the start of the lifecycle update to have the correct
before-change style for transitions. Anchored elements have multiple
recalc passes because of layout based anchor evaluations.
ShouldStoreOldStyle() checked for this, but did not include checking
ImplicitAnchorElement().

In the specific case it meant we ended up with an intermediate null
base style for a display:block -> display:none transition which caused
a crash.

Bug: 392042073
Change-Id: I1718c65b7c91a4a67d611333afd1214313baae22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6219263
Reviewed-by: Joey Arhar [email protected]
Commit-Queue: Rune Lillesveen [email protected]
Cr-Commit-Position: refs/heads/main@{#1414784}

merge_pr_50431

03 Feb 08:03
b98f599
Compare
Choose a tag to compare

Add three dialog crash tests (#50431)

  • Test calling requestClose on an initially open dialog.

  • Test having closedby="closerequest" on an initially open dialog.

  • Test adding closedby="closerequest" attribute to an initially open dialog.

merge_pr_50429

03 Feb 04:21
7da77c4
Compare
Choose a tag to compare

[css-fonts] font-style: oblique 0deg should serialize as font-style: normal (#50429)

Updates font-style tests to match the CSS WG resolution on "font-style: oblique 0deg" serialization.

Export made from a WebKit repository (2f2b93f7).

merge_pr_50427

03 Feb 02:07
Compare
Choose a tag to compare

Remove invalid assertion from line-breaker hyphenation code.

Differential Revision: https://phabricator.services.mozilla.com/D236438

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1945227
gecko-commit: ab5162e78f1f2cd7b369cdca1e2f30f0812c2774
gecko-reviewers: layout-reviewers, emilio

merge_pr_50426

03 Feb 01:58
Compare
Choose a tag to compare

Add more tests for 'discard' edge cases in SVG animations

Differential Revision: https://phabricator.services.mozilla.com/D236396

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1941039
gecko-commit: f1aaa179bcb516b1b985c75f03349643df5ba80b
gecko-reviewers: dholbert

merge_pr_50419

03 Feb 12:29
f8c1296
Compare
Choose a tag to compare

[wdspec] fix browsingContext.navigationCommitted test (#50419)

merge_pr_50430

02 Feb 22:03
Compare
Choose a tag to compare

[anchor] Handle flipping anchor(inside) and anchor(outside) values.

If position-try-fallbacks on an anchored element says to flip, we didn't
handle anchor(inside) and anchor(outside) insets (and therefore trigger
a NOTREACHED()). They are very easy to flip, though. Just return the
same value.

Change-Id: Ia63df58e72de29ed837bb12040e46ed493694386
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6218370
Commit-Queue: Morten Stenshorne [email protected]
Reviewed-by: Anders Hartvoll Ruud [email protected]
Cr-Commit-Position: refs/heads/main@{#1414703}