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

Unified Diff: Source/core/html/HTMLElement.idl

Issue 23797002: Hack to add accessors for WebIDL attributes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/html/HTMLDivElement.idl ('k') | move_attributes.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLElement.idl
diff --git a/Source/core/html/HTMLElement.idl b/Source/core/html/HTMLElement.idl
index efc9cebcfcac7da313301c1a2aaf87242aa3d456..e6f7e03583a6e147493d961911eaccb2d569be06 100644
--- a/Source/core/html/HTMLElement.idl
+++ b/Source/core/html/HTMLElement.idl
@@ -21,6 +21,9 @@
[
CustomToV8
] interface HTMLElement : Element {
+ //attribute DOMString testAttrOnHTMLElement;
+ //[ExposeV8GetterAndSetter] attribute DOMString testAttrOnHTMLElementWithGetterAndSetter;
+
[Reflect, TreatNullAs=NullString] attribute DOMString title;
[Reflect, TreatNullAs=NullString] attribute DOMString lang;
attribute boolean translate;
@@ -33,7 +36,7 @@
[Reflect, TreatNullAs=NullString] attribute DOMString accessKey;
// Extensions
- [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds, SetterRaisesException] attribute DOMString innerHTML;
+ [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds, SetterRaisesException, ExposeV8GetterAndSetter] attribute DOMString innerHTML;
[TreatNullAs=NullString, CustomElementCallbacks, SetterRaisesException] attribute DOMString innerText;
[TreatNullAs=NullString, CustomElementCallbacks, SetterRaisesException] attribute DOMString outerHTML;
[TreatNullAs=NullString, CustomElementCallbacks, SetterRaisesException] attribute DOMString outerText;
« no previous file with comments | « Source/core/html/HTMLDivElement.idl ('k') | move_attributes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698