20 lines
487 B
HTML
20 lines
487 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
if (window.testRunner)
|
|
window.testRunner.dumpAsText();
|
|
|
|
function runTest()
|
|
{
|
|
elt = document.getElementById('test');
|
|
if (getComputedStyle(elt, 0).getPropertyValue("display") == "inline-block")
|
|
document.getElementById('console').innerHTML = "PASS";
|
|
else
|
|
document.getElementById('console').innerHTML = "FAIL";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="runTest()">
|
|
<span id="test" style="-webkit-writing-mode:vertical-lr"></span>
|
|
<div id="console"></div>
|