Commit Graph

671721 Commits

Author SHA1 Message Date
Frédéric Wang
e459c0850a Bug 1581535 [wpt PR 19089] - MathML tests: Avoid more false positives., a=testonly
Automatic update from web-platform-tests
MathML tests: Avoid more false positives. (#19089)

--

wpt-commits: b715738e3e7ffa94f50cfde50dcc507bc6270cbd
wpt-pr: 19089
2019-09-18 23:38:24 +00:00
autofoolip
28643df073 Bug 1581521 [wpt PR 19086] - Update interfaces/pointerevents.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/pointerevents.idl (#19086)

Source: https://github.com/tidoust/reffy-reports/blob/b3988e0/ed/idl/pointerevents.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/585568001
--

wpt-commits: 02ad5e6f854a9d48ffb6daee6673782057e68788
wpt-pr: 19086
2019-09-18 23:38:23 +00:00
autofoolip
cdfa20f6a3 Bug 1581522 [wpt PR 19087] - Update interfaces/reporting.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/reporting.idl (#19087)

Source: https://github.com/tidoust/reffy-reports/blob/b3988e0/ed/idl/reporting.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/585568001
--

wpt-commits: e8cc9898d95ed8dd3867579379b397305f330ea4
wpt-pr: 19087
2019-09-18 23:38:23 +00:00
moz-wptsync-bot
fc53f9725e Bug 1581087 [wpt PR 19043] - Update wpt metadata, a=testonly
wpt-pr: 19043
wpt-type: metadata
2019-09-18 23:38:22 +00:00
Morten Stenshorne
58e23e2b23 Bug 1581087 [wpt PR 19043] - [LayoutNG] Use BoxLayoutExtraInput when calculating overflow., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Use BoxLayoutExtraInput when calculating overflow.

This will set temporary proper override sizes.

We already use this mechanism in NGBlockNode::RunLegacyLayout(), but
that one only has an effect for things that are done from within legacy
layout (LayoutObject::Layout()). Overflow calculation happens after
layout, and is done by the legacy engine, even for NG objects.

Bug: 908083
Change-Id: I2b4e88c096f138aa820856e3c79e1ddcef07a3da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1801770
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696752}

--

wpt-commits: 149354218b0d2f62f1907d9fe8becfc94a8d138f
wpt-pr: 19043
2019-09-18 23:38:22 +00:00
autofoolip
00b1821d43 Bug 1581463 [wpt PR 19079] - Update interfaces/webmidi.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webmidi.idl (#19079)

Source: https://github.com/tidoust/reffy-reports/blob/5a37c82/ed/idl/webmidi.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/585431720
--

wpt-commits: 22ef4bb9ef17b9b2a4149628cdfe9a1f8614f6b1
wpt-pr: 19079
2019-09-18 23:38:22 +00:00
Florian Rivoal
fc057f7641 Bug 1580068 [wpt PR 18949] - [css-text] Adjust trailing space tests in response to https://github.com/w3c/csswg-drafts/issues/4180, a=testonly
Automatic update from web-platform-tests
[css-text] Adjust trailing space tests in response to https://github.com/w3c/csswg-drafts/issues/4180 (#18949)

--

wpt-commits: 0bfde9f6a8bfde0fde4dba73d7172a8eed6e946e
wpt-pr: 18949
2019-09-18 23:38:21 +00:00
Koji Ishii
a72d13a53c Bug 1581465 [wpt PR 19081] - [LayoutNG] Allow overflow-/word-wrap to work with keep-all, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Allow overflow-/word-wrap to work with keep-all

When `word-break: break-all` or `keep-all` is specified, this
patch fixes `overflow-/word-wrap: break-word` to be effective.

Before this patch, it was forced to be `normal`.

Bug: 1001378
Change-Id: I73f5956a6856f2cbd0944461a0aa7a2929e722cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1806162
Commit-Queue: Koji Ishii <kojii@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696724}

--

wpt-commits: 5aaf335a29ebb5fde4b91f8e0032b03418b2a4be
wpt-pr: 19081
2019-09-18 23:38:21 +00:00
autofoolip
fe7a5e39ed Bug 1581464 [wpt PR 19080] - Update interfaces/webrtc-stats.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc-stats.idl (#19080)

Source: https://github.com/tidoust/reffy-reports/blob/5a37c82/ed/idl/webrtc-stats.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/585431720
--

wpt-commits: c3070499ca369a8415b04b88411458225092d4c9
wpt-pr: 19080
2019-09-18 23:38:20 +00:00
autofoolip
a51b7c8d22 Bug 1581462 [wpt PR 19078] - Update interfaces/geometry.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/geometry.idl (#19078)

Source: https://github.com/tidoust/reffy-reports/blob/5a37c82/ed/idl/geometry.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/585431720
--

wpt-commits: 52e03fe186545920d7a90b66c9cd191fa52df521
wpt-pr: 19078
2019-09-18 23:38:20 +00:00
autofoolip
fb13eb8c76 Bug 1581460 [wpt PR 19076] - Update interfaces/IndexedDB.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/IndexedDB.idl (#19076)

Source: https://github.com/tidoust/reffy-reports/blob/5a37c82/ed/idl/IndexedDB.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/585431720
--

wpt-commits: a9f0a63393b2c3120a150d0ade3464b2bb7e5fd8
wpt-pr: 19076
2019-09-18 23:38:19 +00:00
moz-wptsync-bot
21dbdbec18 Bug 1464497 [wpt PR 11169] - Update wpt metadata, a=testonly
wpt-pr: 11169
wpt-type: metadata
2019-09-18 23:38:19 +00:00
Dirk Schulze
32d92ea19a Bug 1464497 [wpt PR 11169] - Remove tests for SVG transform with CSS syntax - part 1, a=testonly
Automatic update from web-platform-tests
Remove tests for SVG transform with CSS syntax - part 1 (#11169)

Remove tests for SVG transform with CSS syntax - part 1

--

wpt-commits: 91985c1463b4a4abbeae3787e49c0e02c063bc2d
wpt-pr: 11169
2019-09-18 23:38:19 +00:00
Dirk Schulze
79e29024d5 Bug 1581450 [wpt PR 19074] - Add smfr as reviewer for CSS Transforms, a=testonly
Automatic update from web-platform-tests
Add smfr as reviewer for CSS Transforms (#19074)

Add smfr as reviewer for CSS Transforms

--

wpt-commits: c8845745bd2ee464977ffc4333b80c89d72bebd2
wpt-pr: 19074
2019-09-18 23:38:18 +00:00
Frédéric Wang
86710c42ba Bug 1581413 [wpt PR 19068] - MathML: Add per-element detection functions and avoid more false posi…, a=testonly
Automatic update from web-platform-tests
MathML: Add per-element detection functions and avoid more false positive results. (#19068)

Note: For now detection of support for several elements rely on detection functions for other MathML elements.
--

wpt-commits: 2010c92cac5ee92ae1aef35240603c2e805261ac
wpt-pr: 19068
2019-09-18 23:38:18 +00:00
Frédéric Wang
660cbe29bc Bug 1581367 [wpt PR 19062] - Avoid more MathML false negative results, a=testonly
Automatic update from web-platform-tests
Avoid more MathML false negative results (#19062)

--

wpt-commits: 6fd5e1e086ce590a4780a30d129688abe2115bb9
wpt-pr: 19062
2019-09-18 23:38:17 +00:00
autofoolip
b0f24d9f49 Bug 1581379 [wpt PR 19063] - Update interfaces/performance-timeline.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/performance-timeline.idl (#19063)

Source: https://github.com/tidoust/reffy-reports/blob/019c5ad/ed/idl/performance-timeline.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/585191574
--

wpt-commits: d831e1a5c71673e41863273696e3a502b95e33f6
wpt-pr: 19063
2019-09-18 23:38:17 +00:00
moz-wptsync-bot
348dc64ac1 Bug 1581363 [wpt PR 19059] - Update wpt metadata, a=testonly
wpt-pr: 19059
wpt-type: metadata
2019-09-18 23:38:16 +00:00
fantasai
c7327a755d Bug 1581363 [wpt PR 19059] - [css-writing-modes-3] Fix error in test reference; adjust test to be easier to interpret also., a=testonly
Automatic update from web-platform-tests
[css-writing-modes-3] Fix error in test reference; adjust test to be easier to interpret also. (#19059)

--

wpt-commits: c850921dd5b241913a97b99b05cecbbb1242755c
wpt-pr: 19059
2019-09-18 23:38:16 +00:00
Frédéric Wang
e6ac75158a Bug 1581205 [wpt PR 19050] - Fix MathML test errors, a=testonly
Automatic update from web-platform-tests
Fix MathML test errors (#19050)

--

wpt-commits: bf42dca1ce568ce559d5a4cad507239035b91dcb
wpt-pr: 19050
2019-09-18 23:38:15 +00:00
Koji Ishii
d092208845 Bug 1581118 [wpt PR 19045] - [LayoutNG] Fix may_break_inside in NGLineBreaker, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix may_break_inside in NGLineBreaker

This patch fixes |may_break_inside| in |NGLineBreaker|.

Issue 1002442 revealed an error case in |ShapingLineBreaker|.
In that case, it returns a result whose size is larger than
the available space.

Before this patch, |NGLineBreaker| assumes that the line
overflows if the result size is larger than the available
size, and sets |may_break_inside| to |false|, which
prevents breaking in |HandleOverflow()|. This can cause
rather a large layout error.

crrev.com/c/1797954 tried to fix the error in
|ShapingLineBreaker|, but it looks like some tests is relying
on the behavior and it was reverted.

This patch instead makes |NGLineBreaker| more robust, by
using the actual overflow state from |ShapingLineBreaker| to
compute |may_break_inside|. The error in |ShapingLineBreaker|
is not fixed yet, but with this fix, the worst result is to
not able to fit a word that can fit by less than 1px or so.

Further work for better correctness will be tracked in
issue 1003742.

Bug: 1002442, 1003742
Change-Id: I13a3172abc8a0d2f5f78b2dd0b57b85de593fdff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1803019
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696621}

--

wpt-commits: 8df929fdf1fe83d96cd85c8e0d3dfcef931e6270
wpt-pr: 19045
2019-09-18 23:38:15 +00:00
Boris Chiou
6a45e187ae Bug 1581211 [wpt PR 19052] - [motion-1] Drop a limit test of interpolation for offset shorthand, a=testonly
Automatic update from web-platform-tests
[motion-1] Drop a limit test of interpolation for offset shorthand (#19052)

The CSS spec says that any arbitrary limit is OK, so different browsers
may use different limits for `offset-distance`.

This was added because of a Chromium regression, and it'd be great to move
it into Chromium repo.
--

wpt-commits: eaf091c6d35126dc72abea1d1fe258c563286e52
wpt-pr: 19052
2019-09-18 23:38:14 +00:00
Eric Willigers
1684456c00 Bug 1580847 [wpt PR 19025] - CSS: Serialize font shorthand with spaces around '/', a=testonly
Automatic update from web-platform-tests
CSS: Serialize font shorthand with spaces around '/'

Each '/' is a CSS value should have a space before and after.
https://github.com/w3c/csswg-drafts/issues/4282

Omit 'normal' values from computed font serialization.

Change-Id: Iebbfe80ae0c7c3ebe0101b432c0d95a7d265154f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1800894
Commit-Queue: Emil A Eklund <eae@chromium.org>
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696522}

--

wpt-commits: 5488ba49034a78c2fdfe7ca0d898ed3adb238f6b
wpt-pr: 19025
2019-09-18 23:38:14 +00:00
Sahel Sharify
65490ddd3f Bug 1580507 [wpt PR 18998] - [Payments] Enable shipping and contact info delegation [3/5], a=testonly
Automatic update from web-platform-tests
[Payments] Enable shipping and contact info delegation [3/5]

This cl includes paymentOptions and shippingOptions(when shipping is requested)
in PaymentRequestEvent and shipping(selected option id and address)/contact
information in PaymentHandlerResponse.

For overall flow please check
https://chromium-review.googlesource.com/c/chromium/src/+/1779003

TBR=mek@chromium.org,chishtr@chromium.org

Bug: 984694
Change-Id: Ie9587c68c2a20c76efd94ee97b750cbbf300aff4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1798571
Commit-Queue: Sahel Sharify <sahel@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Danyao Wang <danyao@chromium.org>
Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696519}

--

wpt-commits: 3029ad22406c9abec3366933bcbdc5f914c15f2f
wpt-pr: 18998
2019-09-18 23:38:13 +00:00
David Grogan
d7b9efc853 Bug 1580959 [wpt PR 19036] - [css-flexbox] Test for definiteness where Blink disagrees with FF, a=testonly
Automatic update from web-platform-tests
[css-flexbox] Test for definiteness where Blink disagrees with FF

See bug for discussion.

This CL contains only tests, no behavior changes.

Change-Id: I7a6377a6325d0cbc4657b005a824736a73be32f5
Bug: 1003506
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1799884
Commit-Queue: David Grogan <dgrogan@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696503}

--

wpt-commits: 3164d2dc90a6dcabc0041179b978d8adcca74f4b
wpt-pr: 19036
2019-09-18 23:38:13 +00:00
moz-wptsync-bot
4ab3b08d09 Bug 1581189 [wpt PR 19046] - Update wpt metadata, a=testonly
wpt-pr: 19046
wpt-type: metadata
2019-09-18 23:38:12 +00:00
Tom McKee
3bc70d88b6 Bug 1581189 [wpt PR 19046] - [LargestContentfulPaint] Add SVG and overflowed image tests, a=testonly
Automatic update from web-platform-tests
[LargestContentfulPaint] Add SVG and overflowed image tests

Original-Author: npm@chromium.org
Bug: 994414
Change-Id: I9e73c973dde77cc2c43c63637daebe6fd0e0c8c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1803904
Auto-Submit: Tom McKee <tommckee@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696474}

--

wpt-commits: 69105b676149d76d73909a8e77c3bb4ea785419c
wpt-pr: 19046
2019-09-18 23:38:12 +00:00
moz-wptsync-bot
2b21e5a338 Bug 1580772 [wpt PR 19007] - Update wpt metadata, a=testonly
wpt-pr: 19007
wpt-type: metadata
2019-09-18 23:38:11 +00:00
Kaan Alsan
41e7011cb8 Bug 1580772 [wpt PR 19007] - Update wpt scroll-to-visible-areas tests, a=testonly
Automatic update from web-platform-tests
Update wpt scroll-to-visible-areas tests

The original tests were based on an inaccurate understanding of
"visibility" for a snap area, where a snap area was considered to be
visible if it is in the viewport at the scroll location before the
snap. The definition of visibility per the specification is that a snap
area is visible if it would be in the viewport at its snap point.

See:
https://github.com/w3c/csswg-drafts/issues/2526#issuecomment-380371186

Also added tests for the consideration of scroll-margin when
calculating visibility as well.

Bug: 954851
Change-Id: Ic2ffef8d02fc5ea2439054b6ea5185bb66622d1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1795308
Commit-Queue: Kaan Alsan <alsan@google.com>
Reviewed-by: Yi Gu <yigu@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696435}

--

wpt-commits: 224ecb27547a9b49b28b7ae06abc8bc09f4b91fc
wpt-pr: 19007
2019-09-18 23:38:11 +00:00
moz-wptsync-bot
716cf681df Bug 1581091 [wpt PR 19044] - Update wpt metadata, a=testonly
wpt-pr: 19044
wpt-type: metadata
2019-09-18 23:38:10 +00:00
Frédéric Wang
51b09df6b6 Bug 1581091 [wpt PR 19044] - Add MathML tests for currently ignored CSS properties., a=testonly
Automatic update from web-platform-tests
Add MathML tests for currently ignored CSS properties. (#19044)

* Add MathML tests for currently ignored CSS properties.

* fix assert description

--

wpt-commits: 1719e88c8b2042b1831f5d178d3a81d6af7ca265
wpt-pr: 19044
2019-09-18 23:38:10 +00:00
Frédéric Wang
09da018a43 Bug 1581069 [wpt PR 19042] - MathML fraction: Add a test for the default padding., a=testonly
Automatic update from web-platform-tests
MathML fraction: Add a test for the default padding. (#19042)

--

wpt-commits: 97f5b89cb7a67720faf506c3014a17bb39502d25
wpt-pr: 19042
2019-09-18 23:38:09 +00:00
moz-wptsync-bot
50e6c4f0ca Bug 1580794 [wpt PR 19012] - Update wpt metadata, a=testonly
wpt-pr: 19012
wpt-type: metadata
2019-09-18 23:38:09 +00:00
Frédéric Wang
77a5a50d15 Bug 1580794 [wpt PR 19012] - MathML fraction: Add a test to verify painting of fraction bar when m…, a=testonly
Automatic update from web-platform-tests
MathML fraction: Add a test to verify painting of fraction bar when m… (#19012)

* MathML fraction: Add a test to verify painting of fraction bar when margin/border/padding are involved.

* Remove reftest-wait, fix unfinished comment

--

wpt-commits: d1b80eeae9090ba05590694c84371e01a37538e9
wpt-pr: 19012
2019-09-18 23:38:08 +00:00
moz-wptsync-bot
0849da5de0 Bug 1581057 [wpt PR 19040] - Update wpt metadata, a=testonly
wpt-pr: 19040
wpt-type: metadata
2019-09-18 23:38:08 +00:00
Rune Lillesveen
14c5719b63 Bug 1581057 [wpt PR 19040] - Tests for computed color-scheme no longer tentative., a=testonly
Automatic update from web-platform-tests
Tests for computed color-scheme no longer tentative.

Spec change making these test comply landed:

08ba4c9783

Bug: 939811
Change-Id: I2fc2fceaf72a8154e9797fd463215ffbef711dbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1753927
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696323}

--

wpt-commits: 228888d308d2167d7c0b2a42282b8e305486bd57
wpt-pr: 19040


--HG--
rename : testing/web-platform/tests/css/css-color-adjust/parsing/color-scheme-computed.tentative.html => testing/web-platform/tests/css/css-color-adjust/parsing/color-scheme-computed.html
2019-09-18 23:38:07 +00:00
Ioana Pandele
dc80470726 Bug 1581060 [wpt PR 19041] - Revert "[LayoutNG] Fix incorrect rounding in ShapingLineBreaker", a=testonly
Automatic update from web-platform-tests
Revert "[LayoutNG] Fix incorrect rounding in ShapingLineBreaker"

This reverts commit a4d21f7f7faa39ce99f96b81996b6ece702f501e.

Reason for revert: This is likely breaking
- external/wpt/css/css-multicol/multicol-width-ch-001.xht
- css2.1/t1602-c546-txt-align-00-b.html
- external/wpt/css/css-text/white-space/trailing-space-align-start.tentative.html

Original change's description:
> [LayoutNG] Fix incorrect rounding in ShapingLineBreaker
>
> This patch fixes the rounding the end position to the same
> direction as the rounding the start position. Before this
> change, the end position was rounded to the line-end
> direction. This may have resulted in slightly larger
> available space than the given one.
>
> Although the error is slight, such an error can cause a large
> visual differences because of an optimization. |NGLineBreaker|
> determines the overflow by comparing the result width to the
> available width, and if overflow occurs, it assumes that it
> cannot break the result further when it tries to rewind.
>
> Bug: 1002442
> Change-Id: Iebee80117c9930eade029c45c561236b8916981a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1797954
> Reviewed-by: Emil A Eklund <eae@chromium.org>
> Commit-Queue: Koji Ishii <kojii@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#696262}

TBR=eae@chromium.org,kojii@chromium.org,drott@chromium.org

Change-Id: Ie9255f9bfc01427550d58d92135b4ce25db27583
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1002442
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1801769
Reviewed-by: Ioana Pandele <ioanap@chromium.org>
Commit-Queue: Ioana Pandele <ioanap@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696316}

--

wpt-commits: b4a87fc3ffc70aa6fcece741b71540333122ab7e
wpt-pr: 19041
2019-09-18 23:38:07 +00:00
Chris Dumez
685ca83179 Bug 1580930 [wpt PR 19031] - Fix test case which relied on outdated Name/QName production, a=testonly
Automatic update from web-platform-tests
Fix test case which relied on outdated Name/QName production

This test failed to get updated as the same time as #12202.
--

wpt-commits: 5a5d077527781678f6b32b71dd20241f363af9e2
wpt-pr: 19031
2019-09-18 23:38:06 +00:00
moz-wptsync-bot
cdb49894e4 Bug 1581019 [wpt PR 19038] - Update wpt metadata, a=testonly
wpt-pr: 19038
wpt-type: metadata
2019-09-18 23:38:06 +00:00
Kent Tamura
139cb5a6e6 Bug 1581019 [wpt PR 19038] - autofocus: Fix a crash with an autofocus element in a document without browsing context., a=testonly
Automatic update from web-platform-tests
autofocus: Fix a crash with an autofocus element in a document without browsing context.

ShouldAutofocus() should check existence of the browsing context.
Otherwise, doc.TopFrameOrigin() returns null.

Before crrev.com/695830, ShouldAutofocus() was called only for
rendered elements. That is to say, the document always had
browsing context.

Bug: 1003228
Change-Id: I2a941c34e9707d44869a6d7585dc7fb9f06e3bf4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1800902
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696291}

--

wpt-commits: 46ebc162a20b9dec5a7007eeed94c1581dbeb8f9
wpt-pr: 19038
2019-09-18 23:38:06 +00:00
Meredith Lane
e33b4b0141 Bug 1578323 [wpt PR 18797] - Element Reflection for FrozenArray, a=testonly
Automatic update from web-platform-tests
Element Reflection for FrozenArray

Followup CL to: https://crrev.com/c/1687013

Spec: https://whatpr.org/html/3917/common-dom-interfaces.html#reflecting-content-attributes-in-idl-attributes:element

This change:
	- updates v8 bindings and IDL to reflect FrozenArray<Element>
	- Implements (most) of the HTML spec for:
		aria-controls
		aria-describedby
		aria-flowto
		aria-labelledby
		aria-owns

This change is part of the experimental AOM project, and allows attributes that
reflect ARIA relationships to return a array of element references
corresponding to the ID stored in the content attribute, rather than the
string of IDs. These attributes are exposed on the IDL interface AriaAttributes.
See https://rawgit.com/w3c/aria/master/#AriaAttributes for more information.

Note this change does not affect the underlying Accessibility Tree. This will be
done in a followup CL.

BUG=981423

Change-Id: Iabb43480fab116b0394154b47afd7938dc314850
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1781917
Commit-Queue: Meredith Lane <meredithl@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696286}

--

wpt-commits: 9c83c5cad05104a9c14552550a0c5e53b28b00b3
wpt-pr: 18797
2019-09-18 23:38:05 +00:00
Koji Ishii
86f7431121 Bug 1580755 [wpt PR 19002] - [LayoutNG] Fix incorrect rounding in ShapingLineBreaker, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix incorrect rounding in ShapingLineBreaker

This patch fixes the rounding the end position to the same
direction as the rounding the start position. Before this
change, the end position was rounded to the line-end
direction. This may have resulted in slightly larger
available space than the given one.

Although the error is slight, such an error can cause a large
visual differences because of an optimization. |NGLineBreaker|
determines the overflow by comparing the result width to the
available width, and if overflow occurs, it assumes that it
cannot break the result further when it tries to rewind.

Bug: 1002442
Change-Id: Iebee80117c9930eade029c45c561236b8916981a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1797954
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696262}

--

wpt-commits: 8893b1bcfc2ca0675f4e81cd8b2a694ab14418cf
wpt-pr: 19002
2019-09-18 23:38:05 +00:00
Morten Stenshorne
e2fcc8a84a Bug 1580472 [wpt PR 18993] - [LayoutNG] Auto block-size shouldn't prevent child margin propagation., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Auto block-size shouldn't prevent child margin propagation.

The block-end margin strut of a child can collapse with the block-end
margin strut of the parent if the computed block-size of the child is
auto. This includes unresolvable percentages (e.g. if the child has a
percentage block-size, but its containing block has auto block-size).

Update BlockLengthUnresolvable() to consider 'auto' as unresolvable.
Also include 'min-content', 'max-content', 'fit-content' and 'none'
(for max-block-size), since that seems correct, and also allows for
simplifying code at call-sites.

Bug: 1001663
Change-Id: I28decd41ca8f8340581fc68e0a4fe709d7389af8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1796372
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696253}

--

wpt-commits: 908a7ed5a5d7f82eedeee4fef0b3505faf01308e
wpt-pr: 18993
2019-09-18 23:38:04 +00:00
Alex Cooper
a2175c5811 Bug 1580802 [wpt PR 19014] - Update webxr-test to support FakeXRFieldOfViewInit, a=testonly
Automatic update from web-platform-tests
Update webxr-test to support FakeXRFieldOfViewInit

In order to enable tests of the render depth, without requiring the test
implementations to perform this decomposition, the webxr-test-api was
updated to allow a fieldOfView parameter to be provided, which would
override any passed in projectionMatrix

Bug: 1003135
Change-Id: I54fce9832b72a36cf99130f626afc0c1c227e943
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1799318
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696210}

--

wpt-commits: 0bbb480b98b2b05772ee75e629eac4eab4960922
wpt-pr: 19014
2019-09-18 23:38:04 +00:00
autofoolip
bce92aa3f0 Bug 1580937 [wpt PR 19032] - Update interfaces/mediacapture-streams.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/mediacapture-streams.idl (#19032)

Source: https://github.com/tidoust/reffy-reports/blob/a360782/whatwg/idl/mediacapture-streams.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/584301802
--

wpt-commits: b1cd3ae6f6d814102f128ec2fb39850bdd87e3bd
wpt-pr: 19032
2019-09-18 23:38:03 +00:00
Rob Buis
281c16511e Bug 1580948 [wpt PR 19035] - Fix reference, a=testonly
Automatic update from web-platform-tests
Fix reference (#19035)

--

wpt-commits: a93575058ff4fa66e1da87c297e641a2341cfbc1
wpt-pr: 19035
2019-09-18 23:38:03 +00:00
Aleks Totic
2a91e1d362 Bug 1580790 [wpt PR 19011] - [LayoutNG] Fix abspos replaced size with margins, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix abspos replaced size with margins

NG was computing inline_size of replaced elements
with no intrinsic size (only aspect ratio) incorrectly.
Element's margin was not considered.

The fixes are:
- update code to use margin when computing inline_size
- update wpt exaustive replaced size test to include margins
- remove many stale expectations for position-absolute-replaced-minmax.html

With the updated test, Legacy still fails single test. I might
have to update expectations.

Bug: 1002748
Change-Id: I98b8595ce0e4dc0d19d1d8020e33fe17e125d41d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1799422
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696101}

--

wpt-commits: dbf3183cf1e15b216c94aac238268efd84df57ca
wpt-pr: 19011
2019-09-18 23:38:02 +00:00
Philip Jägenstedt
0e12f531cf Bug 1580825 [wpt PR 19022] - Capitalize a test error message for consistency, a=testonly
Automatic update from web-platform-tests
Capitalize a test error message for consistency (#19022)

Other messages are capitalized, including the one in `cleanup_done`
starting with "Test named".
--

wpt-commits: fac9e368d36b06c76ed82c198d5546da2e805b66
wpt-pr: 19022
2019-09-18 23:38:02 +00:00
Brandon Jones
643650d882 Bug 1580784 [wpt PR 19010] - Plumbing XRVisibilityState up from WMR, a=testonly
Automatic update from web-platform-tests
Plumbing XRVisibilityState up from WMR

Bug: 987030
Change-Id: I4cf2ab2ed6455963b1f43f8717941e7a0368416a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1790422
Reviewed-by: Chris Palmer <palmer@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696066}

--

wpt-commits: a848d185aa258513948c3fd0b3f7042e81e2c6ad
wpt-pr: 19010
2019-09-18 23:38:01 +00:00
Philip Jägenstedt
966d339836 Bug 1578688 [wpt PR 18829] - Remove infrastructure/ expectations for Edge classic, a=testonly
Automatic update from web-platform-tests
Remove infrastructure/ expectations for Edge classic (#18829)

We're no longer running this configuration:
https://github.com/web-platform-tests/wpt/pull/16920
--

wpt-commits: 4d2016d8865b46d4b8c7d6fc5c028a631d696b69
wpt-pr: 18829
2019-09-18 23:38:01 +00:00