Repository navigation
Enable all SVG properties behind a pref - #525
Merged
Merged
Conversation
nicoburns
force-pushed
the
enable-svg-properties-servo
branch
2 times, most recently
from
November 15, 2026 16:09
991d144 to
f70a057
Compare
Loirooriol
approved these changes
Nov 19, 2026
| servo_restyle_damage = "rebuild_stacking_context" | ||
|
|
||
| [clip-rule] | ||
| servo_pref = "layout.css.svg-properties.enabled" |
Collaborator
There was a problem hiding this comment.
Seems a bit weird to put it at the very top, since that's the most noticeable spot. I would put it where engine was.
nicoburns
force-pushed
the
enable-svg-properties-servo
branch
from
November 20, 2026 02:30
f70a057 to
415567f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Blitz is implementing DOM-based (and thus Stylo based) SVG support, so we would like the SVG properties.
I've just enabled everything here. I suspect Servo might want to enable things on a finer-grained basis as it brings up an SVG implementation, but I wasn't sure what the subsets would be and I figure that we just change the prefs around once we know. The exception is
transform-boxwhich isn't really an SVG property. I've put that under it's own pref.Servo PR: