RuntimeEnabledFeatures::slimmingPaintOffsetCaching

Put paint offset caching code under this condition because we may
enable it for slimming paint v1.

Also add a test for bug 533277, and exclude paint-offset workaround
when paint offset caching is enabled.

BUG=508383,533277

Review URL: https://codereview.chromium.org/1355753008

git-svn-id: svn://svn.chromium.org/blink/trunk@202658 bbb929c8-8fbe-4397-9dbb-9b2b20218538
diff --git a/third_party/WebKit/LayoutTests/TestExpectations b/third_party/WebKit/LayoutTests/TestExpectations
index a910dddf..aa910a0 100644
--- a/third_party/WebKit/LayoutTests/TestExpectations
+++ b/third_party/WebKit/LayoutTests/TestExpectations
@@ -135,6 +135,9 @@
 crbug.com/527242 paint/invalidation/spv2/cached-change-table-border-width.html [ ImageOnlyFailure ]
 crbug.com/527242 paint/invalidation/spv2/cached-change-tbody-border-width.html [ ImageOnlyFailure ]
 
+# Needs paint offset cache
+crbug.com/533277 paint/invalidation/percentage-transform-paint-offset.html [ ImageOnlyFailure ]
+
 crbug.com/504613 crbug.com/524248 paint/images/image-backgrounds-not-antialiased.html [ Skip ]
 crbug.com/504613 crbug.com/524248 virtual/spv2/paint/images/image-backgrounds-not-antialiased.html [ Skip ]
 crbug.com/502531 fast/borders/border-antialiasing.html [ ImageOnlyFailure ]