[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: ISSUE: Style Property shorthand
Hi cgmo-webcgm, I noticed that the specification doesn't say how to deal with the following XCF: (Example 1) <webcgm ... <grobject apsid="myId" intensity="75%" fill-color="#FFFFFF"/> </webcgm> 'intensity' controls 4 style properties (including 'fill-color'), so in the above example, which one wins ('intensity' or 'fill-color')? Another area that might not be too clear is the following: (Example 2) <webcgm ... <grobject apsid="myId" fill-color="#FFFFFF"/> <grobject apsid="myId" intensity="75%"/> </webcgm> What's the 'fill-color' of myId? Here are my proposals: Example 1: I would like for us to state that 'intensity' is a shorthand for 'fill-color', 'stroke-color', 'text-color', 'raster-intensity'. So in fact, the above example would be ill-formed (XML attribute specified twice on the same element). According to my proposal, the above example would be invalid. Example 2: The element order is important... i.e., the latest elements replace existing values. So in the above example, myId would have a fill-color of 75%. Okay? -- Benoit mailto:benoit@itedo.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]