blob: c41dbd583ea749aaa0f0f1d41a0e7472be7f56d7 [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";
import "pwd.dart";
main() {
var style = new Element.html('''
#test1 { -webkit-background-composite: highlight; }
#test2 { -webkit-background-composite: invalid; }
''', treeSanitizer: new NullTreeSanitizer());
Tests that highlight is treated the same as an invalid value for a composite operation:<br>
<div id="result"></div>
<span id="test1"></span>
<span id="test2"></span>
''', treeSanitizer: new NullTreeSanitizer());
var value1 = document.getElementById('test1').getComputedStyle()
var value2 = document.getElementById('test2').getComputedStyle()
shouldBe(value1, value2);