Граф коммитов

661717 Коммитов

Автор SHA1 Сообщение Дата
Koji Ishii 3e747bcb80 Bug 1564708 [wpt PR 17612] - [LayoutNG] Include negative margin beyond the right edge, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Include negative margin beyond the right edge

This patch changes the line breaking behavior so that a
negative inline margin beyond the right edge can be included
in the line. Before this change, negative margins could move
the position back only when it's within the available width.

Legacy and WebKit don't do this, while Edge and Gecko do.
However, LayoutNG cannot render a page legacy and WebKit
render the same as other browser due to a bug in min-content.
Instead of copying the min-content bug in LayoutNG, this
patch fixes the page by matching to Edge and Gecko.

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

--

wpt-commits: 9aacd72c9f396544fc93a1419fa8c9bfe02c015a
wpt-pr: 17612
2019-07-24 13:32:35 +01:00
Timothy Gu 99978cbdd5 Bug 1564707 [wpt PR 17439] - Add manual test for print(), a=testonly
Automatic update from web-platform-tests
Add manual test for print()

For https://github.com/whatwg/html/pull/4690.
--

wpt-commits: 8e53d2a89fe610b2ce480877c60bca88c949cf60
wpt-pr: 17439
2019-07-24 13:32:34 +01:00
moz-wptsync-bot 8449401903 Bug 1564706 [wpt PR 17611] - Update wpt metadata, a=testonly
wpt-pr: 17611
wpt-type: metadata
2019-07-24 13:32:33 +01:00
Morten Stenshorne 21b3c5395c Bug 1564706 [wpt PR 17611] - [LayoutNG] Fix Google Docs font picker menu., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix Google Docs font picker menu.

LayoutNG lacks a mechanism that's present in the legacy engine, that
handles situations where a descendant adds a scrollbar, which affects
the inline-size of an ancestor (fit-content sizing).

This CL only fixes the issue when this happens to an out-of-flow
positioned ancestor, which is enough to fix the Google Docs issue.

Bug: 978979
Change-Id: Ib60bbe244d8ee2cd80f3209b3322a097738841d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685388
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674123}

--

wpt-commits: 4a9bf4d17af6f7527af4558369bcb4b709ee280c
wpt-pr: 17611
2019-07-24 13:32:32 +01:00
Morten Stenshorne aa82058557 Bug 1564705 [wpt PR 17602] - Don't consider fieldsets as replaced content., a=testonly
Automatic update from web-platform-tests
Don't consider fieldsets as replaced content.

They should be treated as regular block containers, as far as sizing is
concerned. The LayoutNG out-of-flow positioning machinery treated
fieldsets as replaced (since it was told to), and ended up with an
incorrect inline-size.

A "side-effect" of this fix is that now that fieldsets are no longer
treated as replaced content, they can can also fragment inside multicol
containers or paged media - just like any other block-level container.
This is good. There should be no reason to prohibit fragmentainer
breaks inside fieldsets. Added a test for it, to assert the new
behavior.

Bug: 979523
Change-Id: I2fd73f8324d3207c5d12c500b5632f631468ab34
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685096
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674096}

--

wpt-commits: 727763fa27f9d8d36c1c337dc2ac52ac092c61f0
wpt-pr: 17602
2019-07-24 13:32:31 +01:00
moz-wptsync-bot a0af6c8582 Bug 1561339 [wpt PR 17500] - Update wpt metadata, a=testonly
wpt-pr: 17500
wpt-type: metadata
2019-07-24 13:32:31 +01:00
Nicolás Peña Moreno aeaee23c8d Bug 1561339 [wpt PR 17500] - [LargestContentfulPaint] Add attributes and checks, a=testonly
Automatic update from web-platform-tests
[LargestContentfulPaint] Add attributes and checks

This CL adds checks so that we do not expose rendering timestamp of
images which do not pass the Timing Allow Origin check. It also adds
attributes found in:
https://wicg.github.io/largest-contentful-paint/#sec-performance-largest-contentful-paint-candidate

The ImagePaintTimingDetector did not plumb the ImageResourceContent to
the ImageRecord, so this is fixed to allow LCP Calculator to make use of
it.

Bug: 965505
Change-Id: I019658dc6d130c8cea336f1ca70de6a32beebbb0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1674588
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674085}

--

wpt-commits: f7dbdc0bb7a3566b1b28e1cb49178ba9d71b1bc6
wpt-pr: 17500
2019-07-24 13:32:30 +01:00
Xianzhu Wang 1edc044b1c Bug 1564704 [wpt PR 17609] - Revert "Reland "Fix first line style caching issues"", a=testonly
Automatic update from web-platform-tests
Revert "Reland "Fix first line style caching issues""

This reverts commit 3bce815a57b12cd5be22ecd0ba838c417f6179fd.

Reason for revert: crbug.com/980421

Original change's description:
> Reland "Fix first line style caching issues"
>
> This is a reland of 228ee33446fc20cef8fcc94503a91c16bbcfc6fb
>
> Compared to the original CL, this relanded CL removes the lazy update
> of first line image observers which was not needed and didn't work
> (causing reentrancy of UpdateFirstLineImageObservers).
>
> Original change's description:
> > Fix first line style caching issues
> >
> > 1. Cache conflict issue:
> >
> > Previously calls to Element:: Element::CachedStyleForPseudoElement()
> > with different second parameters caused cache conflict. The second
> > call to it might get unwanted result that was cached with a different
> > second parameter.
> >
> > Now remove the second parameter, and the function gets and caches the
> > pseudo style only based on its own computed style. If a caller wants
> > a pseudo style based on another style, the caller should call
> > Element::UncachedStyleForPseudoElement() and manage cache by itself.
> >
> > 2. Under-invalidation on change
> >
> > Cached first line style needs invalidation in two cases:
> > a) when the ::first-line style changes, we should invalidate all
> >    cached first line styles affected.
> > b) when style of an inline element (which inherits ::first-line
> >    style) changes, as the inline element's style has higher priority
> >    than the inherited ::first-line style, even if the style doesn't
> >    change, we need to invalidate the cached
> >    kPseudoIdFirstLineInherited style if the new style is different
> >    from the inherited ::first-line style.
> >
> > Bug: 979054
> >
> > Change-Id: Icffe68d5136349d12cce6e92d1d3bf153c28903a
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678878
> > Reviewed-by: Rune Lillesveen <futhark@chromium.org>
> > Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#673574}
>
> Bug: 979054
> Change-Id: Ic0c05a4a3d36401f7ae18c41cad81e7613bb3cbc
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682283
> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
> Reviewed-by: Fredrik Söderquist <fs@opera.com>
> Cr-Commit-Position: refs/heads/master@{#673756}

TBR=wangxianzhu@chromium.org,fs@opera.com,futhark@chromium.org

Change-Id: I59fe9947deba7267e69f5b76c9ff6b3c0251b8c6
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 979054
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685415
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674074}

--

wpt-commits: fef95ecd2b3d59504eb4b5405db5c2995ab32710
wpt-pr: 17609
2019-07-24 13:32:29 +01:00
moz-wptsync-bot c34932342e Bug 1564703 [wpt PR 17525] - Update wpt metadata, a=testonly
wpt-pr: 17525
wpt-type: metadata
2019-07-24 13:32:28 +01:00
Daniel Vogelheim 702a4febb1 Bug 1564703 [wpt PR 17525] - [Trusted Types] Support Trusted Types on eval., a=testonly
Automatic update from web-platform-tests
[Trusted Types] Support Trusted Types on eval.

Modify V8's eval callback to take both CSP and Trusted Types into
account. This should not modify Blink's behaviour in case TT is not present.

Bug: 940927, 980127
Change-Id: Ic11956cd455d352f2ba9d3fd9e4a00bb12e8d852
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1591274
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Andy Paicu <andypaicu@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674038}

--

wpt-commits: 4ed0465b108be61f184a896b7cb9e2c9356fd1d9
wpt-pr: 17525
2019-07-24 13:32:27 +01:00
Suman Nelson Kancherla 7d512a5e53 Bug 1561214 [wpt PR 17483] - Refactor XRDevice::RequestSession to report errors, a=testonly
Automatic update from web-platform-tests
Refactor XRDevice::RequestSession to report errors

Bug: 961960
Change-Id: Id5c461d41ff4f466d68e55f880063e55d14c3a2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661156
Commit-Queue: Suman Kancherla <sumankancherla@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: David Dorwin <ddorwin@chromium.org>
Reviewed-by: Bill Orr <billorr@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673813}

--

wpt-commits: 24ea456fae037c678c35eb5dabfdb0dc905da592
wpt-pr: 17483
2019-07-24 13:32:27 +01:00
moz-wptsync-bot c1fa97bc9d Bug 1564701 [wpt PR 17591] - Update wpt metadata, a=testonly
wpt-pr: 17591
wpt-type: metadata
2019-07-24 13:32:26 +01:00
Alice Boxhall 456e80ee14 Bug 1564701 [wpt PR 17591] - Fix CSS for inert retargeting manual tests, a=testonly
Automatic update from web-platform-tests
Fix CSS for inert retargeting manual tests

Bug: 692360
Change-Id: If8830772b4f028ba4a2a2dde0cc04423cc57446f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1683580
Reviewed-by: Chris Hall <chrishall@chromium.org>
Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673930}

--

wpt-commits: 72a13b1d317cfe7db9c9fbc70c6bc815bb19bf2e
wpt-pr: 17591
2019-07-24 13:32:25 +01:00
Koji Ishii c4b2c724c5 Bug 1564699 [wpt PR 17588] - [LayoutNG] Keep trucated fragments for `text-overflow: ellipsis`, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Keep trucated fragments for `text-overflow: ellipsis`

This patch keeps truncated fragments for `text-overflow:
ellipsis` as "hidden for paint", but still uses them for
when querying layout information such as `offsetWidth` or
editing.

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

--

wpt-commits: 424e3bce2245105a515ba8f5d97e6852bb69e973
wpt-pr: 17588
2019-07-24 13:32:24 +01:00
Xianzhu Wang 103016d5f0 Bug 1564696 [wpt PR 17582] - Reland "Fix first line style caching issues", a=testonly
Automatic update from web-platform-tests
Reland "Fix first line style caching issues"

This is a reland of 228ee33446fc20cef8fcc94503a91c16bbcfc6fb

Compared to the original CL, this relanded CL removes the lazy update
of first line image observers which was not needed and didn't work
(causing reentrancy of UpdateFirstLineImageObservers).

Original change's description:
> Fix first line style caching issues
>
> 1. Cache conflict issue:
>
> Previously calls to Element:: Element::CachedStyleForPseudoElement()
> with different second parameters caused cache conflict. The second
> call to it might get unwanted result that was cached with a different
> second parameter.
>
> Now remove the second parameter, and the function gets and caches the
> pseudo style only based on its own computed style. If a caller wants
> a pseudo style based on another style, the caller should call
> Element::UncachedStyleForPseudoElement() and manage cache by itself.
>
> 2. Under-invalidation on change
>
> Cached first line style needs invalidation in two cases:
> a) when the ::first-line style changes, we should invalidate all
>    cached first line styles affected.
> b) when style of an inline element (which inherits ::first-line
>    style) changes, as the inline element's style has higher priority
>    than the inherited ::first-line style, even if the style doesn't
>    change, we need to invalidate the cached
>    kPseudoIdFirstLineInherited style if the new style is different
>    from the inherited ::first-line style.
>
> Bug: 979054
>
> Change-Id: Icffe68d5136349d12cce6e92d1d3bf153c28903a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678878
> Reviewed-by: Rune Lillesveen <futhark@chromium.org>
> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#673574}

Bug: 979054
Change-Id: Ic0c05a4a3d36401f7ae18c41cad81e7613bb3cbc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682283
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#673756}

--

wpt-commits: f05fad8e3fee427059ab8040badee942c2ac8555
wpt-pr: 17582
2019-07-24 13:32:23 +01:00
Morten Stenshorne 7f2963f07b Bug 1564695 [wpt PR 17587] - [LayoutNG] Resolve auto inline margins on root., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Resolve auto inline margins on root.

The root HTML element is in a unique situation in LayoutNG, in that its
parent is a regular block container that is laid out by the legacy
engine. In legacy, block container layout expects the children to set
their own margin. Make sure that we do this.

Bug: 978702
Change-Id: I84b8e36bd706e3c01096cd9bd75a0747ddf265ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1683973
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673733}

--

wpt-commits: 16680001ee64a84651c44311a605cc7b2bcc18bf
wpt-pr: 17587
2019-07-24 13:32:23 +01:00
Frédéric Wang 4d81946e3d Bug 1564693 [wpt PR 17604] - CSS math-script-level and math-style: Update meta help links., a=testonly
Automatic update from web-platform-tests
CSS math-script-level and math-style: Update meta help links. (#17604)

--

wpt-commits: eda082d3fb516a0bf522cbc4198999a605d7a438
wpt-pr: 17604
2019-07-24 13:32:22 +01:00
moz-wptsync-bot 45cb963ce0 Bug 1564692 [wpt PR 17601] - Update wpt metadata, a=testonly
wpt-pr: 17601
wpt-type: metadata
2019-07-24 13:32:21 +01:00
Frédéric Wang 55d913290b Bug 1564692 [wpt PR 17601] - - Update help meta tags., a=testonly
Automatic update from web-platform-tests
- Update help meta tags. (#17601)

- Minor markup and documentation tweaks.
--

wpt-commits: ec636b58e82b466c201fb89ea7265092e9f05284
wpt-pr: 17601
2019-07-24 13:32:20 +01:00
autofoolip 06b9bf23fc Bug 1564690 [wpt PR 17594] - Update interfaces/css-conditional.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/css-conditional.idl (#17594)

Source: https://github.com/tidoust/reffy-reports/blob/4daf423/whatwg/idl/css-conditional.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/553126765
--

wpt-commits: 4beda31498f85ded322ea4d55870973000364ac4
wpt-pr: 17594
2019-07-24 13:32:19 +01:00
autofoolip aa2276df2a Bug 1564688 [wpt PR 17595] - Update interfaces/webrtc-stats.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc-stats.idl (#17595)

Source: https://github.com/tidoust/reffy-reports/blob/4daf423/whatwg/idl/webrtc-stats.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/553126765
--

wpt-commits: 2c61396a2afcba45663b0e627677a6fdc9f9033e
wpt-pr: 17595
2019-07-24 13:32:18 +01:00
Florian Rivoal cc0c9bc80a Bug 1564686 [wpt PR 17597] - [css-text] Correct inconsistencies between text and assertion in line-break:anywhere tests, a=testonly
Automatic update from web-platform-tests
[css-text] Correct inconsistencies between text and assertion in line-break:anywhere tests (#17597)

--

wpt-commits: 708c7910e71c408d2ff7a1093a2b82bd3415449e
wpt-pr: 17597
2019-07-24 13:32:17 +01:00
moz-wptsync-bot 091e924d5e Bug 1564683 [wpt PR 17585] - Update wpt metadata, a=testonly
wpt-pr: 17585
wpt-type: metadata
2019-07-24 13:32:17 +01:00
Oliver Dunk 41b094acf2 Bug 1564683 [wpt PR 17585] - Screen Orientation: Fix lock-unlock-check.html, a=testonly
Automatic update from web-platform-tests
Screen Orientation: Fix lock-unlock-check.html

--

wpt-commits: 174c1e681dd7b073219a3bb5950932b2daaf696b
wpt-pr: 17585
2019-07-24 13:32:16 +01:00
Mike Pennisi 0b67dffa4a Bug 1558661 [wpt PR 17276] - [cssom] Add tests for `CSSGroupingRule#insertRule`, a=testonly
Automatic update from web-platform-tests
[cssom] Add tests for CSSGroupingRule

These tests are somewhat contentious due an inconsistency in the CSS
specification:

https://github.com/w3c/csswg-drafts/issues/3528

--

wpt-commits: 814db842c492f8c480749b671e6bc31c83c68645
wpt-pr: 17276
2019-07-24 13:32:15 +01:00
Mike Pennisi ef1c12714e Bug 1564681 [wpt PR 17371] - [docs] Relocate instruction for reviewers, a=testonly
Automatic update from web-platform-tests
[docs] Relocate instruction for reviewers

This information is not relevant for first-time contributors. Including
it in the same document as the instructions for new contributors risks
confusing or intimidating the less experienced audience.

Relocate the instructions to a dedicated document that can be discovered
by those who specifically wish to learn about reviewing submissions.

--

wpt-commits: 53bf566b00aa0efd9b80496d5d488a338b16ec1c
wpt-pr: 17371
2019-07-24 13:32:14 +01:00
Xianzhu Wang 8bcad78345 Bug 1564679 [wpt PR 17581] - Revert "Fix first line style caching issues", a=testonly
Automatic update from web-platform-tests
Revert "Fix first line style caching issues"

This reverts commit 228ee33446fc20cef8fcc94503a91c16bbcfc6fb.

Reason for revert: Clusterfuzz found several bugs caused by the CL.

Original change's description:
> Fix first line style caching issues
>
> 1. Cache conflict issue:
>
> Previously calls to Element:: Element::CachedStyleForPseudoElement()
> with different second parameters caused cache conflict. The second
> call to it might get unwanted result that was cached with a different
> second parameter.
>
> Now remove the second parameter, and the function gets and caches the
> pseudo style only based on its own computed style. If a caller wants
> a pseudo style based on another style, the caller should call
> Element::UncachedStyleForPseudoElement() and manage cache by itself.
>
> 2. Under-invalidation on change
>
> Cached first line style needs invalidation in two cases:
> a) when the ::first-line style changes, we should invalidate all
>    cached first line styles affected.
> b) when style of an inline element (which inherits ::first-line
>    style) changes, as the inline element's style has higher priority
>    than the inherited ::first-line style, even if the style doesn't
>    change, we need to invalidate the cached
>    kPseudoIdFirstLineInherited style if the new style is different
>    from the inherited ::first-line style.
>
> Bug: 979054
>
> Change-Id: Icffe68d5136349d12cce6e92d1d3bf153c28903a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678878
> Reviewed-by: Rune Lillesveen <futhark@chromium.org>
> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#673574}

TBR=wangxianzhu@chromium.org,fs@opera.com,futhark@chromium.org

Change-Id: Ief1eb5749624f877e04d7bff19f42c6f94844b70
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 979054, 979961, 979942, 979940
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682282
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673594}

--

wpt-commits: ff6212c69e2519a94fd62d6f1e06dd0dac6152d3
wpt-pr: 17581
2019-07-24 13:32:13 +01:00
autofoolip 4fa834c982 Bug 1564676 [wpt PR 17579] - Update interfaces/animation-worklet.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/animation-worklet.idl (#17579)

Source: https://github.com/tidoust/reffy-reports/blob/4ac5ff9/whatwg/idl/animation-worklet.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/552069310
--

wpt-commits: 8c1e30d5f6289065a25fac61d71c324c722026c9
wpt-pr: 17579
2019-07-24 13:32:13 +01:00
moz-wptsync-bot 5f8455c030 Bug 1564675 [wpt PR 17437] - Update wpt metadata, a=testonly
wpt-pr: 17437
wpt-type: metadata
2019-07-24 13:32:12 +01:00
Alexey Shvayka 28e090c50d Bug 1564675 [wpt PR 17437] - Test that changing <iframe srcdoc> processes attributes, a=testonly
Automatic update from web-platform-tests
HTML: test that changing <iframe srcdoc> processes attributes

--

wpt-commits: 18ad1e001f6f0d1f45d5303ac7f4c6484429bfbd
wpt-pr: 17437
2019-07-24 13:32:11 +01:00
moz-wptsync-bot 608d9dec88 Bug 1564673 [wpt PR 17561] - Update wpt metadata, a=testonly
wpt-pr: 17561
wpt-type: metadata
2019-07-24 13:32:10 +01:00
Xianzhu Wang a86f7802c4 Bug 1564673 [wpt PR 17561] - Fix first line style caching issues, a=testonly
Automatic update from web-platform-tests
Fix first line style caching issues

1. Cache conflict issue:

Previously calls to Element:: Element::CachedStyleForPseudoElement()
with different second parameters caused cache conflict. The second
call to it might get unwanted result that was cached with a different
second parameter.

Now remove the second parameter, and the function gets and caches the
pseudo style only based on its own computed style. If a caller wants
a pseudo style based on another style, the caller should call
Element::UncachedStyleForPseudoElement() and manage cache by itself.

2. Under-invalidation on change

Cached first line style needs invalidation in two cases:
a) when the ::first-line style changes, we should invalidate all
   cached first line styles affected.
b) when style of an inline element (which inherits ::first-line
   style) changes, as the inline element's style has higher priority
   than the inherited ::first-line style, even if the style doesn't
   change, we need to invalidate the cached
   kPseudoIdFirstLineInherited style if the new style is different
   from the inherited ::first-line style.

Bug: 979054

Change-Id: Icffe68d5136349d12cce6e92d1d3bf153c28903a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678878
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673574}

--

wpt-commits: c0a3e93389bdcc9e8ad12d3988e4568d48b78c9d
wpt-pr: 17561
2019-07-24 13:32:09 +01:00
moz-wptsync-bot bfe2a9254a Bug 1557456 [wpt PR 17211] - Update wpt metadata, a=testonly
wpt-pr: 17211
wpt-type: metadata
2019-07-24 13:32:08 +01:00
aardgoose 9234c53355 Bug 1557456 [wpt PR 17211] - test correct exception when attempting to draw a closed ImageBitmap to a canvas., a=testonly
Automatic update from web-platform-tests
test correct exception when attempting to draw a closed ImageBitmap to a canvas. (#17211)

* add test for drawImage of closed canvas

* make consistent with existing imageBitmap tests

--

wpt-commits: f0ed5874274b40b1fbe14f8ab6a072ef3df12a6e
wpt-pr: 17211
2019-07-24 13:32:08 +01:00
moz-wptsync-bot a8d8b383a9 Bug 1564672 [wpt PR 17556] - Update wpt metadata, a=testonly
wpt-pr: 17556
wpt-type: metadata
2019-07-24 13:32:07 +01:00
L. David Baron e80f2ace31 Bug 1564672 [wpt PR 17556] - Sync Mozilla CSS tests as of 2019-06-27, a=testonly
Automatic update from web-platform-tests
Sync Mozilla CSS tests as of https://hg.mozilla.org/mozilla-central/rev/a72f0a08f652ab309328230659c97660e13cfd27 . (#17556)

This contains changes from [bug 1561717](https://bugzilla.mozilla.org/show_bug.cgi?id=1561717), mostly by @MReschenberg and reviewed by @dholbert, with fixups by @dholbert and reviewed by me.
--

wpt-commits: c11e4cc54d35d29fc113ca548de5753837adbffc
wpt-pr: 17556
2019-07-24 13:32:06 +01:00
Blink WPT Bot 2fb14c3aa6 Bug 1557294 [wpt PR 17204] - Ship `referer` header length limitation., a=testonly
Automatic update from web-platform-tests
Ship `referer` header length limitation. (#17204)

This patch adds web platform tests to verify the behavior of the
referrer header and `document.referrer` after flipping the length
limitiation flag to on-by-default.

Intent to Ship: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/lckJ5OAkUNo/ooVNdvhLAgAJ

Bug: 959757
Change-Id: I385f8f12f20109c50ededb9018a08cd665cb6868
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1646784
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#667039}
--

wpt-commits: 9e059910c901218756454b7979c6f95a6f306854
wpt-pr: 17204
2019-07-24 13:32:05 +01:00
autofoolip 9bf5b4e29b Bug 1564671 [wpt PR 17568] - Update interfaces/animation-worklet.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/animation-worklet.idl (#17568)

Source: https://github.com/tidoust/reffy-reports/blob/ac870c5/whatwg/idl/animation-worklet.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/551633558
--

wpt-commits: 21a0d1d6eed448496467dadeec26562da516b745
wpt-pr: 17568
2019-07-24 13:32:04 +01:00
Anne van Kesteren a12fbdd5a5 Bug 1564670 [wpt PR 17570] - HTML: applet no longer exists, a=testonly
Automatic update from web-platform-tests
HTML: applet no longer exists

For HTML purposes that's "worse" than obsolete.

In the same directory there's historical.html to ensure it won't be added again.

Fixes #17559.

--

wpt-commits: c30f7af7ebc3269ba6790122272692c12c920f02
wpt-pr: 17570
2019-07-24 13:32:03 +01:00
Anders Hartvoll Ruud 4792e7954a Bug 1564669 [wpt PR 17543] - Fix crash when setting invalid @font-face descriptors via CSSOM., a=testonly
Automatic update from web-platform-tests
Fix crash when setting invalid @font-face descriptors via CSSOM.

When @font-face rules are parsed normally (as part of a stylesheet),
the descriptors are parsed with CSSParserToken::ParseAsAtRuleDescriptorID,
which is allowed to return kInvalid.

However, when using CSSOM, the parsing takes a different path that first
creates a CSSPropertyID, then converts it to a AtRuleDescriptorID using
CSSPropertyIDAsAtRuleDescriptor, which *isn't* allowed to return kInvalid.

Fix by allowing kInvalid, and gracefully handling this in
CSSPropertyParser::ParseFontFaceDescriptor.

Note that this is the only callsite for CSSPropertyIDAsAtRuleDescriptor.

BUG=977953

Change-Id: I42081dd4bae3c828843be3ca994ff4f48d06a7f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1676629
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673262}

--

wpt-commits: 3487a399f3a1603d97388a5452530a89c10e47e1
wpt-pr: 17543
2019-07-24 13:32:03 +01:00
moz-wptsync-bot 2fdabbce55 Bug 1564668 [wpt PR 17566] - Update wpt metadata, a=testonly
wpt-pr: 17566
wpt-type: metadata
2019-07-24 13:32:02 +01:00
Alice Boxhall aa4215a7ca Bug 1564668 [wpt PR 17566] - Fix wpt/inert/inert-retargeting-iframe.tentative.html, a=testonly
Automatic update from web-platform-tests
Fix wpt/inert/inert-retargeting-iframe.tentative.html

TBR=poromov@chromium.org
TBR=schenney@chromium.org

Bug: 979193
Change-Id: I12f73886f3fc42ef5da205ae6f4387ed2a0ed13d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680471
Reviewed-by: Alice Boxhall <aboxhall@chromium.org>
Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673212}

--

wpt-commits: 1878c9f7b2c77319f821656c36120da7b09f8478
wpt-pr: 17566
2019-07-24 13:32:01 +01:00
Alex Cooper 2cf08d6ac5 Bug 1561209 [wpt PR 17477] - Cleanup types in vr_service.mojom, a=testonly
Automatic update from web-platform-tests
Cleanup types in vr_service.mojom

This changes various vectors in the vr_service mojom to use the correct
gfx.mojom.geometry type.  It's largely mechanical, but the change from
array<float, 16> to gfx::Transform did introduce the need to transpose
the transforms being passed across that boundary.

For WMR, this resulted in a consistent way to convert from Matrix4x4 to
gfx::Transform, so some manual usages were consolidated to use a helper
function.

Bug: 732403
Change-Id: I1eefaa90c7b7d5ea6fa03c01522422bd37f7290a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669891
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Bill Orr <billorr@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673193}

--

wpt-commits: c48a7037e8059f9a331d311ba711de2da4abf625
wpt-pr: 17477
2019-07-24 13:32:00 +01:00
Gérard Talbot 794f2fad46 Bug 1561449 [wpt PR 17514] - Added a link to spec in 6 CSS2/values tests, a=testonly
Automatic update from web-platform-tests
Added a link to spec in 6 CSS2/values tests (#17514)

--

wpt-commits: a3f623801e5fef0bb8a806fbc8119c32d57240d1
wpt-pr: 17514
2019-07-24 13:31:58 +01:00
Gérard Talbot 793da5c1e5 Bug 1561446 [wpt PR 17513] - Added a link to spec in 13 CSS2/values tests, a=testonly
Automatic update from web-platform-tests
Added a link to spec in 13 CSS2/values tests (#17513)

--

wpt-commits: 4c26654f77551d686bbc255cee95089b12aa6907
wpt-pr: 17513
2019-07-24 13:31:57 +01:00
Gérard Talbot 98ee3764b0 Bug 1561439 [wpt PR 17512] - Added a link to spec to numbers-units-00[5-6] tests, a=testonly
Automatic update from web-platform-tests
Added a link to spec to numbers-units-00[5-6] tests (#17512)

--

wpt-commits: 95a1d50e544d1894110449e207f8e8cc92324dc8
wpt-pr: 17512
2019-07-24 13:31:56 +01:00
Gérard Talbot c0a61e9312 Bug 1561437 [wpt PR 17510] - Added a link to spec to numbers-units-00[2-3] tests, a=testonly
Automatic update from web-platform-tests
Added a link to spec to numbers-units-00[2-3] tests (#17510)

--

wpt-commits: 78f9cce31d3a905598773b0486f9567e8a4e6193
wpt-pr: 17510
2019-07-24 13:31:55 +01:00
Gérard Talbot 1399cb71c1 Bug 1561433 [wpt PR 17508] - Added a link to spec to numbers-units-004 test, a=testonly
Automatic update from web-platform-tests
Added a link to spec to numbers-units-004 test (#17508)

--

wpt-commits: 288514517e5012ad4459c63e8b37e6dcff3fd561
wpt-pr: 17508
2019-07-24 13:31:54 +01:00
Gérard Talbot 3a361ec54d Bug 1561430 [wpt PR 17507] - Added another link to spec to numbers-units-001 test, a=testonly
Automatic update from web-platform-tests
Added another link to spec to anumbers-units-001 test (#17507)

--

wpt-commits: 73f28194f388630a856827e63e286883e6c42a12
wpt-pr: 17507
2019-07-24 13:31:54 +01:00
Aleks Totic 9ef4ee35c5 Bug 1564666 [wpt PR 17542] - [LayoutNG] Fix for incorrect Legacy containing block oof removal, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix for incorrect Legacy containing block oof removal

When containing block changes from being an OOF container
to not being one, it needs to remove the positioned descendants
from its list of positioned objects.

If an OOF object remains in the positioned objects list,
it will cause NGOutOfLayoutPart::SweepLegacyDescendants
to go into an infinite loop and run out of memory. This
was fixed to just trigger a DCHECK in a recent CL.

LayoutInline::StyleDidChange did not perform OOF descendant
removal correctly. LayoutInline OOF descendants are stored in
first non-anonymous block on parent chain, (container's container)
which is not the same as ContainingBlock().

Added a method that computes container's container to
LayoutObject, and made LayoutInline call it.

This fix also works for fixed, because
fixed containers are always absolute containers.

Bug: 977930
Change-Id: I9f88fe676ec67d9d6751f3502507d773ed978dc8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680123
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673156}

--

wpt-commits: a8405825541d608fd26f28b0af36e6b5c42fd70a
wpt-pr: 17542
2019-07-24 13:31:53 +01:00