New issue
Advanced search Search tips

Issue 785246 link

Starred by 5 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Feature

Blocking:
issue 225863



Sign in to add a comment

[SVG2] Implement new <use> scoping rules

Project Member Reported by f...@opera.com, Nov 15 2017

Issue description

New rules in town!

https://www.w3.org/TR/SVG2/struct.html#UseStyleInheritance

Apparently implemented by Gecko.
 
CodePen Demo : https://codepen.io/peter-mouland/details/pdEMWZ/

I built a SVG (which contains multiple element i.e. paths) and I would like to re-use this SVG (via <use> tags) but applying different styles to each element i.e. differing fill/stroke styles.

Firefox has implements v2 (as discussed here https://bugzilla.mozilla.org/show_bug.cgi?id=1415186), but unfortunately this now means i can not style the re-used SVG as desired.
Cc: futhark@chromium.org f...@opera.com viswa.karala@chromium.org
 Issue 863859  has been merged into this issue.

Sign in to add a comment