W3C home > Mailing lists > Public > www-style@w3.org > February 2012

[css3-images] editorial comments

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Thu, 09 Feb 2012 05:03:28 +0800
Message-ID: <4F32E320.9010004@csail.mit.edu>
To: WWW Style <www-style@w3.org>
CC: John Hax <johnhax@gmail.com>
2. Resolution Units: the <resolution> type

  # Note that due to the 1:96 fixed ratio of CSS ‘in’ to CSS ‘px’, ‘1dppx’
  # is equivalent to ‘96dpi’. This corresponds to the default resolution
  # of images displayed in CSS: see ‘image-resolution’.

A friend of mime (John Hax in the Cc list) complains about this and he
seems to think CSS2.1 Issue 149(px vs. pt)[1] should be resolved in
favor of the pt-unit proposal (making only 'pt' physical).

4. Gradients

  # The two functions described in this section allow an author to specify
  # such an image in a terse syntax

s/two/four ? Not sure if you want to count repeating-* in.

  # where <linear-gradient>, <radial-gradient>, <repeating-linear-gradient>,
  # and <repeating-radial-gradient> are defined in their applicable
sections
  # below.

For some reason, only <linear-gradient> gets a xref.

  # Gradients are a type of image, and can be used anywhere an image
  # can, such as in the ‘background-image’ or ‘list-style-image’ properties.

This informative paragraph pretty much duplicates everything the
following example (13) says and hence I think it can be dropped.

4.1.2. Linear Gradient Examples

Example 19

In the ED, the SVG <object> gave me scroll bars. This was confusing when
I first read this via Safari which hides the scroll bars and made me
think this picture is wrong. No scroll bars please!

4.3. Repeating Gradients: the ‘repeating-linear-gradient()’ and
‘repeating-radial-gradient()’ notations

(Nitpicking) <a>find the average color</a> of a gradient → <a>find the
average color of a gradient</a> for editorial consistency.

5.4. Sizing Objects: the ‘object-fit’ property

In the description of the 'none' value, I think you meant to link
"object sizing algorithm" to the algorithm but missed it.

[1] http://wiki.csswg.org/spec/css2.1#issue-149


Cheers,
Kenny
Received on Wednesday, 8 February 2012 21:04:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT