W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

Re: [csswg-drafts] [css-inline] initial-letter should be clearer about how it sinks

From: Jeremy <sysbot+gh@w3.org>
Date: Tue, 20 Dec 2016 08:42:33 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-268186642-1482223352-sysbot+gh@w3.org>
@dbaron, I think #719 is about how an Raised/Sunken initial letter 
affects the size of the first line box. However, in this issue, it's 
more about which position we'd like to place/sink an initial letter.

According to [Sizing Initial 
Letters](https://drafts.csswg.org/css-inline/#sizing-initial-letters),
 the size of a drop initial is determined by the need to satisfy the 
required alignment. But, in the same section, it specifies that "The 
contents of the lines spanned, and therefore any variation in their 
heights and positions, is not accounted for." Which would lead to this
 issue.

If we size an initial letter without referencing spanned line-height, 
and a line is indeed spanned, then which position we should align the 
initial letter to?

With N as the initial-letter's sink argument, we could

- align the initial letter to the Nth line's baseline (take spanned 
line-height into consideration)
- align the initial letter to the position that DO NOT take spanned 
line-height into consideration, as can be seen in the example listed 
in comment 0.
- something else.


-- 
GitHub Notification of comment by chenpighead
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/735#issuecomment-268186642 
using your GitHub account
Received on Tuesday, 20 December 2016 08:42:46 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC