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

Unified Diff: LayoutTests/svg/transforms/transform-origin-presentation-attribute.xhtml

Issue 700843006: Don't require getPropertyCSSValue in svg tests (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 | « LayoutTests/svg/css/rect-system-color-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/transforms/transform-origin-presentation-attribute.xhtml
diff --git a/LayoutTests/svg/transforms/transform-origin-presentation-attribute.xhtml b/LayoutTests/svg/transforms/transform-origin-presentation-attribute.xhtml
index 15d58a6d0e534942c68672213a36ed43a8bdc994..479ed0b78c5fc333280e3e0b9374e8b6f0ffa10e 100644
--- a/LayoutTests/svg/transforms/transform-origin-presentation-attribute.xhtml
+++ b/LayoutTests/svg/transforms/transform-origin-presentation-attribute.xhtml
@@ -15,8 +15,7 @@
function checkTransformOrigin(eltID, expectedValue) {
var rect = document.getElementById(eltID);
- var cssValue = window.getComputedStyle(rect, null).getPropertyCSSValue("-webkit-transform-origin");
- var actualValue = (cssValue) ? cssValue.cssText : "<no value>";
+ var actualValue = getComputedStyle(rect).webkitTransformOrigin;
resultString += (actualValue == expectedValue) ? "PASS " : "FAIL ";
resultString += eltID + " transformOrigin, expected \"" + expectedValue + "\" actual \"" + actualValue + "\"\n";
}
« no previous file with comments | « LayoutTests/svg/css/rect-system-color-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698