| Index: sky/tests/lowlevel/style-specificity.sky
|
| diff --git a/sky/tests/lowlevel/style-specificity.sky b/sky/tests/lowlevel/style-specificity.sky
|
| index e9b559064bd2b9a8083b1c71acd7e2b07dcc02d8..2aebe9ebf84028ee8b81bdb8122ddb154411edca 100644
|
| --- a/sky/tests/lowlevel/style-specificity.sky
|
| +++ b/sky/tests/lowlevel/style-specificity.sky
|
| @@ -1,6 +1,4 @@
|
| <html>
|
| -<import src="../resources/chai.sky" />
|
| -<import src="../resources/mocha.sky" />
|
| <style>
|
| #sandbox { color: red; }
|
| .blue { color: blue; }
|
| @@ -8,12 +6,20 @@
|
| <body>
|
| <div id="sandbox" class="blue">This should be blue.</div>
|
| <script>
|
| - describe('Specificity', function() {
|
| - it('should not exist', function() {
|
| + import "../resources/third_party/unittest/unittest.dart";
|
| + import "../resources/unit.dart";
|
| +
|
| + import "dart:sky";
|
| +
|
| + main() {
|
| + initUnit();
|
| +
|
| + test('should not exist', () {
|
| var sandbox = document.getElementById("sandbox");
|
| - assert.equal(getComputedStyle(sandbox).color, "rgb(0, 0, 255)");
|
| + expect(window.getComputedStyle(sandbox).getPropertyValue("color"),
|
| + equals("rgb(0, 0, 255)"));
|
| });
|
| - });
|
| + }
|
| </script>
|
| </body>
|
| </html>
|
|
|