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

Unified Diff: LayoutTests/animations/resources/animation-test-helpers.js

Issue 216793009: Remove shape-padding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove m_padding Created 6 years, 9 months 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/fast/shapes/parsing/parsing-shape-padding.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/resources/animation-test-helpers.js
diff --git a/LayoutTests/animations/resources/animation-test-helpers.js b/LayoutTests/animations/resources/animation-test-helpers.js
index d7f6070712935f98ba6526e3969e7db75ba4ceda..650888318973d232cd41ce08f134b77e04a1c8b6 100644
--- a/LayoutTests/animations/resources/animation-test-helpers.js
+++ b/LayoutTests/animations/resources/animation-test-helpers.js
@@ -289,7 +289,7 @@ function checkExpectedTransitionValue(expected, index)
break;
}
}
- } else if (property === "shape-inside" || property === "shape-outside") {
+ } else if (property === "shape-outside") {
computedValue = window.getComputedStyle(document.getElementById(elementId)).getPropertyValue(property);
var actualShape = parseBasicShape(computedValue);
var expectedShape = parseBasicShape(expectedValue);
@@ -390,7 +390,6 @@ function getPropertyValue(property, elementId, iframeId)
|| property == "webkitMaskBoxImage"
|| property == "webkitFilter"
|| property == "webkitClipPath"
- || property == "shapeInside"
|| !property.indexOf("webkitTransform")) {
computedValue = window.getComputedStyle(element)[property.split(".")[0]];
} else {
@@ -427,7 +426,7 @@ function comparePropertyValue(property, computedValue, expectedValue, tolerance)
var filterParameters = getFilterParameters(computedValue);
var filter2Parameters = getFilterParameters(expectedValue);
result = filterParametersMatch(filterParameters, filter2Parameters, tolerance);
- } else if (property == "webkitClipPath" || property == "shapeInside") {
+ } else if (property == "webkitClipPath") {
var clipPathParameters = parseBasicShape(computedValue);
var clipPathParameters2 = parseBasicShape(expectedValue);
if (!clipPathParameters || !clipPathParameters2)
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/parsing/parsing-shape-padding.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698