Skip to content

Truly independent web browser

LibWeb: Parse and compute the text-align-last property

Andreas Kling6b2f2bf2ef30
diff --git a/Libraries/LibWeb/CSS/Properties.json b/Libraries/LibWeb/CSS/Properties.json
index 5f9f790364d..8bd22d086f5 100644
--- a/Libraries/LibWeb/CSS/Properties.json
+++ b/Libraries/LibWeb/CSS/Properties.json
@@ -5079,6 +5079,22 @@
"text-align"
]
},
+ "text-align-last": {
+ "animation-type": "discrete",
+ "inherited": true,
+ "initial": "auto",
+ "requires-computation": "never",
+ "valid-identifiers": [
+ "auto",
+ "start",
+ "end",
+ "left",
+ "right",
+ "center",
+ "justify",
+ "match-parent"
+ ]
+ },
"text-anchor": {
"style-group": "InheritedSVGValues",
"animation-type": "discrete",
diff --git a/Libraries/LibWeb/Rust/src/css/style_compute.rs b/Libraries/LibWeb/Rust/src/css/style_compute.rs
index 913821af5f7..f9997a9ab94 100644
--- a/Libraries/LibWeb/Rust/src/css/style_compute.rs
+++ b/Libraries/LibWeb/Rust/src/css/style_compute.rs
@@ -4530,14 +4530,14 @@ pub(crate) unsafe fn drive_property_computation(
clear_longhand_bit(&mut inherited_words, prop::OVERFLOW_Y);
}
}
- } else if property_id == prop::TEXT_ALIGN
+ } else if matches!(property_id, prop::TEXT_ALIGN | prop::TEXT_ALIGN_LAST)
&& let StyleValueData::Keyword { keyword: text_align } = value_data
{
let (has_parent_with_computed_values, parent_text_align, parent_direction_is_ltr) =
if let Some(snapshot) = snapshot {
- let parent_text_align = match snapshot.value(prop::TEXT_ALIGN) {
+ let parent_text_align = match snapshot.value(property_id) {
Some(StyleValueData::Keyword { keyword }) => *keyword,
- _ => unreachable!("parent text-align must be a keyword"),
+ _ => unreachable!("parent text-align and text-align-last must be keywords"),
};
let parent_direction_is_ltr = match snapshot.value(prop::DIRECTION) {
Some(StyleValueData::Keyword {
@@ -4549,9 +4549,11 @@ pub(crate) unsafe fn drive_property_computation(
} else {
(false, 0, true)
};
+ // https://drafts.csswg.org/css-text-4/#propdef-text-align-last
+ // Computed value: keyword as specified, except for match-parent which computes as defined above
let adjustment = compute_text_align_adjustment(
*text_align,
- is_th_element,
+ is_th_element && property_id == prop::TEXT_ALIGN,
has_parent_with_computed_values,
parent_text_align,
parent_direction_is_ltr,
@@ -4566,11 +4568,13 @@ pub(crate) unsafe fn drive_property_computation(
set_longhand_bit(&mut inherited_words, property_id);
}
}
- computed_text_align = Some(if adjustment.changed {
- adjustment.keyword
- } else {
- *text_align
- });
+ if property_id == prop::TEXT_ALIGN {
+ computed_text_align = Some(if adjustment.changed {
+ adjustment.keyword
+ } else {
+ *text_align
+ });
+ }
} else if property_id == prop::COLOR_SCHEME
&& let StyleValueData::ColorScheme { scheme_codes, .. } = value_data
{
diff --git a/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt b/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt
index 5a3834a31e3..f412d0d7ef9 100644
--- a/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt
+++ b/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-has-indexed-property-getter.txt
@@ -66,6 +66,7 @@ All properties associated with getComputedStyle(document.body):
"stroke-width",
"tab-size",
"text-align",
+ "text-align-last",
"text-anchor",
"text-decoration-skip-ink",
"text-indent",
diff --git a/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt b/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt
index 1b52307bbbb..c52e016e498 100644
--- a/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt
+++ b/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt
@@ -943,6 +943,8 @@ All supported properties and their default values exposed from CSSStylePropertie
'table-layout': 'auto'
'textAlign': 'start'
'text-align': 'start'
+'textAlignLast': 'auto'
+'text-align-last': 'auto'
'textAnchor': 'start'
'text-anchor': 'start'
'textDecoration': 'rgb(0, 0, 0)'
diff --git a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
index a0bd1104c89..f8fd7f9bd92 100644
--- a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
+++ b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
@@ -64,6 +64,7 @@ stroke-opacity: 1
stroke-width: 1px
tab-size: 8
text-align: start
+text-align-last: auto
text-anchor: start
text-decoration-skip-ink: auto
text-indent: 0px
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-cascade/all-prop-revert-layer.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-cascade/all-prop-revert-layer.txt
index 03a95732cf9..2b59671d73b 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-cascade/all-prop-revert-layer.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-cascade/all-prop-revert-layer.txt
@@ -1,8 +1,8 @@
Harness status: OK
-Found 338 tests
+Found 339 tests
-334 Pass
+335 Pass
4 Fail
Pass accent-color
Pass border-collapse
@@ -65,6 +65,7 @@ Pass stroke-opacity
Pass stroke-width
Pass tab-size
Pass text-align
+Pass text-align-last
Pass text-anchor
Pass text-decoration-skip-ink
Pass text-indent
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-computed.txt
index b3890a894e0..e9b863fdb93 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-computed.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-computed.txt
@@ -2,12 +2,13 @@ Harness status: OK
Found 8 tests
-8 Fail
-Fail Property text-align-last value 'auto'
-Fail Property text-align-last value 'start'
-Fail Property text-align-last value 'end'
-Fail Property text-align-last value 'left'
-Fail Property text-align-last value 'right'
-Fail Property text-align-last value 'center'
-Fail Property text-align-last value 'justify'
+7 Pass
+1 Fail
+Pass Property text-align-last value 'auto'
+Pass Property text-align-last value 'start'
+Pass Property text-align-last value 'end'
+Pass Property text-align-last value 'left'
+Pass Property text-align-last value 'right'
+Pass Property text-align-last value 'center'
+Pass Property text-align-last value 'justify'
Fail Property text-align-last value 'match-parent'
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-valid.txt
index d204118594c..f7174a85541 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-valid.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/parsing/text-align-last-valid.txt
@@ -2,12 +2,12 @@ Harness status: OK
Found 8 tests
-8 Fail
-Fail e.style['text-align-last'] = "auto" should set the property value
-Fail e.style['text-align-last'] = "start" should set the property value
-Fail e.style['text-align-last'] = "end" should set the property value
-Fail e.style['text-align-last'] = "left" should set the property value
-Fail e.style['text-align-last'] = "right" should set the property value
-Fail e.style['text-align-last'] = "center" should set the property value
-Fail e.style['text-align-last'] = "justify" should set the property value
-Fail e.style['text-align-last'] = "match-parent" should set the property value
\ No newline at end of file
+8 Pass
+Pass e.style['text-align-last'] = "auto" should set the property value
+Pass e.style['text-align-last'] = "start" should set the property value
+Pass e.style['text-align-last'] = "end" should set the property value
+Pass e.style['text-align-last'] = "left" should set the property value
+Pass e.style['text-align-last'] = "right" should set the property value
+Pass e.style['text-align-last'] = "center" should set the property value
+Pass e.style['text-align-last'] = "justify" should set the property value
+Pass e.style['text-align-last'] = "match-parent" should set the property value
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/text-align/text-align-last-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/text-align/text-align-last-interpolation.txt
index 079fc9b6ba2..cc82a1eb85c 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-text/text-align/text-align-last-interpolation.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-text/text-align/text-align-last-interpolation.txt
@@ -2,172 +2,172 @@ Harness status: OK
Found 168 tests
-168 Fail
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0) should be [auto]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (1) should be [start]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0) should be [auto]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (1) should be [start]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
-Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (-0.3) should be [start]
-Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (0) should be [start]
-Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (0.3) should be [start]
-Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
-Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
-Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (1) should be [start]
-Fail CSS Transitions: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
-Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (-0.3) should be [start]
-Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0) should be [start]
-Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0.3) should be [start]
-Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
-Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
-Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (1) should be [start]
-Fail CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
-Fail CSS Animations: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
-Fail CSS Animations: property <text-align-last> from [auto] to [start] at (0) should be [auto]
-Fail CSS Animations: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
-Fail CSS Animations: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
-Fail CSS Animations: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
-Fail CSS Animations: property <text-align-last> from [auto] to [start] at (1) should be [start]
-Fail CSS Animations: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
-Fail Web Animations: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
-Fail Web Animations: property <text-align-last> from [auto] to [start] at (0) should be [auto]
-Fail Web Animations: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
-Fail Web Animations: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
-Fail Web Animations: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
-Fail Web Animations: property <text-align-last> from [auto] to [start] at (1) should be [start]
-Fail Web Animations: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0) should be [justify]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (1) should be [center]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0) should be [justify]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (1) should be [center]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
-Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (-0.3) should be [center]
-Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (0) should be [center]
-Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (0.3) should be [center]
-Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
-Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
-Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (1) should be [center]
-Fail CSS Transitions: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
-Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (-0.3) should be [center]
-Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0) should be [center]
-Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0.3) should be [center]
-Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
-Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
-Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (1) should be [center]
-Fail CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
-Fail CSS Animations: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
-Fail CSS Animations: property <text-align-last> from [justify] to [center] at (0) should be [justify]
-Fail CSS Animations: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
-Fail CSS Animations: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
-Fail CSS Animations: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
-Fail CSS Animations: property <text-align-last> from [justify] to [center] at (1) should be [center]
-Fail CSS Animations: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
-Fail Web Animations: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
-Fail Web Animations: property <text-align-last> from [justify] to [center] at (0) should be [justify]
-Fail Web Animations: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
-Fail Web Animations: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
-Fail Web Animations: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
-Fail Web Animations: property <text-align-last> from [justify] to [center] at (1) should be [center]
-Fail Web Animations: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0) should be [left]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0.3) should be [left]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0.5) should be [right]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0.6) should be [right]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (1) should be [right]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (1.5) should be [right]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0) should be [left]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0.3) should be [left]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0.5) should be [right]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0.6) should be [right]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (1) should be [right]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (1.5) should be [right]
-Fail CSS Transitions: property <text-align-last> from [left] to [right] at (-0.3) should be [right]
-Fail CSS Transitions: property <text-align-last> from [left] to [right] at (0) should be [right]
-Fail CSS Transitions: property <text-align-last> from [left] to [right] at (0.3) should be [right]
-Fail CSS Transitions: property <text-align-last> from [left] to [right] at (0.5) should be [right]
-Fail CSS Transitions: property <text-align-last> from [left] to [right] at (0.6) should be [right]
-Fail CSS Transitions: property <text-align-last> from [left] to [right] at (1) should be [right]
-Fail CSS Transitions: property <text-align-last> from [left] to [right] at (1.5) should be [right]
-Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (-0.3) should be [right]
-Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0) should be [right]
-Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0.3) should be [right]
-Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0.5) should be [right]
-Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0.6) should be [right]
-Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (1) should be [right]
-Fail CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (1.5) should be [right]
-Fail CSS Animations: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
-Fail CSS Animations: property <text-align-last> from [left] to [right] at (0) should be [left]
-Fail CSS Animations: property <text-align-last> from [left] to [right] at (0.3) should be [left]
-Fail CSS Animations: property <text-align-last> from [left] to [right] at (0.5) should be [right]
-Fail CSS Animations: property <text-align-last> from [left] to [right] at (0.6) should be [right]
-Fail CSS Animations: property <text-align-last> from [left] to [right] at (1) should be [right]
-Fail CSS Animations: property <text-align-last> from [left] to [right] at (1.5) should be [right]
-Fail Web Animations: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
-Fail Web Animations: property <text-align-last> from [left] to [right] at (0) should be [left]
-Fail Web Animations: property <text-align-last> from [left] to [right] at (0.3) should be [left]
-Fail Web Animations: property <text-align-last> from [left] to [right] at (0.5) should be [right]
-Fail Web Animations: property <text-align-last> from [left] to [right] at (0.6) should be [right]
-Fail Web Animations: property <text-align-last> from [left] to [right] at (1) should be [right]
-Fail Web Animations: property <text-align-last> from [left] to [right] at (1.5) should be [right]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
-Fail CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
-Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
-Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [match-parent]
-Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0) should be [match-parent]
-Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0.3) should be [match-parent]
-Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
-Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
-Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
-Fail CSS Transitions: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
-Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [match-parent]
-Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0) should be [match-parent]
-Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0.3) should be [match-parent]
-Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
-Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
-Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
-Fail CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
-Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
-Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
-Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
-Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
-Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
-Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
-Fail CSS Animations: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
-Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
-Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
-Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
-Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
-Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
-Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
-Fail Web Animations: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
\ No newline at end of file
+168 Pass
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0) should be [auto]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0) should be [auto]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Pass CSS Transitions: property <text-align-last> from [auto] to [start] at (-0.3) should be [start]
+Pass CSS Transitions: property <text-align-last> from [auto] to [start] at (0) should be [start]
+Pass CSS Transitions: property <text-align-last> from [auto] to [start] at (0.3) should be [start]
+Pass CSS Transitions: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Pass CSS Transitions: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Pass CSS Transitions: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Pass CSS Transitions: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Pass CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (-0.3) should be [start]
+Pass CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0) should be [start]
+Pass CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0.3) should be [start]
+Pass CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Pass CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Pass CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Pass CSS Transitions with transition: all: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Pass CSS Animations: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
+Pass CSS Animations: property <text-align-last> from [auto] to [start] at (0) should be [auto]
+Pass CSS Animations: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
+Pass CSS Animations: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Pass CSS Animations: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Pass CSS Animations: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Pass CSS Animations: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Pass Web Animations: property <text-align-last> from [auto] to [start] at (-0.3) should be [auto]
+Pass Web Animations: property <text-align-last> from [auto] to [start] at (0) should be [auto]
+Pass Web Animations: property <text-align-last> from [auto] to [start] at (0.3) should be [auto]
+Pass Web Animations: property <text-align-last> from [auto] to [start] at (0.5) should be [start]
+Pass Web Animations: property <text-align-last> from [auto] to [start] at (0.6) should be [start]
+Pass Web Animations: property <text-align-last> from [auto] to [start] at (1) should be [start]
+Pass Web Animations: property <text-align-last> from [auto] to [start] at (1.5) should be [start]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0) should be [justify]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0) should be [justify]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Pass CSS Transitions: property <text-align-last> from [justify] to [center] at (-0.3) should be [center]
+Pass CSS Transitions: property <text-align-last> from [justify] to [center] at (0) should be [center]
+Pass CSS Transitions: property <text-align-last> from [justify] to [center] at (0.3) should be [center]
+Pass CSS Transitions: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Pass CSS Transitions: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Pass CSS Transitions: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Pass CSS Transitions: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Pass CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (-0.3) should be [center]
+Pass CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0) should be [center]
+Pass CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0.3) should be [center]
+Pass CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Pass CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Pass CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Pass CSS Transitions with transition: all: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Pass CSS Animations: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
+Pass CSS Animations: property <text-align-last> from [justify] to [center] at (0) should be [justify]
+Pass CSS Animations: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
+Pass CSS Animations: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Pass CSS Animations: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Pass CSS Animations: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Pass CSS Animations: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Pass Web Animations: property <text-align-last> from [justify] to [center] at (-0.3) should be [justify]
+Pass Web Animations: property <text-align-last> from [justify] to [center] at (0) should be [justify]
+Pass Web Animations: property <text-align-last> from [justify] to [center] at (0.3) should be [justify]
+Pass Web Animations: property <text-align-last> from [justify] to [center] at (0.5) should be [center]
+Pass Web Animations: property <text-align-last> from [justify] to [center] at (0.6) should be [center]
+Pass Web Animations: property <text-align-last> from [justify] to [center] at (1) should be [center]
+Pass Web Animations: property <text-align-last> from [justify] to [center] at (1.5) should be [center]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0) should be [left]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0.3) should be [left]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (1) should be [right]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0) should be [left]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0.3) should be [left]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (1) should be [right]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Pass CSS Transitions: property <text-align-last> from [left] to [right] at (-0.3) should be [right]
+Pass CSS Transitions: property <text-align-last> from [left] to [right] at (0) should be [right]
+Pass CSS Transitions: property <text-align-last> from [left] to [right] at (0.3) should be [right]
+Pass CSS Transitions: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Pass CSS Transitions: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Pass CSS Transitions: property <text-align-last> from [left] to [right] at (1) should be [right]
+Pass CSS Transitions: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Pass CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (-0.3) should be [right]
+Pass CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0) should be [right]
+Pass CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0.3) should be [right]
+Pass CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Pass CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Pass CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (1) should be [right]
+Pass CSS Transitions with transition: all: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Pass CSS Animations: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
+Pass CSS Animations: property <text-align-last> from [left] to [right] at (0) should be [left]
+Pass CSS Animations: property <text-align-last> from [left] to [right] at (0.3) should be [left]
+Pass CSS Animations: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Pass CSS Animations: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Pass CSS Animations: property <text-align-last> from [left] to [right] at (1) should be [right]
+Pass CSS Animations: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Pass Web Animations: property <text-align-last> from [left] to [right] at (-0.3) should be [left]
+Pass Web Animations: property <text-align-last> from [left] to [right] at (0) should be [left]
+Pass Web Animations: property <text-align-last> from [left] to [right] at (0.3) should be [left]
+Pass Web Animations: property <text-align-last> from [left] to [right] at (0.5) should be [right]
+Pass Web Animations: property <text-align-last> from [left] to [right] at (0.6) should be [right]
+Pass Web Animations: property <text-align-last> from [left] to [right] at (1) should be [right]
+Pass Web Animations: property <text-align-last> from [left] to [right] at (1.5) should be [right]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Pass CSS Transitions with transition-behavior:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
+Pass CSS Transitions: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [match-parent]
+Pass CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0) should be [match-parent]
+Pass CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0.3) should be [match-parent]
+Pass CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Pass CSS Transitions: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Pass CSS Transitions: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Pass CSS Transitions: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
+Pass CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [match-parent]
+Pass CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0) should be [match-parent]
+Pass CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0.3) should be [match-parent]
+Pass CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Pass CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Pass CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Pass CSS Transitions with transition: all: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
+Pass CSS Animations: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
+Pass CSS Animations: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
+Pass CSS Animations: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
+Pass CSS Animations: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Pass CSS Animations: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Pass CSS Animations: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Pass CSS Animations: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
+Pass Web Animations: property <text-align-last> from [end] to [match-parent] at (-0.3) should be [end]
+Pass Web Animations: property <text-align-last> from [end] to [match-parent] at (0) should be [end]
+Pass Web Animations: property <text-align-last> from [end] to [match-parent] at (0.3) should be [end]
+Pass Web Animations: property <text-align-last> from [end] to [match-parent] at (0.5) should be [match-parent]
+Pass Web Animations: property <text-align-last> from [end] to [match-parent] at (0.6) should be [match-parent]
+Pass Web Animations: property <text-align-last> from [end] to [match-parent] at (1) should be [match-parent]
+Pass Web Animations: property <text-align-last> from [end] to [match-parent] at (1.5) should be [match-parent]
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/text-align-last.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/text-align-last.txt
index 60dfb101aee..fecab9932bf 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/text-align-last.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/text-align-last.txt
@@ -2,20 +2,19 @@ Harness status: OK
Found 38 tests
-26 Pass
-12 Fail
-Fail Can set 'text-align-last' to CSS-wide keywords: initial
-Fail Can set 'text-align-last' to CSS-wide keywords: inherit
-Fail Can set 'text-align-last' to CSS-wide keywords: unset
-Fail Can set 'text-align-last' to CSS-wide keywords: revert
-Fail Can set 'text-align-last' to var() references: var(--A)
-Fail Can set 'text-align-last' to the 'auto' keyword: auto
-Fail Can set 'text-align-last' to the 'start' keyword: start
-Fail Can set 'text-align-last' to the 'end' keyword: end
-Fail Can set 'text-align-last' to the 'left' keyword: left
-Fail Can set 'text-align-last' to the 'right' keyword: right
-Fail Can set 'text-align-last' to the 'center' keyword: center
-Fail Can set 'text-align-last' to the 'justify' keyword: justify
+38 Pass
+Pass Can set 'text-align-last' to CSS-wide keywords: initial
+Pass Can set 'text-align-last' to CSS-wide keywords: inherit
+Pass Can set 'text-align-last' to CSS-wide keywords: unset
+Pass Can set 'text-align-last' to CSS-wide keywords: revert
+Pass Can set 'text-align-last' to var() references: var(--A)
+Pass Can set 'text-align-last' to the 'auto' keyword: auto
+Pass Can set 'text-align-last' to the 'start' keyword: start
+Pass Can set 'text-align-last' to the 'end' keyword: end
+Pass Can set 'text-align-last' to the 'left' keyword: left
+Pass Can set 'text-align-last' to the 'right' keyword: right
+Pass Can set 'text-align-last' to the 'center' keyword: center
+Pass Can set 'text-align-last' to the 'justify' keyword: justify
Pass Setting 'text-align-last' to a length: 0px throws TypeError
Pass Setting 'text-align-last' to a length: -3.14em throws TypeError
Pass Setting 'text-align-last' to a length: 3.14cm throws TypeError
diff --git a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/accumulation-per-property-002.txt b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/accumulation-per-property-002.txt
index 9109d833de5..461d7fd7a7e 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/accumulation-per-property-002.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/accumulation-per-property-002.txt
@@ -1,8 +1,8 @@
Harness status: OK
-Found 339 tests
+Found 342 tests
-329 Pass
+332 Pass
10 Fail
Pass Setup
Pass isolation (type: discrete) has testAccumulation function
@@ -235,6 +235,9 @@ Pass table-layout: "auto" onto "fixed"
Pass text-align (type: discrete) has testAccumulation function
Pass text-align: "end" onto "start"
Pass text-align: "start" onto "end"
+Pass text-align-last (type: discrete) has testAccumulation function
+Pass text-align-last: "end" onto "start"
+Pass text-align-last: "start" onto "end"
Pass text-anchor (type: discrete) has testAccumulation function
Pass text-anchor: "end" onto "middle"
Pass text-anchor: "middle" onto "end"
diff --git a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/addition-per-property-002.txt b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/addition-per-property-002.txt
index 63e1e72c23d..900bcafae51 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/addition-per-property-002.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/addition-per-property-002.txt
@@ -1,8 +1,8 @@
Harness status: OK
-Found 335 tests
+Found 338 tests
-325 Pass
+328 Pass
10 Fail
Pass Setup
Pass isolation (type: discrete) has testAddition function
@@ -235,6 +235,9 @@ Pass table-layout: "auto" onto "fixed"
Pass text-align (type: discrete) has testAddition function
Pass text-align: "end" onto "start"
Pass text-align: "start" onto "end"
+Pass text-align-last (type: discrete) has testAddition function
+Pass text-align-last: "end" onto "start"
+Pass text-align-last: "start" onto "end"
Pass text-anchor (type: discrete) has testAddition function
Pass text-anchor: "end" onto "middle"
Pass text-anchor: "middle" onto "end"
diff --git a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/interpolation-per-property-002.txt b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/interpolation-per-property-002.txt
index f2dc3a40285..270f8856223 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/interpolation-per-property-002.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/web-animations/animation-model/animation-types/interpolation-per-property-002.txt
@@ -1,8 +1,8 @@
Harness status: OK
-Found 415 tests
+Found 419 tests
-402 Pass
+406 Pass
13 Fail
Pass Setup
Pass isolation (type: discrete) has testInterpolation function
@@ -285,6 +285,10 @@ Pass text-align (type: discrete) has testInterpolation function
Pass text-align uses discrete animation when animating between "start" and "end" with linear easing
Pass text-align uses discrete animation when animating between "start" and "end" with effect easing
Pass text-align uses discrete animation when animating between "start" and "end" with keyframe easing
+Pass text-align-last (type: discrete) has testInterpolation function
+Pass text-align-last uses discrete animation when animating between "start" and "end" with linear easing
+Pass text-align-last uses discrete animation when animating between "start" and "end" with effect easing
+Pass text-align-last uses discrete animation when animating between "start" and "end" with keyframe easing
Pass text-anchor (type: discrete) has testInterpolation function
Pass text-anchor uses discrete animation when animating between "middle" and "end" with linear easing
Pass text-anchor uses discrete animation when animating between "middle" and "end" with effect easing