forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
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>CSS Text Test: language specific hyphenation—Dutch</title> | ||
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#hyphens-property"> | ||
<link rel="match" href="reference/hyphens-i18n-auto-006-ref.html"> | ||
<meta name="assert" content="Depending on the language, the hyphenation character may vary."> | ||
<style> | ||
div { | ||
font-size: 3em; | ||
color: orange; | ||
} | ||
.test { | ||
width: 6ch; | ||
hyphens: auto; | ||
color: blue; | ||
} | ||
</style> | ||
|
||
<p>Test passes if the blue text is identical to the orange text. | ||
<div lang=cr class=test>ᑲᓯᑕᓂᐘᓂᓂᐠ</div> | ||
<hr> | ||
<div lang=cr>ᑲᓯᑕᓂ᐀<br>ᐘᓂᓂᐠ</div> |
21 changes: 21 additions & 0 deletions
21
css/css-text/hyphens/i18n/reference/hyphens-i18n-auto-006-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,21 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>CSS Text Test: language specific hyphenation—Dutch</title> | ||
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#hyphens-property"> | ||
<link rel="match" href="reference/hyphens-i18n-auto-007-ref.html"> | ||
<meta name="assert" content="Language specific rules must be taken into account"> | ||
<style> | ||
div { | ||
font-size: 3em; | ||
color: orange; | ||
} | ||
.test { | ||
color: blue; | ||
} | ||
</style> | ||
|
||
<p>Test passes if the blue text is identical to the orange text. | ||
<div lang=cr class=test>ᑲᓯᑕᓂ᐀<br>ᐘᓂᓂᐠ</div> | ||
<hr> | ||
<div lang=cr>ᑲᓯᑕᓂ᐀<br>ᐘᓂᓂᐠ</div> |