Files
servo/tests/wpt/css-tests/css21_dev/html4/block-in-inline-whitespace-001b.htm

26 lines
939 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>CSS Test: blocks inside inlines whitespace-present-1b</title>
<link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu">
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">
<link rel="match" href="reference/block-in-inline-whitespace-001-ref.htm">
<meta name="flags" content="dom">
<style type="text/css">
body > span { border: 3px solid blue }
</style>
<script type="text/javascript">
function doIt() {
var t = document.createTextNode(" ");
var d = document.getElementById("d");
d.parentNode.insertBefore(t, d);
}
</script>
</head>
<body onload="doIt()">
<span>
<div>One</div><div id="d">Two</div>
</span>
</body></html>