Implement Body.bgColor and Document.bgColor

This commit is contained in:
Anthony Ramine 2015-04-27 14:08:07 +02:00
parent 34070b1348
commit 16973624c8
9 changed files with 36 additions and 285 deletions

View file

@ -137,7 +137,7 @@ partial interface Document {
// [TreatNullAs=EmptyString] attribute DOMString linkColor;
// [TreatNullAs=EmptyString] attribute DOMString vlinkColor;
// [TreatNullAs=EmptyString] attribute DOMString alinkColor;
// [TreatNullAs=EmptyString] attribute DOMString bgColor;
[TreatNullAs=EmptyString] attribute DOMString bgColor;
[SameObject]
readonly attribute HTMLCollection anchors;

View file

@ -3,9 +3,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://www.whatwg.org/html/#htmlbodyelement
// https://html.spec.whatwg.org/#the-body-element
interface HTMLBodyElement : HTMLElement {
// also has obsolete members
};
HTMLBodyElement implements WindowEventHandlers;
@ -16,6 +15,6 @@ partial interface HTMLBodyElement {
//[TreatNullAs=EmptyString] attribute DOMString link;
//[TreatNullAs=EmptyString] attribute DOMString vLink;
//[TreatNullAs=EmptyString] attribute DOMString aLink;
//[TreatNullAs=EmptyString] attribute DOMString bgColor;
[TreatNullAs=EmptyString] attribute DOMString bgColor;
// attribute DOMString background;
};