<!DOCTYPEhtml>
<meta charset=utf-8>
<title>Test for select popup in vertical writing mode</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script>
SimpleTest.waitForExplicitFinish();
function test() {
SimpleTest.waitForFocus(function() { var vlr = document.getElementById("vlr"); var selWidth = vlr.offsetWidth; var optWidth = vlr.children[0].offsetWidth;
// We should be able to choose options from the vertical-lr <select>
// at positions increasingly to the right of the element itself.
is(vlr.value, "1", "(vertical-lr) initial value should be 1");
is(vlr.value, "1", "(vertical-lr) value should be back to 1");
var vrl = document.getElementById("vrl");
// We should be able to choose options from the vertical-rl <select>
// at positions increasingly to the left of the element itself.
is(vrl.value, "1", "(vertical-rl) initial value should be 1");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.