Skip to content

Commit

Permalink
[css-text] editorial improvements to i18n hyphenation example
Browse files Browse the repository at this point in the history
See #5973
  • Loading branch information
frivoal committed Oct 13, 2023
1 parent f1b985b commit af3f01a
Show file tree
Hide file tree
Showing 8 changed files with 1,836 additions and 14 deletions.
47 changes: 40 additions & 7 deletions css-text-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4430,7 +4430,7 @@ Hyphenation: the 'hyphens' property</h3>
where they usually would not be allowed to break
to improve the layout of paragraphs,
typically splitting words at syllabic or morphemic boundaries
and visually indicating the split
and often visually indicating the split
(usually by inserting a hyphen, U+2010).
In some cases, hyphenation may also alter the spelling of a word.
Regardless, hyphenation is a rendering effect only:
Expand All @@ -4443,8 +4443,7 @@ Hyphenation: the 'hyphens' property</h3>
hyphens/hyphens-vertical-002.html
</wpt>

<details class=example>
<summary>Hyphenation Across Languages</summary>
<div class=example>
Hyphenation practices vary across languages,
and can involve not just inserting a hyphen before the line break,
but inserting a hyphen after the break (or both),
Expand Down Expand Up @@ -4488,23 +4487,57 @@ Hyphenation: the 'hyphens' property</h3>
<td dir=rtl>
<img src="images/uyghur-unbroken.svg"
height=304
style="height: 1.5em;"
style="height: 1.5em; vertical-align: -13%"
alt=" [isolated DAL + isolated ALEF + initial MEEM +
medial YEH + final DAL +
isolated ALEF MAKSURA]">
<td dir=rtl>
<img src="images/uyghur-hyphenate-joined-before.svg"
height=304
style="height: 1.5em;"
style="height: 1.5em; vertical-align: -13%"
alt="[isolated DAL + isolated ALEF + initial MEEM +
final YEH + hyphen ]">
<td dir=rtl>
<img src="images/uyghur-hyphenate-joined-after.svg"
height=304
style="height: 1.5em;"
style="height: 1.5em; vertical-align: -13%"
alt="[ isolated DAL + isolated ALEF MAKSURA]">
<tr lang=cr>
<th lang=en>Cree
<td>
<img src="images/cree.svg"
height=524
style="height: 1em; vertical-align: baseline;"
alt="[ᑲᓯᑕᓂᐘᓂᓂᐠ]
(CANADIAN SYLLABICS KA +
CANADIAN SYLLABICS SI +
CANADIAN SYLLABICS TA +
CANADIAN SYLLABICS NI +
CANADIAN SYLLABICS WEST-CREE WA +
CANADIAN SYLLABICS NI +
CANADIAN SYLLABICS NI +
CANADIAN SYLLABICS FINAL GRAVE)">
<td>
<img src="images/cree-before.svg"
height=524
style="height: 1em; vertical-align: baseline;"
alt="[ᑲᓯᑕᓂ᐀]
(CANADIAN SYLLABICS KA +
CANADIAN SYLLABICS SI +
CANADIAN SYLLABICS TA +
CANADIAN SYLLABICS NI +
CANADIAN SYLLABICS HYPHEN)">
<td>
<img src="images/cree-after.svg"
height=524
style="height: 1em; vertical-align: baseline;"
alt="[ᐘᓂᓂᐠ]
(CANADIAN SYLLABICS WEST-CREE WA +
CANADIAN SYLLABICS NI +
CANADIAN SYLLABICS NI +
CANADIAN SYLLABICS FINAL GRAVE)">
</table>
</details>
</div>

<wpt>
hyphens/i18n/hyphens-i18n-auto-001.html
Expand Down
206 changes: 206 additions & 0 deletions css-text-3/images/cree-after.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit af3f01a

Please sign in to comment.