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

Unified Diff: LayoutTests/fast/exclusions/resources/simple-polygon.js

Issue 14959014: [CSS Exclusions] Programmatic layout tests fail when subpixel layout is disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated per review feedback. Created 7 years, 7 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
Index: LayoutTests/fast/exclusions/resources/simple-polygon.js
diff --git a/LayoutTests/fast/exclusions/resources/simple-polygon.js b/LayoutTests/fast/exclusions/resources/simple-polygon.js
index 7f5c275729edc98aecbf5e6fb971a67a6c5fa8e9..e1a11af896dc1a8cfbf3fe98460428acd98fdda5 100644
--- a/LayoutTests/fast/exclusions/resources/simple-polygon.js
+++ b/LayoutTests/fast/exclusions/resources/simple-polygon.js
@@ -89,7 +89,7 @@ function polygonXIntercepts(polygon, y) {
if (!foundXIntercept)
return [];
- return [SubPixelLayout.roundLineLeft(interceptsMinX), SubPixelLayout.roundLineRight(interceptsMaxX)];
+ return [SubPixelLayout.snapToLayoutUnit(interceptsMinX), SubPixelLayout.snapTolayoutUnit(interceptsMaxX)];
}
function polygonLineIntercepts(polygon, y, lineHeight) {
« no previous file with comments | « LayoutTests/fast/exclusions/resources/rounded-rectangle.js ('k') | LayoutTests/fast/exclusions/resources/subpixel-utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698