mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Remove cssText from CSSStyleValue
Removed from associated .rs and .webidl
This commit is contained in:
parent
882b22b606
commit
f92dbdbdf3
2 changed files with 0 additions and 12 deletions
|
@ -38,14 +38,6 @@ impl CSSStyleValueMethods for CSSStyleValue {
|
||||||
fn Stringifier(&self) -> DOMString {
|
fn Stringifier(&self) -> DOMString {
|
||||||
DOMString::from(&*self.value)
|
DOMString::from(&*self.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// This attribute is no longer part of the `CSSStyleValue` interface,
|
|
||||||
/// but is still used in some examples.
|
|
||||||
/// https://github.com/GoogleChrome/houdini-samples/issues/16
|
|
||||||
// check-tidy: no specs after this line
|
|
||||||
fn CssText(&self) -> DOMString {
|
|
||||||
self.Stringifier()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl CSSStyleValue {
|
impl CSSStyleValue {
|
||||||
|
|
|
@ -7,8 +7,4 @@
|
||||||
[Pref="dom.worklet.enabled", Exposed=(Worklet)]
|
[Pref="dom.worklet.enabled", Exposed=(Worklet)]
|
||||||
interface CSSStyleValue {
|
interface CSSStyleValue {
|
||||||
stringifier;
|
stringifier;
|
||||||
// static CSSStyleValue? parse(DOMString property, DOMString cssText);
|
|
||||||
// static sequence<CSSStyleValue>? parseAll(DOMString property, DOMString cssText);
|
|
||||||
// This is a deprecated property, it's not in the spec any more but is used in houdini-samples
|
|
||||||
readonly attribute DOMString cssText;
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue