layout: Add support for text-align-last (#30905)

This change adds support for `text-align-last` as well as ensuring that
it also applies to lines before forced line breaks. Two tests start to
fail because they rely on right-to-left text to pass:

 - /css/css-text/text-align/text-align-last-010.html.ini
 - /css/css-text/text-align/text-align-last-011.html.ini
This commit is contained in:
Martin Robinson 2023-12-21 15:45:34 +01:00 committed by GitHub
parent d007d265bd
commit 74798c4b7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 37 additions and 544 deletions

View file

@ -111,7 +111,7 @@ ${helpers.predefined_type(
"text-align-last",
"TextAlignLast",
"computed::text::TextAlignLast::Auto",
engines="gecko",
engines="gecko servo",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-text/#propdef-text-align-last",
)}