Automatic update from web-platform-tests
[LayoutNG] Make Block and inline-block have the same baseline when `overflow: hidden`
CSS2 defines[1] the baseline of an 'inline-block' is the
bottom margin edge if its `overflow` property is other than
`visible`.
Legacy, Gecko, and WebKit apply this rule to `block` too.
This patch matches to these engines.
Edge fails these tests, but MSN serves different page for
Edge (no gear icon) and that this problem does not appear.
[1] https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align
Bug: 983822
Change-Id: I2c6c9ea7cb629a61720c9aeec9979341ce86360e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1701618
Reviewed-by: Emil A Eklund <[email protected]>
Commit-Queue: Emil A Eklund <[email protected]>
Commit-Queue: Koji Ishii <[email protected]>
Cr-Commit-Position: refs/heads/master@{#677461}
--
wpt-commits: b91110463d121e6b4ba6749df1fe5f54e9540d92
wpt-pr: 17841
Automatic update from web-platform-tests
[LayoutNG] Ensure self-collapsing block relayout when ancestor resolves.
This bug was a combination of older code before we had "forced" BFC
block-offsets.
We didn't correctly detect when we had a self-collapsing block (which
had floats within it) that needed relayout if the initial estimate
was wrong.
This makes sure we give ourselves enough information to detect these
cases.
Bug: 980803
Change-Id: Id1ea5e10d819cb4509fd7664564b75b876f0f7cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690720
Commit-Queue: Ian Kilpatrick <[email protected]>
Commit-Queue: Emil A Eklund <[email protected]>
Reviewed-by: Emil A Eklund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#675729}
--
wpt-commits: 137960cfe6ce5b4dfb7a6d0bad126d517e03e009
wpt-pr: 17733
Automatic update from web-platform-tests
[LayoutNG] Do not use out-of-flow cache if in inline container
This patch changes |NGOutOfFlowLayoutPart::LayoutCandidate()|
not to use a cached result if it has an inline container.
|NGLayoutResult::OutOfFlowPositionedOffset()| has an offset
relative to the inline formatting context block. When an out-
of-flow object has inline contianer, this offset may change
without setting |NeedsLayout()| to the out-of-flow object.
Bug: 981686
Change-Id: Ib8376f791af0b95f6c2b6e5c2361b6a887c74e69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1692107
Commit-Queue: Emil A Eklund <[email protected]>
Reviewed-by: Emil A Eklund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#675686}
--
wpt-commits: e2d6701e64fbf664b53a4db86c53bffadd9fb9cf
wpt-pr: 17685
Automatic update from web-platform-tests
Defer laying out atomic inline while traversing inline children
This patch reverts [1] so that, when in full layout mode, it
prevents |LayoutInlineChildren()| from doing any layout in
its |InlineWalker| loop.
The crash occurs because |DirtyLineBoxesForObject()| can
destroy |InlineTextBox| without unlinking them from the list,
assuming the tree was already destroyed. We could either:
a. Change |DirtyLineBoxesForObject()| to unlink |InlineBox|es
it destroys.
b. Prevent laying out any children in this loop.
This patch chooses the optoin b.
Laying out atomic inline in the descendant traversal loop of
|LayoutInlineChildren()| was delayed after the loop in [2],
then it was changed to use a temporary list in [3].
The temporary list was removed in [1] because the original
test (fast/block/inline-children-root-linebox-crash.html) no
longer crashes. But laying out in the descendant traversal
loop should still be avoided.
[1] r390765 https://codereview.chromium.org/1933633002
[2] https://trac.webkit.org/changeset/118248/webkit
[3] https://trac.webkit.org/changeset/125810/webkit
Bug: 981602
Change-Id: Ie37a611aa7f6dc9b015d449ac75570c356ce654e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690379
Reviewed-by: Emil A Eklund <[email protected]>
Commit-Queue: Koji Ishii <[email protected]>
Cr-Commit-Position: refs/heads/master@{#675479}
--
wpt-commits: 7b1ce62b0f9796d78a30d2765189e42a1d0616e6
wpt-pr: 17669
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 <[email protected]>
Reviewed-by: Emil A Eklund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#674177}
--
wpt-commits: 9aacd72c9f396544fc93a1419fa8c9bfe02c015a
wpt-pr: 17612
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 <[email protected]>
Reviewed-by: Ian Kilpatrick <[email protected]>
Commit-Queue: Morten Stenshorne <[email protected]>
Cr-Commit-Position: refs/heads/master@{#673733}
--
wpt-commits: 16680001ee64a84651c44311a605cc7b2bcc18bf
wpt-pr: 17587
Automatic update from web-platform-tests
Added a link to spec in 6 CSS2/values tests (#17514)
--
wpt-commits: a3f623801e5fef0bb8a806fbc8119c32d57240d1
wpt-pr: 17514
Automatic update from web-platform-tests
Added a link to spec in 13 CSS2/values tests (#17513)
--
wpt-commits: 4c26654f77551d686bbc255cee95089b12aa6907
wpt-pr: 17513
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
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
Automatic update from web-platform-tests
Added a link to spec to numbers-units-004 test (#17508)
--
wpt-commits: 288514517e5012ad4459c63e8b37e6dcff3fd561
wpt-pr: 17508
Automatic update from web-platform-tests
Added another link to spec to anumbers-units-001 test (#17507)
--
wpt-commits: 73f28194f388630a856827e63e286883e6c42a12
wpt-pr: 17507
Automatic update from web-platform-tests
[LayoutNG] Fix hit-testing on floats in line box
This patch fixes hit-testing floats when they are included in
a line box, and extend the height of the line box.
LayoutNG places floats within a line box, and make its bounds
to include floats. Hit-testing code checks floating objects
only if foreground hit-testing did not succeeded.
This patch changes foreground hit-testing on line box to fail
if there's a float at the location. It should be ok because
line box does not have foreground objects, but this is not
the most efficient way to fix this problem. We might want to
revisit either where to put such floats, or how to hit-test
floats.
Bug: 977856
Change-Id: I687dd44ddfbf7ebcb25b38a9d90470ea939cb053
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680074
Commit-Queue: Emil A Eklund <[email protected]>
Reviewed-by: Emil A Eklund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#672911}
--
wpt-commits: 7baea31d05c76d6d37975bb08304088f7f50d480
wpt-pr: 17544
Automatic update from web-platform-tests
Merge pull request #17292 from gsnedders/ahem-part2b
Add ahem.css to many more tests
--
wpt-commits: daf75e3bc7829fc4de06bff7136009210aafe3e5
wpt-pr: 17292
Automatic update from web-platform-tests
[LayoutNG] Fix inserting exclusion crash.
When placing a new area into the closed area list there is almost
always an area at LayoutUnit::Min().
However if there was a float placed at LayoutUnit::Min() it is possible
to get into a state where this isn't the case.
Bug: 972904
Change-Id: I1c787ea8e4f5d87ae97023efd9cdb994c2b065ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1664930
Commit-Queue: Ian Kilpatrick <[email protected]>
Reviewed-by: Morten Stenshorne <[email protected]>
Cr-Commit-Position: refs/heads/master@{#670726}
--
wpt-commits: 9a183439c7fd1a22298c49a86be1e293d460ea75
wpt-pr: 17391
Automatic update from web-platform-tests
[LayoutNG] Fix negative margins on inline boxes
This patch fixes computing size of inline boxes that have
negative inline margins.
It looks like we didn't have enough test coverage when
`NGFragmentGeometry` was introduced.
Bug: 971622
Change-Id: Icd0f5300ef76a873ec25b8d96756884da954d184
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662249
Reviewed-by: Aleks Totic <[email protected]>
Commit-Queue: Koji Ishii <[email protected]>
Cr-Commit-Position: refs/heads/master@{#669699}
--
wpt-commits: c81dc02d6b1b4a5a5925d6cb27f16af7b897cb59
wpt-pr: 17356
Automatic update from web-platform-tests
Load Ahem as a webfont everywhere (part 2) (#17173)
This change updates a large number of reftests to link to the
`/fonts/ahem.css` stylesheet. Each file contains a single additional
line before the first `<style>` element:
```
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
```
--
wp5At-commits: 9c780585758acf5e9ac6d17ad9bd03c83404c7e6
wpt-pr: 17173
Automatic update from web-platform-tests
[LayoutNG] Fix negative margin in RTL
When there're negative inline margins, |ResolveInlineMargins|
computes incorrect inline-end margin, which affects line
offset in RTL. The inline-end margin computed here is not
used for layout in LTR that the problem was visible only in
RTL.
Bug: 971403
Change-Id: I8cfc6e303649d66b91c95ed1f7a30295c67bcad6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647907
Commit-Queue: Emil A Eklund <[email protected]>
Reviewed-by: Emil A Eklund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#667647}
--
wp5At-commits: 2d92aacd195e4ee7822151efde6083c221d6bd57
wpt-pr: 17247
Automatic update from web-platform-tests
Mark subtree of a scroller as having dirty compositing inputs after scroll.
This is because the overlap-testing rects depend on scroll offset.
Bug: 950154
Change-Id: Iacb3d373fe1b9be315701a55d604e44edb88f040
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638620
Commit-Queue: Chris Harrelson <[email protected]>
Reviewed-by: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/master@{#666480}
--
wp5At-commits: da9264974d2cb05537302778e7c34838560722ed
wpt-pr: 17153
Automatic update from web-platform-tests
[LayoutNG] Fix `vertical-align: top/bottom` not to include paddings
This patch fixes the top and bottom of inline boxes for the
`top` and `bottom` values of `vertical-align` not to include
their paddings.
The spec[1] says align with the top/bottom of boxes. Line
box in CSS is special that paddings are included to draw
background and borders, but are not included when computing
their heights[2]. All impls agree that the top/bottom in this
case is the latter; i.e., not to include paddings.
[1]: https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align
[2]: https://drafts.csswg.org/css2/visudet.html#inline-non-replaced
Bug: 968438
Change-Id: I034d0390e3695e8a3fcc737f94fc5561e16cd617
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1637006
Commit-Queue: Emil A Eklund <[email protected]>
Reviewed-by: Emil A Eklund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#664862}
--
wp5At-commits: 1f7dcd9d4364946e8d2cca4aef7e264d7278cb14
wpt-pr: 17105
Automatic update from web-platform-tests
[LayoutNG] Eliminate source of self-collapsedness inconsistency.
Remove an unnecessary check for border+padding logical height. No need
to test that separately, as border+padding is part of logical height,
which we would already have found to be positive at this point in that
case.
After re-layout, NGBlockNode::CopyFragmentDataToLayoutBox() would update
self-collapsedness (UpdateIsSelfCollapsing()), but the percentage based
padding would be resolved against the old size of the containing block,
as LayoutNG hasn't gotten around to updating that yet (doesn't happen
until we finish layout of the containing block).
Note that the test included used to pass with NG (if we bypassed the
DCHECK failure, that is).
Bug: 967193
Change-Id: I9f35b598ea251ed2f7e1d5b44c1364f1aca17dbe
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1634691
Commit-Queue: Emil A Eklund <[email protected]>
Reviewed-by: Emil A Eklund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#664283}
--
wp5At-commits: 8071657a98e017760bcbe006af6db863e9fda53e
wpt-pr: 17068
Automatic update from web-platform-tests
[LayoutNG] Ensure that new formatting-context margins separate correctly.
When positioning a new formatting-context in the presence of adjoining
floats sometimes a "forced" BFC block-offset will be set twice.
When this new formatting-context was wrapped in a <div> (a parent which
hadn't had its BFC block-offset resolved yet) we ran into a bug with our
state machine.
Upon the second time resolving the BFC block-offset the parent would
resolve *its* BFC block-offset to the previous "forced" BFC
block-offset.
Upon the final relayout the parent would set the first "forced" BFC
block-offset to its children causing an "infinite" loop (if we had a
loop driving this machinery.
This ensures we use the child's new BFC block-offset in this case.
Bug: 966278, 966214
Change-Id: I5da2f3e90b9d2ff78f124247f6f68cd3a289ae42
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627692
Commit-Queue: Ian Kilpatrick <[email protected]>
Reviewed-by: Morten Stenshorne <[email protected]>
Reviewed-by: Emil A Eklund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#662763}
--
wp5At-commits: 3cd597c6e53a97961c192c16608a67f8da6b873e
wpt-pr: 16976
Automatic update from web-platform-tests
Percentage height becomes auto if containing block height is auto.
It's wrong to walk all the way to the root and look for something with a
fixed block size just to determine whether we can collapse through the
block or not. It only matters what the actual block size of the
containing block is.
This bug triggered DCHECK failures, because the cached state of
self-collapsing got out of sync with reality, because some ancestor went
from auto-height to fixed-height, a change that shouldn't affect the
descendant at all.
Bug: 962175
Change-Id: Ic24d9c46dfa515306563b195487310eedfae9ac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1617833
Commit-Queue: Emil A Eklund <[email protected]>
Reviewed-by: Emil A Eklund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#661380}
--
wp5At-commits: fb0f1b34863f74d5b478044493068185f08fb0e1
wpt-pr: 16918
Automatic update from web-platform-tests
[LayoutNG] makes margins not collapse if size != intrinsic
If a block's size is not equal to the intrinsic size, then margins
should not collapse.
Bug: 769039
Change-Id: I13b343cf2421d8d49953a8f780d32772fd5eceef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1610303
Reviewed-by: Ian Kilpatrick <[email protected]>
Reviewed-by: Morten Stenshorne <[email protected]>
Commit-Queue: Scott Violet <[email protected]>
Cr-Commit-Position: refs/heads/master@{#659978}
--
wp5At-commits: b50427b0da57fc90596e5290e27ee5001bbe3d9c
wpt-pr: 16823
Automatic update from web-platform-tests
[LayoutNG] Add the "simplified" layout pass.
This introduces the simplified layout algorithm. This is triggered when
- An OOF descendant has its constraints changed.
- The block-size of a fragment changes in size.
There are several nuanced details with this algorithm. E.g. determining
the correct static position for an OOF descendant.
Bug: 635619
Change-Id: Iba4c4b82edf873fa4cad9ba28e9fa3849a4a8e8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1590237
Commit-Queue: Ian Kilpatrick <[email protected]>
Reviewed-by: Koji Ishii <[email protected]>
Reviewed-by: Morten Stenshorne <[email protected]>
Cr-Commit-Position: refs/heads/master@{#659745}
--
wp5At-commits: 20b091dca60176b03c6c6cd8466619dd9cf370e2
wpt-pr: 16738
Automatic update from web-platform-tests
[LayoutNG] Check for solid edges for layout opportunities.
Previously we weren't checking for "solid" edges on layout opportunities
within the NGExclusionSpace.
This had the effect of us thinking a particular layout opportunity was
valid (when one edge wasn't against any floats). This caused us to place
the element in such a way that it was "avoiding" a float higher up in
the document (when it shouldn't have).
This introduces a "NGClosedArea" struct, which keeps track of the
"NGEdges" vectors so that before considering a layout opportunity as
valid, we check it has solid edges.
Bug: 959567
Change-Id: If6481a23279eee7a1b188ec4cf5129b503935cc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1603303
Commit-Queue: Ian Kilpatrick <[email protected]>
Reviewed-by: Morten Stenshorne <[email protected]>
Cr-Commit-Position: refs/heads/master@{#658748}
--
wpt-commits: 818ed4dd600533c2c02d326ec5672af4fa1f5777
wpt-pr: 16762
Automatic update from web-platform-tests
Add a wpt test for overhanging float paint order
LayoutNG fixes the bug.
Bug: 408895
Change-Id: I29064b038b25704e08e1432aee2d2a268cccad8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1597089
Commit-Queue: Xianzhu Wang <[email protected]>
Reviewed-by: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/master@{#656984}
--
wpt-commits: cff57ca49eccc9be2499a1993e3e9ee7d0e35503
wpt-pr: 16687
Automatic update from web-platform-tests
[LayoutNG] Fix propagation of forcing clearance.
Previously if a child cleared an adjoining float, a grandchild may be
the element to resolve that subtree's BFC-block-offset.
When this occurred that grandchild didn't know that it should be
forced to clear a certain float.
This patch propagates the "ShouldForceClearance" bit down to arbitrary
grandchildren.
Bug: 944083
Change-Id: Iedb023c01ff4c3aa3dd83b6e7b0cfc08afb13aad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1582271
Reviewed-by: Morten Stenshorne <[email protected]>
Commit-Queue: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/master@{#653821}
--
wpt-commits: 75d4c4020f8cd7ae7c437e5d0e130759579e66c6
wpt-pr: 16476
Automatic update from web-platform-tests
[css2] Fix typo in text that make it check the wrong character
--
wpt-commits: daac93ce1af71078f958781aabed8ceeeb83a540
wpt-pr: 16444
Automatic update from web-platform-tests
Add references for CSS2/sec5
Some CSS2/sec5 tests were missing references. This adds in references for the remaining sec5 tests without references except for first-letter-000.xht.
--
Add in references for css/CSS2/selector tests
All CSS2/selector tests were missing references. This change adds in references for these tests.
--
wpt-commits: 2eb1f3a046ffccef07c831897f262fbcc31ec8e8, 69e5802277ed34ad99092743b4313ab8eec7323e
wpt-pr: 16061
Automatic update from web-platform-tests
Add references for CSS2/sec5
Some CSS2/sec5 tests were missing references. This adds in references for the remaining sec5 tests without references except for first-letter-000.xht.
--
Add in references for css/CSS2/selector tests
All CSS2/selector tests were missing references. This change adds in references for these tests.
--
wpt-commits: 2eb1f3a046ffccef07c831897f262fbcc31ec8e8, 69e5802277ed34ad99092743b4313ab8eec7323e
wpt-pr: 16061
Summary:
Unicode 12 changes the character property of U+166D (CANADIAN SYLLABICS CHI SIGN)
from Po (Punctuation, other) to So (Symbol, other), therefore remove the test as
no longer applicable to verify the properties of punctuation characters.
Reviewers: jfkthame
Reviewed By: jfkthame
Bug #: 1533481
Differential Revision: https://phabricator.services.mozilla.com/D25268
Automatic update from web-platform-tests
Fix c5510-padn-000-ref.xht to use same text color as test
--
Fix white-space-003.xht to use same wording as shared ref
--
Define margin for white-space-pre-element-001.xht
--
Alter margin in white-space-processing-040.xht
--
Merge pull request #15671 from gsnedders/css2-fixes
Fix a bunch of universal failures in css/CSS2
--
wpt-commits: 9a1e0b67b2f62569fc1185c869a5b01b48d1be70, f38bb3b176a1718d25ae7207f21d29a1682dddf0, 530a5b80bb6c2fb17763c32b64c6dda6201ee203, c9cc69953533a15712013c979a5cb33697d3567a, 24c8b9e1fe0cf1cb07c4314b1b6f3b15699634ef
wpt-pr: 15671
Automatic update from web-platform-tests
Remove inactive reviewers (#14798)
This removes reviewers who have had more than three review requests in
the past year but who haven't reviewed anything.
Adds a few extra reviewers based on discussions in the PR thread
looking for reviewers for directories that otherwise would've ended up
with none.
--
wpt-commits: a5f707c18b3d893a6e332994064911c2f11e800d
wpt-pr: 14798
Automatic update from web-platform-tests
Fix background-root-018-ref.xht to use same font size as test (#15670)
--
wpt-commits: 78f764c05c229883e87ad135c7153051a66e2851
wpt-pr: 15670
Automatic update from web-platform-tests
Move some references out of support directories
See #5843
--
Get rid of reftest/, standardize on reference/
--
Rewrite a lot of the border-*-radius tests
These previously formed reftest cycles which means they either
didn't get run or didn't clearly test either thing.
Given what we have visual tests for, it seems more meaningful to
just restrict these tests to testing percentages.
Fixes https://github.com/web-platform-tests/wpt/issues/5492.
--
Give css/css-backgrounds/border-image-6.html a real ref
The current ref is just an image of roughly what it should look
like, which isn't at all useful as a reftest (which needs
pixel-for-pixel equivalence).
--
Get rid of broken reftest, replaced with simple JS test
Using an image as a reference is almost certain to never work.
--
Make various transform3d tests have sane reference graphs
These seem to have been written under the assumption that multiple
<link rel=match> links formed multiple required matches rather than
alternates.
--
Fix text-indent-wrap-001 to have a single reference
This seems to have assumed multiple refs were AND, not OR.
--
wpt-commits: 8d2a5d9ee6e10577da1342bedc1d64bba9799e94, 29f50c937e8be8ccf73dbb8b8e74f0668a1cd426, b855a6d58fa3d9cf36b128e645091e8dd6d50464, 74c9fbb2d655638bc4079636dfc420bde4d94c6c, 8f61bf97d0ab9e47081f4dd068c0f7e72dabb862, b26ec10a9e9d769a20e9959bb90d1ec904f458e8, 7748ad90a13a51a3f74436295869b2f253f98e8a
wpt-pr: 15523
Automatic update from web-platform-tests
Move some references out of support directories
See #5843
--
Get rid of reftest/, standardize on reference/
--
Rewrite a lot of the border-*-radius tests
These previously formed reftest cycles which means they either
didn't get run or didn't clearly test either thing.
Given what we have visual tests for, it seems more meaningful to
just restrict these tests to testing percentages.
Fixes https://github.com/web-platform-tests/wpt/issues/5492.
--
Give css/css-backgrounds/border-image-6.html a real ref
The current ref is just an image of roughly what it should look
like, which isn't at all useful as a reftest (which needs
pixel-for-pixel equivalence).
--
Get rid of broken reftest, replaced with simple JS test
Using an image as a reference is almost certain to never work.
--
Make various transform3d tests have sane reference graphs
These seem to have been written under the assumption that multiple
<link rel=match> links formed multiple required matches rather than
alternates.
--
Fix text-indent-wrap-001 to have a single reference
This seems to have assumed multiple refs were AND, not OR.
--
wpt-commits: 8d2a5d9ee6e10577da1342bedc1d64bba9799e94, 29f50c937e8be8ccf73dbb8b8e74f0668a1cd426, b855a6d58fa3d9cf36b128e645091e8dd6d50464, 74c9fbb2d655638bc4079636dfc420bde4d94c6c, 8f61bf97d0ab9e47081f4dd068c0f7e72dabb862, b26ec10a9e9d769a20e9959bb90d1ec904f458e8, 7748ad90a13a51a3f74436295869b2f253f98e8a
wpt-pr: 15523
Automatic update from web-platform-tests
[LayoutNG] Fixed elements inside split inlines triggered DCHECK
The bug was that position:fixed elements were not getting laid out.
It was caused by split inlines containing block fix.
I've modified an existing testcase that we used to test split
inlines to also test fixed.
Bug: 923268
Change-Id: Ic1fe1bbdf1ffc2dfe80e4dbe5c03065be05c082c
Reviewed-on: https://chromium-review.googlesource.com/c/1445393
Commit-Queue: Aleks Totic <[email protected]>
Reviewed-by: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/master@{#627663}
--
wpt-commits: ac12b3e9488edb436f063b11213e954ae62d5a5e
wpt-pr: 15151
Automatic update from web-platform-tests
[LayoutNG] Fix crash related to clearance and margin collapsing.
The root of this bug was that the parent bfc, and child with clearance
were fighting as to what the BFC block offset should be.
The child was always returning true within:
NeedsAbortOnBfcBlockOffsetChange
... as the floats bfc offset was never equal to the child bfc offset,
as the child got affected by clearance.
This fix is to adjust the FloatsBfcBlockOffset by clearance to check
if we need to relayout or not.
Additionally we were performing more layouts than we should be,
when propagating the BFC block offset up the tree upon an abort. We
should be checking if the child got affected by clearance, and if so
adjust the resolved BFC offset accordingly.
Bug: 923271
Change-Id: Id39905a5445a0fe502c16b956b92d6db13885d36
Reviewed-on: https://chromium-review.googlesource.com/c/1423929
Reviewed-by: Morten Stenshorne <[email protected]>
Commit-Queue: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/master@{#625411}
--
wpt-commits: 66355d4d7ff62616686c39d8b831d2104729993f
wpt-pr: 15003