Re: agenda request: proposed currentColor changes in CSS

On Friday, January 27, 2012, 1:29:28 AM, Cameron wrote:

CM> The CSS WG is proposing to change how the currentColor keyword is computed.

CM> See: 
CM> http://www.w3.org/mid/CAAWBYDBZNeHkB3NEXfQZt7KXsrt_B96HUN9z=sv_=_Ymz1gSRw@mail.gmail.com

CM> Note that we do have at least one test in our test suite checking the 
CM> current behaviour:

CM> http://dev.w3.org/SVG/profiles/1.1F2/test/svg/color-prop-05-t.svg

$ grep -l currentColor *.svg
animate-elem-41-t.svg
animate-elem-78-t.svg
animate-elem-84-t.svg
animate-elem-85-t.svg
animate-pservers-grad-01-b.svg
color-prop-01-b.svg
color-prop-05-t.svg
filters-light-05-f.svg
painting-fill-02-t.svg
pservers-grad-18-b.svg
struct-group-03-t.svg
struct-use-05-b.svg
styling-inherit-01-b.svg

also
$ grep -l currentColor *.svg | xargs grep inherit | grep fill

turns up

animate-elem-84-t.svg:          <animateColor attributeName="fill" from="#f00" to="inherit" begin="2s" dur="5s" fill="freeze"/>
animate-elem-84-t.svg:          <animateColor attributeName="fill" from="inherit" to="green" begin="2s" dur="5s" fill="freeze"/>
animate-pservers-grad-01-b.svg:          This test shows rectangles filled with animated gradient which inherits some of their properties: stop-color, stop-opacity.
color-prop-01-b.svg:      <g color="inherit" fill="none" stroke="none">
color-prop-01-b.svg:      <g color="inherit" fill="none" stroke="none">
struct-group-03-t.svg:        <rect x="3" y="10" width="16" height="32" fill="inherit"/>

and

$ grep -l currentColor *.svg | xargs grep inherit | grep stop

animate-pservers-grad-01-b.svg:          This test shows rectangles filled with animated gradient which inherits some of their properties: stop-color, stop-opacity.
animate-pservers-grad-01-b.svg:        <linearGradient id="MyGradient1" stop-color="inherit">
animate-pservers-grad-01-b.svg:          <stop offset="1" stop-color="inherit" stop-opacity="1"/>
animate-pservers-grad-01-b.svg:        <linearGradient id="MyGradient2" stop-opacity="inherit">
animate-pservers-grad-01-b.svg:          <stop offset="1" stop-color="green" stop-opacity="inherit"/>
pservers-grad-18-b.svg:        The second stop explicitly inherits (i.e. using the 'inherit' keyword) its stop-color.
pservers-grad-18-b.svg:        The second stop defines a green stop-color but explicitly inherits (i.e. using the 'inherit' keyword) the stop-opacity.
pservers-grad-18-b.svg:        the stop-color is inherited from the location of the gradient definition.
pservers-grad-18-b.svg:      <linearGradient id="MyGradient1" stop-color="inherit">
pservers-grad-18-b.svg:        <stop offset="1" stop-color="inherit" stop-opacity="1"/>
pservers-grad-18-b.svg:      <linearGradient id="MyGradient2" stop-opacity="inherit">
pservers-grad-18-b.svg:        <stop offset="1" stop-color="green" stop-opacity="inherit"/>
styling-inherit-01-b.svg:        with a radial gradient. The color of the middle stop uses the keyword 'inherit'
styling-inherit-01-b.svg:      <stop offset="50%" stop-color="inherit"/>




-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups

Received on Thursday, 2 February 2012 19:12:16 UTC