blob: d8a9941e0ca6ff7d01aa4e842d218a18f62b72ac [file] [log] [blame]
<html>
<head>
<style type="text/css">
body { quotes: "WW" "WWWW" "WWW" "WWWWW"; }
span:before { content: no-open-quote; }
span:after { content: no-close-quote; }
</style>
<script type="text/javascript">
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function run() {
if (window.testRunner)
document.getElementById("onlyInBrowser").setAttribute("style", "display: none;");
testWidth = window.getComputedStyle(document.getElementById("testContainer"), null).getPropertyValue("width");
referenceWidth = window.getComputedStyle(document.getElementById("reference"), null).getPropertyValue("width");
if (testWidth == referenceWidth)
document.getElementById("console").innerText = "PASSED";
else
document.getElementById("console").innerText = "FAILED: testWidth=" + testWidth +"; expected " + referenceWidth;
document.getElementById("onlyInBrowser").setAttribute("style", "display: none;");
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body onload="setTimeout('run()', 0);">
<p id="onlyInBrowser">The texts between the markers should be identical.</p>
<p>========Marker1========</p>
<table>
<tr>
<td id="testContainer"><span>a<q>b</q>c</span><q>d</q></td>
<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>
</tr>
</table>
<p>========Marker2========</p>
<table>
<tr>
<td id="reference"><span>a<span>WWW</span>b<span>WWWWW</span>c<span>WW</span>d<span>WWWW</span><span></td>
<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>
</tr>
</table>
<p>========Marker3========</p>
<pre id="console"/>
</body>
</html>