Skip to content

Releases: web-platform-tests/wpt

merge_pr_51935

11 Apr 02:00
Compare
Choose a tag to compare

corner-shape: remove curvature adjustment

Curvature adjustment created the illusion that the border had
consistent thickness.

However, the thicker the border, the closer the inner curvature came
to scoop/straight, and stopped resembling the original shape.

Undoing the curvature adjustment - as having a bit of a belly in the
very high/low curvatures is better than not having an inner shape.

Bug: 399449172
Change-Id: I84da4f36b10edbf1fa3f3f8a3b6270e5dc9c440f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6443779
Commit-Queue: Noam Rosenthal nrosenthal@chromium.org
Reviewed-by: Fredrik Söderquist fs@opera.com
Cr-Commit-Position: refs/heads/main@{#1445212}

merge_pr_51931

11 Apr 03:37
Compare
Choose a tag to compare

SpeculationRules: Add WPT for deduped and sorted speculation tags within rule level

This is a follow-up of https://crrev.com/c/6438143.

Unlike the test added by the previous CL, the new test case checks if
tags are deduped and sorted when they are specified only within rule
level (no tags on ruleset level). In this case, no tags on one of the
rules should result in the null tag.

Bug: 404294138
Change-Id: I1c215845fa40b3b25e6bdf1786bab1cb155b3227
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440785
Commit-Queue: Hiroki Nakagawa nhiroki@chromium.org
Reviewed-by: Domenic Denicola domenic@chromium.org
Cr-Commit-Position: refs/heads/main@{#1445633}

merge_pr_51896

11 Apr 12:08
Compare
Choose a tag to compare

Mark arguments in CoordinatesOptions class as optional explicitly

merge_pr_51521

11 Apr 10:40
d18f7a5
Compare
Choose a tag to compare

Add ViewTransitionLongCallbackTimeoutForTesting to Chrome runs (#51521)

merge_pr_51940

10 Apr 23:00
Compare
Choose a tag to compare

[gap-decorations] Making PaintGaps conform to collapsing border model

https://drafts.csswg.org/css-gaps-1/#column-row-rule-style
https://www.w3.org/TR/CSS2/tables.html#collapsing-borders

This CL fixes an issue where we were not conforming to the collapsing
border model for rule-style properties for gap decorations.

Namely this means that we draw inset style as ridge, and we draw
outset style as groove.

Bug: 357648037
Change-Id: I514bca545d28c104fe92c26f18018fbceca119f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6442638
Reviewed-by: Alison Maher almaher@microsoft.com
Commit-Queue: Javier Contreras javiercon@microsoft.com
Reviewed-by: Sam Davis Omekara samomekarajr@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1445555}

merge_pr_51939

10 Apr 23:24
Compare
Choose a tag to compare

[animation-trigger] Restrict ActionAnimation to PhaseAndTime changes

Iterating over all of AnimationTimeline's animations every frame could
be wasteful and affect performance. Instead, we can restrict the calls
to ActionAnimations to only when the phase and time of a progress-based
timeline change. This doesn't change any web-observable behavior.

[1] https://source.chromium.org/chromium/chromium/src/+/c239defb88a349021dbb583622ac6809154d9547:third_party/blink/renderer/core/animation/animation_timeline.cc;l=99-103

Bug: 390314945, 405085123
Change-Id: Id3231cc99d71896470a14732e9b27387d0ca078a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6431774
Commit-Queue: David Awogbemila awogbemila@chromium.org
Reviewed-by: Kevin Ellis kevers@chromium.org
Cr-Commit-Position: refs/heads/main@{#1445571}

merge_pr_51937

10 Apr 18:00
Compare
Choose a tag to compare

Add WPT expectations for pointerevents click/auxclick button(s)

This is for the following w3c/pointerevents tasks:

Replacing the inline <body onload="run()"> with a window 'load'
event handler that's setup during promise_setup. Ensures setup is
handled before running any promise_test, and fixes an issue where
the test flakily failed to load because it couldn't find run().

Adding test expectations for button and buttons event properties.

Change-Id: Ifad532ad6f3bae25977be1eaa649f699408f7387
Bug: None
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440250
Reviewed-by: Robert Flack flackr@chromium.org
Commit-Queue: Adam Ettenberger Adam.Ettenberger@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1445361}

merge_pr_51936

10 Apr 16:38
075fc8a
Compare
Choose a tag to compare

Sync interfaces/ with @webref/idl 3.61.4 (#51936)

Co-authored-by: wpt-pr-bot wpt-pr-bot@users.noreply.github.com

merge_pr_51930

10 Apr 08:07
378a591
Compare
Choose a tag to compare

Fix CSP trusted-types/require-trusted-types-for tests for required-ascii-whitespace (#51930)

  • U+000A LINE FEED breaks the header field value into two lines so make sure
    that "the continuation line begins with a space or horizontal tab" in
    accordance with https://www.rfc-editor.org/rfc/rfc2616
  • Adds back corresponding test for trusted-types directive that was removed in
    #51635
  • For require-trusted-types-for directive, it was enough for browsers to only
    successfully parse at least one 'script' token so the problem with U+000A was
    not observable, and Chromium bug with U+0D either. Split the test into
    multiple subtests that only use a single 'script' to make it more robust.

merge_pr_51929

10 Apr 08:02
Compare
Choose a tag to compare

Fix the result of getBoundingClientRect() when the collapsed range is after a newline

When the caret is positioned after the newline character, the value
returned by Range.getBoundingClientRect() is the end of the current
line. However, it should actually return to the first position of the
next line. LayoutText::AbsoluteQuadsForRange skips FragmentItem when
the item is LineBreak and the range is collapsed.

Bug: 355578908
Change-Id: I3b594edbe58e2a162c75cc8529209de04d628741
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440901
Reviewed-by: Kent Tamura tkent@chromium.org
Commit-Queue: Peng Zhou zhoupeng.1996@bytedance.com
Cr-Commit-Position: refs/heads/main@{#1445129}