Automatic update from web-platform-tests
DOM: tests for the StaticRange constructor
For https://github.com/whatwg/dom/pull/778.
--
wpt-commits: 91a5f1ae0c9501100ce9cd476ba8c08a1bff5125
wpt-pr: 18619
Automatic update from web-platform-tests
Reland Add tick duration argument to testdriver Action
We want to allow the users to define the duration for every tick, so we
add an argument to Action class which will be a duration for all
ticks. If there is a tick which need a different duration, we can call
addTick or pause to pass a different value.
Bug: 606367
Change-Id: Ifaad20fd6f6d2a3c97b54960b13289012bd4abc2
TBR=nzolghadr@chromium.org
Change-Id: Ifaad20fd6f6d2a3c97b54960b13289012bd4abc2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1775502
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691445}
--
wpt-commits: 42e89dc19437759785c27d35191b4f049276c7b8
wpt-pr: 18731
Automatic update from web-platform-tests
Revert "Add tick duration argument to testdriver Action"
This reverts commit c7ea6754ed0a642be6bbe668b6e83dbd35caecfa.
Reason for revert: Possible cause of crbug.com/998948
Original change's description:
> Add tick duration argument to testdriver Action
>
> We want to allow the users to define the duration for every tick, so we
> add an argument to Action class which will be a duration for all
> ticks. If there is a tick which need a different duration, we can call
> addTick or pause to pass a different value.
>
> Bug: 606367
> Change-Id: I7e5d88557f5f4a4c63dbf85985c30881aee9f739
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762836
> Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
> Commit-Queue: Lan Wei <lanwei@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#691186}
TBR=lanwei@chromium.org,nzolghadr@chromium.org
Change-Id: I52a0c14b77c9c6139b2f01b6a449d604fbe137d3
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 606367
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774427
Reviewed-by: Darren Shen <shend@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691372}
--
wpt-commits: 330ffdbdef4368ea1e8f7f826f6dd5b45d1fe8bb
wpt-pr: 18730
Automatic update from web-platform-tests
[revert] Allow about:srcdoc{#foo,?bar}
As a defensive measure, navigation to about:srcdoc#foo and
about:srcdoc? were disallowed by:
https://chromium-review.googlesource.com/c/chromium/src/+/1663421
The assumption were wrong. It is totally possible to make a same-document
navigation into about:srcdoc. This CL reverts parts of the previous CL.
Bug: 996044, 996725
Change-Id: I53ac8efa9ec7f0adb4cecc85163b8d037497c0e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773263
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691275}
--
wpt-commits: 5203de17db18ce59f48dec42a45b7854e63267e2
wpt-pr: 18714
Automatic update from web-platform-tests
Remove text-orientation-script-001* (#18660)
This patch removes `text-orientation-script-001*` tests.
At the point this set of tests were developed, UA had to
implement computing the Vertical_Orientation property as
defiend in UTR#50.
Since then, UTR#50 turned to UAX#50 and ICU63 added this
property that the benefit of testing all code points became
less important.
This set of tests have following downsides:
1. Specific to a version of UAX#50 that the tests and all UA
must be in sync.
2. Takes very long time, often timeouts in Edge and WebKit.
3. Is sensitive to the undefined behavior of
`getBoundingClientRect`.
4. It's not easy to maintain on every revision update.
Given the benefit went down, and we have tests for specific
cases (other `text-orientation-*` tests), this set of tests
has done its role hence removing.
--
wpt-commits: 05310f352f6032905a03a81b18049af9053db95a
wpt-pr: 18660
Automatic update from web-platform-tests
[LargestContentfulPaint] Fix anonymous LayoutObject aggregation
This CL allows ScopedPaintTimingDetectorBlockPaintHook to skip anonymous layout
objects by only setting |reset_top_| on the EmplaceIfNeeded() method. This also
means two DHECKs related to |top_| need to be removed.
Bug: 988593
Change-Id: Iad4cf425d712436092ed2005eb39197d7cfd8439
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773720
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691216}
--
wpt-commits: 0a80ac883be37fc74859cd04815795e2a74077a1
wpt-pr: 18724
Automatic update from web-platform-tests
Add tick duration argument to testdriver Action
We want to allow the users to define the duration for every tick, so we
add an argument to Action class which will be a duration for all
ticks. If there is a tick which need a different duration, we can call
addTick or pause to pass a different value.
Bug: 606367
Change-Id: I7e5d88557f5f4a4c63dbf85985c30881aee9f739
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762836
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691186}
--
wpt-commits: c417f6d8f332d8c0f35bb67e9c58c0cfeb4ce291
wpt-pr: 18596
Automatic update from web-platform-tests
Reland "[CSS] Treat viewport-relative units as computationally independent"
This reverts commit 182115f0e3d61178991b3394e0dd50489df5ea30.
Reason for revert: We are relanding this to prove whether this patch was or was not the cause of the style and layout performance regression.
Original change's description:
> Revert "[CSS] Treat viewport-relative units as computationally independent"
>
> This is a speculative revert in order to either confirm or eliminate it
> as a source for a hard to track down persistent performance regression.
>
> This reverts r679183 (commit 6b846d3689b9038c73d87ecbab61670e91c7e051).
>
> Bug: 993476
> Tbr: pdr@chromium.org
> Change-Id: I37566d32fb0853590e72299fdc0f281c712bf027
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1764195
> Commit-Queue: Emil A Eklund <eae@chromium.org>
> Reviewed-by: Emil A Eklund <eae@chromium.org>
> Reviewed-by: Philip Rogers <pdr@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#689475}
TBR=pdr@chromium.org,eae@chromium.org,xiaochengh@chromium.org,andruud@chromium.org
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: 993476
Change-Id: I0292aa653c23ae3b2a751f62ee210626aeb71bbd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774683
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691182}
--
wpt-commits: ff1d1b2d99901b1317772d8880da1d5d21fc7133
wpt-pr: 18723
Automatic update from web-platform-tests
Reland "Started implementing the STAPIT algorithm"
Changed SMILTimeContainer to step through all times where
an animation stops or ends when just playing it normally. Currently
it will only add slowdowns but also makes the animations more "correct".
The "repeatn-remove-add-animation.html" test has been changed to work more
reliably with the new stepping.
This commit also fixes issue 688742
Bug: 688742, 986219, 997279
Change-Id: I7f1a68c42994eb5b080a87bd2df53cb80316ecff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768765
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Edvard Thörnros <edvardt@opera.com>
Cr-Commit-Position: refs/heads/master@{#691141}
--
wpt-commits: 5a8e09eae29344d2a907be9ff5c9c3a877f635ca
wpt-pr: 18672
Automatic update from web-platform-tests
Port most of the border-*-interpolation.html tests to WPT
Bug: 900581
Change-Id: I50718e83c691bd3351f7d881aeabc5be1475f1a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773198
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691144}
--
wpt-commits: 56b070d4ea8401441e55370f69aa9e8f1faf3fb0
wpt-pr: 18703
Automatic update from web-platform-tests
Fix flakiness of pausing-an-animation test.
The test had a strict inequality test for current time based on the
fact that the ready promise is typically received in the next frame
after the compositor has paused the animation. However, the test is
validating that the updated playback rate does not take effect too
early, which would result in a big change to current time. Changing
the assert from > to >= still validates what the test was designed for
and accommodates some variability in the delivery time of the ready
promise. The spec does not state that the time must advance before the
ready promise is delivered, just that the animation client must
acknowledge that it is ready.
Bug: 997149
Change-Id: I1a0a5d889d6f8270560c9d4ec8e9de94b429e855
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773718
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691138}
--
wpt-commits: 9020120054db4bbec928ade3fcb0aae4da9ed712
wpt-pr: 18712
Automatic update from web-platform-tests
Ensure font loading promises are rejected in valid execution context
The promise resolution was already wrapped in calling it inside the
right execution context, but the reject was not. Add the correct
execution context and schedule rejecting the promise if font loading for
a local() font fails when it is triggered by an implicit UA-triggered
load.
Spec reference:
https://drafts.csswg.org/css-font-loading/#font-face-load
in particular the last normative paragraph: "User agents can initiate
font loads on their own, whenever they determine that a given font face
is necessary to render something on the page. When this happens, they
must act as if they had called the corresponding FontFace’s load()
method described here."
Thanks to Roel Nieskens (pixelambacht@) for the helpful bug report and
reproduction test case.
Bug: 996687
Change-Id: Icb5d75675b8a2e0b3f100808645a1e2e550cfcd1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1771607
Commit-Queue: Dominik Röttsches <drott@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691092}
--
wpt-commits: d75cd4df6722acef7224eb6edcdc52b125680dad
wpt-pr: 18696
Automatic update from web-platform-tests
Allow trailing whitespace at the end of values attribute
We now first strip the path data and then check if it's an
empty string. This allows white space at the end of the
string. This follows the spec.
https://www.w3.org/TR/SVG11/animate.html#ValuesAttribute
Bug: 429301
Change-Id: Ie77731cb0ec17b489b439953e73230650a16bcd9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768771
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Edvard Thörnros <edvardt@opera.com>
Auto-Submit: Edvard Thörnros <edvardt@opera.com>
Cr-Commit-Position: refs/heads/master@{#691067}
--
wpt-commits: 4f2297cc42cff506deac5d51a6ba342f4eb090cf
wpt-pr: 18680
Automatic update from web-platform-tests
Remove stale dedicated-workers.idl in favor of dom.idl + html.idl
dedicated-workers.idl hasn't been updated in a long time, and has
definitions from DOM and HTML. The dom.idl and html.idl files are
synced with reffy-reports regularly, so just use those.
Moves the `WorkerLocation` coverage to HTML's idlharness.js test.
--
wpt-commits: ddaab2cf6795cbfa77efdae981b8c494b47e7518
wpt-pr: 18690
Automatic update from web-platform-tests
ElementReflection: ariaActiveDescendant, ariaErrorMessage, ariaDetails
Spec: https://whatpr.org/html/3917/common-dom-interfaces.html#reflecting-content-attributes-in-idl-attributes:element
This change:
- updates v8 bindings and IDL
- Implements (most) of the HTML spec for the three attributes
listed above.
This change is part of the experimental AOM project, and allows attributes that
reflect ARIA relationships to return an element reference corresponding to the
ID stored in the content attribute, rather than the string ID itself. These
attributes are exposed on the IDL interface AriaAttributes.
See https://rawgit.com/w3c/aria/master/#AriaAttributes for more information.
Attributes reflecting multiple element references will be implemented using
FrozenArray<Element> in a follow up CL.
BUG=981423
Change-Id: I35164b436c7e2ffd67a80ebd26e4233189e445b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1687013
Commit-Queue: Meredith Lane <meredithl@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Alice Boxhall <aboxhall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691047}
--
wpt-commits: 9ebd73eab7ce418ab5e5f0d3451d8200ace2300d
wpt-pr: 18344
Automatic update from web-platform-tests
Mark media-source/idlharness test as slow
The test often times out on the waterfall.
Tbr: chcunningham@chromium.org
Change-Id: I47cc2c795f0ff4163e952d1cce971388b7a67760
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773524
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Chrome Cunningham <chcunningham@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690852}
--
wpt-commits: 9e76bf3a36549abc01a511a309b8aeec0975fe6d
wpt-pr: 18707
Automatic update from web-platform-tests
Explain the split between the two idlharness tests in dom/ (#18708)
--
wpt-commits: 9ae3cc7e3f5420538b709a91149f4f811bc4bb42
wpt-pr: 18708
Automatic update from web-platform-tests
Replace setTimeout with step_timeout in inert/ tests (#18541)
This avoids the need to silence the lint.
--
wpt-commits: baa77c77ae1328ce146dcb699588141e2ed6bf80
wpt-pr: 18541