Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: LayoutTests/editing/shadow/contenteditable-propagation-at-shadow-boundary.html

Issue 703323002: Continue removing testing of getPropertyCSSValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/editing/shadow/contenteditable-propagation-at-shadow-boundary-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/editing/shadow/contenteditable-propagation-at-shadow-boundary-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698