Closed Bug 2089393 Opened 14 days ago Closed 6 days ago

[wpt-sync] Sync PR 64426 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326824

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64426 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64426
Details from upstream follow.

Sam Weinig <sam@webkit.org> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326824

WebKit export from bug: Invalid and zero size svgView(<!---->)<!----> URL fragments render incorrectly

<pre>
svgView() fragment with an invalid or zero-size viewBox draws the SVG unscaled

An svgView() fragment's viewBox was previously parsed without validation, so missing numbers became 0 and a negative
width or height was accepted.

Additionally we now check whichever viewBox is in effect in viewBoxDisablesPainting() to ensure fragments can disable
the painting when they are active.

While in the area, I update the warning and error text to include the invalid string being parsed as well as the issue
at hand.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=326824">https://bugs.webkit.org/show_bug.cgi?id=326824</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/323217@main">https://commits.webkit.org/323217@main</a>
</pre>

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → SVG
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 58 tests

Status Summary

Firefox

PASS: 3[GitHub] 50[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 8

Chrome

PASS: 3

Safari

PASS: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.