3 <style type=
"text/css">
4 body
{ quotes: "WW" "WWWW" "WWW" "WWWWW"; }
5 span:before
{ content: no-open-quote
; }
6 span:after
{ content: no-close-quote
; }
8 <script type=
"text/javascript">
9 if (window
.testRunner
) {
10 testRunner
.dumpAsText();
11 testRunner
.waitUntilDone();
15 if (window
.testRunner
)
16 document
.getElementById("onlyInBrowser").setAttribute("style", "display: none;");
17 testWidth
= window
.getComputedStyle(document
.getElementById("testContainer"), null).getPropertyValue("width");
18 referenceWidth
= window
.getComputedStyle(document
.getElementById("reference"), null).getPropertyValue("width");
19 if (testWidth
== referenceWidth
)
20 document
.getElementById("console").innerText
= "PASSED";
22 document
.getElementById("console").innerText
= "FAILED: testWidth=" + testWidth
+"; expected " + referenceWidth
;
23 document
.getElementById("onlyInBrowser").setAttribute("style", "display: none;");
24 if (window
.testRunner
)
25 testRunner
.notifyDone();
30 <body onload=
"setTimeout('run()', 0);">
31 <p id=
"onlyInBrowser">The texts between the markers should be identical.
</p>
32 <p>========Marker1========
</p>
35 <td id=
"testContainer"><span>a
<q>b
</q>c
</span><q>d
</q></td>
36 <td>1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1</td>
39 <p>========Marker2========
</p>
42 <td id=
"reference">aWWWbWWWWWcWWdWWWW
</td>
43 <td>1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1</td>
46 <p>========Marker3========
</p>