weinig@apple.com | 769a719 | 2014-11-20 01:02:12 +0000 | [diff] [blame] | 1 | <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.com | c670af0 | 2015-02-16 20:41:23 +0000 | [diff] [blame] | 38 | <td id="reference"><span>WW</span>a<span>WW</span>b<span>WWWW</span><span>WWWW</span></td> |
weinig@apple.com | 769a719 | 2014-11-20 01:02:12 +0000 | [diff] [blame] | 39 | <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> |