1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:05:08 +00:00

LibWeb: Add almost all obsolete but required IDL attributes

As according to https://html.spec.whatwg.org/multipage/obsolete.html
Section 16.3 "Requirements for implementations"

Not all of these attributes are included due to requiring a bit more
functionality.
This commit is contained in:
Luke 2020-11-12 04:16:41 +00:00 committed by Andreas Kling
parent 1643fa2223
commit 3f73b0f896
43 changed files with 264 additions and 18 deletions

View file

@ -1,5 +1,14 @@
interface HTMLTableElement : HTMLElement {
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString border;
[Reflect] attribute DOMString frame;
[Reflect] attribute DOMString rules;
[Reflect] attribute DOMString summary;
[Reflect] attribute DOMString width;
[LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
[LegacyNullToEmptyString, Reflect=cellpadding] attribute DOMString cellPadding;
[LegacyNullToEmptyString, Reflect=cellspacing] attribute DOMString cellSpacing;
}