mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
This presentational hint either sets the width values of all borders, removes the bottom border or sets the height of the element, depending on the context. This change also implements the corresponding idl attribute (and the `noshade` attribute, which does nothing in html5) Testing: Adds new web platform tests --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
20 lines
708 B
Text
20 lines
708 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 https://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://html.spec.whatwg.org/multipage/#htmlhrelement
|
|
[Exposed=Window]
|
|
interface HTMLHRElement : HTMLElement {
|
|
[HTMLConstructor] constructor();
|
|
|
|
// also has obsolete members
|
|
};
|
|
|
|
// https://html.spec.whatwg.org/multipage/#HTMLHRElement-partial
|
|
partial interface HTMLHRElement {
|
|
[CEReactions] attribute DOMString align;
|
|
[CEReactions] attribute DOMString color;
|
|
[CEReactions] attribute boolean noShade;
|
|
[CEReactions] attribute DOMString size;
|
|
[CEReactions] attribute DOMString width;
|
|
};
|