3 <p> Bug
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=23826"> 23826 </a>: Potential bug with before/after rule while moving element from one document to another
</p>
4 <p> This test that moving a quote element sets the before / after flag in the final document.
</p>
8 var otherDocument
= iframe
.contentDocument
;
9 var quoteElement
= otherDocument
.createElement("q");
10 quoteElement
.appendChild(otherDocument
.createTextNode("Quotes should surround"));
11 quoteElement
.appendChild(otherDocument
.createElement("p"));
12 quoteElement
.appendChild(otherDocument
.createTextNode("this text."));
13 document
.getElementById("console").appendChild(quoteElement
);
16 <div id=
"console"> </div>
17 <iframe src=
"about:blank" id=
"iframe" onload=
"test(this)" style=
"display: none"> </iframe>