File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
collector/benchmarks/script-servo-2 Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
diff --git a/components/script/dom/cssstyledeclaration.rs b/components/script/dom/cssstyledeclaration.rs
2
- index 2134e39..e4a5cb4 100644
3
2
--- a/components/script/dom/cssstyledeclaration.rs
4
3
+++ b/components/script/dom/cssstyledeclaration.rs
5
- @@ -311 ,6 +311 ,7 @@ impl CSSStyleDeclarationMethods for CSSStyleDeclaration {
6
-
7
- // https://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-getpropertypriority
8
- fn GetPropertyPriority (&self, property: DOMString) -> DOMString {
4
+ @@ -343 ,6 +343 ,7 @@ impl CSSStyleDeclarationMethods for CSSStyleDeclaration {
5
+
6
+ // https://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-getpropertyvalue
7
+ fn GetPropertyValue (&self, property: DOMString) -> DOMString {
9
8
+ println!("{:?}", property);
10
- let id = if let Ok(id) = PropertyId::parse (&property, None ) {
11
- id
12
- } else {
9
+ let id = match PropertyId::parse_enabled_for_all_content (&property) {
10
+ Ok(id) => id,
11
+ Err(..) => return DOMString::new(),
You can’t perform that action at this time.
0 commit comments