mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
* dom: expose obsolete `scheme` attribute for meta tag Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> * update tests Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
24 lines
733 B
Text
24 lines
733 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/#htmlmetaelement
|
|
[Exposed=Window]
|
|
interface HTMLMetaElement : HTMLElement {
|
|
[HTMLConstructor] constructor();
|
|
|
|
[CEReactions]
|
|
attribute DOMString name;
|
|
[CEReactions]
|
|
attribute DOMString httpEquiv;
|
|
[CEReactions]
|
|
attribute DOMString content;
|
|
|
|
// also has obsolete members
|
|
};
|
|
|
|
// https://html.spec.whatwg.org/multipage/#HTMLMetaElement-partial
|
|
partial interface HTMLMetaElement {
|
|
[CEReactions]
|
|
attribute DOMString scheme;
|
|
};
|