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

61082 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 1c09539289 Bug 1747074 - enable dialog element in top-layer-dialog-backdrop.html as passing to prevent undesired unexpect pass. r=dholbert DONTBUILD
The test got added in bug 1744131 and set as expected to fail. The used <dialog>
element is only enabled in Nightly (see bug 1645046).

Differential Revision: https://phabricator.services.mozilla.com/D134412
2021-12-22 00:34:11 +00:00
Ting-Yu Lin d570e88e1f Bug 1746098 - Reflow scrolled inner frame in TryLayout() only when sizes of scrollbar gutter change. r=emilio
We now support scrollbar-gutter property. So for example, assume the scroll
container has "scrollbar-gutter:stable". When toggling the visibility of
inline-end scrollbar, we can skip the reflow for the scroll inner frame because
the available inline-size for it cannot change.

This patch teaches TryLayout() to consider the sizes of scrollbar gutter rather
than the (assumed) visibility of scrollbars when deciding the need to call
ReflowScrolledFrame().

Also, TryLayout() doesn't need to report an inconsistent layout unless
the (showHScrollbar, showVScrollbar) pair changes the sizes of scrollbar
gutters.

Differential Revision: https://phabricator.services.mozilla.com/D134373
2021-12-21 22:05:43 +00:00
Henrik Skupin 40c686eb47 Bug 1144075 - [marionette-client] Allow to restart Firefox in safe mode. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D134324
2021-12-21 18:46:37 +00:00
Henrik Skupin b535a82bf8 Bug 1144075 - [marionette-client] Remove obsolete restart code from before Firefox 55. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D134323
2021-12-21 18:46:36 +00:00
Butkovits Atila 748f564f7a Backed out 6 changesets (bug 1732409) for causing failures at test_bug386782.html. CLOSED TREE
Backed out changeset 39bcb53f30ba (bug 1732409)
Backed out changeset 0a6943f27392 (bug 1732409)
Backed out changeset a82289f4ec60 (bug 1732409)
Backed out changeset 748715ddf3c0 (bug 1732409)
Backed out changeset 3f3fe6a97855 (bug 1732409)
Backed out changeset 21564d1c7057 (bug 1732409)
2021-12-21 18:09:11 +02:00
Gijs Kruitbosch b095cb0969 Bug 1747065 - remove plugin.load_flash_only setters which are no-ops r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D134398
2021-12-21 14:34:48 +00:00
Yaron Tausky 54311688c3 Bug 1674343 - Test that service workers respect secure context restrictions r=asuth
Depends on D96179

Differential Revision: https://phabricator.services.mozilla.com/D96180
2021-12-21 09:38:02 +00:00
Yaron Tausky 68e1c4d486 Bug 1675097 - Add regression test r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D99890
2021-12-21 09:36:56 +00:00
Karl Tomlinson c39aea4a05 Bug 1732409 make getUserMedia() permission prompt requirement independent of "media.navigator.streams.fake" r=jib
"media.navigator.permission.disabled" exists for controlling the permission
prompt separately.

This will allow consolidation of camera and microphone preference handling
into EnumerateRawDevices().  Although auto-disabling permission with
"media.navigator.streams.fake" is sometimes useful for tests, it is actually
easier to consider them independently because sometimes the auto-disabling
needs to be overridden.

The logic to disable the permission prompt with content-exposed fake:true
parameter is maintained as is.

The CamerasParent usage of "media.navigator.permission.fake" seems to have
been a misunderstanding in
https://hg.mozilla.org/mozilla-central/rev/c5d6c3e00c91dd0595a12b145c66cf4f2a890591#l6.129

Differential Revision: https://phabricator.services.mozilla.com/D132897
2021-12-21 08:58:46 +00:00
Kagami Sascha Rosylight d5983682dd Bug 1746934 - Give default value for LineInfo::mIsWrapped r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D134340
2021-12-21 00:56:49 +00:00
Andrew Osmond 18318a8003 Bug 1746276 - Mark more OffscreenCanvas-related WPT tests as passing with the pref set. r=gfx-reviewers,kvark
Differential Revision: https://phabricator.services.mozilla.com/D134327
2021-12-20 21:43:21 +00:00
Julian Descottes 0cdd559627 Bug 1746595 - [wdspec] Add wdspec tests for unknown command error r=webdriver-reviewers,whimboo
Depends on D134247

Differential Revision: https://phabricator.services.mozilla.com/D134248
2021-12-20 21:38:39 +00:00
Tom Schuster 35d22f07bc Bug 1746186 - Don't observablely sniff objects in reportError(). r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D133916
2021-12-20 21:29:08 +00:00
Gerald Squelart 1144535227 Bug 1729815 - Remove unnecessary profiler feature "threads" - r=julienw,perftest-reviewers,AlexandruIonescu
This feature doesn't have any effect anymore.

Differential Revision: https://phabricator.services.mozilla.com/D133860
2021-12-20 21:03:09 +00:00
James Graham 90db003a0b Bug 1745199 - Mark layer-rules-cssom and layer-statement-before-import as intermittent, a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D134290
2021-12-20 14:02:46 +00:00
James Graham 13e29712c1 Bug 1745199 - Remove more stale metadata, a=testonly CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D134298
2021-12-20 16:11:15 +00:00
Rob Wu b197a311a4 Bug 1735856 - Don't trigger violation events for frame-ancestors r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D134145
2021-12-20 13:46:46 +00:00
James Graham ff7fbae22a Bug 1745199 - Update layer-rules-cssom and layer-statement-before-import metadata, a=testonly CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D134283
2021-12-20 13:31:54 +00:00
James Graham 5f1cd5cf21 Bug 1745199 - Remove broken metadata file, a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D134282
2021-12-20 12:34:24 +00:00
moz-wptsync-bot 4bf43cd555 Bug 1745199 - [wpt-sync] Update web-platform-tests to b94af34a3e956e8a8fda84bdb1fea7b6d52c38d9, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: b94af34a3e956e8a8fda84bdb1fea7b6d52c38d9
wpt-type: landing
2021-12-20 11:38:35 +00:00
Morten Stenshorne c4dd44acf5 Bug 1744969 [wpt PR 31956] - Disallow container queries at or inside multicol containers., a=testonly
Automatic update from web-platform-tests
Disallow container queries at or inside multicol containers.

Container queries will remain disallowed until we have full NG block
fragmentation support, for all layout types, including printing.

The reason is that, with container queries, style is recalculated during
layout. We cannot risk that we switch between legacy and NG layout while
we're there, since we may have started NG layout on ancestors that style
recalc suddenly wants to be legacy.

Had to improve the multicol detection mechanism that's run during style
recalc because of this, to ensure that we only trigger legacy fallback
when an element is actually going to become a multicol container (which
isn't the case for e.g. <span style="columns:2;">). Otherwise we may
trigger unnecessary legacy layout fallback on ancestors all the way up
to the block formatting context root, which may already be in the middle
of NG layout, if we're evaluating container queries.

Regarding the tests included: The inline-with-columns-* ones would only
crash without LayoutNGBlockFragmentation enabled, while all the others
would only crash *with* LayoutNGBlockFragmentation enabled.

Had to update a couple of unit tests that no longer get legacy fallback
(because there aren't actually any multicols there).

Bug: 1276898
AX-Relnotes: n/a
Change-Id: Ia75fe86d91966233ffeea43a3940113b6a431075
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3320292
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949990}

--

wpt-commits: ae15b0cb3b95356184f17ed539a84ed164802861
wpt-pr: 31956
2021-12-20 11:38:35 +00:00
moz-wptsync-bot 8383c9ff0b Bug 1744813 [wpt PR 31937] - Update wpt metadata, a=testonly
wpt-pr: 31937
wpt-type: metadata
2021-12-20 11:38:34 +00:00
Dominique Hazael-Massieux 9754806e33 Bug 1744813 [wpt PR 31937] - Check enumerateDevices behavior pre-capture, cross-origin and post site data clearing, a=testonly
Automatic update from web-platform-tests
Check enumerateDevices behavior pre-capture, cross-origin and post site data clearing (#31937)

* Adaption setMediaPermission to handle non-automated running of test case

Also explicit fail when permission denied is asked and can't be set automatically

* Ensure enumerateDevices behave as spec'd pre-capture

* Test enumerateDevices behavior in same and cross origin iframes

* Test that deviceIds are reset after Clear-Site-Data

Assuming they live in the cookies bucket, which isn't unclear at this point

* Decouple enumerateDevices check from permission setting

* Fix test title

per https://github.com/web-platform-tests/wpt/pull/31937#discussion_r764349429

* Reorganize test to improve readibility

based on https://github.com/web-platform-tests/wpt/pull/31937#discussion_r764349429 https://github.com/web-platform-tests/wpt/pull/31937#discussion_r764384258
Also remove exception for 'default' deviceId check per https://github.com/web-platform-tests/wpt/pull/31937#discussion_r764327710

* Check enumerateDevices is reset after capture stops

as suggested by https://github.com/web-platform-tests/wpt/pull/31937#discussion_r764406363

* Check device kind matches expected valid values

* Improve readibility of asserts

from code review

Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>

* Stop tracks before enumerating devices

Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>

* Remove impactless and unneeded change

* Remove check on stability of labels cross-origins

not required by spec
per https://github.com/web-platform-tests/wpt/pull/31937/files#r765230192

* Allow 'default' as a shared deviceId across origins

per https://github.com/web-platform-tests/wpt/pull/31937#discussion_r764651778

Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
--

wpt-commits: 45a3b6eac72b618e8427667f292a05efd3aef893
wpt-pr: 31937
2021-12-20 11:38:34 +00:00
moz-wptsync-bot 0a7cdfba39 Bug 1744873 [wpt PR 31949] - Update wpt metadata, a=testonly
wpt-pr: 31949
wpt-type: metadata
2021-12-20 11:38:33 +00:00
Amanda Baker 631fe3067b Bug 1744873 [wpt PR 31949] - Rename windowControlsOverlay.getBoundingClientRect->getTitlebarAreaRect, a=testonly
Automatic update from web-platform-tests
Rename windowControlsOverlay.getBoundingClientRect->getTitlebarAreaRect

This change renames the existing JS API for Window Controls Overlay
(WCO) from:
navigator.windowControlsOverlay.getBoundingClientRect()
to
navigator.windowControlsOverlay.getTitlebarAreaRect()

The new name addresses feedback about how the original API name was
misleading since windowControlsOverlay.getBoundingClientRect() actually
returns the available area *next to* the overlay.

The new name--getTitlebarAreaRect--matches the CSS environment
variables: `titlebar-area-x/y/width/height`

Bug: 1276216
Change-Id: I95e2bc680d124aaa69f0c12ea0ba41399b77185c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3319288
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Amanda Baker <ambake@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#949881}

--

wpt-commits: 4ca37709cc20798ffa7779d1709067db80036999
wpt-pr: 31949
2021-12-20 11:38:33 +00:00
moz-wptsync-bot c9cb54a488 Bug 1745044 [wpt PR 31962] - Update wpt metadata, a=testonly
wpt-pr: 31962
wpt-type: metadata
2021-12-20 11:38:32 +00:00
Ian Kilpatrick 33f5b393f1 Bug 1745044 [wpt PR 31962] - [GridFragmentation] Calculate break-appeal before for MovePastBreakpoint, a=testonly
Automatic update from web-platform-tests
[GridFragmentation] Calculate break-appeal before for MovePastBreakpoint

This patch calls CalculateBreakAppealBefore to determine the correct
appeal to pass into MovePastBreakpoint.

This allows correct support for deciding when to violate a
orphans/widows constraint vs. a break-before:avoid. etc.

Bug: 614667
Change-Id: I7a8ee8329dd9458bb62af063ba9df20459e88e92
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3322020
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949825}

--

wpt-commits: 28231da2f9ec1b0a3fcd2a5be62fea076f191b9c
wpt-pr: 31962
2021-12-20 11:38:32 +00:00
autofoolip ec4cc37f02 Bug 1745083 [wpt PR 31969] - Update Safari Technology Preview to 136, a=testonly
Automatic update from web-platform-tests
Update Safari Technology Preview to 136

Version as reported by safaridriver --version:
Included with Safari Technology Preview (Release 136, 16613.1.9.2)

Source: https://developer.apple.com/safari/download/
Build: https://dev.azure.com/foolip/safari-technology-preview-updater/_build/results?buildId=3899&view=logs

--

wpt-commits: d3481e04b49693725df4bb09239ea4edc768ff43
wpt-pr: 31969
2021-12-20 11:38:32 +00:00
Ben Kelly b46d224e1b Bug 1745059 [wpt PR 31965] - URLPattern: Escape some suffixes trailing `:foo` groups., a=testonly
Automatic update from web-platform-tests
URLPattern: Escape some suffixes trailing `:foo` groups.

This CL fixes another problem case from:

https://github.com/WICG/urlpattern/issues/145

In this case we need to detect when a group suffix could be mistaken
for trailing custom name characters.  When this happens we should escape
the first character of the suffix.  For example: `{:foo\\bar}` instead
of `{:foobar}`.

Bug: 1263673
Change-Id: I2aa2d043ef4c71433fdc0be113fcafddf5ad3532
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3318605
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Ben Kelly <wanderview@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949707}

--

wpt-commits: 73d24b5e86feab550aa5ab7271a814aaa5882cf7
wpt-pr: 31965
2021-12-20 11:38:31 +00:00
James M Snell cd17759452 Bug 1744858 [wpt PR 31947] - Tests for abortSignal.throwIfAborted();, a=testonly
Automatic update from web-platform-tests
Tests for abortSignal.throwIfAborted()

Follows https://github.com/whatwg/dom/pull/1034.
--

wpt-commits: b03df354b93b285fe1764d567b7c1a074df4a808
wpt-pr: 31947
2021-12-20 11:38:31 +00:00
Blink WPT Bot f4759fe55f Bug 1744324 [wpt PR 31882] - URLPattern: Emit `{}` around custom names followed by a regexp group., a=testonly
Automatic update from web-platform-tests
URLPattern: Emit `{}` around custom names followed by a regexp group. (#31882)

This CL fixes another problem case from:

https://github.com/WICG/urlpattern/issues/145

In this case we need to preserve `{ ... }` braces around a named group
followed by a group that may be emitted in regexp `( ... )` group.  We
don't want `{:foo}(.*)` to be changed to `:foo(.*)` since that changes
the meaning from two groups to a single group.

Bug: 1263673
Change-Id: Ifc073d7bfb10f437180393b34cc3bf3c869d7f68
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3315419
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Ben Kelly <wanderview@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949705}

Co-authored-by: Ben Kelly <wanderview@chromium.org>
--

wpt-commits: 938a88f9b3121e0f88bfce4baead83af93111cad
wpt-pr: 31882
2021-12-20 11:38:30 +00:00
moz-wptsync-bot 3b2a4ebf4e Bug 1744983 [wpt PR 31957] - Update wpt metadata, a=testonly
wpt-pr: 31957
wpt-type: metadata
2021-12-20 11:38:30 +00:00
Rune Lillesveen 62fd74981b Bug 1744983 [wpt PR 31957] - [@container] Do not re-attach container inclusive ancestors, a=testonly
Automatic update from web-platform-tests
[@container] Do not re-attach container inclusive ancestors

Avoid reattaching inclusive ancestors for size containers due to legacy
layout fallback during layout. Only allow marking for re-attachment up
to, but not including, a size container.

This means we will still have DCHECK failures and broken layout for
legacy fallback when container queries are enabled, but avoids
use-after-free for layout objects.

Bug: 1276962
Change-Id: If6ff862b6269fb41cceb18cc393f24667b31b827
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3323072
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949683}

--

wpt-commits: 0c35fdb72aa3f41484b596bf90551bd2262880f4
wpt-pr: 31957
2021-12-20 11:38:29 +00:00
moz-wptsync-bot 2729b52ba9 Bug 1744787 [wpt PR 31932] - Update wpt metadata, a=testonly
wpt-pr: 31932
wpt-type: metadata
2021-12-20 11:38:29 +00:00
Rune Lillesveen 82434a2cbd Bug 1744787 [wpt PR 31932] - [@container] Feature check tests with container-type:size, a=testonly
Automatic update from web-platform-tests
[@container] Feature check tests with container-type:size

To avoid any tests passing if container queries are not implemented,
feature check using CSS.supports with container-type:size.

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

--
fix-lint

--

wpt-commits: c3bba3e50628659c50971b3de42beefe61164816, 970a7df41e6a2d12d3b6575fd8944b0e7c72c74b
wpt-pr: 31932
2021-12-20 11:38:28 +00:00
Blink WPT Bot a56ba24322 Bug 1744146 [wpt PR 31862] - Rename CookieStore wpt tests to remove `.tentative.` infix., a=testonly
Automatic update from web-platform-tests
Rename CookieStore wpt tests to remove `.tentative.` infix. (#31862)

Context: Adding CookieStore support for SameParty attribute in
https://crrev.com/c/3289803.

Change-Id: I582205116ca25b06716db6f23c72fcafb662c91e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3313696
Auto-Submit: Chris Fredrickson <cfredric@chromium.org>
Reviewed-by: Ayu Ishii <ayui@chromium.org>
Commit-Queue: Ayu Ishii <ayui@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949263}

Co-authored-by: cfredric <cfredric@chromium.org>
--

wpt-commits: fca0594037a158fe2310e39ef9aa131563135a3f
wpt-pr: 31862
2021-12-20 11:38:27 +00:00
Oriol Brufau 4ed241f075 Bug 1745011 [wpt PR 31960] - Fix links to focus fixup rule, a=testonly
Automatic update from web-platform-tests
Fix links to focus fixup rule

There used to be multiple focus fixup rules, but they were collapsed
into a single one in https://github.com/whatwg/html/pull/3566

--

wpt-commits: 6c97724b71c820eb502b3a246a2858e07c781aeb
wpt-pr: 31960
2021-12-20 11:38:27 +00:00
Daniel Smith 64f417e033 Bug 1744828 [wpt PR 31941] - Exclude browser stability tests for exports from that specific browser #31898 (username update), a=testonly
Automatic update from web-platform-tests
Exclude browser stability tests for exports from that specific browser #31898 (username update) (#31941)

--

wpt-commits: e9f779ecb30f2c949896e06c18bab38ea1ddf675
wpt-pr: 31941
2021-12-20 11:38:26 +00:00
Antoine Quint 430dccf478 Bug 1744950 [wpt PR 31953] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=233960, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=233960 (#31953)

--

wpt-commits: 1a00349e29d3c1a8796ce9115a36a5c23048e536
wpt-pr: 31953
2021-12-20 11:38:26 +00:00
moz-wptsync-bot 219ffca9dd Bug 1744811 [wpt PR 31936] - Update wpt metadata, a=testonly
wpt-pr: 31936
wpt-type: metadata
2021-12-20 11:38:25 +00:00
Arthur Hemery 6515a62a8a Bug 1744811 [wpt PR 31936] - Additional WPT for Sandbox+COOP opener cut during a redirect., a=testonly
Automatic update from web-platform-tests
Additional WPT for Sandbox+COOP opener cut during a redirect.

Original fix:
https://chromium-review.googlesource.com/c/chromium/src/+/3293412
only added a WPT for direct navigations, and neglected the redirect case
that did not have coverage. This is addressed in this patch.

Bug: 1277557
Change-Id: I9b2f92b5e69b974d54c0f30301b9815f3ccf607d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3320390
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Arthur Hemery <ahemery@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949455}

--

wpt-commits: fccee581c61d9c1e7a451bf1c0e7999b9f625c01
wpt-pr: 31936
2021-12-20 11:38:25 +00:00
Daniel Smith b882c9f178 Bug 1744832 [wpt PR 31943] - Add DanielRyanSmith to tools reviewers, a=testonly
Automatic update from web-platform-tests
Add DanielRyanSmith to tools reviewers (#31943)

--

wpt-commits: 70ad194c1d01311fca57a8294255bcb2d42bc2db
wpt-pr: 31943
2021-12-20 11:38:24 +00:00
moz-wptsync-bot 530e1de233 Bug 1743513 [wpt PR 31785] - Update wpt metadata, a=testonly
wpt-pr: 31785
wpt-type: metadata
2021-12-20 11:38:23 +00:00
Anupam Snigdha 90b330158f Bug 1743513 [wpt PR 31785] - Add wpt tests for custom clipboard formats., a=testonly
Automatic update from web-platform-tests
Add wpt tests for custom clipboard formats.

Added test to read/write unsanitized content for well-known formats.

Bug: 106449

Change-Id: I266525d48263066746b3c804400f970e6afb5a7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3292370
Commit-Queue: Anupam Snigdha <snianu@microsoft.com>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949303}

--

wpt-commits: 30fac55fa8baa0f1abf98365947dc48a92ce30e0
wpt-pr: 31785
2021-12-20 11:38:23 +00:00
moz-wptsync-bot 4937435ceb Bug 1744797 [wpt PR 31934] - Update wpt metadata, a=testonly
wpt-pr: 31934
wpt-type: metadata
2021-12-20 11:38:22 +00:00
Alison Maher e06c94c3a4 Bug 1744797 [wpt PR 31934] - [FlexNG] Simple multi-line row flex fragmentation, a=testonly
Automatic update from web-platform-tests
[FlexNG] Simple multi-line row flex fragmentation

Add support for simple multi-line row flex fragmentation. In order to
get this case working, we needed to update when we consider an item
to have container separation in the case of rows (i.e. when the item's
row is not the first in a given fragmentainer).

There was also an issue in the NGFlexItemIterator when handling
break tokens in the multi-line case. More specifically, we won't know
the current item's index or line index ahead of time if we're
processing a break token. Move the calculation of |current_item_idx| and
|current_line_idx| to accommodate this case.

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

--

wpt-commits: 7d06eb4ee3509770654db3ae331f215275a6ce6e
wpt-pr: 31934
2021-12-20 11:38:22 +00:00
Koji Ishii cda9a19f46 Bug 1744799 [wpt PR 31935] - [block-in-inline] Add more test for r948826, a=testonly
Automatic update from web-platform-tests
[block-in-inline] Add more test for r948826

r948826 crrev.com/c/3318676 fixed a test:
  tables/mozilla/bugs/bug113235-1.html
when BlockInInline is enabled, but the test relies on the
parser to chunk at the specific timing.

This patch adds a test that always hit the condition by using
the `insertBefore` function.

Bug: 716930
Change-Id: I1c8ee5d197801d02749d75ec7e03a773207716e5

--

wpt-commits: ad5d26e64d54cd45787df6bcc2d6fc4fcaa77d50
wpt-pr: 31935
2021-12-20 11:38:21 +00:00
Morten Stenshorne 4acd157914 Bug 1744737 [wpt PR 31929] - Correct document order for fixedpos flex item inside abspos legacy flex., a=testonly
Automatic update from web-platform-tests
Correct document order for fixedpos flex item inside abspos legacy flex.

If there's an OOF flex item inside an OOF legacy flex container, and the
flex container isn't the containing block for the item (e.g. fixed-
positioned inside absolute-positioned), check one extra time when
handling them at the containing block.

LayoutBlock::PositionedObjects() gets OOFs out of document order upon
re-layout on a general basis, if there's a fixed-positioned object
inside another OOF, so that we may end up laying out the child before
the parent. If, when eventually laying out the parent, we mark the child
for layout, we'd never get back to laying it out, and DCHECKs would
fail.

The only known actual problem with having objects out of document order
is precisely what's described above, so the fix is limited to that.

Hopefully the legacy engine is removed before we discover any problems
with my fix. :-p

Bug: 1269228
Change-Id: Ifc212e2b8baa6b9fcf58a5714fa7a8a1139f4b87

--

wpt-commits: 193d9758c4c900b3a80f71e47bc5fd85138d71fa
wpt-pr: 31929
2021-12-20 11:38:21 +00:00
moz-wptsync-bot b8639f1671 Bug 1744355 [wpt PR 31887] - Update wpt metadata, a=testonly
wpt-pr: 31887
wpt-type: metadata
2021-12-20 11:38:20 +00:00
Joey Arhar 5de463ad90 Bug 1744355 [wpt PR 31887] - Port chrome-only dialog tests to WPT part 3, a=testonly
Automatic update from web-platform-tests
Port chrome-only dialog tests to WPT part 3

Bug: 1240798
Change-Id: Id1e38606a8ec0b59fa5172baa7649d31979267f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3315600
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949223}

--

wpt-commits: 96a05d37bd706aec4fe5f089da81b908fcfb08f8
wpt-pr: 31887
2021-12-20 11:38:20 +00:00