blob: d6480edd621592928984f2d88684976a0990e734 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<title>CSS Test: Check inline negative margin with fit-content should not cause hang</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://crbug.com/1028817">
<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#inline-width">
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<style>
div {
width: fit-content;
}
span {
margin-left: -15px;
}
</style>
<body>
<div>| <span>Operation</span></div>
<script>test(() => {});</script>
</body>
|