blob: 16dc8ba88c7949de401efd0ce0cb8cef1624a32e [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.
*/
/**
* @description
*/
import "dart:html";
import "../../testcommon.dart";
import "../../../Utils/async_utils.dart";
main() {
document.body.setInnerHtml('''
<div id="box">
</div>
''', treeSanitizer: new NullTreeSanitizer());
var style = document.getElementById('box').style;
style.left = "10px";
shouldBe(style.left, "10px");
style.left = "20px";
shouldBe(style.left, "20px");
}