Skip to content

Releases: web-platform-tests/wpt

merge_pr_49311

21 Nov 14:36
Compare
Choose a tag to compare

Make ConsumeNumberOrPercent() not crash on unresolvable calc().

Instead of calling GetDoubleValue() on percentage calc expressions,
we just return them directly, and then add a new rule saying that
ComputeNumber() on them returns the percentage value divided by 100.
This avoids crashes when we try to force them during parsing.

This also takes us halfway towards fixing the opacity-valid.html test;
we no longer convert it into just a double (without surrounding calc()),
but since we don't properly simplify comparison expressions containing
percentages, we don't simplify as much as we should either, so the test
is still broken. (And even after that, we'd probably need to convert
percentages to decimals inside calc for such properties.)

Change-Id: I8e0e25c35d3df82da75cfb1cf551d7f25d825696
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6037437
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Commit-Queue: Steinar H Gunderson sesse@chromium.org
Cr-Commit-Position: refs/heads/main@{#1386209}

merge_pr_49309

21 Nov 14:36
266d54d
Compare
Choose a tag to compare

Correct aria spelling (#49309)

merge_pr_49306

21 Nov 10:42
Compare
Choose a tag to compare

[@container] Rename overflowing scroll-state to scrollable

Resolved in [1].

[1] w3c/csswg-drafts#11182 (comment)

Bug: 367764865
Change-Id: Id268190787ed876aff7afefdf9b3bad9ce9e23eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6022976
Commit-Queue: Rune Lillesveen futhark@chromium.org
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Auto-Submit: Rune Lillesveen futhark@chromium.org
Cr-Commit-Position: refs/heads/main@{#1386131}

merge_pr_49305

21 Nov 10:06
Compare
Choose a tag to compare

[@container] Add support for scroll-state(snapped:both)

A new value for snapped when snapped in both directions. This is
sugaring for scroll-state((snapped:x) and (snapped:y)).

Based on request in [1]

[1] w3c/csswg-drafts#11181

Bug: 40279568

Change-Id: I8a1ef18c438810cc38cda64ce59a00517e0ab625
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6022975
Commit-Queue: Rune Lillesveen futhark@chromium.org
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Cr-Commit-Position: refs/heads/main@{#1386118}

merge_pr_49304

21 Nov 09:46
Compare
Choose a tag to compare

[@container] Add support for scroll-state(overflowing) axis

Add new values for matching axis instead of edge for overflowing: block,
inline, x, y.

These are convenience keywords. For instance:

scroll-state(overflowing: x)

is the same as:

scroll-state((overflowing: left) or (overflowing: right))

Based on request in [1]

[1] w3c/csswg-drafts#11183

Bug: 367764865
Change-Id: I125db5e5eced86da6404aa0bc5469830278d0ca9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6022915
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Commit-Queue: Rune Lillesveen futhark@chromium.org
Cr-Commit-Position: refs/heads/main@{#1386111}

merge_pr_49293

21 Nov 00:34
Compare
Choose a tag to compare

webnn: Support int4 dequantization and per-channel quantization

1, Emulate the quantize operation whose calculation follows the
expression clamp(tfl.round(input / scale) + zeroPoint, 0, 255).
2, Support pre-channel quantization and dequantization
3, Support int4 dequantization, but quantization operation doesn't
support int4 for tfl.quantize operator and it can't be emulated
because the cast operation also doesn't support int4.

Bug: 375614290, 376722724
Change-Id: Iccbf69d8426e5729b35455357c99f00effaa21e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6015965
Commit-Queue: Junwei Fu junwei.fu@intel.com
Reviewed-by: ningxin hu ningxin.hu@intel.com
Reviewed-by: Reilly Grant reillyg@chromium.org
Cr-Commit-Position: refs/heads/main@{#1385963}

merge_pr_49292

21 Nov 10:42
Compare
Choose a tag to compare

Add nested ::marker styling test

Bug: 40701702
Change-Id: I07dc97746f99db1bab4a9ebf613c4ff304dd5a9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6037592
Reviewed-by: Rune Lillesveen futhark@chromium.org
Commit-Queue: Daniil Sakhapov sakhapov@chromium.org
Auto-Submit: Daniil Sakhapov sakhapov@chromium.org
Cr-Commit-Position: refs/heads/main@{#1386139}

merge_pr_49298

20 Nov 21:22
0829f93
Compare
Choose a tag to compare

[wptrunner] Recognize "tab crashed" as a crash status code. (#49298)

merge_pr_49296

20 Nov 21:33
Compare
Choose a tag to compare

Only skip item-less container fragments when past 1st inline fragment.

As already noted, InlineCursor is capable of taking us to the
first container fragment for a LayoutInline, so don't examine fragments
preceding this one.

Bug: 379779786
Change-Id: I3471c2253acdca29851ec15df703e237ac1cb422
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6035412
Reviewed-by: Koji Ishii kojii@chromium.org
Commit-Queue: Morten Stenshorne mstensho@chromium.org
Reviewed-by: Xianzhu Wang wangxianzhu@chromium.org
Cr-Commit-Position: refs/heads/main@{#1385875}

merge_pr_49295

20 Nov 19:01
Compare
Choose a tag to compare

IDB WPTs: Extend event-dispatch-active-flag IDB WPT to workers

This IndexedDB WPT currently only runs in a window environment. This
change extends it to also run in dedicated, shared, and service worker
environments. As part of this update, repetitive code has been pulled
out into helper methods.

Bug: 41455766
Change-Id: I018cb4649449bf4d7bbdaa9b6b13ee861d53cc0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5951326
Reviewed-by: Abhishek Shanthkumar abhishek.shanthkumar@microsoft.com
Commit-Queue: Rahul Singh rahsin@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1385763}