W3C home > Mailing lists > Public > www-style@w3.org > November 2010

[CSS21, section 11.1.2] specification on clip property can be and should be improved

From: Gérard Talbot <www-style@gtalbot.org>
Date: Fri, 12 Nov 2010 14:58:35 -0800
Message-ID: <4e7e7fc2d7dee59759fba6c99798d7b8.squirrel@cp3.shieldhost.com>
To: "www-style@w3.org" <www-style@w3.org>
Hello all,

This post spun from an ealier post from Arron Eicholz on clip and text
directionality (physical vs logical).

What CSS 2.1 section 11.1.2
http://www.w3.org/TR/CSS21/visufx.html#clipping
needs and is missing is a schema displaying clearly, in an intuitive and
easy-to-understand manner, those offset values.

3 tutorials on CSS2.1 clip use a diagram, a built schema illustrating
clearly and cleanly and meaningfully the effects of the rect(top, right,
bottom, left) offset values:

Misunderstood CSS Clip
Tuesday, February 21, 2006 by Nicholas Gagne
http://www.ibloomstudios.com/images/article8/clipDiagram.gif
from
http://www.ibloomstudios.com/articles/misunderstood_css_clip/

Creating Thumbnails Using the CSS Clip Property
Written on May 13th, 2007 by Joe Seifi
http://www.seifi.org/css/creating-thumbnails-using-the-css-clip-property.html

Nick La, November 09, Web Designer Wall
http://www.webdesignerwall.com/tutorials/5-simple-but-useful-css-properties/


Also, the 2 examples
p { clip: rect(5px, 40px, 45px, 5px); }
p { clip: rect(5px, 55px, 45px, 5px); }
should be clearly and cleanly separated from each other. One CSS code
example with one screenshot of expected results (encapsulated). Then, the
other CSS code example with its respective screenshot of expected result.
That way, it's easier to follow, read, understand and does not make the
reader scroll up and down. Also, the examples themselves could be improved
by making offset values bigger... I'm sure there is a lot of improvements
here.

regards, Gérard
-- 
CSS 2.1 Test suite RC3 (October 27th 2010)
http://test.csswg.org/suites/css2.1/20101027/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html



-- 
CSS 2.1 Test suite RC3 (October 27th 2010)
http://test.csswg.org/suites/css2.1/20101027/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Friday, 12 November 2010 22:59:11 GMT

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