fune/servo/components/script/dom/webidls/HTMLBodyElement.webidl
Kuba Birecki 87d784ed80 servo: Merge #12537 - Partial fix for #12415: expose interfaces only where necessary (from ice9js:fix/expose-interfaces-only-where-necessary); r=Ms2ger
Partial fix for #12415.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [X] These changes do not require tests because they don't affect any features.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 7ea73ba2eec54e626db964eb3c943c2ba9b61466
2016-07-23 05:16:44 -05:00

26 lines
964 B
Text

/* This Source Code Form is subject to the terms of the Mozilla Public
* 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://html.spec.whatwg.org/multipage/#the-body-element
interface HTMLBodyElement : HTMLElement {
// also has obsolete members
};
HTMLBodyElement implements WindowEventHandlers;
// https://html.spec.whatwg.org/multipage/#HTMLBodyElement-partial
partial interface HTMLBodyElement {
[TreatNullAs=EmptyString] attribute DOMString text;
// https://github.com/servo/servo/issues/8715
//[TreatNullAs=EmptyString] attribute DOMString link;
// https://github.com/servo/servo/issues/8716
//[TreatNullAs=EmptyString] attribute DOMString vLink;
// https://github.com/servo/servo/issues/8717
//[TreatNullAs=EmptyString] attribute DOMString aLink;
[TreatNullAs=EmptyString] attribute DOMString bgColor;
attribute DOMString background;
};