summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/text3/text-justify-inter-character-001.html
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-04-29 18:52:17 +0200
committerGitHub <noreply@github.com>2018-04-29 18:52:17 +0200
commit8c146ab24ac1b571d157db17a658cdc38c3a541d (patch)
tree55b4af8af161bdd67185974bab818c474eb7cab6 /layout/reftests/w3c-css/submitted/text3/text-justify-inter-character-001.html
parentb83c51a1a51f58a7a68d1a4877b0f0a8f03a939e (diff)
parent1f4ce97ecd5fa47eead41e1408d2d26ce50749fa (diff)
downloadUXP-8c146ab24ac1b571d157db17a658cdc38c3a541d.tar
UXP-8c146ab24ac1b571d157db17a658cdc38c3a541d.tar.gz
UXP-8c146ab24ac1b571d157db17a658cdc38c3a541d.tar.lz
UXP-8c146ab24ac1b571d157db17a658cdc38c3a541d.tar.xz
UXP-8c146ab24ac1b571d157db17a658cdc38c3a541d.zip
Merge pull request #297 from janekptacijarabaci/css_text-justify_1
CSS - implement text-justify property
Diffstat (limited to 'layout/reftests/w3c-css/submitted/text3/text-justify-inter-character-001.html')
-rw-r--r--layout/reftests/w3c-css/submitted/text3/text-justify-inter-character-001.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/w3c-css/submitted/text3/text-justify-inter-character-001.html b/layout/reftests/w3c-css/submitted/text3/text-justify-inter-character-001.html
new file mode 100644
index 000000000..639ab7ecb
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/text3/text-justify-inter-character-001.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Text 7.4. Justification Method: text-justify: inter-character</title>
+<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
+<link rel="author" title="Mozilla" href="https://www.mozilla.org">
+<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-justify-property">
+<link rel='match' href='text-justify-inter-character-001-ref.html'>
+<meta name="assert" content="text-justify:inter-character means justification adjusts spacing between each pair of adjacent typographic character units.">
+<style type='text/css'>
+p {
+ font-size: 1.5em;
+ border: 1px solid black;
+ padding: 10px;
+ margin-right: 310px;
+}
+.test {
+ text-align-last: justify;
+ text-justify: inter-character;
+}
+</style>
+</head>
+<body>
+<p lang="en" class="test">XX</p>
+<p lang="ja" class="test">文字</p>
+</body>
+</html>