- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 17 Jun 2020 17:17:45 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-inline-3] line-height < 1 in a margin-box line layout model`. <details><summary>The full IRC log of that discussion</summary> <Rossen_> Topic: [css-inline-3] line-height < 1 in a margin-box line layout model<br> <Rossen_> github: https://github.com/w3c/csswg-drafts/issues/5178<br> <dauwhe> fantasai: when we apply line height with positive half leading that's good<br> <dauwhe> ... if we have negative half-leading<br> <dauwhe> ... the size is less than the height of the font<br> <dauwhe> ... line-height: .8<br> <dauwhe> ... the ascent and descent of the font--you have to slice off the bottom part and take this as layout bounds<br> <dauwhe> ... in the new model we're not applying line-height to inline boxes<br> <dauwhe> ... this one doesn't get half leading, so it gets taller<br> <dauwhe> ... but we still have to reduce the size of inline boxes when there's negative half leading<br> <dauwhe> ... the proposal says we have to apply negative half leading... do we reduce the size of content box or margin box?<br> <dauwhe> ... in the proposal we say margin box<br> <dauwhe> ... what do people think about that?<br> <dauwhe> Rossen_: is there a reason for it to be other than the margin box?<br> <dauwhe> ... I think that makes sense<br> <dauwhe> florian: yes, it makes sense<br> <fantasai> myles, the diagram is similar to slide 52 in the slide deck, fwiw<br> <dauwhe> ... but if we would affect painting, it would be weird<br> <dauwhe> ... so it should be margin box<br> <dauwhe> Rossen_: any other opinions? If not, we can resolve.<br> <dauwhe> ... any objections?<br> <dauwhe> dbaron: not an objection<br> <dauwhe> ... the idea is fine<br> <dauwhe> ... what do numbers multiply by? Are they still what they used to mulitpyly by?<br> <dauwhe> fantasai: that's a good question<br> <dauwhe> myles: what's the argument to change?<br> <dauwhe> fantasai: if you want fixed you can set fixed<br> <dauwhe> myles: can you use px?<br> <dauwhe> florian: yes<br> <dauwhe> dbaron: but it's weird to do that because it inherits<br> <dauwhe> fantasai: I would say we treat them the same as currently<br> <dauwhe> ... youre trying to reduce size of line boxes by 205<br> <dauwhe> s/205/20%/<br> <dauwhe> ... you want ascent/descent to be shrunk a bit, to get the affect of setting solid<br> <dauwhe> dbaron: is the condition less than one, or what would make it less than the margin box<br> <dauwhe> fantasai: A+D doesn't necessarily add up to one em<br> <dauwhe> myles: that works even if line height is PX<br> <dauwhe> fantasai: yes<br> <dauwhe> Rossen_: are we ready to resolve?<br> <dauwhe> fantasai: I think so<br> <dauwhe> ... any objections?<br> <dauwhe> Resolved: apply negative half leading to margin box edge<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5178#issuecomment-645507572 using your GitHub account
Received on Wednesday, 17 June 2020 17:17:48 UTC