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; |