blob: d02942360da62ee0b2e0bfc2fddfa56212e30f6f [file] [log] [blame]
weinig@apple.com769a7192014-11-20 01:02:12 +00001<html>
2 <head>
3 <style type="text/css">
4 body { quotes: "WW" "WWWW"; }
5 body { quotes: baseline; } /* This should be ignored, as "baseline" is not a vaild value for quotes */
6 </style>
7 <script type="text/javascript">
8 if (window.testRunner) {
9 testRunner.dumpAsText();
10 testRunner.waitUntilDone();
11 }
12
13 function run() {
14 testWidth = window.getComputedStyle(document.getElementById("testContainer"), null).getPropertyValue("width");
15 referenceWidth = window.getComputedStyle(document.getElementById("reference"), null).getPropertyValue("width");
16 if (testWidth == referenceWidth)
17 document.getElementById("console").innerText = "PASSED";
18 else
19 document.getElementById("console").innerText = "FAILED: testWidth=" + testWidth +"; expected " + referenceWidth;
20 if (window.testRunner)
21 testRunner.notifyDone();
22 }
23 </script>
24 </head>
25
26 <body onload="setTimeout('run()', 0);">
27 <p id="onlyInBrowser">The texts between the markers should be identical.</p>
28 <p>========Marker1========</p>
29 <table>
30 <tr>
31 <td id="testContainer"><q>a<q>b</q></q></td>
32 <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>
33 </tr>
34 </table>
35 <p>========Marker2========</p>
36 <table>
37 <tr>
mmaxfield@apple.comc670af02015-02-16 20:41:23 +000038 <td id="reference"><span>WW</span>a<span>WW</span>b<span>WWWW</span><span>WWWW</span></td>
weinig@apple.com769a7192014-11-20 01:02:12 +000039 <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>
40 </tr>
41 </table>
42 <p>========Marker3========</p>
43 <pre id="console"/>
44 </body>
45</html>