W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2014

[CSS3 writing-modes] text-baseline-006-lr

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sun, 06 Apr 2014 19:09:45 -0400
To: Public CSS Test suite mailing list <public-css-testsuite@w3.org>, "Shiozawa, Hajime" <hajime.shiozawa@gmail.com>
Cc: Koji Ishii <kojiishi@gluesoft.co.jp>
Message-ID: <8fa7ddedb48d285d44a1f3e65a35e0b3@gtalbot.org>
Hajime

http://test.csswg.org/source/contributors/hshiozawa/submitted/css3-writing-modes/text-baseline-006-lr.xht

If glyphs triplets "Mid", "Sml", "Lrg" have different font-sizes, then 
this should create a non-smooth, non-uniform black stripe inside the 
line box. A black stripe is understood as a straight, uniform, unbroken.

[Addendum: now I realize that we should have used "É" in several 
baseline-alignment tests because the "É" glyph in Ahem font sits on the 
baseline... which is not the case for other glyphs of Ahem font. But it 
would still create an not uniform black stripe.
Eg. In
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/inline-formatting-context-010b.htm
if I replace the "2", "3", "4", "5", "6", "8", "1" digits with "É", then 
the black squares (become rectangles) and their bottom all line up, 
sitting on the dominant baseline.]

Also, I wonder why you nest span in order to create different 
font-sizes: eg.:
<span class='font-size-large'><span class='half'>Lrg</span></span>

Example given:


   /* Testing different font-sizes */

       .Lrg {
         font-size: 1.5em; /* 60px */
       }
       .Mid {
         font-size: 1em; /* 40px */
       }
       .Sml {
         font-size: 0.5em; /* 20px */
       }


<p class="mixed"><span class='Mid'>Mid</span><span 
class='Lrg'>Lrg</span><span class='Sml'>Sml</span><img 
src="./support/blue-vert-line-1x220.png" alt="Image download support 
must be enabled" /></p>

which uses only 3 span, not 5 span.

+CC: Koji Ishii

Gérard
-- 
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 RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html
Received on Sunday, 6 April 2014 23:10:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:20 UTC