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