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

733725 Коммитов

Автор SHA1 Сообщение Дата
moz-wptsync-bot c61e5b9801 Bug 1675517 - [wpt-sync] Update web-platform-tests to 09e030df327205fe29640f24ff7085afc81759bc, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 09e030df327205fe29640f24ff7085afc81759bc
wpt-type: landing
2020-11-06 12:14:22 +00:00
Hitoshi Yoshida cdf817b3c1 Bug 1675435 [wpt PR 26408] - BFCache: Make a WPT test work with BFCache, a=testonly
Automatic update from web-platform-tests
BFCache: Make a WPT test work with BFCache

If we enable same-site backward/forward cache, backward navigation
does not trigger onload event.

This CL updates a WPT that depends on the onload event to handle
pageshow event and makes it work with backward/forward cache.

Bug: 1132180
Change-Id: I663f9c78e8b9835f081c5262b446bd56dba07cf9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2520558
Reviewed-by: Fergal Daly <fergal@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Commit-Queue: Hitoshi Yoshida <peria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824321}

--

wpt-commits: 09e030df327205fe29640f24ff7085afc81759bc
wpt-pr: 26408
2020-11-06 12:14:22 +00:00
moz-wptsync-bot 5d4b8b6b70 Bug 1675362 [wpt PR 26402] - Update wpt metadata, a=testonly
wpt-pr: 26402
wpt-type: metadata
2020-11-06 12:14:21 +00:00
Lan Wei db706d874d Bug 1675362 [wpt PR 26402] - Simulate user inputs in layout_change_should_fire_mouseover.html, a=testonly
Automatic update from web-platform-tests
Simulate user inputs in layout_change_should_fire_mouseover.html

Use testdriver Action API to simulate mouse actions in
uievents/mouse/layout_change_should_fire_mouseover.html.

Bug: 1145677
Change-Id: If90ec00d39b773df06570aeebb0a98dbcdd1c463
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518599
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824163}

--

wpt-commits: f535a2e92b3c0b43996400b0f9bfae5b5579c4bd
wpt-pr: 26402
2020-11-06 12:14:21 +00:00
Lan Wei 18048475d2 Bug 1675123 [wpt PR 26387] - Simulate user inputs in mouseevent_move_button.html, a=testonly
Automatic update from web-platform-tests
Simulate user inputs in mouseevent_move_button.html

Use testdriver Action API to simulate mouse actions in
uievents/mouse/mouseevent_move_button.html.

Bug: 1145677
Change-Id: Ie0924fe1086655c30ea765731a4927f9ec2191cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2516439
Commit-Queue: Lan Wei <lanwei@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824152}

--

wpt-commits: 263a6d1a6397c683171646ad89d11966f363112e
wpt-pr: 26387
2020-11-06 12:14:20 +00:00
Lan Wei e92a680659 Bug 1675359 [wpt PR 26400] - Simulate user inputs in mouseover-out.html, a=testonly
Automatic update from web-platform-tests
Simulate user inputs in mouseover-out.html

Use testdriver Action API to simulate mouse actions in
uievents/order-of-events/mouse-events/mouseover-out.html.

Bug: 1145677
Change-Id: I7438c4faea4e5bbb8e757a8db265571cc559003a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518819
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824160}

--

wpt-commits: 7b165f8d2e8a3ac914102466ec2175a1817365b0
wpt-pr: 26400
2020-11-06 12:14:20 +00:00
Xianzhu Wang 39e3b47f08 Bug 1675352 [wpt PR 26384] - Fix clip-path with offset mix-blending-mode, a=testonly
Automatic update from web-platform-tests
Fix clip-path with offset mix-blending-mode

The synthethized clip layer should use the current transform instead of
the clip rect's transform.

Bug: 1144473
Change-Id: I6cd7457706d6b82b043a0b4bf20863a8a698d521
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2515206
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824093}

--

wpt-commits: b1997c4b395772d5eb212656e995926f99ec8899
wpt-pr: 26384
2020-11-06 12:14:19 +00:00
moz-wptsync-bot 89cb65f7a5 Bug 1675146 [wpt PR 26389] - Update wpt metadata, a=testonly
wpt-pr: 26389
wpt-type: metadata
2020-11-06 12:14:19 +00:00
Xianzhu Wang ba523c3019 Bug 1675146 [wpt PR 26389] - Fix mask-based clip-path with backdrop filter, a=testonly
Automatic update from web-platform-tests
Fix mask-based clip-path with backdrop filter

Cc requires additional bookkeeping for the case, including setting the
mask layer as a backdrop mask layer, etc.

Also let CompositeAfterPaint composite the backdrop mask layer which is
also required by cc.

Bug: 1144520
Change-Id: Id9be79d398c1c4b41aa97a7c8c3e23546ce87365
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518440
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824041}

--

wpt-commits: 0bfbfff7078026df1303fd557b199d158a156778
wpt-pr: 26389
2020-11-06 12:14:18 +00:00
moz-wptsync-bot a3e31dc920 Bug 1673469 [wpt PR 26293] - Update wpt metadata, a=testonly
wpt-pr: 26293
wpt-type: metadata
2020-11-06 12:14:18 +00:00
Ziran Sun 8392c44b01 Bug 1673469 [wpt PR 26293] - Port two css-grid test files to WPT, a=testonly
Automatic update from web-platform-tests
Port two css-grid test files to WPT

The test that fails in Chromium related to calc() serialization is due to:
https://bugs.chromium.org/p/chromium/issues/detail?id=1050968

The test that fails in Firefox related to resolving percentage grid rows is due to:
https://bugzilla.mozilla.org/show_bug.cgi?id=1481876

BUG=767015

R=jfernandez@igalia.com

Change-Id: Ie219396d0e62181056ddf6c84b7b60f8251aeb43
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436821
Commit-Queue: Ziran Sun <zsun@igalia.com>
Reviewed-by: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#823932}

--

wpt-commits: 7a287c9e26fbc12c91e1dde91859fabed96254b6
wpt-pr: 26293
2020-11-06 12:14:17 +00:00
moz-wptsync-bot dc145d14b4 Bug 1673606 [wpt PR 26305] - Update wpt metadata, a=testonly
wpt-pr: 26305
wpt-type: metadata
2020-11-06 12:14:17 +00:00
Philipp Hancke 60e4ba3636 Bug 1673606 [wpt PR 26305] - webrtc wpt: add test for payload type demuxing, a=testonly
Automatic update from web-platform-tests
webrtc wpt: add test for payload type demuxing

and rename the file

BUG=webrtc:12029

Change-Id: I52753f98686715a19f910d7d0ff883e55a840722
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500842
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823921}

--

wpt-commits: c36cb1e4eb48d0ed90ef3249ee47d26f71e234a1
wpt-pr: 26305
2020-11-06 12:14:16 +00:00
moz-wptsync-bot 5ce774185c Bug 1610842 [wpt PR 21341] - Update wpt metadata, a=testonly
wpt-pr: 21341
wpt-type: metadata
2020-11-06 12:14:16 +00:00
Ian Kilpatrick eead078084 Bug 1610842 [wpt PR 21341] - [wpt] Make position-absolute-center-* not tentative., a=testonly
Automatic update from web-platform-tests
[wpt] Make position-absolute-center-* not tentative.

As per recent CSSWG resolution in:
https://github.com/w3c/csswg-drafts/issues/4659#issuecomment-577211422

Change-Id: I088059bc4092da07047a89cb19ac1193bb4e8c5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2012957
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823860}

--

wpt-commits: 322c4da99b1d62796d5f4105eb02a745bb35d3f9
wpt-pr: 21341
2020-11-06 12:14:16 +00:00
moz-wptsync-bot 09612056b0 Bug 1675171 [wpt PR 26371] - Update wpt metadata, a=testonly
wpt-pr: 26371
wpt-type: metadata
2020-11-06 12:14:15 +00:00
David Grogan 5cb4fb8085 Bug 1675171 [wpt PR 26371] - [css-flex] Fix some gap tests that fail in firefox, a=testonly
Automatic update from web-platform-tests
[css-flex] Fix some gap tests that fail in firefox

These failed due to firefox and chrome using different default fonts. I
avoided that problem by assigning a fixed width to the divs containing
the words.

These tests now pass when I run them locally in firefox with
./wpt run --binary ~/ff-nightly/firefox firefox css/css-flexbox/gap-006*

This was filed in https://github.com/web-platform-tests/wpt/issues/26326

Fixes web-platform-tests/wpt#26326

Change-Id: Ib0795c67bce5f80f7a33e1da74a026c1ed574b41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2515226
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823830}

--

wpt-commits: b9dea15062d348abb8da77996e8eb0bd4f9e5dec
wpt-pr: 26371
2020-11-06 12:14:14 +00:00
moz-wptsync-bot b9cfce2163 Bug 1675141 [wpt PR 26366] - Update wpt metadata, a=testonly
wpt-pr: 26366
wpt-type: metadata
2020-11-06 12:14:14 +00:00
Kevin Ellis e2987753a6 Bug 1675141 [wpt PR 26366] - Split and augment reftests for rotation interpolation., a=testonly
Automatic update from web-platform-tests
Split and augment reftests for rotation interpolation.

Divided the rotation tests into two groups: one for common axis,
second for interpolated axis + angle (SLERP).  By separating in this
way, it is easier to match up the tests with the corresponding images.

The 0 -> 90 degree tests for common-axis rotations were changed to
30 -> 90 since a zero degree rotation matches any non-zero counterpart.

Tests added to both groups to verify the following:

* rotation with scaled axis
* rotate -> rotateZ
* special case of a zero rotation angle
* counter-rotation with negative angle
* counter-rotation with inverted axis
* axis+angle interpolation (SLERP)

Bug: 998175, 929841
Change-Id: Iefcfa9bf0d55b6df7f459f51c8b900dd991ab890
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513796
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823746}

--

wpt-commits: 816b44892bf7ea902e75aa7234f20a2c89e69882
wpt-pr: 26366
2020-11-06 12:14:13 +00:00
Dominik Röttsches 09a126536a Bug 1675117 [wpt PR 26378] - Do not apply text-underline-offset to overline decoration, a=testonly
Automatic update from web-platform-tests
Do not apply text-underline-offset to overline decoration

Take into account swapping of underline and overline in vertical, when
using text-underline-position "right" and "left".

Add 3 WPT tests to ensure text-overline-offset is not applied to
overline and that the underline on the correct side is offset in
vertical.

Bug: 1143600
Change-Id: Idd52a5d2d953fc486050ef20a1960ab51145521c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2510829
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Dominik Röttsches <drott@chromium.org>
Auto-Submit: Dominik Röttsches <drott@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823706}

--

wpt-commits: e754983a95c478decfee39d2c6fda07c36a9562c
wpt-pr: 26378
2020-11-06 12:14:13 +00:00
Liviu Tinta b6180766f1 Bug 1675089 [wpt PR 26374] - Reland "WPT to check click/auxclick/contextmenu are pointerevents", a=testonly
Automatic update from web-platform-tests
Reland "WPT to check click/auxclick/contextmenu are pointerevents"

This is a reland of 365f1d942bbc9008c7debf283429715bbedace27

I am waiting for action sequence to finish and for the event to
execute before terminating the test.

Original change's description:
> WPT to check click/auxclick/contextmenu are pointerevents
>
> Verify that the user agent returns click/auxclick/contextmenu as pointerevents.
>
> Bug: 989958
> Change-Id: I02757ef704b605471614829177cba24a73b6c8db
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513801
> Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
> Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#823332}

Bug: 989958
Change-Id: Icf79feebe63a3f2b94b3837dedfa68a4574927a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2515051
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823611}

--

wpt-commits: 2ce0707e12307420956866d9ace55584082f8d26
wpt-pr: 26374
2020-11-06 12:14:12 +00:00
Anders Hartvoll Ruud 9c7aed07f5 Bug 1675236 [wpt PR 26377] - [scroll-animations] Add WPT for animation-timeline with multiple values, a=testonly
Automatic update from web-platform-tests
[scroll-animations] Add WPT for animation-timeline with multiple values

Fixed: 1114808
Change-Id: I75c1afb4158703af75fe53d4b59155730e289e0b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513601
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823546}

--

wpt-commits: 4e1853e149ea4c7a1a59f64bb27a34384a923c76
wpt-pr: 26377
2020-11-06 12:14:12 +00:00
moz-wptsync-bot ab6c073364 Bug 1675234 [wpt PR 26317] - Update wpt metadata, a=testonly
wpt-pr: 26317
wpt-type: metadata
2020-11-06 12:14:12 +00:00
Anne van Kesteren 5548ac9535 Bug 1675234 [wpt PR 26317] - URL: percent-encoding test framework basics, a=testonly
Automatic update from web-platform-tests
URL: percent-encoding test framework basics

--

wpt-commits: 09d8830be15da7e3a44f32a934609c25357d6ef3
wpt-pr: 26317
2020-11-06 12:14:11 +00:00
Anders Hartvoll Ruud 12910ae338 Bug 1675232 [wpt PR 26369] - [scroll-animations] Ignore animation-timeline if replaced by JS, a=testonly
Automatic update from web-platform-tests
[scroll-animations] Ignore animation-timeline if replaced by JS

Similarly to how animation-play-state is ignored if play() is called
using the Web Animations API, the animation-timeline property should
probably be ignored if the timeline of a CSSAnimation has been replaced
using the Animation.timeline attribute.

Bug: 1074052
Change-Id: I5fcc16539e50ee2a6da6fe64c181f45086386e93
Fixed: 1141836
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2514210
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823481}

--

wpt-commits: c6ce815c73332a8ef82627f1639efae113262778
wpt-pr: 26369
2020-11-06 12:14:11 +00:00
Meredith Lane 8a9a84c2ca Bug 1675230 [wpt PR 26373] - Revert "WPT to check click/auxclick/contextmenu are pointerevents", a=testonly
Automatic update from web-platform-tests
Revert "WPT to check click/auxclick/contextmenu are pointerevents"

This reverts commit 365f1d942bbc9008c7debf283429715bbedace27.

Reason for revert: Fails deterministically on Webkit Linux Leak bot, first failure here: https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20Leak/20367

Original change's description:
> WPT to check click/auxclick/contextmenu are pointerevents
>
> Verify that the user agent returns click/auxclick/contextmenu as pointerevents.
>
> Bug: 989958
> Change-Id: I02757ef704b605471614829177cba24a73b6c8db
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513801
> Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
> Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#823332}

TBR=mustaq@chromium.org,liviutinta@chromium.org

Change-Id: Idf6e9caf6291aa9a35ddabbb8e8f18c45f004522
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 989958
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2515504
Reviewed-by: Meredith Lane <meredithl@chromium.org>
Commit-Queue: Meredith Lane <meredithl@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823407}

--

wpt-commits: cb8f6eddcb7d37b825cacce876cb4610527c5e6b
wpt-pr: 26373
2020-11-06 12:14:10 +00:00
moz-wptsync-bot a04e1fe6b5 Bug 1675229 [wpt PR 26367] - Update wpt metadata, a=testonly
wpt-pr: 26367
wpt-type: metadata
2020-11-06 12:14:10 +00:00
Liviu Tinta 7eb82304d1 Bug 1675229 [wpt PR 26367] - WPT to check click/auxclick/contextmenu are pointerevents, a=testonly
Automatic update from web-platform-tests
WPT to check click/auxclick/contextmenu are pointerevents

Verify that the user agent returns click/auxclick/contextmenu as pointerevents.

Bug: 989958
Change-Id: I02757ef704b605471614829177cba24a73b6c8db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513801
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823332}

--

wpt-commits: c81e292adb1f857ac460654dc2941e223a17e438
wpt-pr: 26367
2020-11-06 12:14:09 +00:00
moz-wptsync-bot d8a8613761 Bug 1675228 [wpt PR 26355] - Update wpt metadata, a=testonly
wpt-pr: 26355
wpt-type: metadata
2020-11-06 12:14:09 +00:00
Stephen Chenney ca35f076af Bug 1675228 [wpt PR 26355] - Fix selected text decoration when no selection style, a=testonly
Automatic update from web-platform-tests
Fix selected text decoration when no selection style

If there is a selection style but no text-decoration in
it, and text decoration in another pseudo style that applies,
then it is possible for the style to have text decorations but
not the pseudo selection style. Avoid crashing in this case.

Also improve selection decoration color by using just the
color from the selection style if available.

Bug: 1144134
Change-Id: Id09fbaeafcc7bdf187abcf6be5d542004e61a16c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513825
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823269}

--

wpt-commits: 005d0b768d12173332d7ce845d48d2ea8c9a09d1
wpt-pr: 26355
2020-11-06 12:14:09 +00:00
moz-wptsync-bot 5484850c9f Bug 1674269 [wpt PR 26336] - Update wpt metadata, a=testonly
wpt-pr: 26336
wpt-type: metadata
2020-11-06 12:14:08 +00:00
Mason Freed d97983b167 Bug 1674269 [wpt PR 26336] - Ship ElementInternals.shadowRoot attr, and limits to attachInternals, a=testonly
Automatic update from web-platform-tests
Ship ElementInternals.shadowRoot attr, and limits to attachInternals

With this CL, several changes will be shipped:
 1. There is now an ElementInternals.shadowRoot attribute, which gives
    custom element authors access to the element's shadowRoot, even
    in the case of closed shadow roots. Note that shadow roots that
    are attached prior to the custom element constructor being run will
    *not* be accessible via this attribute.
 2. The attachInternals() API can no longer be called *prior* to the
    custom element constructor being run. This preserves the security
    of the ElementInternals interface, by preventing inline script
    from "stealing" it before the custom element is upgraded.

This feature now has landed specs [1]/[2] and three LGTMs on the I2S
thread [3]. Shipping it!

[1] https://github.com/whatwg/html/pull/5909/files
[2] https://github.com/whatwg/html/pull/5912/files
[3] https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/uWcvDbzyIBk

Fixed: 1140609
Bug: 1042130
Change-Id: I634fa8e9b45ec501fc87d5c05728b96e7f409d9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2508849
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Robert Kaplow <rkaplow@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823207}

--

wpt-commits: 99ab85b771b835c47319bc28fff972723aaad2e8
wpt-pr: 26336
2020-11-06 12:14:08 +00:00
moz-wptsync-bot fd4a678b1c Bug 1675227 [wpt PR 26345] - Update wpt metadata, a=testonly
wpt-pr: 26345
wpt-type: metadata
2020-11-06 12:14:07 +00:00
Ian Kilpatrick f0bd5a9328 Bug 1675227 [wpt PR 26345] - [layout] Abort simplified layout if baselines shift., a=testonly
Automatic update from web-platform-tests
[layout] Abort simplified layout if baselines shift.

If we ran simplified layout, or triggered layout from a subtree-root
the baseline of the fragment may have changed. While most of the time
this doesn't have any visible side-effect, there may be an arbitrary
ancestor which relies on this baseline, causing elements to be baseline
aligned incorrectly.

This patch does two things:
1) When simplified layout is triggered from simplified layout, check if
   the Baseline shifted, and return nullptr.
2) When we are being laid out as a subtree root (as an inflow element),
   check if the Baseline shifted, and mark our containing block chain
   for layout.

Bug: 1137905
Change-Id: I8c8fa2c981e9001cf6ec7f685d4451e1fe13c848
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2509644
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823197}

--

wpt-commits: e7374c79537d3afbab2e643dbb37e6a280af9028
wpt-pr: 26345
2020-11-06 12:14:07 +00:00
moz-wptsync-bot d27afaf862 Bug 1674249 [wpt PR 26332] - Update wpt metadata, a=testonly
wpt-pr: 26332
wpt-type: metadata
2020-11-06 12:14:06 +00:00
Anders Hartvoll Ruud 5ecd779c7c Bug 1674249 [wpt PR 26332] - Support complex selectors in :not(), a=testonly
Automatic update from web-platform-tests
Support complex selectors in :not()

Until now we've only supported a single compound selector as an
argument to :not(). This CL adds support for complex selectors,
based on the recent work on :is() and :where().

Parsing
-------

Note that unlike :is() and :where(), :not() does not use
the forgiving selector list behavior, but instead fails parsing the
normal way. CSSSelectorParser now has both ConsumeNestedSelectorList
and ConsumeForgivingNestedSelectorList for the two behaviors.

Our ShadowDOMv0-disabling logic should apply to complex :not() as well,
but for backwards compatibility, we need to allow it whenever :not()
_doesn't_ have a complex argument. The TreatAsNonComplexArgumentToNot()
was added to detect this, which replaces the previous function
CSSParserSelector::IsSimple. (When v0 is removed, we can remove this
mess as well).

Invalidation
------------

There was a bug in ExtractInvalidationSetFeaturesFromSelectorList:
we're supposed to ignore any extracted features inside a :not().
For example, for ".a :not(.b)", we should not add ".b" to the
invalidation set for ".a". In ExtractInvalidationSetFeaturesFrom-
SelectorList there was code that attempted to block the inner features
from "crossing" the :not()-boundary, but it incorrectly used the
*outer* pseudo-type. In other words, when considering ":not(.b)",
the pseudo-type would be kUnknown, since we are not (yet) inside the
:not(). Instead what we need to do is check the pseudo-type of
of the currently held simple selector.

Now that we "block" inner features correctly at the :not() boundary,
the check in ExtractInvalidationSetFeaturesFromCompound is not needed
anymore. This in turns means we can remove several PseudoType params,
which is nice.

Matching
--------

Now traverses a CSSSelectorList and uses MatchSelector. Beyond that
it just works.

Bug: 1139865
Change-Id: Iea5513445e54303ba0685cffc3b52dabc115b7f1
I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/0alTkXvDCL8/m/-ClOGvOJBAAJ
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2507549
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823161}

--

wpt-commits: 1794f2ee84cd9cbbac0daea76ee7f52b12381bdb
wpt-pr: 26332
2020-11-06 12:14:06 +00:00
ziransun eabbfae8fd Bug 1675224 [wpt PR 26365] - Python3: Add prefix "b" for bytes literals for newly introduced .py file, a=testonly
Automatic update from web-platform-tests
Python3: Add prefix "b" for bytes literals for newly introduced .py file (#26365)

--

wpt-commits: f44e82893ffac9ff549fb44e09d1a9f0ccf9341d
wpt-pr: 26365
2020-11-06 12:14:06 +00:00
moz-wptsync-bot bb5d503624 Bug 1673030 [wpt PR 26261] - Update wpt metadata, a=testonly
wpt-pr: 26261
wpt-type: metadata
2020-11-06 12:14:05 +00:00
Christian Biesinger 2d245ccfe1 Bug 1673030 [wpt PR 26261] - Map the aspect ratio from width/height to CSS, a=testonly
Automatic update from web-platform-tests
Map the aspect ratio from width/height to CSS

Instead of having special code in image layout, map the aspect ratio that's
computed from the width and height attributes to the aspect-ratio property.

As a side-effect, this patch will also make the aspect-ratio property work
when contain: size is specified in an image (as well as error images when
no alt text is specified).

As specified in https://github.com/whatwg/html/pull/6032.

R=masonfreed@chromium.org, xiaochengh@chromium.org

Bug: 1137004
Change-Id: I1253fa2ecf1e176711d3c4d7bd4159f466656ae8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2495560
Reviewed-by: Yu Han <yuzhehan@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823124}

--

wpt-commits: af446b330a4610771769a5cb33668e151239c7e7
wpt-pr: 26261
2020-11-06 12:14:05 +00:00
ziransun 8f5b8b15b5 Bug 1674755 [wpt PR 26359] - Python3: Add prefix "b" for bytes literals for Python3 compatiblility, a=testonly
Automatic update from web-platform-tests
Python3: Add prefix "b" for bytes literals for Python3 compatiblility (#26359)

--

wpt-commits: f22c6d5fd0e4c7d504e6394c5b84505ebad1a655
wpt-pr: 26359
2020-11-06 12:14:04 +00:00
moz-wptsync-bot 7c210a9744 Bug 1674754 [wpt PR 26357] - Update wpt metadata, a=testonly
wpt-pr: 26357
wpt-type: metadata
2020-11-06 12:14:04 +00:00
Kent Tamura 81a8e1124a Bug 1674754 [wpt PR 26357] - css-pseudo: :first-line should not affect inline-blocks, a=testonly
Automatic update from web-platform-tests
css-pseudo: :first-line should not affect inline-blocks

https://drafts.csswg.org/css-pseudo-4/#first-text-line
> The first line of a table-cell or inline-block cannot be the first
> formatted line of an ancestor element.

This CL fixes a regression by LayoutNG.
The new behavior matches to the legacy layout and Safari.

Bug: 1143621
Change-Id: I1421bef1f4a35f7c88a7becf5d5b61d51befbf20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513959
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823108}

--

wpt-commits: fca57e6fc8aab6eadada6a04afbffd4a4b7b9543
wpt-pr: 26357
2020-11-06 12:14:03 +00:00
Kent Tamura 62c403c4bb Bug 1674753 [wpt PR 26358] - Fix a null pointer dereference in TextAreaIntrinsicBlockSize(), a=testonly
Automatic update from web-platform-tests
Fix a null pointer dereference in TextAreaIntrinsicBlockSize()

crrev.com/814173 accidentally changed a runtime
|inner_editor->GetLayoutBox()| check to a DCHECK though it can be
nullptr if content-visibility:auto is specified.

Bug: 1143620
Change-Id: I26a7f6cad906ef629ef0353bc0538cabbc1be620
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513849
Auto-Submit: Kent Tamura <tkent@chromium.org>
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823089}

--

wpt-commits: 9429cf82a611bcd563df2f672ac4362b518bb47f
wpt-pr: 26358
2020-11-06 12:14:03 +00:00
Koji Ishii 30edf8aca7 Bug 1674713 [wpt PR 26354] - Fix justification when hyphenation points are at end of nodes, a=testonly
Automatic update from web-platform-tests
Fix justification when hyphenation points are at end of nodes

r819319 crrev.com/c/2476354 added |NGInlineItem.is_hyphenated|
as the flag to indicate whether it is hyphenated or not, but
failed to update |ApplyJustify|. This patch changes it to use
the flag instead of |hyphen_shape_result|.

Bug: 1141755
Change-Id: I49303b54c22c419a2dcf804cf40e4ec3b1a1f4ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2511151
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823039}

--

wpt-commits: e77eef74c0b20028b8d86260ef81ffe1f9688027
wpt-pr: 26354
2020-11-06 12:14:02 +00:00
Stephen McGruer 401a2f17c7 Bug 1674706 [wpt PR 26314] - [wptrunner] Make reftests obey the 'www' file-flag., a=testonly
Automatic update from web-platform-tests
[wptrunner] Make reftests obey the 'www' file-flag. (#26314)

Follow up to https://github.com/web-platform-tests/wpt/pull/26263
--

wpt-commits: 50135913e9e3488b85399c9e0a99ffec89491d28
wpt-pr: 26314
2020-11-06 12:14:02 +00:00
Gerald Squelart e7313b8f47 Bug 1674737 - Use SpliceableJSONWriter::UniqueStringElement in DeserializeAfterKindAndStream - r=gregtatum
Unique strings are used to encode all markers' 'name' field, SpliceableJSONWriter::UniqueStringElement can be used for that (instead of a caller-provided callback, which was necessary before UniqueJSONStrings was de-duplicated).

Differential Revision: https://phabricator.services.mozilla.com/D95513
2020-11-06 11:29:11 +00:00
Gerald Squelart 7e48b598df Bug 1674737 - Make SpliceableJSONWriter optionally point at a UniqueJSONStrings, with pass-through functions - r=gregtatum
Some markers (e.g., Screenshot) use unique strings in their data.

The UniqueJSONStrings used during streaming is attached to the SpliceableJSONWriter, and StreamJSONMarkerData can use pass-through functions UniqueStringProperty() and UniqueStringElement().

Differential Revision: https://phabricator.services.mozilla.com/D95512
2020-11-06 11:28:42 +00:00
Gerald Squelart 5f4f178337 Bug 1674737 - Use SpliceableJSONWriter instead of JSONWriter when streaming markers - r=gregtatum
Some markers (e.g., GC major/minor/slice) need to splice JSON strings in their data.
So now, instead of JSONWriter, StreamJSONMarkerData functions will be given a mozilla::baseprofiler::SpliceableJSONWriter.

Differential Revision: https://phabricator.services.mozilla.com/D95511
2020-11-06 11:28:33 +00:00
Gabriele Svelto e452abab1c Bug 1655476 - Scrape symbols for Windows graphics drivers r=marco DONTBUILD
This adds symbol servers from Intel, AMD and NVidia. Unfortunately not all
symbols are available there, we still have to manually download those that
aren't.

Differential Revision: https://phabricator.services.mozilla.com/D95854
2020-11-06 11:02:03 +00:00
Gabriele Svelto 4b85e11596 Bug 1675263 - Refactor the scripts used to scrape Microsoft and Apple system symbols r=marco DONTBUILD
This patch changes a few different things:
- The Docker image used for both scrapers are now based off of our standard
  Debian 10 image instead of an old Ubuntu one
- Both images were changed to make it easy to work with them when an
  interactive task is used
- The python packages used by the scripts had their versions pinned and
  cryptographic hashes have been recorded so that they can be verified before
  running the task
- The dump_syms version used on Windows was bumped to include fixes that allow
  us to scrape public symbols from DLLs and EXEs that have no PDB file available
- The maximum open file limit of the Window scraper was bumped up to cope with
  runs where we gather plenty of symbols in one go
- Similarly the maximum number of symultaneous connections to a single symbol
  server has been limited to 4 to avoid being throttled
- The macOS Python tools were modified to work with Python 3

Differential Revision: https://phabricator.services.mozilla.com/D95853
2020-11-06 11:02:25 +00:00