mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Implement the size
presentational hint for <hr>
elements (#37211)
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>
This commit is contained in:
parent
b4035cc88e
commit
8937542fe3
10 changed files with 204 additions and 251 deletions
|
@ -12,14 +12,9 @@ interface HTMLHRElement : HTMLElement {
|
|||
|
||||
// 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;
|
||||
[CEReactions] attribute DOMString align;
|
||||
[CEReactions] attribute DOMString color;
|
||||
[CEReactions] attribute boolean noShade;
|
||||
[CEReactions] attribute DOMString size;
|
||||
[CEReactions] attribute DOMString width;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue