Bug 1560867 [wpt PR 17375] - [LayoutNG] Fix |Reset()| to reset unpositioned list marker, a=testonly

Automatic update from web-platform-tests
[LayoutNG] Fix |Reset()| to reset unpositioned list marker

This patch fixes |NGLineBoxFragmentBuilder::Reset()| to reset
unpositioned list marker.

Bug: 967997
Change-Id: Ic776ac0881db2261da8e9a443c251c42554a39cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662984
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670049}

--

wpt-commits: 41df32dcf0ab90f62fff00b3af2a81fc5018edd6
wpt-pr: 17375
This commit is contained in:
Koji Ishii 2019-07-19 12:24:48 +00:00 коммит произвёл James Graham
Родитель 3b505b402b
Коммит ee110ae3eb
1 изменённых файлов: 17 добавлений и 0 удалений

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

@ -0,0 +1,17 @@
<!DOCTYPE html>
<title>List item taller than the first opportunity should not crash</title>
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property">
<link rel="help" href="http://crbug.com/967997">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<div style="float: left; width: 5px; height: 5px;"></div>
<div style="clear: left; float: left; width: 10px; height: 5px;"></div>
<ul>
<li></li>
</ul>
<script>
test(() => {}, "Layout should not crash");
</script>
</body>