Index: LayoutTests/editing/shadow/contenteditable-propagation-at-shadow-boundary.html |
diff --git a/LayoutTests/editing/shadow/contenteditable-propagation-at-shadow-boundary.html b/LayoutTests/editing/shadow/contenteditable-propagation-at-shadow-boundary.html |
index 3aea4ce9bee7f0bfdfc3d67b3724624715a1f757..4a3459427028fddf8704cdc1c2296bacef23eefe 100644 |
--- a/LayoutTests/editing/shadow/contenteditable-propagation-at-shadow-boundary.html |
+++ b/LayoutTests/editing/shadow/contenteditable-propagation-at-shadow-boundary.html |
@@ -17,15 +17,6 @@ |
if (window.testRunner) |
testRunner.dumpAsText(); |
-function computedStyle(element, style) { |
- var cs = window.getComputedStyle(element); |
- if (!cs) |
- return '(NA)'; |
- if (cs.getPropertyCSSValue(style)) |
- return cs.getPropertyCSSValue(style).cssText; |
- return undefined; |
-} |
- |
function prepareNodeInShadowRoot(host) { |
var shadowRoot = host.createShadowRoot(); |
var nodeInShadow = document.createElement('div'); |
@@ -38,8 +29,7 @@ function prepareNodeInShadowRoot(host) { |
document.body.offsetLeft; |
var nodeInShadowRoot1 = prepareNodeInShadowRoot(document.getElementById('host1')); |
-var userModifyPropertyName = '-webkit-user-modify'; |
-shouldBeEqualToString('computedStyle(nodeInShadowRoot1, userModifyPropertyName)', 'read-only'); |
+shouldBeEqualToString('getComputedStyle(nodeInShadowRoot1).webkitUserModify', 'read-only'); |
var successfullyParsed = true; |
</script> |