- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 05 Jul 2018 02:16:45 +0000
- To: public-css-archive@w3.org
The Working Group just discussed `applying width/height to initial-letter`, and agreed to the following: * `RESOLVED: accept sizing properties for initial-letter` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: applying width/height to initial-letter<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/863<br> <fantasai> https://github.com/w3c/csswg-drafts/commit/4893b213ff17a4c8deab181c6997b47b93972911<br> <frremy> fantasai: request from tantek<br> <frremy> fantasai: seemed reasonable<br> <frremy> fantasai: we would like the group to review the proposal<br> <fantasai> https://drafts.csswg.org/css-inline-3/#initial-letter-model 2nd bullet<br> <frremy> dbaron: in case of alignment, what gets aligned into what?<br> <frremy> TabAtkins: the letter aligned inside the box<br> <frremy> dbaron: the aligment properties are not specified to apply?<br> <frremy> fantasai: well, we use them in the algo, we just forgot to mention it<br> <frremy> fantasai: we can fix this<br> <frremy> dbaron: why is that useful?<br> <frremy> TabAtkins: it's super useful for width<br> <frremy> dbaron: seems true, but for height this is more concerning<br> <frremy> dbaron: because now you have to align with the lines and take the height into consideration<br> <dauwhe__> using width and text-align with initial-letter https://usercontent.irccloud-cdn.com/file/G7EqH0Jd/tantek.png<br> <frremy> fantasai: you create a box around the glyph<br> <frremy> fantasai: from there, they are locked, and there are two ways to align this box<br> <frremy> fantasai: the exclusion however always use the glyph bounding box<br> <frremy> dbaron: globally, this seems reasonable<br> <frremy> dbaron: it's more complex than the last time I looked, but this still looks fine<br> <frremy> fantasai: there was already an similar feature before<br> <frremy> fantasai: (explains why you needed to do this in the past)<br> <frremy> koji: two days ago, we said the exclusion space is created only for the second line<br> <frremy> koji: so if you say margin-top: 30px, how does that work?<br> <frremy> fantasai: it pushes the entire block, including the initial letter<br> <frremy> fantasai: the first line is positioned with the glyph<br> <frremy> fantasai: details for how that would work is another issue, which we will address later, let's not discuss this<br> <frremy> fantasai: but since the initial letter and the first line are locked, the initial letter will never sunk further than the first line<br> <frremy> Rossen: so unlike other inline, the initial letter's margin has an effect on layout<br> <frremy> koji: does that margin collapse?<br> <frremy> fantasai: waaaiiiiiiiiiiiiiiiiiiiiiiiit :)<br> <frremy> fantasai: let's not discuss this today<br> <frremy> fantasai: let's push this to tpac<br> <frremy> Rossen: ok, so were are we towards getting a resolution<br> <frremy> fantasai: review and accept the edit allowing width/height/alignment<br> <frremy> dauwhe: and we do have good use cases for this stuff<br> <frremy> Rossen: any objection?<br> <frremy> (no objection)<br> <frremy> RESOLVED: accept sizing properties for initial-letter<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/863#issuecomment-402588105 using your GitHub account
Received on Thursday, 5 July 2018 02:16:53 UTC