Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/normal-flow/block-in-inline-remove-000.xht - WPT Dashboard Interop Dashboard
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test: blocks inside inlines – remove-split-inline-1</title>
<link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
<link rel="match" href="block-in-inline-remove-000-ref.xht"/>
<meta name="flags" content="dom" />
<script type="text/javascript">
function doit() {
var target = document.getElementById("target");
target.parentNode.removeChild(target);
}
</script>
</head>
<body onload="doit()">
One
<span id="target">
Three
<div>Four</div>
Five
</span>
Two
</body></html>