зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1560890 [wpt PR 17391] - [LayoutNG] Fix inserting exclusion crash., a=testonly
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 <ikilpatrick@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#670726} -- wpt-commits: 9a183439c7fd1a22298c49a86be1e293d460ea75 wpt-pr: 17391
This commit is contained in:
Родитель
f11322abb1
Коммит
85c7faa169
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://crbug.com/972904">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<div style="margin-top:-100000000px;">
|
||||
<div style="margin-bottom:-100000000px; padding-top: 1px;"></div>
|
||||
text <!-- "text" is placed at the highest possible location due to saturated margin top values. -->
|
||||
<div style="float: left; width: 60px; height: 20px;"></div>
|
||||
<div style="margin-top: 10px;">
|
||||
<div style="float: left; width: 10px;"></div>
|
||||
<div style="float: left; width: 100px; height: 100px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
test(() => { }, 'test passes if it does not crash');
|
||||
</script>
|
Загрузка…
Ссылка в новой задаче