Re: [svgwg] [svg-native] How should currentColor be handled? (#678)

The SVG Working Group just discussed `How should currentColor be handled?`, and agreed to the following:

* `RESOLUTION: Conformant SVG Native documents must not set the color property and a UA should not support the color property.`
* `RESOLUTION: currentcolor for SVG Native is set by the initial value of the color property of the environment.`

<details><summary>The full IRC log of that discussion</summary>
&lt;krit> topic: How should currentColor be handled?<br>
&lt;krit> GitHub: How should currentColor be handled?<br>
&lt;krit> chris: my proposal would be to allow currentColor but do not require the color property.<br>
&lt;krit> myles: matches what I imagined.<br>
&lt;krit> AmeliaBR: it would be consistent with variables.<br>
&lt;krit> krit: should not? Must not? (support color)<br>
&lt;krit> AmeliaBR: myles: Conformant doc must not support color and a UI should not support color<br>
&lt;myles> s/UI/UA/<br>
&lt;AmeliaBR> https://docs.microsoft.com/en-us/typography/opentype/spec/svg#colors<br>
&lt;krit> AmeliaBR: There was a question about color supported in OT SVG fonts. Any input if there is content affected by the new decision?<br>
&lt;AmeliaBR> github: https://github.com/w3c/svgwg/issues/678<br>
&lt;krit> krit: Authoring tools likely don't support color but manual created SVG documents might. Testing/tracking required on the platform layer to be sure.<br>
&lt;krit> AmeliaBR: Seems like it is not explicitly forbidden in the OT spec.<br>
&lt;krit> sairus: It is an implication.<br>
&lt;krit> myles: Apple's implementation does not support the color property.<br>
&lt;krit> krit: If there is one major platform that does not support color than my concern is less relevant.<br>
&lt;krit> AmeliaBR: maybe it should at least be added to the avoided list on the OT spec.<br>
&lt;krit> AmeliaBR: sairus, could you follow up?<br>
&lt;krit> sairus: will do.<br>
&lt;krit> RESOLUTION: Conformant SVG Native documents must not set the color property and a UA should not support the color property.<br>
&lt;krit> myles: Our implementation actually DOES support color. Was minuted wrong. We just don't have fonts in our repository that do use the color property.<br>
&lt;krit> sairus: it is recommended that currentcolor should not appear in an SVG Native document?<br>
&lt;krit> chris: that is right<br>
&lt;AmeliaBR> s/currentcolor/color attribute or property/<br>
&lt;krit> proposed res: currentcolor for SVG Native is set by the initial value of the color property of the environment.<br>
&lt;krit> RESOLUTION: currentcolor for SVG Native is set by the initial value of the color property of the environment.<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/678#issuecomment-502848525 using your GitHub account

Received on Monday, 17 June 2019 20:58:39 UTC