Skip to content

[css-multicol] Improve column-fill example 26 and example 27 #3700

@TalbotG

Description

@TalbotG

@rachelandrew

After carefully examining the column-fill: balance Example 26 from the spec and the column-fill: auto Example 27 from the spec, I created these 2 pages:

column-fill: balance Example 26 GT

column-fill: auto Example-27 GT

I propose the following changes to examples 26 and 27 from the spec:

  • a width of 41em (and not 60em) if+since+because the font-size of text is 18px. That way, SVG image of rendered layout will better match the actual CSS code
  • since "Column rules are only drawn between two columns that both have content", then both SVG images (expected rendered layout) should be corrected
  • more text content so that the examples would not require to style 'widows' and 'orphans' and to set them to 1. The initial value of 'widows' and 'orphans' is 2. So, example 26 needs just more text content so that there are at least 2 line boxes in each column boxes. Otherwise, add 'orphans: 1' and 'widows: 1' to the code of both examples. Without 'orphans: 1' and 'widows: 1' or without more text content, the examples are not perfectly reliable or trustworthy
  • Linux users do not necessarly have installed (or preinstalled) Arial or Arial MT typefaces. So, in the SVG code, adding "Liberation Sans" is a tiny bit better+preferable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions