From 2d9cd5b11f397672fa954bc0a813bef028fbb591 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Thu, 21 Dec 2023 15:30:09 +0000 Subject: [PATCH] layout: Make all word separators justification opportunities This change adapts both layout and legacy layout to the specification which gives a list of word separators to use as justification opportunities. --- .../text-justify-word-separators-ref.html | 28 +++++++++++ .../text-justify-word-separators.html | 47 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 css/css-text/text-justify/text-justify-word-separators-ref.html create mode 100644 css/css-text/text-justify/text-justify-word-separators.html diff --git a/css/css-text/text-justify/text-justify-word-separators-ref.html b/css/css-text/text-justify/text-justify-word-separators-ref.html new file mode 100644 index 00000000000000..99154cff3923b1 --- /dev/null +++ b/css/css-text/text-justify/text-justify-word-separators-ref.html @@ -0,0 +1,28 @@ + + + + + + + + + + + +
XXXX XXXX XXXX
+
XXXX XXXX XXXX
+
XXXX XXXX XXXX
+
XXXX XXXX XXXX
+
XXXX XXXX XXXX
+
XXXX XXXX XXXX
+
XXXX XXXX XXXX
+ + diff --git a/css/css-text/text-justify/text-justify-word-separators.html b/css/css-text/text-justify/text-justify-word-separators.html new file mode 100644 index 00000000000000..028b69e40e0c67 --- /dev/null +++ b/css/css-text/text-justify/text-justify-word-separators.html @@ -0,0 +1,47 @@ + + + + + CSS Text 6.4. Justification Method: text-justify: inter-word + + + + + + + + + +
XXXX XXXX XXXX
+ + +
XXXXXXXX XXXX
+ + +
XXXXXXXX XXXX
+ + +
XXXXXXXX XXXX
+
XXXXXXXX XXXX
+ + +
XXXXXXXX XXXX
+ + +
XXXXXXXX XXXX
+ +