Rename Stylesheet::Type_ to Stylesheet::Type

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-05-25 17:33:34 +02:00
parent 2af1225e4f
commit d155dfe253
2 changed files with 3 additions and 3 deletions

View file

@ -39,8 +39,8 @@ impl StyleSheet {
} }
impl StyleSheetMethods<crate::DomTypeHolder> for StyleSheet { impl StyleSheetMethods<crate::DomTypeHolder> for StyleSheet {
// https://drafts.csswg.org/cssom/#dom-stylesheet-type /// <https://drafts.csswg.org/cssom/#dom-stylesheet-type>
fn Type_(&self) -> DOMString { fn Type(&self) -> DOMString {
self.type_.clone() self.type_.clone()
} }

View file

@ -5,7 +5,7 @@
// https://drafts.csswg.org/cssom/#the-stylesheet-interface // https://drafts.csswg.org/cssom/#the-stylesheet-interface
[Exposed=Window] [Exposed=Window]
interface StyleSheet { interface StyleSheet {
readonly attribute DOMString type_; readonly attribute DOMString type;
readonly attribute DOMString? href; readonly attribute DOMString? href;
readonly attribute Element? ownerNode; readonly attribute Element? ownerNode;