blob: 781fe2dc16c25c969d02058f6b22d1beddc8a3a1 [file] [log] [blame]
/*
* Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @assertion
* @description
*/
import "dart:html";
import "../../testharness.dart";
import "../../../Utils/expect.dart";
const String htmlEL = r'''
<span id="test" style="-webkit-writing-mode:vertical-lr"></span>
''';
void main() {
document.body.appendHtml(htmlEL, treeSanitizer: new NullTreeSanitizer());
var elt = document.getElementById('test');
Expect.equals("inline-block", elt.getComputedStyle().getPropertyValue("display"));
}