blob: 5efbef859f5ec63e5cb1deaaf7ad1992d67a09f9 [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 Tests that querying the priority for a shorthand works.
import "dart:html";
import "../../testcommon.dart";
import "../../../Utils/async_utils.dart";
import "pwd.dart";
main() {
var testContainer = document.createElement("div");
testContainer.innerHtml = '<div id="test">hello</div>';
var e = document.getElementById('test');
// Sanity check."border-bottom-style", "solid", "important");
shouldBe('border-bottom-style'), 'solid');
shouldBe('border-bottom-style'), 'important'); = ""; = "20px solid green";
shouldBe('border'), '20px solid green');
shouldBe('border'), ''); = "";"border", "20px solid green", "important");
shouldBe('border'), '20px solid green');
shouldBe('border'), 'important');