Skip to content

Commit

Permalink
Don't put out-of-flow boxes in anonymous flex/grid items.
Browse files Browse the repository at this point in the history
A single anonymous flex/grid item should just contain a contiguous
sequence of text runs.

TEST=external/wpt/css/css-flexbox/anonymous-flex-item-004.html

Bug: 807497
Change-Id: If995a5ac107210083fd13de9c6983b91b4ef3fa3
Reviewed-on: https://chromium-review.googlesource.com/895844
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533825}
  • Loading branch information
Rune Lillesveen authored and chromium-wpt-export-bot committed Feb 1, 2018
1 parent b27beae commit dd2c6a9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions css/css-grid/grid-items/anonymous-grid-item-001.html
@@ -0,0 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Grid Test: Anonymous grid items - non-contiguous text runs - position:absolute</title>
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-grid/#grid-items">
<link rel="match" href="/css/css-flexbox/anonymous-flex-item-split-ref.html">
<p>The words "Two" and "lines" should not be on the same line.</p>
<div style="display:grid">Two <span style="position:absolute"></span>lines</div>

0 comments on commit dd2c6a9

Please sign in to comment.