@@ -4901,11 +4901,17 @@ Text Alignment: the 'text-align' shorthand</h3>
4901
4901
except that an [=inherited value=] of
4902
4902
''text-align/start'' or ''text-align/end''
4903
4903
is interpreted against the parent’s
4904
- (or the [=initial containing block=] ’s,
4905
- if there is no parent)
4906
4904
'direction' value
4907
4905
and results in a computed value of either
4908
4906
''text-align/left'' or ''text-align/right'' .
4907
+ Computes to ''text-align/start''
4908
+ when specified on the [=root element=] .
4909
+ <!-- ideally it would compute against the root writing mode
4910
+ and inherit as `left` or `right` for consistency in descendants,
4911
+ but since this is complicated due to propagation
4912
+ and match-parent has basically no real use case on root,
4913
+ we're doing this instead because it's easy -->
4914
+
4909
4915
When specified on the 'text-align' shorthand,
4910
4916
sets both 'text-align-all' and 'text-align-last' to ''text-align/match-parent'' .
4911
4917
@@ -7909,6 +7915,9 @@ Recent Changes</h3>
7909
7915
and should apply any appropriate spelling changes
7910
7916
just as for automatic hyphenation at the same point.</ins>
7911
7917
</blockquote>
7918
+ * Define ''text-align/match-parent'' on the [=root element=] to compute to ''text-align/start''
7919
+ instead of computing against the [=principal writing mode=] .
7920
+ (<a href="https://github.com/w3c/csswg-drafts/issues/6542">Issue 6542</a> )
7912
7921
7913
7922
In addition there have been some minor editorial fixes.
7914
7923
0 commit comments