| <!DOCTYPE html> |
| <title>Test if it doesn't crash when resolving BFC block-offset abort</title> |
| <link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists"> |
| <link rel="help" href="http://crbug.com/969741"> |
| |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| <style type="text/css"> |
| #checkbox{ |
| -moz-appearance: checkbox; |
| -webkit-appearance: checkbox; |
| height: 0px; |
| } |
| </style> |
| <body> |
| <div style="float: left; width: 100px; height: 100px;"></div> |
| <div style="display: list-item;"> |
| <div id="checkbox"></div> |
| </div> |
| <script> |
| test(() => {}, "Layout should not crash"); |
| </script> |
| </body> |