diff options
-rw-r--r-- | components/script/dom/cssstylevalue.rs | 8 | ||||
-rw-r--r-- | components/script/dom/webidls/CSSStyleValue.webidl | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/components/script/dom/cssstylevalue.rs b/components/script/dom/cssstylevalue.rs index a498ff7b59d..30d2e75b34b 100644 --- a/components/script/dom/cssstylevalue.rs +++ b/components/script/dom/cssstylevalue.rs @@ -38,14 +38,6 @@ impl CSSStyleValueMethods for CSSStyleValue { fn Stringifier(&self) -> DOMString { 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 { diff --git a/components/script/dom/webidls/CSSStyleValue.webidl b/components/script/dom/webidls/CSSStyleValue.webidl index c540ae7824b..c3f2ff7e39e 100644 --- a/components/script/dom/webidls/CSSStyleValue.webidl +++ b/components/script/dom/webidls/CSSStyleValue.webidl @@ -7,8 +7,4 @@ [Pref="dom.worklet.enabled", Exposed=(Worklet)] interface CSSStyleValue { 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; }; |