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

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: Created 6 years, 5 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 38416)
+++ site/try/src/html_to_text.dart (working copy)
@@ -41,7 +41,7 @@
int htmlToText(Node root,
StringBuffer buffer,
TrySelection selection,
- {bool treatRootAsInline: false}) {
+ {bool treatRootAsInline: true}) {
aam-me 2014/07/21 01:38:28 Reason for this change is that diagnostic messages
ahe 2014/07/21 08:16:00 IIRC, this code is to support copy and paste from,
aam-me 2014/07/21 12:20:38 Interesting. I will look into this.
aam-me 2014/07/30 00:28:25 htmlToText is invoked from normalizeMutationRecord
ahe 2014/08/04 08:59:55 I noticed something troublesome in normalizeMutati
int selectionOffset = -1;
walkNodes(root, (Node node) {
if (selection.anchorNode == node) {

Powered by Google App Engine
This is Rietveld 408576698