mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Rename Stylesheet::Type_
to Stylesheet::Type
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
2af1225e4f
commit
d155dfe253
2 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue