Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-lists/outside-marker-nested-shared-container.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists: nested outside markers sharing one first formatted line follow it when it changes</title>
<link rel="match" href="outside-marker-nested-shared-container-ref.html">
<meta name="assert" content="Nested list items resolve to the same first formatted line, and both markers are placed against it.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
ul { margin: 0; padding: 0; }
li { font: 20px/20px Ahem; margin-left: 40px; }
</style>
<p>The test passes if both bullets are on the same line as the "x", to the left of it and of each other.</p>
<ul><li><ul><li><div id="content"></div></li></ul></li></ul>
<script>
document.body.offsetHeight;
document.getElementById("content").appendChild(document.createTextNode("x"));
document.body.offsetHeight;
</script>