Commit Graph

776861 Commits

Author SHA1 Message Date
stransky
0de6c9cb94 Bug 1710344 [Wayland] Make D&D work with popups, r=emilio
Right now D&D on popups are not possible due to https://gitlab.gnome.org/GNOME/gtk/-/issues/4437 and wrong event handling.
To fix that we do in this patch:

- Listen for D&D events on mShell instead of on mContainer as we're getting D&D events there.
- Compensate https://gitlab.gnome.org/GNOME/gtk/-/issues/4437 and add window position to D&D coordinates reported by D&D handlers.

Differential Revision: https://phabricator.services.mozilla.com/D131052
2021-11-15 14:36:44 +00:00
Olli Pettay
553c13cf24 Bug 1740971, use a raw pointer for fast iteration, r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D131085
2021-11-15 13:13:47 +00:00
Stephen A Pohl
32cf07db0b Bug 1719427: Fix scrollbar tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D130672
2021-11-15 12:39:40 +00:00
Stephen A Pohl
73c5f21015 Bug 1719427: Move scrollbar size information from prefs to C++ and allow sizing to be overridden via prefs. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D130671
2021-11-15 12:39:39 +00:00
Stephen A Pohl
bf9ae1822e Bug 1719427: Add ability to switch between scrollbar implementations via prefs. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D130215
2021-11-15 12:39:39 +00:00
Stephen A Pohl
b739277c24 Bug 1719427: Refactor scrollbar drawing code across platforms. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D129265
2021-11-15 12:39:38 +00:00
moz-wptsync-bot
4406bf6c89 Bug 1741011 - [wpt-sync] Update web-platform-tests to dc91bc44ac13e268173db8afe9ee7eb6cfbf73d1, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: dc91bc44ac13e268173db8afe9ee7eb6cfbf73d1
wpt-type: landing
2021-11-15 12:01:17 +00:00
moz-wptsync-bot
18c511eb0a Bug 1740835 [wpt PR 31611] - Update wpt metadata, a=testonly
wpt-pr: 31611
wpt-type: metadata
2021-11-15 12:01:16 +00:00
Alison Maher
f60236d635 Bug 1740835 [wpt PR 31611] - [FlexNG] Set MinSizeShouldEncompassIntrinsicSize, a=testonly
Automatic update from web-platform-tests
[FlexNG] Set MinSizeShouldEncompassIntrinsicSize

SetMinBlockSizeShouldEncompassIntrinsicSize() on a flex item
to allow the item to grow as a result of fragmentation.

In order for this flag to have an effect on flex items inside
a column flex container, we also had to SetIsFixedBlockSize()
to false.

This will be used to expand the flex lines if needed.

Bug: 660611
Change-Id: I8890cc54262c14664706b9cb9efb141a453dceff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3276791
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941410}

--

wpt-commits: dc91bc44ac13e268173db8afe9ee7eb6cfbf73d1
wpt-pr: 31611
2021-11-15 12:01:16 +00:00
moz-wptsync-bot
6631a2c289 Bug 1740935 [wpt PR 31617] - Update wpt metadata, a=testonly
wpt-pr: 31617
wpt-type: metadata
2021-11-15 12:01:16 +00:00
cathiechen
2f6f7fd4db Bug 1740935 [wpt PR 31617] - Add test for layout containment inside a fit-content parent, a=testonly
Automatic update from web-platform-tests
Add test for layout containment inside a fit-content parent (#31617)

--

wpt-commits: 274541188260b060f4f060b72a30f1dabd3c78b8
wpt-pr: 31617
2021-11-15 12:01:15 +00:00
Oriol Brufau
6dba295f0a Bug 1739737 [wpt PR 31533] - [inert] Let modal dialogs make the root element inert, a=testonly
Automatic update from web-platform-tests
[inert] Let modal dialogs make the root element inert

From https://html.spec.whatwg.org/multipage/interaction.html#inert,

> A Document document is blocked by a modal dialog subject if subject is
> the topmost dialog element in document's top layer. While document is
> so blocked, every node that is connected to document, with the
> exception of the subject element and its shadow-including descendants,
> must be marked inert.

This doesn't exclude the root element, so it should also be inert.

Simply doing this change would break these tests:
- html/dialog/modal-dialog-ancestor-is-inert.html
- html/dialog/modal-dialog-blocks-mouse-events.html

Excluding the root element in HitTestResult::SetInnerNode avoids that.

Note I plan to track inertness in ComputedStyle, and then remove both
Node::IsInert and hit test retargeting for inert. So this patch is just
temporary, to align with the final behavior.

Also note that only the the root element (documentElement) is affected.
The root node (document), represented as rootWebArea in a11y, will still
not become inert when there is a modal dialog or fullscreen element.

Bug: 692360

TEST=All/DumpAccessibilityTreeTest.AccessibilityModalDialogOpened/blink
TEST=All/DumpAccessibilityTreeTest.AccessibilityModalDialogStack/blink
TEST=All/DumpAccessibilityTreeTest.AccessibilityOpenModal/blink
TEST=external/wpt/html/semantics/interactive-elements/the-dialog-element/inert-node-is-unfocusable.html

Change-Id: I8ce7905a85e386fae6163423f5e078b6c4588db1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3263132
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Nektarios Paisios <nektar@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941302}

--

wpt-commits: 0457111e7109ec3d9e575aa421b96d8c36ce2ae8
wpt-pr: 31533
2021-11-15 12:01:15 +00:00
Kevin Ellis
44eb1bf479 Bug 1740932 [wpt PR 31616] - Move move-after-transition.html to WPT, a=testonly
Automatic update from web-platform-tests
Move move-after-transition.html to WPT

Removed unused styles. Converted from a pixel test to asserts. Ensure
initial transition is triggered, and that there is no additional
transition after setting transition-property to 'none'.

Bug: 1267553
Change-Id: I302709dee4990f2871d6c248852bd23993cda754
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3275545
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941300}

--

wpt-commits: 26bb6529ea8b19b93a1f878ebba79353f87d4da0
wpt-pr: 31616
2021-11-15 12:01:14 +00:00
moz-wptsync-bot
b10a547484 Bug 1740795 [wpt PR 31603] - Update wpt metadata, a=testonly
wpt-pr: 31603
wpt-type: metadata
2021-11-15 12:01:14 +00:00
Joey Arhar
d35b81c39a Bug 1740795 [wpt PR 31603] - Upstream input restoration event tests to WPT, a=testonly
Automatic update from web-platform-tests
Upstream input restoration event tests to WPT

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

--

wpt-commits: 2bc37c252974e90067dd0390dcb1e463d68f65fd
wpt-pr: 31603
2021-11-15 12:01:13 +00:00
moz-wptsync-bot
fed53257a3 Bug 1740918 [wpt PR 31615] - Update wpt metadata, a=testonly
wpt-pr: 31615
wpt-type: metadata
2021-11-15 12:01:13 +00:00
Adam Rice
0fbf464581 Bug 1740918 [wpt PR 31615] - WebTransport: Use UseCounter::Count, a=testonly
Automatic update from web-platform-tests
WebTransport: Use UseCounter::Count

Use UseCounter::Count in web_transport.cc instead of
ExecutionContext::CountUse. The difference that that the UseCounter
variant performs a null check and so can safely be used after the
ExecutionContext has been destroyed.

Add a test that it safe to access WebTransport getters even after
the frame in which the WebTransport was created has been destroyed.

BUG=1269525

Change-Id: I4af26f3e34adcfcf28bf39f99f6e694fb61d91c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3276626
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941183}

--

wpt-commits: 6d1c0336a90465a5524ef31ec7819e35ceb45845
wpt-pr: 31615
2021-11-15 12:01:12 +00:00
moz-wptsync-bot
0c6b7c43d1 Bug 1740806 [wpt PR 31605] - Update wpt metadata, a=testonly
wpt-pr: 31605
wpt-type: metadata
2021-11-15 12:01:12 +00:00
Ian Kilpatrick
2ae1454ea4 Bug 1740806 [wpt PR 31605] - [GridFragmentation] Position items based on their row position., a=testonly
Automatic update from web-platform-tests
[GridFragmentation] Position items based on their row position.

Previously we'd decide if a grid-item should be placed in the current
fragmentainer based on their global position.

This was ok - but a better strategy is to try and keep them with their
row. This wasn't initially important, but as break avoidance is row
based, when we try to shift a row to a subsequent fragmentainer we'll
potentially end up with an item which has already been placed.

This has the side-effect that a grid-item with a negative block-start
margin, may be placed above the start fragmentainer edge - which seems
ok.

I added this as a tentative testcase.

Bug: 614667
Change-Id: I65486307fd72f8e5f8cb7f87ebce66c5569deedf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3276728
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941176}

--

wpt-commits: 0615ca344e889600c5cadbee05307e4fae5a2977
wpt-pr: 31605
2021-11-15 12:01:11 +00:00
moz-wptsync-bot
31ffb257ae Bug 1740813 [wpt PR 31607] - Update wpt metadata, a=testonly
wpt-pr: 31607
wpt-type: metadata
2021-11-15 12:01:11 +00:00
Ionel Popescu
e4109b2863 Bug 1740813 [wpt PR 31607] - [SelectMenu] Add support for required attribute., a=testonly
Automatic update from web-platform-tests
[SelectMenu] Add support for required attribute.

This CL adds support for required attribute and enables :required and
:optional pseudo.

Bug: 1121840
Change-Id: I18309a3c8913dca3308f3222e678f7447a30afd1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3277114
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Ionel Popescu <iopopesc@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#941036}

--

wpt-commits: 5e3187856a311f583124735cad5a03baa61951b3
wpt-pr: 31607
2021-11-15 12:01:10 +00:00
Brian Sheedy
bec4fdc671 Bug 1740815 [wpt PR 31608] - Revert "Add a WPT for pointerevent user activation trigger.", a=testonly
Automatic update from web-platform-tests
Revert "Add a WPT for pointerevent user activation trigger."

This reverts commit 34b3146d8dfc1e44715703e4cf97779fc7c8688d.

Reason for revert: Suspected cause of crbug.com/1269035, will
verify before submitting.

Original change's description:
> Add a WPT for pointerevent user activation trigger.
>
> Related to HTML issue: https://github.com/whatwg/html/issues/3849
>
> Also fix double-activation in Chrome's gesture tap.
>
> Bug: 826293, 1265587
> Change-Id: I3bc3bcbcfeda242512fb777a1c8881c475fed5fc
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3254213
> Reviewed-by: Robert Flack <flackr@chromium.org>
> Reviewed-by: Avi Drissman <avi@chromium.org>
> Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#940118}

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 826293, 1265587
Change-Id: I4bc041f2254c382c00ce3596d61742ba84c79660
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3277061
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Johann Koenig <johannkoenig@google.com>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Johann Koenig <johannkoenig@google.com>
Owners-Override: Johann Koenig <johannkoenig@google.com>
Cr-Commit-Position: refs/heads/main@{#940996}

--

wpt-commits: eca3a50a442ab21283638efbf1617492924f5fdd
wpt-pr: 31608
2021-11-15 12:01:10 +00:00
fantasai
508204fba0 Bug 1740812 [wpt PR 31606] - [css-conditional-3] Add tests for invalidation of order-sensitive rules, a=testonly
Automatic update from web-platform-tests
[css-conditional-3] Add tests for invalidation of order-sensitive rules

--

wpt-commits: 035df0af6b2c43fbf108cddc9aa7b59d65d7ab49
wpt-pr: 31606
2021-11-15 12:01:09 +00:00
fantasai
9c74765891 Bug 1740804 [wpt PR 31604] - [css-conditional-3] Add @namespace + @supports tests., a=testonly
Automatic update from web-platform-tests
[css-conditional-3] Add @namespace + @supports tests.

--

wpt-commits: 7c3799d2388b2ea15fe9c37a28b376e04ab7b85c
wpt-pr: 31604
2021-11-15 12:01:09 +00:00
Victor Tan
c6f1df3bb5 Bug 1739385 [wpt PR 31503] - adding new client hint Sec-CH-UA-Full-Version-List, a=testonly
Automatic update from web-platform-tests
adding new client hint Sec-CH-UA-Full-Version-List

Changes:
* adding new client hint sec-ch-ua-full-version-list
* spec changes to match https://wicg.github.io/ua-client-hints/#interface
* devtool backend changes
* wpt tests to verify the new clint hint

devTool frontend change will be in a separate cl:
* https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3261035

Design doc:
* https://docs.google.com/document/d/1QnbHD7yv1gL7dSnQb6cxL5ILYBLAtkRmEGC6wy9Wu0Y/edit?usp=sharing

Bug: 1249246
Change-Id: I06a9a8ec6512a96bb0f5a9e2ae270380195f913c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3256910
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontag@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Ali Beyad <abeyad@chromium.org>
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Commit-Queue: Victor Tan <victortan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940839}

--

wpt-commits: 9bb25759452dcad9edd83e676f83c73a7bf9f16e
wpt-pr: 31503
2021-11-15 12:01:08 +00:00
Kevin Ellis
b4d87c424e Bug 1740611 [wpt PR 31585] - Move color-transition-premultiplied.html to WPT, a=testonly
Automatic update from web-platform-tests
Move color-transition-premultiplied.html to WPT

Defers style change until after the page has been rendered. Changes the
test to use the web-animations API instead if windows.internals. Fixed
off by one error in an expected color. Moved from being an internal
test to a WPT test.

Bug: 1267553
Change-Id: Icf0c51b1a49b0ba256c9c1afcc906649df78f19d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3273014
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940835}

--

wpt-commits: 3d1dfbeb08197cf2969965045c2aead5edfdbddb
wpt-pr: 31585
2021-11-15 12:01:08 +00:00
moz-wptsync-bot
090a3f5e12 Bug 1740641 [wpt PR 31591] - Update wpt metadata, a=testonly
wpt-pr: 31591
wpt-type: metadata
2021-11-15 12:01:07 +00:00
Xiaocheng Hu
23be824511 Bug 1740641 [wpt PR 31591] - [@layer] Cascade VTT-embedded style as element-attached style, a=testonly
Automatic update from web-platform-tests
[@layer] Cascade VTT-embedded style as element-attached style

As per https://github.com/w3c/csswg-drafts/issues/6735:

WebVTT-embedded style has the same cascade precedence as the style
attribute. Therefore, important WebVTT-embedded style should take
precedence over important author layered style.

This patch ensures that.

Bug: 1095765
Change-Id: I352ff87294235433bcf006e233a2ca7514d4f990
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3273710
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940808}

--

wpt-commits: 20d6038632233d23b144c8f1e1cc02c35665efbf
wpt-pr: 31591
2021-11-15 12:01:06 +00:00
Sam Sneddon
f092712154 Bug 1723825 [wpt PR 29884] - Add further run info for Safari, a=testonly
Automatic update from web-platform-tests
add unit test for get_run_info

--
Add extra data about Safari/WebKit to run_info

--

wpt-commits: 165245557fc8b36eca73d506b19a03e63a428e28, ecde07fcd19960af177a4bd3dd374043c5856f75
wpt-pr: 29884
2021-11-15 12:01:06 +00:00
Kevin Ellis
a436d7b2c1 Bug 1740575 [wpt PR 31583] - Move transition-end-event-shorthand.html to WPT and deflake., a=testonly
Automatic update from web-platform-tests
Move transition-end-event-shorthand.html to WPT and deflake.

Ensure that page has rendered before doing the style update to trigger
transitions. Switched to using the web-animations API in place of
windows.internals for cross-platform support.

Bug: 1267553
Change-Id: Ia6af19d38b50a1479ff43a7e9742d8575e646732
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3272694
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940784}

--

wpt-commits: f8650c51a171bf03a624de906484244000561273
wpt-pr: 31583
2021-11-15 12:01:06 +00:00
Alexey Shvayka
ce8401f804 Bug 1740749 [wpt PR 31599] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=232387, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=232387 (#31599)

--

wpt-commits: 8a78794fb2c9739dec5fe8356e404e97a1726dd6
wpt-pr: 31599
2021-11-15 12:01:05 +00:00
moz-wptsync-bot
df86c3dabf Bug 1740728 [wpt PR 31596] - Update wpt metadata, a=testonly
wpt-pr: 31596
wpt-type: metadata
2021-11-15 12:01:05 +00:00
Anne van Kesteren
96d0e30d19 Bug 1740728 [wpt PR 31596] - URL: use ß instead of β to show interop issue better, a=testonly
Automatic update from web-platform-tests
URL: use ß instead of β to show interop issue better

--

wpt-commits: 55f9cf18627b655439c5775db2cc74b58fea3676
wpt-pr: 31596
2021-11-15 12:01:04 +00:00
moz-wptsync-bot
00fa5abdb4 Bug 1740625 [wpt PR 31589] - Update wpt metadata, a=testonly
wpt-pr: 31589
wpt-type: metadata
2021-11-15 12:01:04 +00:00
fantasai
b9e8a1234a Bug 1740625 [wpt PR 31589] - [css-conditional-3] Test contents of @media and @supports., a=testonly
Automatic update from web-platform-tests
[css-conditional-3] Test contents of @media and @supports.

--

wpt-commits: adcd6787bbf28c9c6b8294099c9c5817e72cb662
wpt-pr: 31589
2021-11-15 12:01:03 +00:00
Reilly Grant
6db34c3a90 Bug 1740154 [wpt PR 31553] - serial: Check for detached buffers when writing, a=testonly
Automatic update from web-platform-tests
serial: Check for detached buffers when writing

This change adds check in SerialPortUnderlyingSink::WriteData() to
ensure that the V8BufferSource being written to the Mojo data pipe has
not been detached since it was passed to the WritableStream.

Bug: 1267627
Change-Id: I63d48584eb0be1c1d87c27115900aa5c17931fcf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3269348
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940631}

--

wpt-commits: fa18309c97011b6e222fd24e6e5a4b358aac9d77
wpt-pr: 31553
2021-11-15 12:01:02 +00:00
Matt Wolenetz
249b838820 Bug 1740633 [wpt PR 31590] - MSE-in-Workers: Fix deadlock on duration reduction, a=testonly
Automatic update from web-platform-tests
MSE-in-Workers: Fix deadlock on duration reduction

If MediaSourceInWorkers is enabled but MediaSourceNewAbortAndDuration is
not enabled, then when MediaSource duration is reduced, a deprecated
code path calls each SourceBuffer in the MediaSource to remove the media
that might potentially be truncated by the duration reduction. This
remove call itself took the same lock that is already held in the caller
in this case, causing unresponsive page due to double-lock on the
CrossThreadMediaSourceAttachment's lock.

This change calls Remove_Locked instead, since the preconditions checked
in SourceBuffer::remove are already enforced in
MediaSource::setDuration, and the double-lock is avoided.

This change also fixes a stray call to setting duration in a
MSE-in-Worker test to use the correct interface (though such call would
not have hit this double-lock on bots since those bots enable all
experimental web platform features.)

BUG=1268614,878133
TEST=manually confirmed repro fixed locally

Change-Id: I1a144cdab9bae5f66b6e1137c2b275c392c12023
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3274133
Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org>
Commit-Queue: Will Cassella <cassew@chromium.org>
Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org>
Reviewed-by: Will Cassella <cassew@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940603}

--

wpt-commits: cc6a981ed8a6988e31e657fd43f8a19dc6068a44
wpt-pr: 31590
2021-11-15 12:01:02 +00:00
moz-wptsync-bot
e5b8b6525b Bug 1740550 [wpt PR 31580] - Update wpt metadata, a=testonly
wpt-pr: 31580
wpt-type: metadata
2021-11-15 12:01:01 +00:00
Morten Stenshorne
c75b56949c Bug 1740550 [wpt PR 31580] - Ignore overflow inside monolithic content for fragmentation., a=testonly
Automatic update from web-platform-tests
Ignore overflow inside monolithic content for fragmentation.

This is a revert of the fix for bug 1178742, and it will make us
compatible with Firefox. The exact behavior isn't defined in the spec.
See https://github.com/w3c/csswg-drafts/issues/6056

This change will also make it more sensible to fix crbug.com/1242348
and also easier to make the initial column balancing pass more in sync
with actual fragmentation (in a follow-up CL).

Bug: 1178742, 829028
Change-Id: I1bea2fce39b20723d14398ae54cc7f06fa54eb4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3270687
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940591}

--

wpt-commits: 8010b3d2e76d0f365f087abe4972775b352dad6e
wpt-pr: 31580
2021-11-15 12:01:01 +00:00
Xiaocheng Hu
596d1f5fe1 Bug 1740613 [wpt PR 31586] - [@layer] Ensure layer establishment behavior on failed/unmatched imports, a=testonly
Automatic update from web-platform-tests
[@layer] Ensure layer establishment behavior on failed/unmatched imports

As per https://github.com/w3c/csswg-drafts/issues/6776:
1. @import with unmatched media query shouldn't establish layer
2. @import that fails to load should still establish layer

This patch adds test cases for it and also fixes our behavior on 1.

Bug: 1095765
Change-Id: Ia7d2c9921b4b93173546cbd78ab243dac3f92420
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3272669
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940505}

--

wpt-commits: c21a4bab57696f57f98fe063fd976e88e6556de4
wpt-pr: 31586
2021-11-15 12:01:00 +00:00
fantasai
20c9ff9731 Bug 1740618 [wpt PR 31587] - [css-conditional-3] Add basic @media tests for rule application., a=testonly
Automatic update from web-platform-tests
[css-conditional-3] Add basic @media tests for rule application.

--

wpt-commits: 57199113bf5a3ea44cc1f129c1b481f57464cb48
wpt-pr: 31587
2021-11-15 12:01:00 +00:00
Rune Lillesveen
c19f6f26d5 Bug 1740498 [wpt PR 31579] - Tests for ::placeholder and ::file-selector-button inheritance, a=testonly
Automatic update from web-platform-tests
Tests for ::placeholder and ::file-selector-button inheritance

Both of those elements are tree-abiding pseudo elements which should
inherit from their originating elements per spec.

Bug: 922869
Change-Id: Ia00a9a421895e6fcd48b7403da97360dae73f91e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3268596
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940495}

--

wpt-commits: f9d614349dbb0ce3ab5180f6fcfe24f727b34dac
wpt-pr: 31579
2021-11-15 12:00:59 +00:00
Alison Maher
a322f2ec17 Bug 1740297 [wpt PR 31561] - [FlexNG] Fragmentation for stretched items, a=testonly
Automatic update from web-platform-tests
[FlexNG] Fragmentation for stretched items

As suggested in CL:3256656, refactor ApplyStretchAlignmentToChild()
to use BuildSpaceForLayout. To accomplish this, pass the final line
cross size into BuildSpaceForLayout during the final layout pass for
stretched items.

By doing this we can remove ApplyStretchAlignmentToChild(), and call
into LayoutWithBlockFragmentation() for stretched items if applicable
(since that will also call into BuildSpaceForLayout).

A new wpt test was added to test basic fragmentation for stretched flex
items.

virtual/layout_ng_flex_frag/fast/multicol/flexbox/doubly-nested-with-zero-width-flexbox-and-forced-break-crash.html
is now being skipped due to a timeout. Seems to be caused by the
forced break. This test was not timing out before since fragmentation
was not being applied to the test previously. This will be
investigated in a follow-up.

Bug: 660611
Change-Id: Ifefbe1480c7134c5fbf215cd1e03a8e79e45f1ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3267938
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940473}

--

wpt-commits: 76ecf1910addf9f0f49d25c978790a8a15573fc5
wpt-pr: 31561
2021-11-15 12:00:59 +00:00
Kevin Ellis
12d17e5ff5 Bug 1740372 [wpt PR 31567] - Move change-duration-during-transtion.html to WPT, a=testonly
Automatic update from web-platform-tests
Move change-duration-during-transtion.html to WPT

In the process of moving the test, a few changes were made to address
test flakes.  Though the test was triggering to style updates, the
second update could complete before the page was rendered, which would
result in no transition being triggered. The test was accelerated by
forcing the animation to finish, rather than waiting on the
transitionend event.

Bug: 1267553
Change-Id: Id8eb7b86ccad76b0ec33050c7103fd21d16530a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3270068
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940458}

--

wpt-commits: 7f625604ff78d716ad4b7130543cb54aa400a1fb
wpt-pr: 31567
2021-11-15 12:00:58 +00:00
Kevin Ellis
cd9fe82e60 Bug 1740356 [wpt PR 31565] - Move transition-timing-function.html to WPT and deflake, a=testonly
Automatic update from web-platform-tests
Move transition-timing-function.html to WPT and deflake

The original test did not properly ensure that the style change would be
picked up after rendering the page.  Thus, we might not see transition
animations.  The test also relied on windows.internals, which does not
provide cross-browser support.  Moved the test to WPT and switched to
using appropriate web-animation API calls.  Dropped the webkit prefix
from the test. Finally, updated the expected target values. Two of the
values in the original test were off by 1, but matched the overly loose
tolerance. The updated version computes the expected value of the cubic
Bezier easing functions.

Note, this is one of 6 flaky tests associated with the bug. Next step is
to port the remaining tests unless WPT equivalents can be found.

Bug: 1267553
Change-Id: If083981a705709d9d0f95b83429d986170dee3d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3269980
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940433}

--

wpt-commits: 0aebe5d1145f727f5cfedb7f2aeb7c6f53274dd8
wpt-pr: 31565
2021-11-15 12:00:58 +00:00
fantasai
62a059714c Bug 1740374 [wpt PR 31569] - [css-conditional] Fix metadata, a=testonly
Automatic update from web-platform-tests
[css-conditional] Fix metadata

--

wpt-commits: 0ba29b6a1ef352d70515b06e572c8ad72e3370d6
wpt-pr: 31569
2021-11-15 12:00:57 +00:00
fantasai
f6d98fa8bc Bug 1740402 [wpt PR 31576] - [css-conditional-3] @media applies immediately after change in condition, a=testonly
Automatic update from web-platform-tests
[css-conditional-3] @media applies immediately after change in condition

--

wpt-commits: 8989bf77747f174a99157edfa493b73a293233c4
wpt-pr: 31576
2021-11-15 12:00:57 +00:00
moz-wptsync-bot
d887d8f545 Bug 1736711 [wpt PR 31319] - Update wpt metadata, a=testonly
wpt-pr: 31319
wpt-type: metadata
2021-11-15 12:00:57 +00:00
Xiaocheng Hu
d19a2329c9 Bug 1736711 [wpt PR 31319] - [@layer] Make 'revert-layer' work in keyframes, a=testonly
Automatic update from web-platform-tests
[@layer] Make 'revert-layer' work in keyframes

As per the recent CSSWG resolution [1], 'revert-layer' in keyframes
should revert from the animation origin. This patch implements that.

[1] https://github.com/w3c/csswg-drafts/issues/6749#issuecomment-960303732

Bug: 1095765
Change-Id: I3f093548da61108c24c05c6a679e9b1d85207467
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3232606
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940387}

--

wpt-commits: 96eed7c0ae5e3539dcc70ee4a777158f5237bde3
wpt-pr: 31319
2021-11-15 12:00:56 +00:00
moz-wptsync-bot
d7f1cfed1b Bug 1740382 [wpt PR 31571] - Update wpt metadata, a=testonly
wpt-pr: 31571
wpt-type: metadata
2021-11-15 12:00:56 +00:00