OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 @TestOn("firefox") |
| 6 |
| 7 import 'dart:html'; |
| 8 |
| 9 import 'package:test/test.dart'; |
| 10 |
| 11 void main() { |
| 12 // Regression test for #274. Firefox doesn't compute styles within hidden |
| 13 // iframes (https://bugzilla.mozilla.org/show_bug.cgi?id=548397), so we have |
| 14 // to do some special stuff to make sure tests that care about that work. |
| 15 test("getComputedStyle() works", () { |
| 16 expect(document.body.getComputedStyle(), isNotNull); |
| 17 }); |
| 18 } |
OLD | NEW |