mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
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:
parent
d007d265bd
commit
74798c4b7b
36 changed files with 37 additions and 544 deletions
|
@ -1,24 +1,3 @@
|
|||
[text-align-last-computed.html]
|
||||
[Property text-align-last value 'auto']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-align-last value 'start']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-align-last value 'end']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-align-last value 'left']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-align-last value 'right']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-align-last value 'center']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-align-last value 'justify']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-align-last value 'match-parent']
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,24 +1,3 @@
|
|||
[text-align-last-valid.html]
|
||||
[e.style['text-align-last'\] = "auto" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-align-last'\] = "start" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-align-last'\] = "end" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-align-last'\] = "left" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-align-last'\] = "right" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-align-last'\] = "center" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-align-last'\] = "justify" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-align-last'\] = "match-parent" should set the property value]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue