Closed Bug 2077112 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63163 - layout: Alter ratio_from_view_box to allow fractional values

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Leo Watts <leowatts34@gmail.com> wrote:

layout: Alter ratio_from_view_box to allow fractional values

Parse view box constraints with parse_double to allow fractional width and height. Note that commas are permitted by the spec which states:

The value of the ‘viewBox’ attribute is a list of four numbers [...] separated by whitespace and/or a comma

Testing: Added WPT
Fixes: #<!-- nolink -->48526

Reviewed in servo/servo#48556

Component: web-platform-tests → SVG
Product: Testing → Core

CI Results

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

Total 27 tests

Status Summary

Firefox

OK : 8
PASS: 1[GitHub] 54[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 72[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] 73[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 1

Chrome

PASS: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /svg/coordinate-systems/viewBox-scaling-text-001.html [wpt.fyi]: FAIL [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], PASS [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/cb9281cf1355 https://hg.mozilla.org/integration/autoland/rev/7e274a513136 [wpt PR 63163] - layout: Alter ratio_from_view_box to allow fractional values, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.