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

[CSS21] left-floated :first-letter testcase

From: Gérard Talbot <www-style@gtalbot.org>
Date: Tue, 15 Feb 2011 13:50:20 -0800
Message-ID: <ea1bef46882df5aee91dc0d768b409e8.squirrel@cp3.shieldhost.com>
To: "W3C style mailing list" <www-style@w3.org>
Cc: "Boris Zbarsky" <bzbarsky@MIT.EDU>
Hello,

Testcase:

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/first-letter-inherit-001.htm

Such testcase uses only em unit for font-size and line-height: so the
testcase should be text-resizable both ways.


Q1: Why should the 2 colored (yellow and bright green) rectangles be
rendered differently? Why the 2 colored rectangles should not be rendered
the same?

Q2: Why the big "T" overflows out of the yellow rectangle in all tested
browsers[1]? Why the big "T" is not wrapped entirely by the yellow
rectangle?

Note that Firefox 3.6.13 will have the big "T" entirely wrapped, contained
within the border of the bright green rectangle. The bright green
rectangle's height will grow to accomodate the big "T" height.



Related testcases
-----------------

[RC5] test:
http://test.csswg.org/suites/css2.1/20110111/html4/first-letter-inherit-001.htm

[RC5] REFtest:
http://test.csswg.org/suites/css2.1/20110111/html4/first-letter-inherit-001-ref.htm



Nightly unstable:
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/first-letter-inherit-001.htm

Nightly unstable reftest:
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/first-letter-inherit-001-ref.htm


Boris, right now, all browsers report a pass result for your test...

http://test.csswg.org/harness/details?s=CSS21_HTML&c=first-letter-inherit-001

but with such different rendering, I do not think this is ok. The reftest
does not appear to be sufficiently demanding, requiring.


[1]: Tested browsers: Firefox 3.6.13, Opera 11.01, Chrome 9.0.597.98,
Konqueror 4.6

regards, Gérard
-- 
CSS 2.1 Test suite RC5 (January 11th 2011)
http://test.csswg.org/suites/css2.1/20110111/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 Tuesday, 15 February 2011 21:50:58 GMT

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