blob: c8bbb69450fa8d8e36bfd16a536df5ec0edc4658 [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 "../../../../Utils/expect.dart";
import "../../../testcommon.dart";
main() {
document.head.append(new Element.html('''
<style type="text/css">
div { color: red; }
progress:indeterminate + #test { color: green; }
''', treeSanitizer: new NullTreeSanitizer()));
<p>The test passes if the Filler Text below is green.</p>
<div id="test">Filler Text</div>
''', treeSanitizer: new NullTreeSanitizer());
var testDiv = document.getElementById("test");
"rgb(0, 128, 0)");