[wpt-sync] Sync PR 54048 - Update letter-spacing to use ComputedLetterSpacing() for animation
Categories
(Core :: DOM: Animation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox143 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 54048 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/54048
Details from upstream follow.
Minseong Kim <jja08111@gmail.com> wrote:
Update letter-spacing to use ComputedLetterSpacing() for animation
LengthPropertyFunctions::GetInitialLength
was using
style.LetterSpacing()
to get the value for the letter-spacing
property. This is incorrect as it only returns a fixed float value and
does not correctly handle percentage or calc() values.This CL switches to using
style.ComputedLetterSpacing()
which returns
the correct computed Length object.The corresponding Web Platform Test is also updated to reflect that the
animation type for letter-spacing islengthPercentageOrCalc
.Bug: 327740939
Change-Id: I1e093692ec3802a378486483f85af7a8113eaca9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6796854
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Reviewed-by: Koji Ishii \<kojii@chromium.org>
Commit-Queue: 김민성 \<jja08111@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1494078}
Assignee | ||
Updated•10 days ago
|
Assignee | ||
Comment 1•10 days ago
|
||
Assignee | ||
Comment 2•10 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 496 subtests
Status Summary
Firefox
OK
: 6
PASS
: 2328
FAIL
: 12
Chrome
OK
: 6
PASS
: 2404
FAIL
: 75
Safari
OK
: 6
PASS
: 2406
FAIL
: 20
Links
Details
Firefox-only Failures
- /web-animations/animation-model/animation-types/accumulation-per-property-002.html [wpt.fyi]
- list-style: "outside url("http://localhost/test-2") square" onto "inside url("http://localhost/test-1") circle":
FAIL
- list-style: "outside url("http://localhost/test-2") square" onto "inside url("http://localhost/test-1") circle":
- /web-animations/animation-model/animation-types/addition-per-property-002.html [wpt.fyi]
- list-style: "outside url("http://localhost/test-2") square" onto "inside url("http://localhost/test-1") circle":
FAIL
- list-style: "outside url("http://localhost/test-2") square" onto "inside url("http://localhost/test-1") circle":
New Tests That Don't Pass
- /web-animations/animation-model/animation-types/accumulation-per-property-002.html [wpt.fyi]
- list-style: "outside url("http://localhost/test-2") square" onto "inside url("http://localhost/test-1") circle":
FAIL
(Chrome:PASS
, Safari:PASS
) - text-decoration: "overline" onto "underline":
FAIL
(Chrome:FAIL
, Safari:PASS
) - text-decoration: "underline" onto "overline":
FAIL
(Chrome:FAIL
, Safari:PASS
)
- list-style: "outside url("http://localhost/test-2") square" onto "inside url("http://localhost/test-1") circle":
- /web-animations/animation-model/animation-types/addition-per-property-002.html [wpt.fyi]
- list-style: "outside url("http://localhost/test-2") square" onto "inside url("http://localhost/test-1") circle":
FAIL
(Chrome:PASS
, Safari:PASS
) - text-decoration: "overline" onto "underline":
FAIL
(Chrome:FAIL
, Safari:PASS
) - text-decoration: "underline" onto "overline":
FAIL
(Chrome:FAIL
, Safari:PASS
)
- list-style: "outside url("http://localhost/test-2") square" onto "inside url("http://localhost/test-1") circle":
- /web-animations/animation-model/animation-types/interpolation-per-property-002.html [wpt.fyi]
- list-style uses discrete animation when animating between "inside url("http://localhost/test-1") circle" and "outside url("http://localhost/test-2") square" with linear easing:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - list-style uses discrete animation when animating between "inside url("http://localhost/test-1") circle" and "outside url("http://localhost/test-2") square" with effect easing:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - list-style uses discrete animation when animating between "inside url("http://localhost/test-1") circle" and "outside url("http://localhost/test-2") square" with keyframe easing:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - text-decoration uses discrete animation when animating between "underline" and "overline" with linear easing:
FAIL
(Chrome:FAIL
, Safari:PASS
) - text-decoration uses discrete animation when animating between "underline" and "overline" with effect easing:
FAIL
(Chrome:FAIL
, Safari:PASS
) - text-decoration uses discrete animation when animating between "underline" and "overline" with keyframe easing:
FAIL
(Chrome:FAIL
, Safari:PASS
)
- list-style uses discrete animation when animating between "inside url("http://localhost/test-1") circle" and "outside url("http://localhost/test-2") square" with linear easing:
Comment 4•3 days ago
|
||
bugherder |
Description
•