Граф коммитов

873096 Коммитов

Автор SHA1 Сообщение Дата
Anders Hartvoll Ruud b47bcc7afd Bug 1879523 [wpt PR 44495] - [css-nesting] Don't emit invisible rules inside @page, a=testonly
Automatic update from web-platform-tests
[css-nesting] Don't emit invisible rules inside @page

The parsing code for @page leans on the code from CSS Nesting,
which recently gained special behavior for trailing declarations
(crbug.com/1517290). This special behavior affects how an inner rule
relates to its outer style rule (/selector), which is not relevant
for @page.

Bug: 1517290
Change-Id: I755f8b2675f8e5c988c8ea5afdf03c84b779da83
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272554
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1258458}

--

wpt-commits: 5480e40cca136e14699392842c91488745b17cfc
wpt-pr: 44495
2024-02-13 08:18:04 +00:00
moz-wptsync-bot 0470abd65c Bug 1879013 [wpt PR 44432] - Update wpt metadata, a=testonly
wpt-pr: 44432
wpt-type: metadata
2024-02-13 08:18:03 +00:00
Anne van Kesteren 44e4449328 Bug 1879013 [wpt PR 44432] - DOM: add some CDATASection coverage, a=testonly
Automatic update from web-platform-tests
DOM: add some CDATASection coverage

--

wpt-commits: 913ef86fc38858baead26f0651a45e06f45fc027
wpt-pr: 44432
2024-02-13 08:18:03 +00:00
moz-wptsync-bot 307e7e24b2 Bug 1879293 [wpt PR 44468] - Update wpt metadata, a=testonly
wpt-pr: 44468
wpt-type: metadata
2024-02-13 08:18:02 +00:00
Rune Lillesveen 81763758ec Bug 1879293 [wpt PR 44468] - [css-anchor-position] Add interpolation tests for all properties, a=testonly
Automatic update from web-platform-tests
[css-anchor-position] Add interpolation tests for all properties

Bug: 40059176
Change-Id: I9d6a398c57086b9437c43f841f050751cc06675d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5273510
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Auto-Submit: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1258367}

--

wpt-commits: b9c905d2f02eecc2d17556bfccd10d9015842653
wpt-pr: 44468
2024-02-13 08:18:01 +00:00
moz-wptsync-bot 61ebf32b49 Bug 1879109 [wpt PR 44441] - Update wpt metadata, a=testonly
wpt-pr: 44441
wpt-type: metadata
2024-02-13 08:18:01 +00:00
L. David Baron 02b2926f36 Bug 1879109 [wpt PR 44441] - Add tests for animation of CSS calc-size()., a=testonly
Automatic update from web-platform-tests
Add tests for animation of CSS calc-size().

Bug: 313072
Change-Id: Iffb1d69673a24a5e13e6a88606e5f9f4b0215de3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5254963
Reviewed-by: Daniil Sakhapov <sakhapov@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1258293}

--

wpt-commits: da25e93244e17fa16f245a955af8e0638230acab
wpt-pr: 44441
2024-02-13 08:18:00 +00:00
moz-wptsync-bot 013ced4200 Bug 1877601 [wpt PR 44307] - Update wpt metadata, a=testonly
wpt-pr: 44307
wpt-type: metadata
2024-02-13 08:17:59 +00:00
L. David Baron 23133c3d7d Bug 1877601 [wpt PR 44307] - Add tests for CSS calc-size() function., a=testonly
Automatic update from web-platform-tests
Add tests for CSS calc-size() function.

Change-Id: I7ced1651bc3b4fd5a863a3c4388f035de632cd0b
Bug: 313072
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5249791
Commit-Queue: David Baron <dbaron@chromium.org>
Reviewed-by: Daniil Sakhapov <sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1258292}

--

wpt-commits: f628754b736abd0b903cd5525f827db3c638564c
wpt-pr: 44307
2024-02-13 08:17:59 +00:00
moz-wptsync-bot 6bc0dabc52 Bug 1879202 [wpt PR 44454] - Update wpt metadata, a=testonly
wpt-pr: 44454
wpt-type: metadata
2024-02-13 08:17:58 +00:00
Joey Arhar 3f25c51d08 Bug 1879202 [wpt PR 44454] - Implement :open and :closed pseudo classes, a=testonly
Automatic update from web-platform-tests
Implement :open and :closed pseudo classes

These are in the CSS spec here: https://drafts.csswg.org/selectors-4/#open-state
I am going to try to get this specced in the HTML spec as well.

https://chromestatus.com/feature/5085419215781888
https://groups.google.com/a/chromium.org/g/blink-dev/c/jESpcXVA8ns

Bug: 324293874
Change-Id: I6e056f9eb899507693fd686c2cf65f8334c75153
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5278021
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1258221}

--

wpt-commits: 495dfa9fe2d3c4519cf901c33dfde48238dcf946
wpt-pr: 44454
2024-02-13 08:17:57 +00:00
Ethan Jimenez 75b5370fc2 Bug 1878210 [wpt PR 44371] - [Grid] Fix resolution of alignment properties for subgridded items, a=testonly
Automatic update from web-platform-tests
[Grid] Fix resolution of alignment properties for subgridded items

There was an issue with the `align-*` and `justify-*` properties and
subgridded items where, if its parent subgrid was orthogonal to the root
grid that considered such item for sizing, then the alignment properties
were incorrectly resolved relative to the root grid's writing mode.

Fixing this behavior making sure that we always resolve the alignment
properties of a grid item relative to its parent grid's writing mode.

Adding test coverage to the WPT suite for this issue.

Bug: 1521978
Change-Id: I7d929ff1589632964e38100b5ba44a484df954b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5260028
Commit-Queue: Ethan Jimenez <ethavar@microsoft.com>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1258172}

--

wpt-commits: cc83935a037f4280b4dee6c5386beb615bd4ebe5
wpt-pr: 44371
2024-02-13 08:17:57 +00:00
Vladimir Levin 2007d74828 Bug 1879200 [wpt PR 44453] - VT: Handle document shutdown gracefully., a=testonly
Automatic update from web-platform-tests
VT: Handle document shutdown gracefully.

This patch does two things:
- After dom callback is finished, ensures that we have a view before
  continuing. We skip the transition otherwise.
- When document is shutting down, skip any transition that is
  outstanding. This is due to the fact that the execution context (dom
  window) can notify of its destruction after document is destroyed.
  However, the transition is owned by the document (via supplement), so
  it can be destroyed before this notification and cause CHECKs
  due to invalid state in the style tracker dtor.

R=khushalsagar@chromium.org

Fixed: 324109585
Change-Id: I64eaa886f89c89762cd3d5d8b5ad3b0fa4a1a4bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5273560
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: Vladimir Levin <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1258056}

--

wpt-commits: bd7709893dbd04881db5b7d25d82fdd24178c9a5
wpt-pr: 44453
2024-02-13 08:17:56 +00:00
Raphael Kubo da Costa 6317f72c92 Bug 1879141 [wpt PR 44444] - sensors: Make virtual sensors always remember and report the latest reading, a=testonly
Automatic update from web-platform-tests
sensors: Make virtual sensors always remember and report the latest reading

This concerns a discussion that started in https://crrev.com/c/5249795:
the idea is to make a virtual sensor leak fewer implementation details,
such as the fact that the current reading is lost when the sensor is
deactivated. This should not be observable from e.g. a web test, as
there is nothing mandating that this happen in the first place.

From an API user's perspective, once a reading is added to a virtual
sensor (including if this happens before a Sensor instance is created in
Chromium) it remains present until it is replaced by another one, even
if the sensor is stopped and reactivated. This is complemented by the
behavior added in https://crrev.com/c/5245506, in which any pending
reading (or, with this CL, the latest reading) is stashed until it can
be published.

In other words, a VirtualPlatformSensor now respects the following two
invariants:
1. Once a reading is set, it will remain set until it is replaced with
   another reading.
2. Said reading will be added to the shared buffer and clients will be
   notified whenever the sensor is activated.

While here, revert the part of https://crrev.com/c/5245506 that renamed
PlatformSensor::IsActiveForTesting() to is_active(), as this is no
longer needed.

Bug: 1520919, 1506995
Change-Id: I205432cbf196376f67a6bc1c84d69302ffe739ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272509
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Auto-Submit: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1258046}

--

wpt-commits: effd91d0c3ea64f8c75f7fe0714d98f96a78dc2a
wpt-pr: 44444
2024-02-13 08:17:56 +00:00
Ahmad Saleem c227cc374c Bug 1879241 [wpt PR 44461] - Test to account for links wrapped in `svg`, a=testonly
Automatic update from web-platform-tests
Test to account for links wrapped in `svg` (#44461)

--

wpt-commits: 11f539a39cc30d82c4a89e134cc2d9495a2ee147
wpt-pr: 44461
2024-02-13 08:17:55 +00:00
moz-wptsync-bot 8d744a96cb Bug 1877740 [wpt PR 44322] - Update wpt metadata, a=testonly
wpt-pr: 44322
wpt-type: metadata
2024-02-13 08:17:54 +00:00
Noam Rosenthal 463ae403e2 Bug 1877740 [wpt PR 44322] - Implement view-transition-class selector matching, a=testonly
Automatic update from web-platform-tests
Implement view-transition-class selector matching

Selector checker now matches classes from selector to classes
from pseudo-element.

The classes aren't saved on the pseudo-element, but rather in the
ViewTransitionStyleTracker, in the element map.

Bug: 1519997
Change-Id: Iee74bb5d8e6f1ced0edfbcdc1ac9eec32497e97f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5253451
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257975}

--

wpt-commits: 50cdae7b23a8ab23a1ebeacc71d254105c710b15
wpt-pr: 44322
2024-02-13 08:17:54 +00:00
Morten Stenshorne 642403bb43 Bug 1879296 [wpt PR 44469] - Establish display item fragment scope for atomic inlines., a=testonly
Automatic update from web-platform-tests
Establish display item fragment scope for atomic inlines.

We already did this when painting text items and inline box items
(non-atomic inlines), but we also need to do it when painting atomic
inlines.

Although it's rather unusual for an atomic inline LayoutObject to be
associated with multiple fragment items, it may happen if an atomic
inline is associated with a text-overflow ellipsis (that's a fragment
item of type kGeneratedText).

A text-overflow ellipsis fragment item is associated with the last
LayoutObject that fits before the ellipsis, and if this happens to be an
atomic inline (e.g. an image), it will be that one.

To explain what went wrong in the test included: There's a SPAN with two
lines inside. Two fragment items are created for the SPAN. The item on
the first line gets fragment ID 0, and the one one the second line gets
ID 1. On the second line there's an image followed by something that
gets clipped by overflow, and there will be a text-overflow ellipsis.
The image is the last (and only, actually) object that fits, so the
ellipsis gets associated with that object. Two fragment items are
created for the image object, first the image itself, and then the
ellipsis. They get a fragment ID of 0 and 1, respectively.

When painting the SPAN on the second line, we establish a fragment item
scope for it, and the ID is 1. When we paint the actual image, we didn't
establish a scope, so that ID 1 was used for the image as well (even
though its fragment ID is 0). When painting the ellipsis afterwards, we
establish a scope, with ID 1. Because of this we got the same display
item client (from the layout object) painted twice with the same
fragment ID.

Bug: 41493875
Change-Id: I5fc87fc086ecd3c4367dca7c3ad94c22c031f7f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272607
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257896}

--

wpt-commits: a79f9cb445a5d21b0ac31dacea77b5edfb60e37a
wpt-pr: 44469
2024-02-13 08:17:53 +00:00
moz-wptsync-bot 5f138a642f Bug 1879070 [wpt PR 44437] - Update wpt metadata, a=testonly
wpt-pr: 44437
wpt-type: metadata
2024-02-13 08:17:52 +00:00
Rune Lillesveen e09f105a44 Bug 1879070 [wpt PR 44437] - [css-anchor-position] Parsing and computing position-try-options, a=testonly
Automatic update from web-platform-tests
[css-anchor-position] Parsing and computing position-try-options

Part of the new auto-fallback proposal.

Bug: 40279608
Change-Id: If43e8af13a805cbd1b60cd8f44272ac431e4606c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272497
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257845}

--

wpt-commits: 929d1339ab14e1b048910f4b7eb597b43cb9a177
wpt-pr: 44437
2024-02-13 08:17:52 +00:00
Ahmad Saleem bf476db815 Bug 1879243 [wpt PR 44462] - Add coverage for `webkit` prefixed historical interface, a=testonly
Automatic update from web-platform-tests
Add coverage for `webkit` prefixed historical interface (#44462)

Hi Team,

It was supported by Safari / WebKit until recently and it was removed weeks ago, I think it would be good to add coverage for it.

Thanks!
--

wpt-commits: 54a180f690f8d315fccadc1cd773f95f241428ca
wpt-pr: 44462
2024-02-13 08:17:51 +00:00
moz-wptsync-bot 6c481311c6 Bug 1878953 [wpt PR 44422] - Update wpt metadata, a=testonly
wpt-pr: 44422
wpt-type: metadata
2024-02-13 08:17:51 +00:00
Blink WPT Bot af1440c7d0 Bug 1878953 [wpt PR 44422] - Move monolithic-overflow-* from css/printing to css/css-page., a=testonly
Automatic update from web-platform-tests
Move monolithic-overflow-* from css/printing to css/css-page. (#44422)

Ideally, css/printing/ should be emptied. Here's a step in that
direction.

See https://github.com/web-platform-tests/wpt/issues/42937

I also just removed the failure expectations from
ChromeTestExpectations, since I couldn't find the reason why they were
added in the first place, and besides, all bots seem to be happy.

Change-Id: I4af6c637861e6ecbfa18b680deb9e82e0e7876f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272546
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257066}

Co-authored-by: Morten Stenshorne <mstensho@chromium.org>
--

wpt-commits: 0f06b11a0ecd9df6f881ebbe6b0dbc5516794de9
wpt-pr: 44422
2024-02-13 08:17:50 +00:00
moz-wptsync-bot 758f8d75a8 Bug 1879240 [wpt PR 44460] - Update wpt metadata, a=testonly
wpt-pr: 44460
wpt-type: metadata
2024-02-13 08:17:49 +00:00
sisidovski c7a0f09904 Bug 1879240 [wpt PR 44460] - Use OK status to check RaceNetworkRequest response, a=testonly
Automatic update from web-platform-tests
Use OK status to check RaceNetworkRequest response

Reflecting the comment on
https://github.com/yoshisatoyanagisawa/ServiceWorker/pull/10#discussion_r1480948334

Bug: 1371756
Change-Id: I6de1fed384e32fbdae40799ef48d4ce2eeb3eccd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5276401
Reviewed-by: Minoru Chikamune <chikamune@chromium.org>
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Commit-Queue: Shunya Shishido <sisidovski@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257762}

--

wpt-commits: 4c4bec5ff51e2230e4d3ee69773c608ae255f04d
wpt-pr: 44460
2024-02-13 08:17:48 +00:00
Joey Arhar 2d02f30a63 Bug 1878207 [wpt PR 44370] - Always call superclass in HTMLLabelElement::DefaultEventHandler, a=testonly
Automatic update from web-platform-tests
Always call superclass in HTMLLabelElement::DefaultEventHandler

HTMLLabelElement::DefaultEventHandler does not currently call up to
HTMLElement::DefaultEventHandler in many cases. This patch makes sure
that HTMLLabelElement always calls up to HTMLElement, which makes
<label>s in <button>s work.

WebKit's HTMLLabelElement already does this in all branches of
HTMLLabelElement::defaultEventHandler since 2017:
fec9c1dd14
b9bad3158f

Fixed: 1523168
Change-Id: Ib9d0a63befbb930b9595bcc89fb5955050c97b2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5260750
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257674}

--

wpt-commits: 3c00d743109ae3d06e874e56dd9287f3ded06f44
wpt-pr: 44370
2024-02-13 08:17:48 +00:00
Weizhong Xia 4c1fd232db Bug 1879147 [wpt PR 44445] - allow old headless mode for chrome, a=testonly
Automatic update from web-platform-tests
allow old headless mode for chrome (#44445)

* allow old headless mode for chrome

While Wptrunner's '--headless' means the new headless mode, allow
passing binary arg '--headless' to chrome directly to enable the
old headless mode
--

wpt-commits: 09de1c20d1d31f66bb7174c896f0a63fb41b59b4
wpt-pr: 44445
2024-02-13 08:17:47 +00:00
Morten Stenshorne c5c4e74162 Bug 1878952 [wpt PR 44421] - Correctly handle printing of overflowing monolithic OOFs., a=testonly
Automatic update from web-platform-tests
Correctly handle printing of overflowing monolithic OOFs.

We need to make sure that we create enough pages to contain tall
monolithic out-of-flow positioned descendants, including any overflow
inside of them.

Similar support for in-flow elements was added in CL:5029779, where we
at the same time stopped synthesizing missing pages after layout, but
instead started to trust layout. However, that was premature, since
out-of-flow positioned descendants of course need special treatment.

Bug: 41496759
Change-Id: If52a4b1ad50ec55dbdabc6456b47a299404f7d25
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272404
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257469}

--

wpt-commits: 734e3b9058ae83e689e9344e0776693d01e56adb
wpt-pr: 44421
2024-02-13 08:17:47 +00:00
moz-wptsync-bot 5d20f51fa0 Bug 1877580 [wpt PR 44303] - Update wpt metadata, a=testonly
wpt-pr: 44303
wpt-type: metadata
2024-02-13 08:17:46 +00:00
Dan Clark f36bc15f38 Bug 1877580 [wpt PR 44303] - [EditContext] Ensure textupdate fires for backspace/delete in <canvas>, a=testonly
Automatic update from web-platform-tests
[EditContext] Ensure textupdate fires for backspace/delete in <canvas>

When the active EditContext's associated element is a <canvas>, we
fail to fire the textudpate event when the user hits backspace/delete.

The reason is that for these keystrokes, EnabledInEditableText is
used to determine whether the command is enabled, and this includes
a check that the selection is contained in the focus. For <canvas>
this will never be the case because <canvas> cannot contain selection.

Fix this by always treating the command as enabled if there is an
active EditContext, since an EditContext should always have the
opportunity to handle these commands.

Update some existing text input and text deletion tests to run for
<canvas> in addition to <div>.

Bug: 1517103, 999184
Change-Id: Id8d4509ed6b22a4516d9bfa2c4a05b234eea78de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5251988
Reviewed-by: Anupam Snigdha <snianu@microsoft.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Dan Clark <daniec@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1257455}

--

wpt-commits: 12a51d92951f2858e1ad74a4412279e645e67a61
wpt-pr: 44303
2024-02-13 08:17:45 +00:00
moz-wptsync-bot d0d022c11b Bug 1875220 [wpt PR 44060] - Update wpt metadata, a=testonly
wpt-pr: 44060
wpt-type: metadata
2024-02-13 08:17:45 +00:00
Yao Xiao b6e0196635 Bug 1875220 [wpt PR 44060] - [shared storage] Allow creating multiple worklets per Window context, a=testonly
Automatic update from web-platform-tests
[shared storage] Allow creating multiple worklets per Window context

Explainer PR: https://github.com/WICG/shared-storage/pull/130

How:
- Introduce sharedStorage.createWorklet() method. In this patch,
we still restrict the script to same origin. Ultimately, we will
support cross-origin script/worklet (for the createWorklet() API).
- Also, move the document service Remote to a window supplement
class: This is a forward-looking change (e.g. it'll enable
constructing the worklet via `new SharedStorageWorklet()` / not
needing to exist along with the `sharedStorage` object, although
this isn't in the current proposal).

Bug: 1218540
Change-Id: I5bf64bdf6648a76875748b194e5dbceeb1400624
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5209102
Reviewed-by: Dominic Farolino <dom@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Yao Xiao <yaoxia@chromium.org>
Reviewed-by: Cammie Smith Barnes <cammie@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257412}

--

wpt-commits: a973f277c12becac99d26f79d1a51e3f2efd452a
wpt-pr: 44060
2024-02-13 08:17:44 +00:00
moz-wptsync-bot 30b0742b45 Bug 1877566 [wpt PR 44300] - Update wpt metadata, a=testonly
wpt-pr: 44300
wpt-type: metadata
2024-02-13 08:17:43 +00:00
Dominic Farolino 7d70d608d7 Bug 1877566 [wpt PR 44300] - DOM: Implement the `forEach()` Observable operator, a=testonly
Automatic update from web-platform-tests
DOM: Implement the `forEach()` Observable operator

This CL implements the semantics specified in
https://wicg.github.io/observable/#dom-observable-foreach.

See https://github.com/WICG/observable/pull/105.

For WPTs:
Co-authored-by: ben@benlesh.com

R=masonf@chromium.org

Bug: 1485981
Change-Id: I61344bad7fa4bac65146e1305a376fc1f5e55dc3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5249869
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257328}

--

wpt-commits: 910e4c850e0e43a1832f943e2782ffa8f06b3eb9
wpt-pr: 44300
2024-02-13 08:17:43 +00:00
moz-wptsync-bot d192f42d9f Bug 1875349 [wpt PR 44076] - Update wpt metadata, a=testonly
wpt-pr: 44076
wpt-type: metadata
2024-02-13 08:17:42 +00:00
Andreu Botella f138324107 Bug 1875349 [wpt PR 44076] - Fully implement bidi for a line's trailing spaces (UAX#9 L1), a=testonly
Automatic update from web-platform-tests
Fully implement bidi for a line's trailing spaces (UAX#9 L1)

Per UAX#9 L1, any spaces that after line breaking would fall logically
at the end of a line must be reset to the paragraph's initial
embedding level, regardless of the embedding level of those spaces in
the paragraph. Until now, Blink only had partial support for this.

The reason this was hard to implement in Blink is because the
direction of text is computed in a per-paragraph level, splitting the
text into items with a given direction and embedding level. Those
items are then split into item results when line breaking, but item
results must have the same direction as the item.

As part of line breaking, some item results are produced which only
have trailing spaces. The partial support, implemented in
crrev.com/c/2505486, consisted of marking these results with the
`has_only_trailing_spaces` flag, and using this flag to distinguish
them when reordering the item results.

This patch builds on top of that partial fix by adding a final
processing step to line breaking, which splits item results so that
trailing spaces (with a different embedding level as the paragraph)
are split into its own item result, and by marking all trailing spaces
item results as `has_only_trailing_spaces`.

This also fixes bug 1514753, where having a item result with non-base
direction which had logically trailing spaces was causing the text
(rather than the spaces) to hang, because
`LineInfo::ComputeTrailingSpaceWidth` assumed that UAX#9 L1 held.

This patch also modifies some existing WPT tests to make them use a
monospace Arabic webfont (since it's not guaranteed that all OS's have
one), and by changing the widths slightly to work around bug 1409445.

Bug: 316409, 1514753
Change-Id: I1eb751b457d413b5099dad8f95badba9a1b3e5fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5199988
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Andreu Botella <abotella@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1257309}

--

wpt-commits: c635cb4ef1a21ff07e210f2733f97ccb01c0ed15
wpt-pr: 44076
2024-02-13 08:17:41 +00:00
moz-wptsync-bot 368c1243a3 Bug 1879024 [wpt PR 44434] - Update wpt metadata, a=testonly
wpt-pr: 44434
wpt-type: metadata
2024-02-13 08:17:41 +00:00
Rune Lillesveen 12faded2b4 Bug 1879024 [wpt PR 44434] - Moved position-try-order into wpt/ from wpt_internal/, a=testonly
Automatic update from web-platform-tests
Moved position-try-order into wpt/ from wpt_internal/

Now part of the spec draft

Bug: 40279608
Change-Id: I35546256c8460bfa46d1b9b7607e008d069cbd6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272498
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Auto-Submit: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257259}

--

wpt-commits: aee2a77919002424ba9ef9c302d0716ceff81ea2
wpt-pr: 44434
2024-02-13 08:17:40 +00:00
moz-wptsync-bot 54c2ed4212 Bug 1874920 [wpt PR 44418] - [Gecko Bug 1874920] [wdspec] Add type hint parameter for context_created and context_destroyed user context tests, a=testonly
Automatic update from web-platform-tests
[wdspec] Add type hint parameter for context_created and context_destroyed user context tests

Depends on D200024

Differential Revision: https://phabricator.services.mozilla.com/D200032

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1874920
gecko-commit: 0237b0c99f398a9c4ac048bbdf029d8bc16e3771
gecko-reviewers: webdriver-reviewers, whimboo

--
[wdspec] Always assert user context in assert_browsing_context

Depends on D200032

This should ensure good coverage of the user_context field

Differential Revision: https://phabricator.services.mozilla.com/D200181

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1874920
gecko-commit: 8a66a3b89c40f8a8f3195f6a92c0c3d2af587b21
gecko-reviewers: webdriver-reviewers, whimboo

--
[wdspec] Add various user_context tests for browsingContext.create

Depends on D200181

Differential Revision: https://phabricator.services.mozilla.com/D200182

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1874920
gecko-commit: 1c00d395406fc5b994ce1a16d8625ba85d57a8bd
gecko-reviewers: webdriver-reviewers, whimboo

--

wpt-commits: 173d73bd3e9494739ba4f1036fe2f4895b4d31b9, 6c85d26559cb2cc5e8c331232d7201c26294bd8f, ed10c1277cbf7aba87b4d37d926b967c6545903d
wpt-pr: 44418
2024-02-13 08:17:40 +00:00
moz-wptsync-bot 1ae4ced59e Bug 1878596 [wpt PR 44393] - Update wpt metadata, a=testonly
wpt-pr: 44393
wpt-type: metadata
2024-02-13 08:17:39 +00:00
Nidhi Jaju 31ec27ccd9 Bug 1878596 [wpt PR 44393] - Add tests for zstd content-encoding, a=testonly
Automatic update from web-platform-tests
Add tests for zstd content-encoding (#44393)

* add zstd tests and separate into folders

* add bad input tests and make window size test tentative

* add https to bad input test
--

wpt-commits: 2453380d880f99191dc00b14b4c183fe7364766b
wpt-pr: 44393
2024-02-13 08:17:38 +00:00
moz-wptsync-bot f1000a2830 Bug 1878235 [wpt PR 44374] - Update wpt metadata, a=testonly
wpt-pr: 44374
wpt-type: metadata
2024-02-13 08:17:38 +00:00
Alvin Ji 26041adb1a Bug 1878235 [wpt PR 44374] - serial: Migrate Web Serial MojoJS based tests to internal folder, a=testonly
Automatic update from web-platform-tests
serial: Migrate Web Serial MojoJS based tests to internal folder

This CL migrate Web Serial MojsJS based tests to internal folder
temporary. We will move it back once Web Serial Testing specification
for test-only interface is defined.

Bug: 1524403
Change-Id: I75323dfe2a649348e23c333e1a635cf8cc9ba806
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5259047
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Commit-Queue: Alvin Ji <alvinji@chromium.org>
Reviewed-by: Alvin Ji <alvinji@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257126}

--

wpt-commits: 39e3ec25444f35acd4129eb589c052e9d7ee0a32
wpt-pr: 44374
2024-02-13 08:17:37 +00:00
Jonathan Lee 6a8ffeb7eb Bug 1878955 [wpt PR 44424] - [wptrunner] Plumb expectations `wpttest.{Test -> (Subtest)Result}`, a=testonly
Automatic update from web-platform-tests
[wptrunner] Plumb expectations `wpttest.{Test -> (Subtest)Result}` (#44424)

This allows vendors to override expectations at runtime via
browser-specific result converters. Instead of constructing
`(Subtest)Result`s directly, executors should use the newly introduced
`Test.make_{subtest_,}result()`, which have the same signatures but
default to passing through the testloader-read expectations.

This is a pure refactor; no functional changes intended.

Successor to: https://github.com/web-platform-tests/wpt/pull/44134#issuecomment-1920055927
--

wpt-commits: a68f313a50899795e1e6660b7398544d340f1652
wpt-pr: 44424
2024-02-13 08:17:36 +00:00
Mason Freed 3a91c66339 Bug 1878426 [wpt PR 44387] - Remove declarative shadow DOM polyfill, a=testonly
Automatic update from web-platform-tests
Remove declarative shadow DOM polyfill

Declarative shadow DOM is standard [1] and implemented in all
modern browsers. This removes a polyfill that isn't needed in WPT
any longer.

[1] https://html.spec.whatwg.org/multipage/scripting.html#attr-template-shadowrootmode

Bug: N/A
Change-Id: Ie9bfdf24f75901cf9a476844a76065e5a18a6815
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263643
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257013}

--

wpt-commits: 5eb84ee7e7fd03bbe975fb7b655d75310e8dd71b
wpt-pr: 44387
2024-02-13 08:17:35 +00:00
moz-wptsync-bot 19f5be63e5 Bug 1876181 [wpt PR 44154] - Update wpt metadata, a=testonly
wpt-pr: 44154
wpt-type: metadata
2024-02-13 08:17:35 +00:00
Joey Arhar 616d9d60b2 Bug 1876181 [wpt PR 44154] - Render <button> and <datalist> in <select>, a=testonly
Automatic update from web-platform-tests
Render <button> and <datalist> in <select>

Now that the HTML parser allows <button> and <datalist> in <select>,
this patch modifies the UA shadowroot of <select> to slot the <button>
and <datalist> and render them. If a <button> is provided with no
<datalist>, then the native popup is used. If a <datalist> is provided
with no <button>, then the native button is used.

Bug: 1511354
Change-Id: I36f88f73949aa2cba502231ed2d68c1738e47946
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5230929
Auto-Submit: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257004}

--

wpt-commits: 803ab2a07109c4d4ab1f30928e93e865909362ab
wpt-pr: 44154
2024-02-13 08:17:34 +00:00
moz-wptsync-bot 935429c0d9 Bug 1876839 [wpt PR 44237] - Update wpt metadata, a=testonly
wpt-pr: 44237
wpt-type: metadata
2024-02-13 08:17:33 +00:00
Traian Captan d7b3ee5943 Bug 1876839 [wpt PR 44237] - Support iframe scroll margin, a=testonly
Automatic update from web-platform-tests
Support iframe scroll margin

This change adds support to observe out of viewport targets inside
scrollable same origin iframes using intersection observers with
scrollMargin, by crossing the iframe boundary when collecting
intermediate scrollers.

R=szager

Bug: 1503290
Change-Id: Iaf5482a67e8eb37000d54fb9529df5c16f86e644
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5240906
Reviewed-by: Stefan Zager <szager@chromium.org>
Commit-Queue: Traian Captan <tcaptan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256994}

--

wpt-commits: c0b9c868430562422a8a46b495714a2aa9c087b7
wpt-pr: 44237
2024-02-13 08:17:33 +00:00
Kevin McNee 35a63e5cd1 Bug 1878446 [wpt PR 44389] - Don't reject same site prefetches with no-referrer, a=testonly
Automatic update from web-platform-tests
Don't reject same site prefetches with no-referrer

The referring URL as computed by the referrer policy for the prefetch
request was incorrectly being used to determine whether a prefetch was
cross site. This value is only meant to be used for the prefetch
request. The omission of the URL made it look like a cross site
prefetch, so the cookie eligibility check was applied.

We now use the initiating origin to determine whether a prefetch is
cross site.

Bug: 1524338
Change-Id: Id154effae55c539fff7cd733327fc9029c53b03a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263133
Commit-Queue: Kevin McNee <mcnee@chromium.org>
Reviewed-by: Liviu Tinta <liviutinta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256905}

--

wpt-commits: 1120ba99036f61a02a3cbca05dcd0b2c0c39fcc0
wpt-pr: 44389
2024-02-13 08:17:32 +00:00