Text Level 4
Ideas
Ideas to consider for future CSS Text specs
- Roman hanging punctuation
- Glyph scaling min/max/desired (for improving justification)
- text-emphasis-skip
- text-wrap:balance or something similar
- Leading model control (placing leading above or below content area)
line-grid
- Baseline Grid (define a grid for a block, and let line boxes either fall off the grid or snap to the next grid line)
- The original idea available in CSS3 Module Text WD 20010517
- www-style: Vertical rhythm and images
- Implementations
text-spacing
[ class-before class-after [ none | default [ [ [ min max ] | '/' alternate ] priority? ]? ] ]+
@text-spacing-rule rule-name [ font-name [ ',' font-name ]* ] {
line-head opening 0%;
closing line-end 50%/0%;
ideograph alphabet 25% 12.5% 50% 2;
}
- The relationshipo of expansion opportunities defined here and other properties (text-justify, word-spacing, letter-spacing) is an issue
- JIS/JLREQ/InDesign style (trim and specify how much to add), or specify how much to add/remove?
- Results differ if punctuation are proportional
- Spaces are not consistent for: “]<big>[]</big>[”
- Can ‘none’ have optional min/max/alternate/priority? Does it allow expansion?
- How to handle proportional punctuation is still an issue
- ’/’ syntax is used only for closing+line-end, where CSS3 Text defines by the “if it fits” clause