Skip to content

Releases: web-platform-tests/wpt

merge_pr_51536

23 Mar 18:03
d8d2c75
Compare
Choose a tag to compare

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

23 Mar 14:13
Compare
Choose a tag to compare

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

23 Mar 14:12
Compare
Choose a tag to compare

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

23 Mar 01:48
Compare
Choose a tag to compare

Make input element display-inside always flow-root

Signed-off-by: Kenzie Raditya Tirtarahardja [email protected]

merge_pr_51528

22 Mar 00:30
Compare
Choose a tag to compare

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

21 Mar 23:53
Compare
Choose a tag to compare

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

21 Mar 21:17
Compare
Choose a tag to compare

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

21 Mar 19:22
Compare
Choose a tag to compare

[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

  1. If focusable area is already focused, no need to re-focus and return
    not handled so selection can be set where click happened.
  2. Else, if focusable area is a text control, focus it and return
    handled so selection stays on it.
  3. 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

21 Mar 17:56
5d8dbe3
Compare
Choose a tag to compare

Remove framerate tests (#51523)

merge_pr_51522

21 Mar 17:59
1bd696a
Compare
Choose a tag to compare

Add TT violation checks for workers with complex CSP list. (#51522)

Closes w3c/trusted-types#574
Closes w3c/trusted-types#575