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

Unified Diff: site/try/src/html_to_text.dart

Issue 408783002: Enable Try Dart to run on IE11. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: removed dynamic, marked one test as Fail on IE11 Created 6 years, 4 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
Index: site/try/src/html_to_text.dart
===================================================================
--- site/try/src/html_to_text.dart (revision 39366)
+++ site/try/src/html_to_text.dart (working copy)
@@ -32,7 +32,8 @@
// div element.
if (element.classes.contains('dart-code-completion')) return false;
- return element.getComputedStyle().display != 'inline';
+ var display = element.getComputedStyle().display;
+ return display != 'inline' && display != 'none';
}
/// Writes the text of [root] to [buffer]. Keeps track of [selection] and

Powered by Google App Engine
This is Rietveld 408576698