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

Issue 494253002: Fix Try Dart newline handling on IE11. (Closed)

Created:
6 years, 4 months ago by aam-me
Modified:
6 years, 3 months ago
Reviewers:
ahe, Emily Fortuna, blois
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix Try Dart newline handling on IE11. BUG=dartbug.com/20593 R=ahe@google.com, blois@google.com, efortuna@google.com Committed: https://code.google.com/p/dart/source/detail?r=39626

Patch Set 1 #

Total comments: 5

Patch Set 2 : Use append(new Text(...)) #

Patch Set 3 : Change darttemplate #

Total comments: 3

Patch Set 4 : added test that validates appending of newlines #

Patch Set 5 : Test checks content of the text with newlines #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -8 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M tests/html/element_add_test.dart View 1 2 3 4 1 chunk +12 lines, -0 lines 1 comment Download
M tests/try/try.status View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
aam-me
Hi Peter, this is a follow-up to one try/web/cursor_position_test not passing for IE11. Turns out ...
6 years, 4 months ago (2014-08-22 02:30:19 UTC) #1
ahe
It is things like this that make web programming hard :-( This looks fine, but ...
6 years, 4 months ago (2014-08-22 09:46:52 UTC) #2
aam-me
Hi Peter, problem is that we don't have Text, only Div in that key handler ...
6 years, 4 months ago (2014-08-22 12:05:15 UTC) #3
ahe
https://codereview.chromium.org/494253002/diff/1/site/try/src/interaction_manager.dart File site/try/src/interaction_manager.dart (right): https://codereview.chromium.org/494253002/diff/1/site/try/src/interaction_manager.dart#newcode402 site/try/src/interaction_manager.dart:402: selection.collapse(node, 1); On 2014/08/22 12:05:14, aam wrote: > On ...
6 years, 4 months ago (2014-08-22 12:13:44 UTC) #4
aam-me
On 2014/08/22 12:13:44, ahe wrote: > https://codereview.chromium.org/494253002/diff/1/site/try/src/interaction_manager.dart > File site/try/src/interaction_manager.dart (right): > > https://codereview.chromium.org/494253002/diff/1/site/try/src/interaction_manager.dart#newcode402 > ...
6 years, 4 months ago (2014-08-22 13:42:30 UTC) #5
ahe
On 2014/08/22 13:42:30, aam wrote: > Yes, it would - Nice! > Please see latest ...
6 years, 4 months ago (2014-08-22 13:49:01 UTC) #6
ahe
On 2014/08/22 13:49:01, ahe wrote: > On 2014/08/22 13:42:30, aam wrote: > > Yes, it ...
6 years, 4 months ago (2014-08-22 13:50:10 UTC) #7
aam-me
On 2014/08/22 13:50:10, ahe wrote: > On 2014/08/22 13:49:01, ahe wrote: > > On 2014/08/22 ...
6 years, 4 months ago (2014-08-23 03:17:12 UTC) #8
aam-me
See follow-up comment regarding unrelated change picked up as a result of regenerating from .darttemplate. ...
6 years, 4 months ago (2014-08-23 03:18:04 UTC) #9
ahe
ahe@google.com changed reviewers: + blois@google.com, efortuna@google.com
6 years, 4 months ago (2014-08-26 08:25:37 UTC) #10
ahe
This looks fine to me, but we should let Pete (blois) and Emily (efortuna) decide ...
6 years, 4 months ago (2014-08-26 08:25:37 UTC) #11
blois
lgtm
6 years, 3 months ago (2014-08-26 15:44:28 UTC) #12
Emily Fortuna
lgtm
6 years, 3 months ago (2014-08-26 16:34:15 UTC) #13
Emily Fortuna
https://codereview.chromium.org/494253002/diff/100001/sdk/lib/html/dartium/html_dartium.dart File sdk/lib/html/dartium/html_dartium.dart (right): https://codereview.chromium.org/494253002/diff/100001/sdk/lib/html/dartium/html_dartium.dart#newcode28755 sdk/lib/html/dartium/html_dartium.dart:28755: + if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) ...
6 years, 3 months ago (2014-08-26 16:35:27 UTC) #14
aam-me
Thank you Peter, Emily, Pete for the review! On 2014/08/26 08:25:37, ahe wrote: > This ...
6 years, 3 months ago (2014-08-27 00:27:58 UTC) #15
ahe
Nice! LGTM Perhaps also test that el.text is "\n\n"?
6 years, 3 months ago (2014-08-27 07:38:30 UTC) #16
aam-me
On 2014/08/27 07:38:30, ahe wrote: > Nice! LGTM Thanks! > Perhaps also test that el.text ...
6 years, 3 months ago (2014-08-27 11:41:04 UTC) #17
ahe
lgtm https://codereview.chromium.org/494253002/diff/140001/tests/html/element_add_test.dart File tests/html/element_add_test.dart (right): https://codereview.chromium.org/494253002/diff/140001/tests/html/element_add_test.dart#newcode86 tests/html/element_add_test.dart:86: expect(el.nodes[0].text, equals(twoNewLines)); Suggest adding: expect(el.text, equals(twoNewLines));
6 years, 3 months ago (2014-08-27 11:48:48 UTC) #18
aam-me
Committed patchset #5 (id:140001) manually as r39626 (presubmit successful).
6 years, 3 months ago (2014-08-27 23:12:27 UTC) #19
aam-me
On 2014/08/27 23:12:27, aam wrote: > Committed patchset #5 (id:140001) manually as r39626 (presubmit successful). ...
6 years, 3 months ago (2014-08-28 00:07:31 UTC) #20
aam-me
6 years, 3 months ago (2014-08-28 00:16:05 UTC) #21
Message was sent while issue was closed.
On 2014/08/27 11:48:48, ahe wrote:
> Suggest adding:
> 
> expect(el.text, equals(twoNewLines));

Oops, sorry. Didn't notice this suggestion. Created
https://codereview.chromium.org/512043002/ for this.

Powered by Google App Engine
This is Rietveld 408576698