W3C home > Mailing lists > Public > www-style@w3.org > March 2008

RE: List item and marker box layout - Spec needs example / clarification for nested block scenario.

From: Sushanth Rajasankar <Sushanth.Rajasankar@microsoft.com>
Date: Sun, 16 Mar 2008 16:24:55 -0700
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <F15594C498116244B8AA3EA25B76DBD3708B679EEB@NA-EXMSG-C115.redmond.corp.microsoft.com>
Boris/ David,

Appreciate your replies. I was tricked into believing that first-line does not apply to the child block, after playing with this test case.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">




            div:first-line { text-transform: uppercase; }



<body style="font-family:times new roman;font-size:12pt">

      <div><p>This should be in upper case.</p></div>


            This is surely in upper case.





I now clearly see that the spec intends to have the marker positioned with the first line of the child block.

I would imagine the marker affects the line height of that first line as well.



(image/png attachment: image001.png)

Received on Sunday, 16 March 2008 23:25:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:34 UTC