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

Issue 16743004: Updating docs for appendText and insertingAdjacentText to reflect implementation. (Closed)

Created:
7 years, 6 months ago by blois
Modified:
7 years, 6 months ago
Reviewers:
Jacob
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Updating docs for appendText and insertAdjacentText to reflect implementation. Basically insertAdjacentText is not standardized but is natively supported on IE, Chrome and Opera. Chrome inserts only a text node, but IE will create <br/> elements for line breaks (acts more like innerText, which we suppress). Alternatively, we skip the native implementation and always polyfill the API, though I'd be more inclined to omit it entirely. BUG=11180 R=jacobr@google.com Committed: https://code.google.com/p/dart/source/detail?r=23827

Patch Set 1 : #

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

Messages

Total messages: 3 (0 generated)
blois
7 years, 6 months ago (2013-06-10 17:16:44 UTC) #1
Jacob
lgtm
7 years, 6 months ago (2013-06-10 17:40:25 UTC) #2
blois
7 years, 6 months ago (2013-06-10 19:39:46 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r23827 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698