Re: [svgwg] stroke/fill should be shorthand properties

Based on discussion at the 4 August 2016 telcon, we concluded:

- `stroke` and `fill` cannot become shorthands for any of the existing
 properties, as this would be unacceptable for web compat

- However, `stroke` and `fill` can be expanded as shorthands for *new*
 properties to control CSS image types as paint sources, as proposed 
in the new [CSS Fill and Stroke draft 
spec](https://drafts.fxtf.org/paint/).  E.g., `stroke-image` and 
`stroke-color` will both be reset by `stroke`.

- There *may* also be additional new shorthands introduced, such as 
`stroke-dash` as a shorthand to set dasharray and dashoffset and the 
proposed other dashing options.

- In order to give @tabatkins & @fantasai flexibility while developing
 that spec, and in order to ensure that SVG implementations for 
layered paint can be updated at the same time as for CSS images, **SVG
 2 will *not* have layered paint.**

- SVG 2 will still have `context-fill` and `context-stroke` keywords; 
these reset the entire fill/stroke shorthand and will be added to the 
new CSS spec.

- SVG 2 will still have `child` references to paint sources, as an 
alternative to `url()` references; these will be added to the new spec
 as an option for individual image values.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at 
https://github.com/w3c/svgwg/issues/230#issuecomment-237692536 using 
your GitHub account

Received on Thursday, 4 August 2016 21:44:12 UTC