Closed Bug 1903363 Opened 2 years ago Closed 2 years ago

SVG stroke-width should render zoomed

Categories

(Core :: SVG, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1911195

People

(Reporter: pdr, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce:

Gecko recently implemented the CSS zoom property (https://bugzilla.mozilla.org/show_bug.cgi?id=390936), but SVG stroke-width is incorrectly not rendered zoomed. See also: https://github.com/w3c/csswg-drafts/issues/9397.

The testcase shows two boxes. The second box and stroke should be zoomed 2x.

Actual results:

stroke-width is not larger under zoom.

Expected results:

stroke-width should be larger under zoom.

The Bugbug bot thinks this bug should belong to the 'Core::SVG' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → SVG
Product: Firefox → Core

This generally works, but this test-case is hitting bug 1887627.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1887627
Resolution: --- → DUPLICATE

(As in, it works if you specify the stroke-width inside the zoomed subtree)

This bug's test-case was fixed by the patch that recently landed in bug 1911195. Changing the dupe target to bug 1911195.

Duplicate of bug: 1911195
No longer duplicate of bug: 1887627
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: