mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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 {
|
||||
// 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()
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue