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 {
// https://drafts.csswg.org/cssom/#dom-stylesheet-type
fn Type_(&self) -> DOMString {
/// <https://drafts.csswg.org/cssom/#dom-stylesheet-type>
fn Type(&self) -> DOMString {
self.type_.clone()
}

View file

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