lightningcss icon indicating copy to clipboard operation
lightningcss copied to clipboard

Add SVG 1.1 variants of presentation attribute values

Open noahbald opened this issue 1 month ago • 2 comments

Hey there, I've noticed the following property are missing some values that are expected for SVG 1.1

  • text-rendering is missing "geometricPrecision"
  • shape-rendering is missing "crispEdges" and "geometricPrecision"
  • color-interpolation is missing "linearRGB"
  • ~display is missing "marker" and "compact"~
  • ~font-family won't parse quoted names (e.g. 'Arial Unicode MS')~

There may be some more while I'm still investigating

I can make a PR for these if these changes are wanted

noahbald avatar Dec 09 '25 21:12 noahbald

Sounds good. A PR would be welcome.

devongovett avatar Dec 09 '25 22:12 devongovett

Seems like display: marker and display: compact were only ever experimental/draft properties, so I won't include those

noahbald avatar Dec 11 '25 20:12 noahbald