Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: test/runner/browser/firefox_html_test.dart

Issue 1185203003: Work around a Firefox computed style bug. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/runner/browser/static/host.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « lib/src/runner/browser/static/host.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698