-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude Korean currency symbol (WON SIGN) from being treated like Chi…
…nese/Japanese characters during CSS segment break transformation. Differential Revision: https://phabricator.services.mozilla.com/D235669 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1940947 gecko-commit: 72b0ae433f15d977419af447a226f06b2f7e2d8e gecko-reviewers: dshin
- Loading branch information
1 parent
a70eef9
commit b016438
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
css/css-text/line-breaking/segment-break-transformation-currency-001-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>Segment break transformation reference</title> | ||
|
||
<p>Each currency amount should have space before and after; there should be no other spaces.</p> | ||
<p lang="ja" style="font-family: sans-serif; word-spacing: 1em;"> | ||
価格は $1.00 です。価格は ¥150 です。価格は €1.00 です。価格は ₩1500 です。 | ||
</p> |
23 changes: 23 additions & 0 deletions
23
css/css-text/line-breaking/segment-break-transformation-currency-001.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>Segment break transformation: currency symbols</title> | ||
<link rel="author" href="mailto:[email protected]"> | ||
<link rel="match" href="segment-break-transformation-currency-001-ref.html"> | ||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1940947"> | ||
<meta name="flags" content="should" /> | ||
|
||
<p>Each currency amount should have space before and after; there should be no other spaces.</p> | ||
<p lang="ja" style="font-family: sans-serif; word-spacing: 1em;"> | ||
価格は | ||
$1.00 | ||
です。 | ||
価格は | ||
¥150 | ||
です。 | ||
価格は | ||
€1.00 | ||
です。 | ||
価格は | ||
₩1500 | ||
です。 | ||
</p> |