- Notifications
You must be signed in to change notification settings - Fork 3.3k
/
Copy pathtext-align-valid.html
24 lines (24 loc) · 907 Bytes
/
text-align-valid.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
<head>
<metacharset="utf-8">
<title>CSS Text Module Test: parsing text-align with valid values</title>
<linkrel="help" href="https://www.w3.org/TR/css-text-3/#propdef-text-align">
<metaname="assert" content="text-align supports the full grammar 'start | end | left | right | center | justify | match-parent | justify-all'.">
<scriptsrc="/resources/testharness.js"></script>
<scriptsrc="/resources/testharnessreport.js"></script>
<scriptsrc="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_valid_value("text-align","start");
test_valid_value("text-align","end");
test_valid_value("text-align","left");
test_valid_value("text-align","right");
test_valid_value("text-align","center");
test_valid_value("text-align","justify");
test_valid_value("text-align","match-parent");
test_valid_value("text-align","justify-all");
</script>
</body>
</html>