Skip to content

Releases: web-platform-tests/wpt

merge_pr_52068

19 Apr 03:46
Compare
Choose a tag to compare

[layout] Fix infinite loop in InlineLayoutAlgorithm::Layout.

Is was possible to get into a state where the line-block-size was
flipping between two values, triggering an infinite loop. Ensure that
the line-block-size always increases.

Fixed: 379143305,389713711
Change-Id: I3f0181db42054a9c908e8b4ab4eba03e58ad1e7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6150034
Auto-Submit: Ian Kilpatrick [email protected]
Reviewed-by: David Grogan [email protected]
Commit-Queue: Ian Kilpatrick [email protected]
Cr-Commit-Position: refs/heads/main@{#1449109}

merge_pr_52067

19 Apr 00:28
Compare
Choose a tag to compare

Add all pseudo classes for interesttarget

This adds (to the existing :has-interest) three more pseudo
classes for interesttarget:

  • :has-partial-interest
  • :target-of-interest
  • :target-of-partial-interest

The "partial" interest classes match only when an element has
partial interest, when it has been activated via keyboard focus.
The "target-*" classes match the target rather than the
invoker, and work similarly.

Bug: 326681249
Change-Id: I0267d37a3f4c62de9a8b0c4c11b20b94a4d18f3a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6434584
Reviewed-by: David Baron [email protected]
Commit-Queue: David Baron [email protected]
Auto-Submit: Mason Freed [email protected]
Cr-Commit-Position: refs/heads/main@{#1449065}

merge_pr_52065

18 Apr 22:54
Compare
Choose a tag to compare

[gap-decorations] Serialization test

This CL adds a serialization test for the different properties
introduced for CSS Gap Decorations.

Bug: 357648037
Change-Id: I0495a8de36ca12aa9b225636d23e8fd11e249019
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6473027
Commit-Queue: Javier Contreras [email protected]
Reviewed-by: Kurt Catti-Schmidt [email protected]
Cr-Commit-Position: refs/heads/main@{#1449034}

merge_pr_52064

18 Apr 21:01
Compare
Choose a tag to compare

Make default min sizes for customizable select work better in flex/grid context.

This makes the change proposed in
w3c/csswg-drafts#12085

whatwg/html#10670 has been updated with this
change.

Change-Id: I046d73477e15ce6342f2c00193f8131d025c8e2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6462875
Reviewed-by: Joey Arhar [email protected]
Commit-Queue: David Baron [email protected]
Cr-Commit-Position: refs/heads/main@{#1448995}

merge_pr_52063

18 Apr 21:00
Compare
Choose a tag to compare

[Language Detector] Integrate Permissions Policy

Updates the Language Detector API from being
accessed from third-party iframes, unless there is a
permission policy being delefated from the top-level Window.

Spec:
webmachinelearning/translation-api#45

Bug: 402166942
Change-Id: Ifbdabc3c8ee1098530dfabddb0d0c157aa40beb2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6468598
Reviewed-by: Nathan Memmott [email protected]
Commit-Queue: Christine Hollingsworth [email protected]
Cr-Commit-Position: refs/heads/main@{#1448992}

merge_pr_52061

18 Apr 08:13
Compare
Choose a tag to compare

[Editing] Change Text Iterator Behavior in ApplyBlockStyle

Currently, start_index and end_index are calculated in
|ApplyBlockStyle| without iterating in open shadow roots. However,
|PlainTextRange.CreateRangeForSelection| iterates inside open shadow
roots. Due to this discrepancy, the RemoveFormat command removes the
style of the wrong selection.
To resolve this issue, the text iterator behavior has been changed
in |ApplyBlockStyle| to iterate within open shadow roots.

Bug: 409714583
Change-Id: If42d8914485abb167b5f769277a94ea5e25fcc9f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6458257
Reviewed-by: Kent Tamura [email protected]
Commit-Queue: Shweta Bindal [email protected]
Reviewed-by: Sambamurthy Bandaru [email protected]
Cr-Commit-Position: refs/heads/main@{#1448767}

merge_pr_52060

18 Apr 17:20
7f33a33
Compare
Choose a tag to compare

[no-vary-search] add first web test for NoVarySearch HTTP Cache (#52060)

This CL also adds a new member to the request object to specify
additional URL parameters in order to verify that the NVS header is
obeyed.
How it is tested:

  1. The first request specifies url_params, so UA fetches
    ${base_url}resources/http-cache.py?dispatch=test&uuid=${uuid}&a=1&b=2.
  2. The first request asks server to responsd ("No-Vary-Search", "params, except=("dispatch" "uuid")"), and the server does so.
  3. UA stores the response to NVS HTTP Cache
  4. The second request does not specify url_params, so UA fetches
    ${base_url}resources/http-cache.py?dispatch=test&uuid=${uuid}
  5. NVS HTTP cache finds even though the URLs are different, the new
    request's URL should be treated the same as the first request's URL.
  6. NVS HTTP cache handles the fetch request, so no request is sent to
    server.

Bug: 382394774
Change-Id: Ia58097170117ede42da52762e038756c57b6bdd4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6463471
Reviewed-by: Kenichi Ishibashi [email protected]
Reviewed-by: Adam Rice [email protected]
Commit-Queue: Lingqi Chi [email protected]
Cr-Commit-Position: refs/heads/main@{#1448736}

Co-authored-by: Lingqi Chi [email protected]

merge_pr_52059

18 Apr 12:28
328fa1c
Compare
Choose a tag to compare

Adds the link to webkit bug (#52059)

Added the link to https://bugs.webkit.org/show_bug.cgi?id=291728

merge_pr_52054

18 Apr 03:16
Compare
Choose a tag to compare

[layout] Fix intrinsic-sizes cache crash.

Within BlockNode::ComputeMinMaxSizes there is a branch which checks:
UseParentPercentageResolutionBlockSizeForChildren

This incorrectly returned true for a quirky body leaving the cache
in an inconsistent state. Make this method return true for a quirky
body.

Fixed: 410680146
Change-Id: Icdaaa4d55bc03e4861ba9db1901ce02f6792c2fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6470452
Reviewed-by: David Grogan [email protected]
Commit-Queue: Ian Kilpatrick [email protected]
Cr-Commit-Position: refs/heads/main@{#1448715}

merge_pr_52045

18 Apr 07:28
d37b289
Compare
Choose a tag to compare

:defined and Scoped Custom Element Registries