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

Unified Diff: core/html/HTMLBodyElement.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/html/HTMLBaseElement.idl ('k') | core/html/HTMLButtonElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLBodyElement.idl
diff --git a/core/html/HTMLBodyElement.idl b/core/html/HTMLBodyElement.idl
index 9a06a3c55d9078a0d4da00302ce17922385ce5b4..51f030844d7b043ddea142517b99a8d50b0908e3 100644
--- a/core/html/HTMLBodyElement.idl
+++ b/core/html/HTMLBodyElement.idl
@@ -18,23 +18,30 @@
* Boston, MA 02110-1301, USA.
*/
+// https://html.spec.whatwg.org/#the-body-element
+
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
+ // TODO(philipj): These event handler attributes should be inherited from
+ // HTMLElement (which implements GlobalEventHandlers), but have different
+ // behavior. See 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 | « core/html/HTMLBaseElement.idl ('k') | core/html/HTMLButtonElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698