[wpt-sync] Sync PR 63849 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327508
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63849 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63849
Details from upstream follow.
Ahmad Saleem <ahmad.saleem792+github@gmail.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327508
WebKit export from bug: SVGLength.<!---->value setter converts font-<!---->relative units using stale style
<pre>
SVGLength.value setter converts font-relative units using stale styleThis patch aligns WebKit with Gecko / Firefox and Blink / Chromium.
SVGLength::valueForBindings() and SVGLength::convertToSpecifiedUnits() call
updateStyleIfNeeded() before resolving font-relative units, but
setValueForBindings() did not. Settingvalueon an em/ex/ch/lh/rem/rlh length
right after a font-size change therefore converted the user-unit value to
specified units using stale computed style.Factor the null-element and unit check out of valueForBindings() into a shared
updateStyleIfNeeded() helper and use it in setValueForBindings() as well.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327508">https://bugs.webkit.org/show_bug.cgi?id=327508</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/324072@main">https://commits.webkit.org/324072@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=108336
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 96 tests and 16 subtests
Status Summary
Firefox
OK : 1[GitHub] 95[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 6[GitHub] 1018[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 10
Chrome
OK : 1
PASS: 6
Safari
OK : 1
FAIL: 6
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /svg/types/scripted/SVGAnimatedEnumeration-initial-values.html [wpt.fyi]
- SVGAnimatedEnumeration, initial values, SVGFEGaussianBlurElement.prototype.edgeMode (remove):
FAIL - SVGAnimatedEnumeration, initial values, SVGFEGaussianBlurElement.prototype.edgeMode (invalid value):
FAIL
- SVGAnimatedEnumeration, initial values, SVGFEGaussianBlurElement.prototype.edgeMode (remove):
- /svg/types/scripted/SVGAnimatedEnumeration-invalid-values.html [wpt.fyi]
- SVGAnimatedEnumeration, invalid values, SVGFEGaussianBlurElement.prototype.edgeMode (empty string):
FAIL - SVGAnimatedEnumeration, invalid values, SVGFEGaussianBlurElement.prototype.edgeMode (content attribute is not rewritten):
FAIL
- SVGAnimatedEnumeration, invalid values, SVGFEGaussianBlurElement.prototype.edgeMode (empty string):
- /svg/types/scripted/SVGAnimatedEnumeration-keywords.html [wpt.fyi]
- SVGAnimatedEnumeration, keyword values, SVGFEGaussianBlurElement.prototype.edgeMode (keywords):
FAIL - SVGAnimatedEnumeration, keyword values, SVGFEGaussianBlurElement.prototype.edgeMode (case-sensitive):
FAIL
- SVGAnimatedEnumeration, keyword values, SVGFEGaussianBlurElement.prototype.edgeMode (keywords):
- /svg/types/scripted/SVGGeometryElement.isPointInStroke-02.svg [wpt.fyi]
- isPointInStroke w/dashes works properly at large scale factors:
FAIL
- isPointInStroke w/dashes works properly at large scale factors:
- /svg/types/scripted/SVGLength-px.html [wpt.fyi]
- SVGLength, converting from 'px' to other units (detached), percentage:
FAIL - SVGLength, converting from 'px' to other units (detached), ems:
FAIL - SVGLength, converting from 'px' to other units (detached), exs:
FAIL
- SVGLength, converting from 'px' to other units (detached), percentage:
Comment 4•24 days ago
|
||
| bugherder | ||
Description
•