a40166c37ef69074b00de8662fe250dbd7877693
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-text / parsing / text-transform-valid.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>CSS Text Module Test: parsing text-transform with valid values</title>
6 <link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-text-transform">
7 <meta name="assert" content="text-transform supports the full grammar 'none | [capitalize | uppercase | lowercase ] || full-width || full-size-kana'.">
8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script>
10 <script src="/css/support/parsing-testcommon.js"></script>
11 </head>
12 <body>
13 <script>
14 test_valid_value("text-transform", "none");
15
16 test_valid_value("text-transform", "capitalize");
17 test_valid_value("text-transform", "uppercase");
18 test_valid_value("text-transform", "lowercase");
19 test_valid_value("text-transform", "full-width");
20 test_valid_value("text-transform", "full-size-kana");
21
22 test_valid_value("text-transform", "capitalize full-width");
23 test_valid_value("text-transform", "uppercase full-size-kana");
24 test_valid_value("text-transform", "full-width full-size-kana");
25 test_valid_value("text-transform", "full-width lowercase");
26 test_valid_value("text-transform", "full-size-kana capitalize");
27 test_valid_value("text-transform", "full-size-kana full-width");
28
29 test_valid_value("text-transform", "capitalize full-width full-size-kana");
30 test_valid_value("text-transform", "full-width full-size-kana uppercase");
31 test_valid_value("text-transform", "full-size-kana lowercase full-width");
32 test_valid_value("text-transform", "lowercase full-size-kana full-width");
33 test_valid_value("text-transform", "full-width uppercase full-size-kana");
34 test_valid_value("text-transform", "full-size-kana full-width capitalize");
35 </script>
36 </body>
37 </html>