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

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

Issue 991513002: Sync HTML element interfaces A-B with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: leave HTMLFrameSetElement to https://codereview.chromium.org/980703006/ Created 5 years, 9 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/HTMLBaseElement.idl ('k') | Source/core/html/HTMLButtonElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLBodyElement.idl
diff --git a/Source/core/html/HTMLBodyElement.idl b/Source/core/html/HTMLBodyElement.idl
index 9a06a3c55d9078a0d4da00302ce17922385ce5b4..1fd6625000b86b0fc0087c8b83a03fd28f0c04a7 100644
--- a/Source/core/html/HTMLBodyElement.idl
+++ b/Source/core/html/HTMLBodyElement.idl
@@ -18,23 +18,30 @@
* Boston, MA 02110-1301, USA.
*/
+// https://html.spec.whatwg.org/#htmlbodyelement
+
interface HTMLBodyElement : HTMLElement {
- [Reflect, TreatNullAs=EmptyString] attribute DOMString aLink;
- [Reflect] attribute DOMString background;
- [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor;
- [Reflect, TreatNullAs=EmptyString] attribute DOMString link;
+ // obsolete members
+ // https://html.spec.whatwg.org/#HTMLBodyElement-partial
[Reflect, TreatNullAs=EmptyString] attribute DOMString text;
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString link;
[Reflect, TreatNullAs=EmptyString] attribute DOMString vLink;
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString aLink;
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor;
+ [Reflect] attribute DOMString background;
- [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange;
-
- // Overrides of GlobalEventHandler attributes
+ // FIXME: The spec requires special behavior for these event
+ // handler attributes but does not include them in the IDL:
+ // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28166
attribute EventHandler onblur;
attribute EventHandler onerror;
attribute EventHandler onfocus;
attribute EventHandler onload;
attribute EventHandler onresize;
attribute EventHandler onscroll;
+
+ // Non-standard APIs
+ [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange;
};
HTMLBodyElement implements WindowEventHandlers;
« no previous file with comments | « Source/core/html/HTMLBaseElement.idl ('k') | Source/core/html/HTMLButtonElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698