Bug 1523562 [wpt PR 14844] - Mark top estimate for bottom-aligned OOFs as bogus when fragmented., a=testonly

Automatic update from web-platform-tests
Mark top estimate for bottom-aligned OOFs as bogus when fragmented.

As the code already points out, the block-start estimate for block-end
aligned out-of-flow positioned objects cannot be determined without
laying out. Make sure that we really lay out.

Bug: 921546
Change-Id: Id49b7b846886070ce3e49e0220a7b6378e1f9d6a
Reviewed-on: https://chromium-review.googlesource.com/c/1409442
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622492}

--

wpt-commits: ee7f5abb55093e964bb09e00f3a765603e1dadde
wpt-pr: 14844
This commit is contained in:
Morten Stenshorne 2019-01-31 18:54:53 +00:00 коммит произвёл James Graham
Родитель 302d335458
Коммит f0e3859840
1 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,22 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms">
<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-height">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="position:relative;">
<div style="position:absolute; top:50px; width:50px; height:50px; background:red;"></div>
</div>
<div id="multicol" style="columns:2; column-fill:auto; column-gap:0; width:101px; height:100px; background:green;">
<div style="position:relative; height:100px;">
<div style="position:absolute; bottom:0;">
<div style="position:absolute; bottom:0;">
<div style="width:50px; height:50px; background:green;"></div>
</div>
</div>
</div>
</div>
<script>
document.body.offsetTop;
document.getElementById("multicol").style.width = "100px";
</script>