mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1779126 [wpt PR 34768] - [text-decorations] Use range in fuzzy for text-decoration-subelements-002.html
, a=testonly
Automatic update from web-platform-tests [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} -- wpt-commits: 52b3307a5be5a03c10df2d96c96191575386be7b wpt-pr: 34768
This commit is contained in:
parent
bba465e451
commit
692a5484c0
@ -8,7 +8,7 @@
|
|||||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
<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="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">
|
<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>
|
<style>
|
||||||
div.wrapper {
|
div.wrapper {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
|
Loading…
Reference in New Issue
Block a user