[css3-backgrounds] Example XV inconsistent with prose of section 3.6

Posted in dotnet, vb, vb.net | No Comments »

      http://dev.w3.org/csswg/css3-background/
      3.6  The 'background-position' property
      If only one value is specified, the second value is assumed to be 'center'.

      3.10  The 'background' shorthand property
          p { background: 40% url("chess.png") / 10em gray

                 round fixed border-box; }

      is equivalent to:
      ...

          background-position: 40% 50%;
      ...

I believe this is incorrect.

The equivalent is
        background-position: 40% center;
or
        background-position: 40%;

Am I misunderstanding?

Similar:

  1. [css3-box-model] The border-opacity property Hi. I know that this could be also achieved using the RGBA notation on the border-color property, but I think that this property would be...
  2. [css3-background] Describing expansion of ‘background’ shorthand with commas This sentence (from 3.10) seems inaccurate: "Given a valid declaration, the shorthand first sets each of ?background-color?, ?background-position?, ?background-size?, ?background-repeat?, ?background-origin?, ?background-clip?, ?background-attachment? and ?background-image?...
  3. [css3-values][css3-tables] calc() inside of tables Given the complexities of 'width' and 'height' on table cells and internal table elements, I propose that calc() expressions for 'width' and 'height' on table...
  4. [css3] Border radius, clipping and relative positioning Hi All If overflow: hidden is set on an element with border-radius applied, any contained content should also be clipped by the border radius (according...
  5. CSS3 – border-radius and background Hi folks! Hope someone can just provide a quick fix to the following: Please check http://www.affectia.com/demos/ The green menu item "Get the Toolbar!" you can...

Leave a Reply