Re: [css3-images] object sizing edits

On Tuesday, March 27, 2012, 9:08:32 AM, fantasai wrote:

f> So, my goals for this section of the spec are:

f>    1. Minimize changes from LC so that we don't need another LC in order
f>       to get adequate review. Ideally each change should be justifiable
f>       as either a clarification or a straightforward error fix.

f>    2. Don't introduce any errors. See #1.

f>    3. Provide clear vocabulary and a simple reusable algorithm that future
f>       specs can use (and tweak as necessary) to define their object sizing
f>       rules with less repetition and therefore less errors.

f>    4. Don't attempt to normatively redefine sizing algorithms that are
f>       already normatively defined by existing specs. See #2. Also, that's
f>       not the job of this spec. See #3.

Good goals.

Thanks for the list of changes. Looking over those areas of the spec,  Iwonder if in section 5.5. Sizing Objects: the ‘object-fit’ property
http://dev.w3.org/csswg/css3-images/#object-fit

where it says
"Note: the ‘object-fit’ property has similar semantics to the fit attribute in [SMIL10]. "

it may be worth adding 
"...[SMIL10] and the <meetOrSlice> parameter on the ‘preserveAspectRatio’ attribute in [SVG11]."
http://www.w3.org/TR/SVG11/coords.html#PreserveAspectRatioAttribute


f>   5.3 Concrete Object Size Resolution
f>    http://dev.w3.org/csswg/css3-images/#concrete-size-resolution


f>    Made cover and contain use the exact wording from 'object-fit' instead
f>    of new wording. 

Good.


f>   5.4 Examples of CSS Object Sizing
f>    http://dev.w3.org/csswg/css3-images/#object-sizing-examples

f>    (This is the long list Tab added to redefined all the sizing algos in
f>    CSS2.1 and CSS3 Backgrounds and Borders in CSS3 Images terms.)

f>    I added direct links to the normative definitions of the sizing algos
f>    and reduced the text by summarizing what was going on instead of trying
f>    to be exhaustive about it.

f>    I folded the new sections on 'content' and the contents of replaced
f>    elements into just a 'replaced elements' section. I also corrected
f>    that definition and explained its relationship to 'object-fit'.

f>    I turned the whole list into an example so that it is non-normative.
f>    See goals #2 and #4 and non-goal #2.

Cool. Nice example.

<aside>
I'm wondering of SVG2 could adopt similar wording to describe the meetOrSlice parameter in similar ways. meet corresponds to contain, while slice corresponds to cover (and I prefer the CSS terms rather than the SMIL-derived ones).
</aside>

f>   5.5. Sizing Objects: the ‘object-fit’ property
f>    http://dev.w3.org/csswg/css3-images/#object-fit

f>    Added some more human-readable text to the value definitions so that
f>    authors can get a better sense of what the values mean without having
f>    to understand the Concrete Object Size Resolution section.

Nice.


-- 
 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 Tuesday, 27 March 2012 16:19:19 UTC