Automatic update from web-platform-tests
[css-flexbox] Move inline-flex-crash2.html to WPT
This CL migrates this test out of
third_party/blink/web_tests/css3/flexbox and into the WPT-specific
directory, adding links to the relevant specs and a test assertion
describing its purpose and renames inline-flex-editing-crash.html.
Bug: 1063749
Change-Id: I1a939dbf754630836798938dd35728324048f16f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152332
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Julie Kim <jkim@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759946}
--
wpt-commits: ffbec9e0390c2e33609e9f35717a1601dacdb2a1
wpt-pr: 22998
Automatic update from web-platform-tests
Replace assert_precondition with assert_implements in speech-api/ (#23021)
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
Since the interfaces tested here are not OPTIONAL parts of the Web
Speech spec, this test should use assert_implements.
--
wpt-commits: 1c325e430b540501a816d6750b349b8374081ccd
wpt-pr: 23021
Automatic update from web-platform-tests
[css-grid] Migrate flex-sizing-rows-min-max-height.html to WPT
This CL migrates flex-sizing-rows-min-max-height.html
from fast/css-grid-layout to
external/wpt/css/css-grid/layout-algorithm with WPT styles,
adding links to the relevant specs, and test description.
This test is renamed to flex-sizing-rows-min-max-height-001.html
to be align with existing tests.
Bug: 1063749
Change-Id: Ie02efebdbbe50c3a7a6307dac3a2097a25d9ad86
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152567
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759906}
--
wpt-commits: 9f2be44a10445209de85892147a0de367c0da8d8
wpt-pr: 23002
Automatic update from web-platform-tests
Invalidate view background when root element adds/removes paint properties
Since crrev.com/c/1979258, we have been painting view backgrounds
differently when the root element adds/removes paint properties.
We should invalidate view background.
Bug: 1070952
Change-Id: If263f32bb80b7654a9f4e01f3fd41ff28e4a848d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152992
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759821}
--
wpt-commits: cd4c16d96709bbec9206d97ee71b3b629a8728c6
wpt-pr: 23029
Automatic update from web-platform-tests
[css-flexbox] Move mainAxisExtent-crash.html to WPT
Migrate this test out of third_party/blink/web_tests/css3/flexbox
and into the WPT-specific directory, adding links to the relevant
specs and a test assertion describing its purpose and renames
to inline-flex-frameset-main-axis-crash.html.
Bug: 1063749
Change-Id: I03ee1f9bc35abac50b9b08247def9e9a704fd008
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152062
Commit-Queue: David Grogan <dgrogan@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759778}
--
wpt-commits: 849f3dd27bdbd7900c460cfa8a086b407a5d7794
wpt-pr: 23000
Automatic update from web-platform-tests
SVG: Increase hit-testing precision on strokes
Skia takes a precision value when generating strokes as an optimization.
When rendering, we pass a value derived from the scale-factor in the
CTM, but when hit-testing we were passing a hard-coded value. This
worked reasonably well for solid strokes at moderate scales. However,
at sufficiently high scales and especially for dashed strokes, the
stroke generated for hit-testing was noticeably different from the
rendered stroke.
This change passes the CTM through to the hit-testing code, so that we
can use the same high precision for hit testing as rendering.
Bug: 964614
Change-Id: I8dfcb3ade86b9e7b63c7415baab5814ac2286ce8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2112955
Reviewed-by: Ian Prest <iapres@microsoft.com>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Ian Prest <iapres@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#759761}
--
wpt-commits: e2a3527a8d9f7c6611c2dc4b797fe57312cfc0e3
wpt-pr: 22448
Automatic update from web-platform-tests
Added the 'light-estimation' XR feature descriptor
Bug: 1070819
Change-Id: Ia7d32b68864cea37788bc086520e51a0f828c7fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2149892
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759738}
--
wpt-commits: e90ba29969485656dc052694f312ff4fc006a7f2
wpt-pr: 22950
Automatic update from web-platform-tests
Get rid of SyntaxErrors in PerformanceObserver
This CL changes the SyntaxErrors to TypeErrors when 'type' and
'entryTypes' are both present or not present. It also adds a UseCounter
for when 'entryTypes' is present and 'buffered', the only other member
in the dictionary, is also present. Currently this causes a console
warning whereas it should instead also throw a TypeError, so once this
mistake is proved to be very infrequent, we can proceed to change it to
TypeError. See related PR:
https://github.com/w3c/performance-timeline/pull/164
Change-Id: Ic9399bf54895e3723b0ca2e513161a7e0638b681
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144686
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759739}
--
wpt-commits: c1fee07c7679635d4ef792dcc4992ba3094a788d
wpt-pr: 22942
Automatic update from web-platform-tests
[css-flexbox] Move inline-flex-crash.html to WPT
This CL migrates this test out of
third_party/blink/web_tests/css3/filters and into the WPT-specific
directory, adding links to the relevant specs and a test assertion
describing its purpose and renames
inline-flex-editing-with-updating-text-crash.html
Bug: 1063749
Change-Id: I62ca5c5f28b14b6258eec90ce029289a70e7c14f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152135
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759735}
--
wpt-commits: 08232b300874326409731035f3096b4ebf60a4ad
wpt-pr: 22996
Automatic update from web-platform-tests
[css-grid] Migrate grid-content-alignment-and-self-alignment.html to WPT
Migrate this test out of blink/web_tests/fast/css-grid-layout
and into the WPT-specific directory, adding links to the relevant
specs and a test assertion describing its purpose.
Bug: 767015, 1063749
Change-Id: I5d2d4771603678a792a37e71fd66cdc2a81f43b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152372
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Commit-Queue: Mario Sanchez Prada <mario@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759686}
--
wpt-commits: 4428f41d8d330fdef4471d850751ff02e9bc889c
wpt-pr: 23009
Automatic update from web-platform-tests
[video-raf] Add parameter verificiation tests
This CL adds/modifies three tests:
1. Updates the chained video.rAF callback test to also verify the
required VideoFrameMetadata fields (e.g. dimensions stay constant, time
and presented frames are increasing).
2. Adds a test that makes sure that video.rAF callbacks are
executed before window.rAF callbacks, and in the same turn of the event
loop (as measured by having identical 'time' callback parameters).
3. Adds a test that verifies that all of the WebRTC optional parameters
are present when we expect them to be.
Bug: 1012063
Change-Id: I72461dd42f6da1a03faaee61355e7c191fe4c116
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2130643
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Dan Sanders <sandersd@chromium.org>
Auto-Submit: Thomas Guilbert <tguilbert@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759671}
--
wpt-commits: e8c5085095b0c616f5232fa775e29c7128a39aa3
wpt-pr: 22951
Automatic update from web-platform-tests
Replace assert_precondition with assert_implements in layout-instability/ (#23005)
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
Since LayoutShift is not an OPTIONAL part of the Layout Instability
spec, these tests should use assert_implements.
--
wpt-commits: 12b6cdd0265b2aebadfeb2352dc20aca53febb27
wpt-pr: 23005
Automatic update from web-platform-tests
Replace assert_precondition with assert_implements in largest-contentful-paint/ (#23006)
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
Since LargestContentfulPaint is not an OPTIONAL part of the Largest
Contentful Paint spec, these tests should use assert_implements.
--
wpt-commits: b291cabcfc768c5901d60e0fe2ffb333fbd0a232
wpt-pr: 23006
Automatic update from web-platform-tests
Replace assert_precondition with assert_implements in portals/ (#23003)
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
Since HTMLPortalElement is not an OPTIONAL part of the Portals spec,
these tests should use assert_implements.
--
wpt-commits: dddc29524981e7b6c21b9ab403efc07c1d201a98
wpt-pr: 23003
Automatic update from web-platform-tests
Replace assert_precondition with assert_implements in paint-timing/
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
Since PerformancePaintTiming is not an OPTIONAL part of the Paint Timing
spec, these tests should use assert_implements.
--
Replace assert_precondition with assert_implements in longtask-timing/
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
Since PerformanceLongTaskTiming is not an OPTIONAL part of the Long
Tasks spec, these tests should use assert_implements.
--
Replace assert_precondition with assert_implements in event-timing/
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
Since PerformanceElementTiming is not an OPTIONAL part of the Element
Timing spec and EventCount is not an OPTIONAL part of the Event Timing
spec, these tests should use assert_implements.
--
Replace assert_precondition with assert_implements in element-timing/
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
Since PerformanceElementTiming is not an OPTIONAL part of the Element
Timing spec, these tests should use assert_implements.
--
wpt-commits: f3bf3bbd75dbab84e13406ddd86c6a7d00b39986, 4eee874b2c46f4ffff81112b8b3ff490e5092238, 67f7dd268503f106abdc8b38f617a4ba2f299f95, dcfc14df9aa42d2faa708598db34364ecd09b583
wpt-pr: 23004
Automatic update from web-platform-tests
[css-grid] Migrate grid-item-margin-auto-columns-rows-vert-rl to WPT
Migrate this test out of
third_party/blink/web_tests/fast/css-grid-layout/ into the WPT-specific
directory, adding links to the relevant specs and a test assertion
describing its purpose.
Bug: 1063749, 767015
Change-Id: I23abdf2174ab06c59f6ad20586f93edb3b039abe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146905
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759607}
--
wpt-commits: 697be773188fa10db08163087d9a89fd1122f20b
wpt-pr: 22962
Automatic update from web-platform-tests
[css-grid] Migrate flex-sizing-columns-min-max-width.html to WPT
This CL migrates flex-sizing-columns-min-max-width.html
from fast/css-grid-layout to
external/wpt/css/css-grid/grid-definition with WPT styles,
adding links to the relevant specs, and test description.
Additionally, this test is renamed to
flex-sizing-columns-min-max-width-001.html to be align
with existing tests.
Bug: 1063749
Change-Id: Ia88b67bd6ace8b2901990da9da26e5643a2ceaf3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152127
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759638}
--
wpt-commits: 34291e336bfada7b03fb04b51e960c9641ea76f5
wpt-pr: 22992
Automatic update from web-platform-tests
[css-grid] Migrate grid-auto-flow-sparse to WPT
Migrate this test out of
third_party/blink/web_tests/fast/css-grid-layout/ into the WPT-specific
directory, adding links to the relevant specs and a test assertion
describing its purpose.
Bug: 1063749, 767015
Change-Id: Id9bff09a76842aa9d96d566cce5c6731d9b6d530
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2148746
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759636}
--
wpt-commits: 3afcdd1399c749fa1e11877804ad0506ccc46760
wpt-pr: 22993
Automatic update from web-platform-tests
CookieStore: Additional wpt tests + cleanup
This chance adds some minor cleanup and a few additional test cases.
Change-Id: I938afe6d596bdbe4c6a520ab76622dfc3f6f3f99
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2137486
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759605}
--
wpt-commits: 78a9762094d037fc79ffc2bd5811193298ab051d
wpt-pr: 22735
Automatic update from web-platform-tests
[css-grid] Fix percentage track sizing functions in size containment
When finding the intrinsic sizes of a grid container, track sizing
functions that contain percentages would be indefinite, and thus should
be treated as 'auto'.
This is done in GridTrackSizingAlgorithm::CalculateGridTrackSize, but
there was an early return if the grid container had size containment.
Then, instead of being treated as 'auto', the track sizing function used
to just resolve the percentage against 0.
Additionally, a track sizing function of '1fr' is supposed to be treated
as 'minmax(auto, 1fr)', since only max track sizing functions can be
flexible. This fixup was also skipped, though this didn't affect the
final result.
This patch fixes these problems by removing the early return and adding
some asserts.
BUG=1069310
TEST=external/wpt/css/css-contain/contain-size-grid-003.html
TEST=external/wpt/css/css-contain/contain-size-grid-004.html
Change-Id: I1b8d8645a3fdf6c697c503184b35cc8cd12925a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144019
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759431}
--
wpt-commits: 1252158b78903a5c95e556d75c247442d24f3aab
wpt-pr: 22975
Automatic update from web-platform-tests
[css-grid] Migrate grid-auto-fill-rows.html test to WPT
Migrate this test out of t_p/blink/web_tests/fast/css-grid-layout and
into the WPT-specific directory, adding links to the relevant specs
and a test assertion describing its purpose.
This test verifies that repeat(auto-fill, ) syntax works as expected
inside grid layout.
Bug: 1063749
Change-Id: I2b2f2d02ecdb250a42b38ac4b5773c546ce9e637
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2147487
Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759624}
--
wpt-commits: 70aa3dfc4d10fecaa0ac6f321b0d8c1f3ee35692
wpt-pr: 22930
Automatic update from web-platform-tests
[css-grid] Migrate grid-item-margin-auto-columns-rows-vert-lr to WPT
Migrate this test out of
third_party/blink/web_tests/fast/css-grid-layout/ into the WPT-specific
directory, adding links to the relevant specs and a test assertion
describing its purpose.
Bug: 1063749, 767015
Change-Id: Ib7d476bc45aa3d2364c6d723d6b085f25632651f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144021
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759620}
--
wpt-commits: 370dcaefaa25a2ef24eced93e77b0d05fc3df4f6
wpt-pr: 22963
Automatic update from web-platform-tests
Add WPT coverage for simultaneous font-size/width/<length> animation
This is the "Keyframe Animation Inconsistency" described in the
initial StyleCascade design doc [1] (see Appendix).
This was fixed at some point during the StyleCascade work, probably
when interpolations started using the same StyleCascade instance
as the main declarations.
The test only asserts equality between the standard and custom property
cases, while ignoring absolute values, as browser disagree wildly on
what that value should be at the moment [2].
[1] https://docs.google.com/document/d/1HrmPmcQBTUMouqQQG3Kww43I5aFW9-Q9tr-DEKZk09I
[2] https://github.com/w3c/csswg-drafts/issues/3751
Change-Id: I1447aea439fe60cce1d280b0310a0983e71155b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2150432
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759618}
--
wpt-commits: fc468874fa836b89cff342e9e35dc8c0379c4beb
wpt-pr: 22991