Releases: web-platform-tests/wpt
merge_pr_51536
Check if presentationTime exists before asserting its value since it's an optional attribute (#51536)
In PaintTimingMixin
, presentationTime
is an optional attribute:
[Exposed=Window]
interface mixin PaintTimingMixin {
readonly attribute DOMHighResTimeStamp paintTime;
readonly attribute DOMHighResTimeStamp? presentationTime;
};
In other tests we always have this if ("PresentationTime" in entry)
checks to make sure that they are present. But it seems like we missed
this test.
merge_pr_51525
Fix WPT scroll-start-overflow-toggled.tentative.html to properly await a requestAnimationFrame callback.
The pattern that the test was using, "await requestAnimationFrame", does
nothing because requestAnimationFrame doesn't return a Promise that could
be awaited.
To actually use 'await' to allow a requestAnimationFrame tick to pass, you need
to add your own Promise that gets resolved in requestAnimationFrame's callback,
as amended in this patch.
Differential Revision: https://phabricator.services.mozilla.com/D242551
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1955626
gecko-commit: 015e17880a341c5a017a978a16d3b8ff3de2ca9c
gecko-reviewers: emilio
merge_pr_51517
Make WhiteSpaceVisibilityKeeper::MergeFirstLineOfRightBlockElementIntoAncestorLeftBlockElement
ignore empty Text
nodes when scanning first character of the right block
Although, the empty text should've been removed, but it may happen without the
normalization. Therefore, the lambda should keep scanning the first visible
char with ignoring empty Text
nodes.
Additionally, there are similar methods which have the same lambda. Therefore,
this fixes them too.
I think we should make the scanner method take an option parameter to ignore
empty Text
in a follow up bug.
Differential Revision: https://phabricator.services.mozilla.com/D242264
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1955146
gecko-commit: 7a66a04b4fb05629534038b1325f0210c32c58e9
gecko-reviewers: m_kato
merge_pr_51376
Make input element display-inside always flow-root
Signed-off-by: Kenzie Raditya Tirtarahardja [email protected]
merge_pr_51528
Column rule painting for wrapped columns.
Not perfect, but hopefully good enough until we get CSSGapDecoration
(which is also required for row rules).
Refactor BoxFragmentPainter::PaintColumnRules() to avoid duplicated
logic for horizontal and vertical writing mode, and add support for
multiple consecutive rows (without intervening spanners). Also paint
column rules in the row gaps.
Add some getters for start offsets and sizes to LogicalRect.
PhysicalRect already has them.
Bug: 403183884
Change-Id: Ic866f4ba242da796ecd3ead093accfcc71a3feb8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6382075
Commit-Queue: Morten Stenshorne [email protected]
Reviewed-by: Xianzhu Wang [email protected]
Cr-Commit-Position: refs/heads/main@{#1436368}
merge_pr_51529
Translator: Implement abort for measureInputUsage
Implements the abort signal for measureInputUsage.
Fixed: 402136568
Change-Id: I0bdf8611d0c912f6f854a94c2ebe9250fb56ab50
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6350299
Reviewed-by: Christine Hollingsworth [email protected]
Commit-Queue: Nathan Memmott [email protected]
Cr-Commit-Position: refs/heads/main@{#1436339}
merge_pr_51526
Translator: Add inputQuota and measureInputUsage
Adds the inputQuota and measureInputUsage for translator. Always returns
+Infinity for inputQuota and 0 for measureInputeUsage since our
implementation doesn't have any limits. Only thing not implemented is the
abort signal.
Bug: 401927514
Change-Id: I71f25ea5e3576f58f392b588cfc12c7e9a1db864
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6350298
Commit-Queue: Nathan Memmott [email protected]
Reviewed-by: Christine Hollingsworth [email protected]
Reviewed-by: Sun Yueru [email protected]
Cr-Commit-Position: refs/heads/main@{#1436252}
merge_pr_51524
[Selection] delegated target text control are mouse event handled
We add the feature DelegatesFocusTextControlFix,
which fixes this case: when the mouse target element is a shadow host
with delegatesFocus, but its focusable area is a text control element.
Currently, this text control element will be marked as focused and not
handled. The selection will be set on where the click happened.
That is wrong because, in this case, focus and selection should both be
on the text control.
We fix this by updating the logic in MouseEventManager::HandleMouseFocus
- If focusable area is already focused, no need to re-focus and return
not handled so selection can be set where click happened. - Else, if focusable area is a text control, focus it and return
handled so selection stays on it. - Else, focus it and return not handled so selection can be set where
click happened.
Change-Id: I553aec3d49c6984194ae8eefe2ac95673429d8c7
Bug: 400317114
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6324829
Reviewed-by: Mason Freed [email protected]
Commit-Queue: Di Zhang [email protected]
Cr-Commit-Position: refs/heads/main@{#1436159}
merge_pr_51523
Remove framerate tests (#51523)
merge_pr_51522
Add TT violation checks for workers with complex CSP list. (#51522)
Closes w3c/trusted-types#574
Closes w3c/trusted-types#575