Releases: web-platform-tests/wpt
merge_pr_49315
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=282962 (#49315)
merge_pr_49312
[@scope] Pass TreeScope separately to SelectorChecker
The scope
member of SelectorCheckingContext is currently used
for several closely related (but different) things, causing subtle
bugs and a hard-to-understand model.
To address this, pass the TreeScope to SelectorChecker separately,
and use context.tree_scope for ShadowRoot-dependent decisions
in selector matching.
The context.scope
field is now only used for two things:
- For matching the :scope pseudo-class.
- For creating the default activation for @scope.
This fixes Issue 377647716, because since we no longer "clobber"
context.scope during scope activation, making ParentElement
traverse to the shadow host.
Fixed: 377647716
Change-Id: I833f1dfb03c092927712bc6fd649a414a45ac7a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6035173
Reviewed-by: Rune Lillesveen [email protected]
Commit-Queue: Anders Hartvoll Ruud [email protected]
Cr-Commit-Position: refs/heads/main@{#1386249}
merge_pr_49311
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 [email protected]
Commit-Queue: Steinar H Gunderson [email protected]
Cr-Commit-Position: refs/heads/main@{#1386209}
merge_pr_49309
Correct aria spelling (#49309)
merge_pr_49308
Sync interfaces/ with @webref/idl 3.56.1 (#49308)
Co-authored-by: wpt-pr-bot [email protected]
merge_pr_49306
[@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 [email protected]
Reviewed-by: Anders Hartvoll Ruud [email protected]
Auto-Submit: Rune Lillesveen [email protected]
Cr-Commit-Position: refs/heads/main@{#1386131}
merge_pr_49305
[@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]
Bug: 40279568
Change-Id: I8a1ef18c438810cc38cda64ce59a00517e0ab625
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6022975
Commit-Queue: Rune Lillesveen [email protected]
Reviewed-by: Anders Hartvoll Ruud [email protected]
Cr-Commit-Position: refs/heads/main@{#1386118}
merge_pr_49304
[@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]
Bug: 367764865
Change-Id: I125db5e5eced86da6404aa0bc5469830278d0ca9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6022915
Reviewed-by: Anders Hartvoll Ruud [email protected]
Commit-Queue: Rune Lillesveen [email protected]
Cr-Commit-Position: refs/heads/main@{#1386111}
merge_pr_49303
Adding rescaling support to WMFMediaDataEncoder
This patch adds rescaling support to WMFMediaDataEncoder.
It fixes distorted Images when rescaling.
Furthermore, wpt tests are added to find similar errors on other platforms.
Includes revisions by chunmin
Differential Revision: https://phabricator.services.mozilla.com/D225445
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1921623
gecko-commit: 4cb52934d7d78871ce24accde75fee8a67108373
gecko-reviewers: chunmin
merge_pr_49302
Prevents for h264 attaching SPS and PPS Nalu if already present on Windows
This patch prevents adding the SPS and PPS present in extradata WMFMediaDataEncoder,
if the data already contains SPS and PPS. Otherwise, the resulting Byte stream would
not be spec complained and be rejected by Chromium, for example.
It also includes a WPT test.
Differential Revision: https://phabricator.services.mozilla.com/D226985
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1927280
gecko-commit: 8588b5f0f391f973a081a9495182dc73135b388b
gecko-reviewers: chunmin