4 <title>CSS
2.1 Test Suite: handling of blocks inside inlines
</title>
5 <link rel=
"author" title=
"Boris Zbarsky" href=
"mailto:bzbarsky@mit.edu" />
6 <link rel=
"author" title=
"Mozilla Corporation" href=
"http://mozilla.com/" />
7 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
8 <meta name=
"flags" content=
"dom" />
10 #i { border:
2px solid; }
11 #i::before { display: block; content:
"One"; }
12 #i::after { content:
"Three"; }
16 var i
= document
.getElementById("i");
17 i
.insertBefore(document
.createTextNode("Two"), i
.firstChild
);
21 <body onload=
"doTest()">
22 <span id=
"i"><span style=
"display: none"></span></span>