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
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
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
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
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
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
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
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
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
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/26326Fixesweb-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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