Releases: web-platform-tests/wpt
merge_pr_49314
Add "remoteAsyncEvents" and "sessionHistoryInParent" keywords in the list of update_properties for wpt-update command.
Differential Revision: https://phabricator.services.mozilla.com/D229771
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1932597
gecko-commit: c1a15d8f1a23b026bb4e33c2adf5871e41d9a776
gecko-reviewers: jgraham
merge_pr_49313
Ensure inline elements inside an empty line has zero block-size and no baseline in scrolled block frames.
Differential Revision: https://phabricator.services.mozilla.com/D229709
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1931466
gecko-commit: 160977ed2e6cd8576c70840d388d1a6bcfc07262
gecko-reviewers: layout-reviewers, dholbert
merge_pr_49320
Fix leak in single-touch.html
This test could trigger leak detection since not waiting on pointerup
after all of the async tests have completed.
Actions().send() does not wait on the dispatched events to be handled.
Each async test marked itself as done once the expected event was
received. Refactored to be a promise driven test.
2 flakes out of 100 runs without the fix.
0 flakes out of 500 runs with the fix.
Bug: 40945204
Change-Id: I5468e3bc67ecdfa5c09e53a705abdcbc22024cde
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6033293
Commit-Queue: Kevin Ellis [email protected]
Reviewed-by: Mustaq Ahmed [email protected]
Cr-Commit-Position: refs/heads/main@{#1386408}
merge_pr_49319
VT: Deflake nothing captured view transition test.
Instead of relying on a double rAF, use waitForCompositorReady in
an attempt to deflake the test.
Also update the takeScreenshot condition to await the ready
promise instead of a double raf.
Bug: 378536381, 378637954
Change-Id: Icc54a556d7b26d9d74bb9b7fd39a25aef6adccd5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6041322
Commit-Queue: Vladimir Levin [email protected]
Reviewed-by: Kevin Ellis [email protected]
Cr-Commit-Position: refs/heads/main@{#1386391}
merge_pr_49317
DOM: Support disconnected->disconnected moveBefore()
Per discussion in whatwg/dom#1307, we've
decided to support moveBefore()
in the disconnected->disconnected
scenario. This CL enables and tests that.
Bug: 40150299
Change-Id: Ia0cf64a1a623c53ed5d9ae01b50b0e04f7028da2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6037586
Reviewed-by: Noam Rosenthal [email protected]
Commit-Queue: Dominic Farolino [email protected]
Cr-Commit-Position: refs/heads/main@{#1386266}
merge_pr_49316
[css-pseudo] Fix marker-text-combine-upright.html
This test was failing for 2 reasons:
-
::marker had
text-align: start
andtext-align-last: start
as
important UA rules, while the style adjuster only enforces
text-align: center
in the presence oftext-combine-upright: all
.
This resulted intext-align: center; text-align-last: start
.Arguably the style adjuster should also set
text-align-last
,
but a smaller fix is changing the important UA rule for ::marker
totext-align-last: auto
. Notetext-align-last: auto
behaves as
text-align-last: start
whentext-align: start
, so the change
has no effect in the great majority of cases. -
The style adjuster enforces
white-space: pre
on outside markers,
even if the test usesall: unset
.So this changes the test reference to expect
white-space: pre
,
and explicitly setswhite-space: pre
in the test for Firefox.
Bug: 1060007
TEST=external/wpt/css/css-pseudo/marker-text-combine-upright.html
Change-Id: I06e6ac4034abadf956b9d7194b945c9a2c338542
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6021669
Commit-Queue: Oriol Brufau [email protected]
Reviewed-by: Rune Lillesveen [email protected]
Cr-Commit-Position: refs/heads/main@{#1386262}
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)