dom: expose obsolete scheme attribute for meta tag (#35505)

* 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>
This commit is contained in:
Euclid Ye 2025-02-17 15:07:24 +08:00 committed by GitHub
parent a17b2e0cb2
commit d466688526
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 123 deletions

View file

@ -10,7 +10,7 @@ interface HTMLMetaElement : HTMLElement {
[CEReactions]
attribute DOMString name;
[CEReactions]
attribute DOMString httpEquiv;
attribute DOMString httpEquiv;
[CEReactions]
attribute DOMString content;
@ -19,6 +19,6 @@ interface HTMLMetaElement : HTMLElement {
// https://html.spec.whatwg.org/multipage/#HTMLMetaElement-partial
partial interface HTMLMetaElement {
// [CEReactions]
// attribute DOMString scheme;
[CEReactions]
attribute DOMString scheme;
};