commit | 52b3307a5be5a03c10df2d96c96191575386be7b | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Mon Jul 11 23:40:42 2022 |
committer | Blink WPT Bot <blink-w3c-test-autoroller@chromium.org> | Mon Jul 11 23:50:31 2022 |
tree | c05a91751969e0a68cae5a5aac1f0b5df4059449 | |
parent | 65d9152ec1a6c96df05214c4768feff4b2867f9e [diff] |
[text-decorations] Use range in fuzzy for `text-decoration-subelements-002.html` After the fix crrev.com/c/3748547, the test in the wpt[1] fails in Firefox too. Re-reading the spec[2], "max" means the maximum value in the pixels of a PNG, not the maximum value it can take. When it may vary, the values must be in the range syntax. This patch allows 0 for both `maxDifference` and `totalPixels` so that exact match is also allowed. [1] https://wpt.fyi/results/css/css-text-decor/text-decoration-subelements-002.html?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&q=text-decor [2] https://web-platform-tests.org/writing-tests/reftests.html#fuzzy-matching Bug: 1008951 Change-Id: I5650aadb11d2150599f5d829c5fa3938ffa5192d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3754787 Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1022953}
diff --git a/css/css-text-decor/text-decoration-subelements-002.html b/css/css-text-decor/text-decoration-subelements-002.html index c8eeea6..aa69b07 100644 --- a/css/css-text-decor/text-decoration-subelements-002.html +++ b/css/css-text-decor/text-decoration-subelements-002.html
@@ -8,7 +8,7 @@ <link rel="author" title="Mozilla" href="https://www.mozilla.org"> <link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-underline-position-property"> <link rel="match" href="reference/text-decoration-subelements-002-ref.html"> - <meta name="fuzzy" content="maxDifference=80;totalPixels=42"> + <meta name="fuzzy" content="maxDifference=0-80;totalPixels=0-42"> <style> div.wrapper { font-size: 2em;