Open tantek opened 7 years ago
Done, added a new section East Asian Casual Vertical Rhythm to explain the use case and the limitation, which is, in this purpose, it's the intended behavior.
If needs more, fantasai is co-editor, she can make more changes.
I would very much like to see an example of the East Asian Casual Vertical Rhythm.
The Japan industry meetup suggested that the weak, casual rhythm is desired in East Asian publishing typography too, depends on types of documents. Updated the intro to add that.
@realskk, can you check if samples seen there can be uploaded to public, such as i18n samples site?
My understanding from the meetup was that it was acceptable but not desired from those in attendance. But they acknowledged there might be some not in attendance who would like it
Oh, looks like I missed that part. I think I captured what the JLREQ editor said (except other fun things that is not relevant to this level of the spec, such as vertical justifications) but didn't catch other attendees said not desired. If you did, appreciate suggestions/PR, writing non-technical text such as Intro section is something I'm most poor at.
I think the next step should be providing samples from real documents, and using those samples to create examples we can add to the spec.
Done, added a new section East Asian Casual Vertical Rhythm to explain the use case and the limitation, which is, in this purpose, it's the intended behavior.
I'm still having trouble understanding what "East Asian Casual Vertical Rhythm" is. No similar term is used in JLREQ. There is still no example or illustration of the use cases in the spec. The closest I can find is in section 2.5.2 of JLREQ where figure 2.41 shows text in horizontal writing mode interrupted by two illustrations. The current implementation of line-height-step
will adjust the height of these images so that the surrounding text stays "on the grid," as it were. But that seems more a use case for block step sizing.
Add a short paragraph / note at the start of https://drafts.csswg.org/css-rhythm/#line-height-step (perhaps move the property definition to a subheading / section parallel to the block box section) that summarizes the use-case(s) and notes limitations.
E.g. something like: (text taken from portions of an email by @fantasai )
====
Normally an author can fairly easily ensure that, within a paragraph, the line height follows a strict vertical rhythm. As long as the text is not interrupted by atomic inline content or text that has a larger font size / different vertical alignment (the majority of text), it will maintain rhythm. For such interruptions however, use the line stepping properties to preserve rhythm.
Notes:
For text rhythm across paragraphs, headings, and blocks in general, see block height stepping, which will more directly solve most use cases.
====