CSS Rhythmic Sizing Module Level 1
1–7 of 7 posts
Re: CSS Rhythmic Sizing Module Level 1
#2And if I have to configure the spacing manually anyway, why wouldn't I just put `em`-based margins on my blockquotes or whatever.
Re: CSS Rhythmic Sizing Module Level 1
#3I think this proposal does an extremely poor job conveying the problem rhythmic sizing solves and why the solution is better than the "before" screenshot. I really don't understand it. I don't understand how I would configure the spacing beyond "CSS will keep the vertical rhythm across multiple columns" which seems extremely opaque and niche and I'd rather have implementers focus on one of the dozens of other things…
Everything after CSS1, more or less, could be accomplished with hacks or JavaScript. But sometimes it's nice to be able to say `block-step-size: 20px` and have it look the way you intend instead of having to write your own layout engine.
Re: CSS Rhythmic Sizing Module Level 1
#4Does not look like too much has changed really. Still lots of unresolved issues. As noted elsewhere it is still very vague in terms of providing use cases, too.
Re: CSS Rhythmic Sizing Module Level 1
#5I think this proposal does an extremely poor job conveying the problem rhythmic sizing solves and why the solution is better than the "before" screenshot. I really don't understand it. I don't understand how I would configure the spacing beyond "CSS will keep the vertical rhythm across multiple columns" which seems extremely opaque and niche and I'd rather have implementers focus on one of the dozens of other things…
Margins don't help. What if you have an image of variable height? Or a table with borders that don't evenly divide by your line height? Or in your block quote example, what if you wanted the font size to be slightly larger or smaller than your normal font style? It's immediately broken. Everything after CSS1, more or less, could be accomplished with hacks or JavaScript. But sometimes it's nice to be able to say `bloc…
box-sizing: border-box;
height: calc-size(auto, round(up, size, 1rlh))
Solving most of the big issues before this will land anywhere.Re: CSS Rhythmic Sizing Module Level 1
#6Earlier quoted context omitted.
Margins don't help. What if you have an image of variable height? Or a table with borders that don't evenly divide by your line height? Or in your block quote example, what if you wanted the font size to be slightly larger or smaller than your normal font style? It's immediately broken. Everything after CSS1, more or less, could be accomplished with hacks or JavaScript. But sometimes it's nice to be able to say `bloc…
You’re not wrong, though it seems like we’re going to wind up with: box-sizing: border-box; height: calc-size(auto, round(up, size, 1rlh)) Solving most of the big issues before this will land anywhere.
I spent ages just trying to get a single column layout work right. And browsers would still disagree on the size of a pixel.
Re: CSS Rhythmic Sizing Module Level 1
#7I think this proposal does an extremely poor job conveying the problem rhythmic sizing solves and why the solution is better than the "before" screenshot. I really don't understand it. I don't understand how I would configure the spacing beyond "CSS will keep the vertical rhythm across multiple columns" which seems extremely opaque and niche and I'd rather have implementers focus on one of the dozens of other things…
(Of course DTP sidesteps the problem by having fixed paper and font sizes. CSS by its nature can't get lucky.)