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

Unified Diff: lib/src/runner/browser/static/host.css

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | test/runner/browser/firefox_html_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/browser/static/host.css
diff --git a/lib/src/runner/browser/static/host.css b/lib/src/runner/browser/static/host.css
index f17cb8da116775655b5a33359d4e17b49bc26624..8cf273a8769a5fe30b91404f40aa261060a04a60 100644
--- a/lib/src/runner/browser/static/host.css
+++ b/lib/src/runner/browser/static/host.css
@@ -2,13 +2,15 @@
* 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. */
-/* Compiled output from
- * http://codepen.io/mknadler/pen/11b75cb014a3c382f54abf527655af21. */
-
iframe {
- display: none;
+ /* We would use display: none here, but then Firefox fails to properly compute
+ * styles. See #274 */
+ visibility: hidden;
}
+/* Compiled output from
+ * http://codepen.io/mknadler/pen/11b75cb014a3c382f54abf527655af21. */
+
svg {
position: absolute;
margin: auto;
« no previous file with comments | « CHANGELOG.md ('k') | test/runner/browser/firefox_html_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698