Skip to content

Commit

Permalink
[css-text-3][css-text-4] Add Unicode 15 small kana
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Aug 25, 2023
1 parent 760639f commit 3412a27
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Reference: Unicode 15 kana and text-transform: full-size-kana</title>
<link rel="author" title="Elika Etemad" href="http://fantasai.inkedblade.net/contact">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-text-transform-full-size-kana">
<style>
td:nth-of-type(2) {
text-transform: full-size-kana
}
</style>

<p>Test passes if the characters in the second column are
the same shape and size as those in the rightmost column,
not small as those in the leftmost column.<br>
Any missing glyph should be ignored as long as it is missing in both the second and the rightmost column.

<table>
<tr><td>&#x1B132;<td>&#x3053;<td>&#x3053;
<tr><td>&#x1B150;<td>&#x3090;<td>&#x3090;
<tr><td>&#x1B151;<td>&#x3091;<td>&#x3091;
<tr><td>&#x1B152;<td>&#x3092;<td>&#x3092;
<tr><td>&#x1B155;<td>&#x30B3;<td>&#x30B3;
<tr><td>&#x1B164;<td>&#x30F0;<td>&#x30F0;
<tr><td>&#x1B165;<td>&#x30F1;<td>&#x30F1;
<tr><td>&#x1B166;<td>&#x30F1;<td>&#x30F1;

This comment has been minimized.

Copy link
@jfkthame

jfkthame Aug 26, 2023

Contributor

I think this is a copy/paste error; the two occurrences of 30F1 in this line should be 30F2.

<tr><td>&#x1B167;<td>&#x30F3;<td>&#x30F3;
</table>
29 changes: 29 additions & 0 deletions css/css-text/text-transform/text-transform-full-size-kana-008.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: Unicode 15 kana and text-transform: full-size-kana</title>
<link rel="author" title="Elika Etemad" href="http://fantasai.inkedblade.net/contact">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-text-transform-full-size-kana">
<link rel="match" href="reference/text-transform-full-size-kana-008-ref.html">
<meta name="assert" content="small kana added in Unicode 15 are transformed to normal kana by text-tranform:full-size-kana">
<style>
td:nth-of-type(2) {
text-transform: full-size-kana
}
</style>

<p>Test passes if the characters in the second column are
the same shape and size as those in the rightmost column,
not small as those in the leftmost column.<br>
Any missing glyph should be ignored as long as it is missing in both the second and the rightmost column.

<table>
<tr><td>&#x1B132;<td>&#x1B132;<td>&#x3053;
<tr><td>&#x1B150;<td>&#x1B150;<td>&#x3090;
<tr><td>&#x1B151;<td>&#x1B151;<td>&#x3091;
<tr><td>&#x1B152;<td>&#x1B152;<td>&#x3092;
<tr><td>&#x1B155;<td>&#x1B155;<td>&#x30B3;
<tr><td>&#x1B164;<td>&#x1B164;<td>&#x30F0;
<tr><td>&#x1B165;<td>&#x1B165;<td>&#x30F1;
<tr><td>&#x1B166;<td>&#x1B166;<td>&#x30F1;

This comment has been minimized.

Copy link
@jfkthame

jfkthame Aug 26, 2023

Contributor

Likewise here: s/30F1/30F2/

<tr><td>&#x1B167;<td>&#x1B167;<td>&#x30F3;
</table>

0 comments on commit 3412a27

Please sign in to comment.