Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/linebox/inline-negative-margin-minmax-crash-001.html - WPT Dashboard Interop Dashboard
<!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="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>