mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
a17b2e0cb2
commit
d466688526
4 changed files with 8 additions and 123 deletions
|
@ -240,6 +240,11 @@ impl HTMLMetaElementMethods<crate::DomTypeHolder> for HTMLMetaElement {
|
|||
make_getter!(HttpEquiv, "http-equiv");
|
||||
// https://html.spec.whatwg.org/multipage/#dom-meta-httpequiv
|
||||
make_atomic_setter!(SetHttpEquiv, "http-equiv");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-meta-scheme
|
||||
make_getter!(Scheme, "scheme");
|
||||
// https://html.spec.whatwg.org/multipage/#dom-meta-scheme
|
||||
make_setter!(SetScheme, "scheme");
|
||||
}
|
||||
|
||||
impl VirtualMethods for HTMLMetaElement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue