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

Unified Diff: LayoutTests/fast/css/inherited-properties-explicit.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
Index: LayoutTests/fast/css/inherited-properties-explicit.html
diff --git a/LayoutTests/fast/css/inherited-properties-explicit.html b/LayoutTests/fast/css/inherited-properties-explicit.html
index acab2de280ff7ad8fb27707b8ca7bf851c87fca5..0d624d11e398c692ea3fc8ffa708b14e5acf8385 100644
--- a/LayoutTests/fast/css/inherited-properties-explicit.html
+++ b/LayoutTests/fast/css/inherited-properties-explicit.html
@@ -38,13 +38,12 @@ Test that the matched declaration cache handles explicitly inherited properties
<script>
function test(e, p) {
var testDiv = document.getElementById(e);
- var cssValue = window.getComputedStyle(testDiv).getPropertyCSSValue(p);
- return cssValue.cssText;
+ return getComputedStyle(testDiv).marginLeft;
}
-shouldBeEqualToString("test('test1a', 'margin-left')", "0px");
-shouldBeEqualToString("test('test1b', 'margin-left')", "0px");
-shouldBeEqualToString("test('test2a', 'margin-left')", "5px");
-shouldBeEqualToString("test('test2b', 'margin-left')", "5px");
-shouldBeEqualToString("test('test3a', 'margin-left')", "10px");
-shouldBeEqualToString("test('test3b', 'margin-left')", "10px");
+shouldBeEqualToString("test('test1a')", "0px");
+shouldBeEqualToString("test('test1b')", "0px");
+shouldBeEqualToString("test('test2a')", "5px");
+shouldBeEqualToString("test('test2b')", "5px");
+shouldBeEqualToString("test('test3a')", "10px");
+shouldBeEqualToString("test('test3b')", "10px");
</script>

Powered by Google App Engine
This is Rietveld 408576698