blob: a93ea2163932041df6529276ba89545c5d1c2e4a [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 final style
/// @description Checks that CSS properties can be set via style.
import "dart:html";
import "../../../Utils/expect.dart";
import "../testcommon.dart";
main() {
<iframe class="ief">
</div>''', treeSanitizer: new NullTreeSanitizer());
Element x = document.body?.getElementsByClassName('ief')[0] as Element; = 'red'; = 'rtl';
Expect.equals('red',, 'color');
Expect.equals('rtl',, 'direction');