Re:The Importance of Learning CSS
by DaiPlusPlus on Friday March 05, 2021 @10:49AM
(#26358154)
CSS-for-SVG is not the same as CSS-for-SGML/XML/HTML though - it's a special case: SVG uses CSS to provide for cascading properties, but not for the visual-formatting model. But entirely I agree it's confusing and contrary to the normal use of CSS. I feel the working-group should have called it "CSP" for "Cascading SVG Properties" instead of appropriating the CSS moniker because that's led to confusing and broken expectations.
[ Parent
| on HN ]
Re:The Importance of Learning CSS
by eyelidlessness on Friday March 05, 2021 @11:47AM
(#26358923)
That’s an important distinction, which I appreciate. It’s worth noting that there are a lot of things in CSS-for-SGML/XML/HTML that look like CSS-for-SVG (like the aforementioned `path` type) and are decidedly non-rectangular.