readium / readium-css

🌈 A set of reference stylesheets for EPUB Reading Systems, starting with Readium Mobile
https://readium.org/readium-css/
BSD 3-Clause "New" or "Revised" License
93 stars 20 forks source link

For Chinese publications, line head indent at the beginning of a paragraph usually uses two character width spaces #86

Closed dotmonkey closed 4 years ago

dotmonkey commented 4 years ago

Short description of the issue/suggestion:

For Chinese publications, line head indent at the beginning of a paragraph usually uses two character width spaces. Publications like magazines, with multi-column content and less text in each column, might apply a single character width line head indent at the beginning of paragraph as well.

Steps to reproduce the issue/enhancement: None.

What is the expected behaviour? Line head indent at the beginning of a paragraph is applied to all paragraphs. Nearly all books and magazines make use of this method.

What is the current behaviour?

Line head indent does not apply to the first paragraph but to the rest of the paragraphs. This method is mostly seen in Western publications.

reference document: https://www.w3.org/TR/clreq/#line_head_indent_at_the_beginning_of_paragraphs

JayPanoz commented 4 years ago

Thanks for catching this.

I can see I should correct:

Will do later today in the develop branch and if I may, cc you so that you can check it’s fine for merging in master.

dotmonkey commented 4 years ago

Thanks for catching this.

I can see I should correct:

Will do later today in the develop branch and if I may, cc you so that you can check it’s fine for merging in master.

I have test it, looks good. Thank you.