Skip to content

Commit 9f97b7e

Browse files
committed
Support value computation of tab-size and several text-* properties
1 parent ce84a8c commit 9f97b7e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/main/java/io/sf/carte/doc/style/css/property/PropertyDatabase.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ private static Set<String> computeInheritedPropertiesList() {
9393
"list-style-position", "list-style-type", "list-style", "math-depth", "math-style",
9494
"orphans", "page-break-inside", "pitch-range", "pitch", "quotes", "richness",
9595
"speak-header", "speak-numeral", "speak-punctuation", "speak", "speak-as",
96-
"speech-rate", "stress", "text-align", "text-emphasis-color",
96+
"speech-rate", "stress", "tab-size", "text-align", "text-align-last",
97+
"text-autospace", "text-combine-upright", "text-emphasis-color",
9798
"text-emphasis-position", "text-emphasis-style", "text-indent", "text-shadow",
9899
"text-transform", "text-underline-position", "visibility", "voice-balance",
99100
"voice-family", "voice-pitch", "voice-range", "voice-rate", "voice-stress",
@@ -309,9 +310,18 @@ private Map<String, Object> createInitialValueMap() {
309310
{"speak-as", "normal"},
310311
{"speech-rate", "medium"},
311312
{"stress", "50"},
313+
{"tab-size", "8"},
312314
{"table-layout", "auto"},
315+
{"text-align", "start"},
316+
{"text-align-last", "auto"},
317+
{"text-autospace", "normal"},
318+
{"text-box", "normal"},
319+
{"text-box-edge", "auto"},
320+
{"text-box-trim", "none"},
321+
{"text-combine-upright", "none"},
313322
{"text-decoration-line", "none"},
314323
{"text-decoration-style", "solid"},
324+
{"text-decoration-thickness", "auto"},
315325
{"text-emphasis-style", "none"},
316326
{"text-emphasis-position", "over right"},
317327
{"text-indent", "0"},

0 commit comments

Comments
 (0)