This updates the Gecko implementation to match the following change to
the Web Animations spec:
792453b952 (diff-4c9f5c055fb219a7fcad23a9a7a80b64)
Differential Revision: https://phabricator.services.mozilla.com/D50768
--HG--
rename : testing/web-platform/tests/web-animations/interfaces/Document/getAnimations.html => testing/web-platform/tests/web-animations/interfaces/DocumentOrShadowRoot/getAnimations.html
extra : moz-landing-system : lando
normal-flow-overconstrained-vlr-005.xht and
normal-flow-overconstrained-vrl-004.xht have been fixed by blink team
per bug 1580385 comment 1, and Firefox passes them. We can delete the
meta files.
Differential Revision: https://phabricator.services.mozilla.com/D50776
--HG--
extra : moz-landing-system : lando
The spec change HTMLObjectElement tabIndex default to 0, but `test_object_plugin_nav.html` will fail due to HTMLObjectElement’s sequence focus and .focus() rely on default tabIndex. In this patch I separate the logic to not rely on default tabIndex for HTMLObjectElement's plugin type and align the spec.
Differential Revision: https://phabricator.services.mozilla.com/D50801
--HG--
extra : moz-landing-system : lando
This is part of an attempt to make subtest names independent of the performance of the test.
Depends on D47024
Differential Revision: https://phabricator.services.mozilla.com/D47025
--HG--
extra : moz-landing-system : lando
With this patch, picture cache slices are constructed each time
a new scroll root is established. This reduces rasterization
cost on pages that have large fixed position elements, and pages
that contain multiple scroll roots.
Differential Revision: https://phabricator.services.mozilla.com/D50026
--HG--
extra : moz-landing-system : lando
Automatic update from web-platform-tests
[ElementTiming] Cleanup window.location.href usage in tests
This CL removes window.location.href usage in element-timing tests and
uses window.location.origin instead, which makes the pathname
computation cleaner. It also adds t.step_func where it is missing.
Change-Id: Iabaac33eb65f9ed24f68e7fa583c8de05d1264c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872762
Reviewed-by: Tom McKee <tommckee@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707954}
--
wpt-commits: e42570fe16dd112aeacad78eb011daca434629a0
wpt-pr: 19813
Automatic update from web-platform-tests
[ElementTiming] Allow empty but present elementtiming attribute
This CL changes the behavior in cases where the elementtiming attribute
is set but not to a specific value, so that the affected elements are
considered registered for observation. It also adds a test with image
and text testcases. This follow the spec change at
https://github.com/WICG/element-timing/pull/38
Bug: 1011009
Change-Id: If33f55b0992545e6e13f108b923bbcfc546f4d33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1871638
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707947}
--
wpt-commits: 6174e0943360abb81f64a54205a7782531cddcaa
wpt-pr: 19812
Automatic update from web-platform-tests
[Reland] Composited Worklet Animations: Fixed updating local time on main thread.
The original CL caused flakiness of /virtual/threaded/animations/animationworklet* tests
(crbug.com/1014966). The reason for the flakiness is change in timing of main thread effect local
time update.
Reverted CL: https://chromium-review.googlesource.com/c/chromium/src/+/1826872
The reverted CL is in Patchset 1.
Patchset 2 fixes the tests by explicitly waiting for the effects to change.
This CL changes how local time of composited worklet animations is updated on main thread:
instead of polling local time on main thread, the local time is posted via animation events
by the composited thread to the main thread.
Design document: https://docs.google.com/document/d/1vUxaKBLDHQv9ACJUQJH4RXjuQTlWIsSiAFYkMrjccyc/edit?usp=sharing
Changes made:
- Expanded AnimationEvent to support worklet animation time update event type.
- Reused existing mechanism of posting animation events to the main thread to support new
event type.
- Removed "peek" logic.
- Enabled tests that previously failed.
Bug: 943787
Change-Id: I9a2965f204cad15b405be82305c38788c0eafd62
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864518
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#707904}
--
wpt-commits: f256ed473b61236ab154e21797c8b96436062bb0
wpt-pr: 19774
Automatic update from web-platform-tests
Update service_worker_unregister_and_register()
Allows callsites of this helper function to pass RegistrationOptions.
It will be useful for testing module service workers.
Bug: 824647
Change-Id: Idc9a5c012144da46dfc4d692ce26df9f604a6ea1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1851624
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704963}
--
Stop using default parameters in service_worker_unregister_and_register()
The previous CL (crrev.com/c/1851624) seemed to make some tests flaky.
I'm not sure the exact reason. This CL attempts to fix flakiness by not
using default parameters.
Bug: N/A
Change-Id: Ia6fae23881704e4eb41e33ebe3e22e89872d7f87
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866093
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707713}
--
wpt-commits: 9cb445cb5b453bc5aecb0c349ab062627bcefe10, 9c6848c2e4d7284ba326fe7898c6616c9b29854d
wpt-pr: 19613
Automatic update from web-platform-tests
autofocus: Change the timing of 'flush autofocus candidates'
* ScriptedAnimationController kicks Document::FlushAutofocusCandidates
Now ScriptedAnimationController takes into account of existence of
autofocus candidates.
* Document::FlushAutofocusCandidates needs to call
UpdateStyleAndLayoutTree() for each of candidates.
IsFocusable() needs up-to-date style. UpdateStyleAndLayoutTree() was
unnecessary because FlushAutofocusCandidates() was called after
layout.
Bug: 1015275
Change-Id: I06dcb9b3cd2564d35fba3f893e7ce4b8736c91bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863067
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707201}
--
wpt-commits: fd4814ce7fcc4d6c23c73aac62daa8299feb0510
wpt-pr: 19747
Automatic update from web-platform-tests
s/NFC/NDEF/g in NFC interfaces and dictionaries (#19805)
This CL renames NFCReader to NDEFReader, NFCWriter to NDEFWriter,
NFCReadingEvent to NDEFReadingEvent, NFCScanOptions to NDEFScanOptions,
NFCPushOptions to NDEFPushOptions, and NFCError to NDEFError as
suggested in Web NFC spec at https://github.com/w3c/web-nfc/pull/392
Bug: 520391
Change-Id: Ifc7d26d68b76bbf771a83cba94fc275819c28cfb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1869227
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#707736}
--
wpt-commits: 9f8e5f67582ccdef98faa436aa5996f2b6ffe207
wpt-pr: 19805
Automatic update from web-platform-tests
Fix URL setter tests for gopher no longer being special
Part of https://github.com/whatwg/url/issues/455.
--
wpt-commits: 43feb7f612fe9160639e09a47933a29834904d69
wpt-pr: 19790
Automatic update from web-platform-tests
Make a check for the initial value of selectionDirection less strict. (#10571)
Only run tests for the non-applicability of the selection API for supported types.
There's little point in running these tests; they should all fail, because
browsers will fall back to the 'text' type, which does support the API.
I didn't make the test fail if one of the types is not supported; there's
already a number of tests for that, and it isn't really the point of this one.
--
wpt-commits: b25863a805ab244fddb460cce3f6ebf62af12e70
wpt-pr: 10571
Automatic update from web-platform-tests
Make ShouldHaveFocusAppearance() consistent with :focus-visible.
Also simplify the model, and fix an issue where :focus-visible didn't match if `preventDefault()` was called on the keyboard event.
Now the model is that any trusted keyboard event will set had_keyboard_event to true, and any focus from mouse will re-set it to false.
Bug: 1010549
Change-Id: Ifcb9bfbef746b91d99fc8ef42a8ef0e223fca2c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863061
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707709}
--
wpt-commits: 670f3ef16f9b38e22e3b863dcdc2ea860348929a
wpt-pr: 19749
Automatic update from web-platform-tests
css-flexbox: special case vertical alignment for webkit-box
Deprecated flex box only considers box-pack if there is remaining space
(https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/renderer/core/layout/layout_deprecated_flexible_box.cc#1053
ish).
This patch makes it so flex box does the same if it's emulated -webkit-box.
BUG=1014884
TEST=wpt/compat/webkit-box-ignore-box-pack.html
Change-Id: Ic15d1f93957ba8923c48e5a3a9864f17af412a17
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864321
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707677}
--
wpt-commits: 02fae42fbd22ae0bbf0963dfb525520fa30e174a
wpt-pr: 19773
Automatic update from web-platform-tests
Make interpolation-testcommon.js produce consistent subtest names (#19759)
Passing expectations.expect through computed style may mutate it in an
implementation-dependent way. Those are interop bugs when that happens,
but we shouldn't surface it in the subtest name as that causes it to
fluctuate between browsers and releases.
--
wpt-commits: 4e9c00e23f9b786eb7f2927cd501714c98196e4d
wpt-pr: 19759
Automatic update from web-platform-tests
[css-values] Reftest for percentage root font size and rem units (#18941)
--
wpt-commits: 076ec518433677b21cda600195208f60c83dee39
wpt-pr: 18941
Automatic update from web-platform-tests
[docs] Remove duplicated instructions (#18913)
Prior to this commit, an explanation of the project's linting tool was
available in both the project "readme" file and the project's "docs/"
directory. This duplication was susceptible to synchronization problems,
as evidenced by the readme's reference to an executable file which was
deleted two years ago [1].
In general, it's preferable to store technical instruction in the
"docs/" directory because of its hierarchical structure; the project's
web site is generated based on that structure, offering visitors a more
approachable way to traverse the information. The "flat" nature of the
readme file makes it less ideal for conveying information to a wide and
varied audience.
Remove the discussion of the linting tool from the "readme" file. This
removal does not reduce the amount of information available because the
same instructions are already present in the relevant location within
the `docs/` directory.
[1] 555c9bd074e6cb3ec96db11a9091d4a2d03c6879
--
wpt-commits: 841ec0c2d63f840bdaa198ff2921052b567721cc
wpt-pr: 18913
Automatic update from web-platform-tests
CSS: Additional grid-template-rows/columns computed value tests
WPT for grid-template-rows and grid-template-columns when element is not empty.
Note: Some tests crashed Blink before crbug.com/988516 was fixed.
The last grid-template-rows test fails in Blink and WebKit: crbug.com/1011329
Bug: 988516, 1011329
Change-Id: If738869b81ae9fae7214042481f9650bf856b1ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1840131
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#707636}
--
wpt-commits: e0875f70f4f33a92d8a935e8d0e09a67a45761e8
wpt-pr: 19507