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

Unified Diff: Source/core/dom/Element.idl

Issue 256263002: Remove [PerWorldBindings] IDL attribute from non wrapper type attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 8 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 | « Source/core/dom/Attr.idl ('k') | Source/core/dom/Node.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.idl
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl
index 9aed486ac829311ecfc80aac5f70008d82289b77..42efd9041c4dd4eddc0e976a33d843f6bc40a855 100644
--- a/Source/core/dom/Element.idl
+++ b/Source/core/dom/Element.idl
@@ -24,7 +24,7 @@
// DOM Level 1 Core
- [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMString tagName;
+ [TreatReturnedNullStringAs=Null] readonly attribute DOMString tagName;
[TreatReturnedNullStringAs=Null] DOMString getAttribute(DOMString name);
[RaisesException, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value);
@@ -52,33 +52,33 @@
[PerWorldBindings] readonly attribute CSSStyleDeclaration style;
// DOM4
- [Reflect, PerWorldBindings] attribute DOMString id;
- [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMString namespaceURI;
- [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, RaisesException=Setter] attribute DOMString prefix;
- [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMString localName;
+ [Reflect] attribute DOMString id;
+ [TreatReturnedNullStringAs=Null] readonly attribute DOMString namespaceURI;
+ [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, RaisesException=Setter] attribute DOMString prefix;
+ [TreatReturnedNullStringAs=Null] readonly attribute DOMString localName;
[RaisesException] boolean matches(DOMString selectors);
// Common extensions
- [PerWorldBindings] readonly attribute long offsetLeft;
- [PerWorldBindings] readonly attribute long offsetTop;
- [PerWorldBindings] readonly attribute long offsetWidth;
- [PerWorldBindings] readonly attribute long offsetHeight;
+ readonly attribute long offsetLeft;
+ readonly attribute long offsetTop;
+ readonly attribute long offsetWidth;
+ readonly attribute long offsetHeight;
[ImplementedAs=offsetParentForBindings, PerWorldBindings] readonly attribute Element offsetParent;
- [PerWorldBindings] readonly attribute long clientLeft;
- [PerWorldBindings] readonly attribute long clientTop;
- [PerWorldBindings] readonly attribute long clientWidth;
- [PerWorldBindings] readonly attribute long clientHeight;
+ readonly attribute long clientLeft;
+ readonly attribute long clientTop;
+ readonly attribute long clientWidth;
+ readonly attribute long clientHeight;
// FIXME: should be:
- // [PerWorldBindings] attribute (Dictionary or long) scrollLeft;
- // [PerWorldBindings] attribute (Dictionary or long) scrollTop;
+ // attribute (Dictionary or long) scrollLeft;
+ // attribute (Dictionary or long) scrollTop;
// http://crbug.com/240176
- [PerWorldBindings, Custom=Setter] attribute long scrollLeft;
- [PerWorldBindings, Custom=Setter] attribute long scrollTop;
- [PerWorldBindings] readonly attribute long scrollWidth;
- [PerWorldBindings] readonly attribute long scrollHeight;
+ [Custom=Setter] attribute long scrollLeft;
+ [Custom=Setter] attribute long scrollTop;
+ readonly attribute long scrollWidth;
+ readonly attribute long scrollHeight;
void focus();
void blur();
@@ -99,7 +99,7 @@
[RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMString where, DOMString text);
[CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString where, DOMString html);
- [Reflect=class, PerWorldBindings] attribute DOMString className;
+ [Reflect=class] attribute DOMString className;
[PerWorldBindings] readonly attribute DOMTokenList classList;
[PerWorldBindings] readonly attribute DOMStringMap dataset;
« no previous file with comments | « Source/core/dom/Attr.idl ('k') | Source/core/dom/Node.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698