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

Unified Diff: LayoutTests/fast/text/decomposed-after-stacked-diacritics.html

Issue 359463002: Update decomposed-after-stacked-diacritics.html for subpixel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/decomposed-after-stacked-diacritics.html
diff --git a/LayoutTests/fast/text/decomposed-after-stacked-diacritics.html b/LayoutTests/fast/text/decomposed-after-stacked-diacritics.html
index fb9a54c682eabeeb2d30e2c0a18779ac36611e8b..5caf54f54e3a1ca4071d0519dad593e5f8203746 100644
--- a/LayoutTests/fast/text/decomposed-after-stacked-diacritics.html
+++ b/LayoutTests/fast/text/decomposed-after-stacked-diacritics.html
@@ -19,5 +19,5 @@
testRange.setEnd(test, 3);
var testWidth = testRange.getBoundingClientRect().width;
- document.getElementById("result").innerText = testWidth === referenceWidth ? "PASS" : "FAIL";
+ document.getElementById("result").innerText = Math.abs(testWidth - referenceWidth) <= 1 ? "PASS" : "FAIL";
</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698