Closed Bug 1572196 Opened 6 years ago Closed 6 years ago

The vector-effect: non-scaling-stroke does not work as expected when used inside a foreignObject

Categories

(Core :: SVG, defect)

68 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: ijcuevas2, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36

Steps to reproduce:

  1. Create an SVG within a foreign object
  2. Within the foreign object, add another SVG
  3. In the SVG, add a path with vector-effect: non-scaling-stroke.

Actual results:

The vector-effect: non-scaling-stroke does not work on an SVG path inside a foreignObject.

Expected results:

I would expect vector-effect: non-scaling-stroke on an SVG path to work the same if used in an SVG outside a foreignObject and inside a foreignObject.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → SVG
Product: Firefox → Core

The priority flag is not set for this bug.
:dholbert, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dholbert)

It works just the same. The outer svg element has a viewBox in one case and doesn't in the other so it's not the same test.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Flags: needinfo?(dholbert)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: