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

Unified Diff: core/dom/Text.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/dom/SharedArrayBuffer.idl ('k') | core/dom/Touch.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/Text.idl
diff --git a/core/dom/Text.idl b/core/dom/Text.idl
index afee652d1073faa8c22bce4df79ce5e679af43d1..1d733b91daa7fe6315f5921606d42a1dc0f91bdc 100644
--- a/core/dom/Text.idl
+++ b/core/dom/Text.idl
@@ -16,19 +16,17 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
+
+// https://dom.spec.whatwg.org/#interface-text
+
[
Constructor(optional DOMString data = ""),
ConstructorCallWith=Document,
- Custom=Wrap,
] interface Text : CharacterData {
+ [NewObject, RaisesException] Text splitText(unsigned long offset);
+ [MeasureAs=TextWholeText] readonly attribute DOMString wholeText;
- // DOM Level 1
- [RaisesException] Text splitText(unsigned long offset);
-
- // Introduced in DOM Level 3:
- readonly attribute DOMString wholeText;
- [MeasureAs=TextReplaceWholeText] Text replaceWholeText(DOMString content); // Removed from DOM4.
-
- // Shadow DOM API
+ // Shadow DOM
+ // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-text-interface
NodeList getDestinationInsertionPoints();
};
« no previous file with comments | « core/dom/SharedArrayBuffer.idl ('k') | core/dom/Touch.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698