mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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
|
@ -20,7 +20,7 @@ use style::properties::ComputedValues;
|
||||||
use style::values::computed::Length;
|
use style::values::computed::Length;
|
||||||
use style::values::generics::text::LineHeight;
|
use style::values::generics::text::LineHeight;
|
||||||
use style::values::specified::text::{TextAlignKeyword, TextDecorationLine};
|
use style::values::specified::text::{TextAlignKeyword, TextDecorationLine};
|
||||||
use style::values::specified::TextJustify;
|
use style::values::specified::{TextAlignLast, TextJustify};
|
||||||
use style::Zero;
|
use style::Zero;
|
||||||
use webrender_api::FontInstanceKey;
|
use webrender_api::FontInstanceKey;
|
||||||
use xi_unicode::{linebreak_property, LineBreakLeafIter};
|
use xi_unicode::{linebreak_property, LineBreakLeafIter};
|
||||||
|
@ -537,20 +537,19 @@ impl<'a, 'b> InlineFormattingContextState<'a, 'b> {
|
||||||
|
|
||||||
// Finally we finish the line itself and convert all of the LineItems into
|
// Finally we finish the line itself and convert all of the LineItems into
|
||||||
// fragments.
|
// fragments.
|
||||||
self.finish_current_line_and_reset(true /* last_line */);
|
self.finish_current_line_and_reset(true /* last_line_or_forced_line_break */);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Finish layout of all inline boxes for the current line. This will gather all
|
/// Finish layout of all inline boxes for the current line. This will gather all
|
||||||
/// [`LineItem`]s and turn them into [`Fragment`]s, then reset the
|
/// [`LineItem`]s and turn them into [`Fragment`]s, then reset the
|
||||||
/// [`InlineFormattingContextState`] preparing it for laying out a new line.
|
/// [`InlineFormattingContextState`] preparing it for laying out a new line.
|
||||||
fn finish_current_line_and_reset(&mut self, last_line: bool) {
|
fn finish_current_line_and_reset(&mut self, last_line_or_forced_line_break: bool) {
|
||||||
let whitespace_trimmed = self.current_line.trim_trailing_whitespace();
|
let whitespace_trimmed = self.current_line.trim_trailing_whitespace();
|
||||||
let (inline_start_position, mut justification_adjustment) = self
|
let (inline_start_position, justification_adjustment) = self
|
||||||
.calculate_current_line_inline_start_and_justification_adjustment(whitespace_trimmed);
|
.calculate_current_line_inline_start_and_justification_adjustment(
|
||||||
|
whitespace_trimmed,
|
||||||
if last_line {
|
last_line_or_forced_line_break,
|
||||||
justification_adjustment = Length::zero();
|
);
|
||||||
}
|
|
||||||
|
|
||||||
let block_start_position = self
|
let block_start_position = self
|
||||||
.current_line
|
.current_line
|
||||||
|
@ -642,18 +641,32 @@ impl<'a, 'b> InlineFormattingContextState<'a, 'b> {
|
||||||
fn calculate_current_line_inline_start_and_justification_adjustment(
|
fn calculate_current_line_inline_start_and_justification_adjustment(
|
||||||
&self,
|
&self,
|
||||||
whitespace_trimmed: Length,
|
whitespace_trimmed: Length,
|
||||||
|
last_line_or_forced_line_break: bool,
|
||||||
) -> (Length, Length) {
|
) -> (Length, Length) {
|
||||||
enum TextAlign {
|
enum TextAlign {
|
||||||
Start,
|
Start,
|
||||||
Center,
|
Center,
|
||||||
End,
|
End,
|
||||||
}
|
}
|
||||||
let line_left_is_inline_start = self
|
let style = self.containing_block.style;
|
||||||
.containing_block
|
let line_left_is_inline_start = style.writing_mode.line_left_is_inline_start();
|
||||||
.style
|
let mut text_align_keyword = style.clone_text_align();
|
||||||
.writing_mode
|
|
||||||
.line_left_is_inline_start();
|
if last_line_or_forced_line_break {
|
||||||
let text_align_keyword = self.containing_block.style.clone_text_align();
|
text_align_keyword = match style.clone_text_align_last() {
|
||||||
|
TextAlignLast::Auto if text_align_keyword == TextAlignKeyword::Justify => {
|
||||||
|
TextAlignKeyword::Start
|
||||||
|
},
|
||||||
|
TextAlignLast::Auto => text_align_keyword,
|
||||||
|
TextAlignLast::Start => TextAlignKeyword::Start,
|
||||||
|
TextAlignLast::End => TextAlignKeyword::End,
|
||||||
|
TextAlignLast::Left => TextAlignKeyword::Left,
|
||||||
|
TextAlignLast::Right => TextAlignKeyword::Right,
|
||||||
|
TextAlignLast::Center => TextAlignKeyword::Center,
|
||||||
|
TextAlignLast::Justify => TextAlignKeyword::Justify,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
let text_align = match text_align_keyword {
|
let text_align = match text_align_keyword {
|
||||||
TextAlignKeyword::Start => TextAlign::Start,
|
TextAlignKeyword::Start => TextAlign::Start,
|
||||||
TextAlignKeyword::Center => TextAlign::Center,
|
TextAlignKeyword::Center => TextAlign::Center,
|
||||||
|
@ -936,7 +949,7 @@ impl<'a, 'b> InlineFormattingContextState<'a, 'b> {
|
||||||
}
|
}
|
||||||
|
|
||||||
self.commit_current_segment_to_line();
|
self.commit_current_segment_to_line();
|
||||||
self.process_line_break();
|
self.process_line_break(true /* forced_line_break */);
|
||||||
self.linebreak_before_new_content = false;
|
self.linebreak_before_new_content = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1023,13 +1036,13 @@ impl<'a, 'b> InlineFormattingContextState<'a, 'b> {
|
||||||
self.propagate_current_nesting_level_white_space_style();
|
self.propagate_current_nesting_level_white_space_style();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn process_line_break(&mut self) {
|
fn process_line_break(&mut self, forced_line_break: bool) {
|
||||||
self.current_line_segment
|
self.current_line_segment
|
||||||
.prepare_for_placement_on_empty_line(
|
.prepare_for_placement_on_empty_line(
|
||||||
&self.current_line,
|
&self.current_line,
|
||||||
self.inline_box_state_stack.len(),
|
self.inline_box_state_stack.len(),
|
||||||
);
|
);
|
||||||
self.finish_current_line_and_reset(false /* last_line */);
|
self.finish_current_line_and_reset(forced_line_break);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Process a soft wrap opportunity. This will either commit the current unbreakble
|
/// Process a soft wrap opportunity. This will either commit the current unbreakble
|
||||||
|
@ -1052,7 +1065,7 @@ impl<'a, 'b> InlineFormattingContextState<'a, 'b> {
|
||||||
};
|
};
|
||||||
|
|
||||||
if self.new_potential_line_size_causes_line_break(&potential_line_size) {
|
if self.new_potential_line_size_causes_line_break(&potential_line_size) {
|
||||||
self.process_line_break();
|
self.process_line_break(false /* forced_line_break */);
|
||||||
}
|
}
|
||||||
self.commit_current_segment_to_line();
|
self.commit_current_segment_to_line();
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,7 +111,7 @@ ${helpers.predefined_type(
|
||||||
"text-align-last",
|
"text-align-last",
|
||||||
"TextAlignLast",
|
"TextAlignLast",
|
||||||
"computed::text::TextAlignLast::Auto",
|
"computed::text::TextAlignLast::Auto",
|
||||||
engines="gecko",
|
engines="gecko servo",
|
||||||
animation_value_type="discrete",
|
animation_value_type="discrete",
|
||||||
spec="https://drafts.csswg.org/css-text/#propdef-text-align-last",
|
spec="https://drafts.csswg.org/css-text/#propdef-text-align-last",
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -14,9 +14,6 @@
|
||||||
[Property hyphens inherits]
|
[Property hyphens inherits]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Property text-align-last inherits]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Property hyphens has initial value manual]
|
[Property hyphens has initial value manual]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -29,9 +26,6 @@
|
||||||
[Property text-align-all inherits]
|
[Property text-align-all inherits]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Property text-align-last has initial value auto]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Property line-break has initial value auto]
|
[Property line-break has initial value auto]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -23,27 +23,5 @@
|
||||||
[Property text-align-last value 'left' computes to 'left']
|
[Property text-align-last value 'left' computes to 'left']
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Property text-align-last value 'end']
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Property text-align-last value 'center']
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Property text-align-last value 'auto']
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Property text-align-last value 'start']
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Property text-align-last value 'right']
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Property text-align-last value 'left']
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Property text-align-last value 'match-parent']
|
[Property text-align-last value 'match-parent']
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Property text-align-last value 'justify']
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,3 @@
|
||||||
[text-align-last-valid.html]
|
[text-align-last-valid.html]
|
||||||
[e.style['text-align-last'\] = "match-parent" should set the property value]
|
[e.style['text-align-last'\] = "match-parent" should set the property value]
|
||||||
expected: FAIL
|
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'\] = "auto" 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'\] = "justify" 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'\] = "start" should set the property value]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -1,67 +1,4 @@
|
||||||
[text-align-last-interpolation.html]
|
[text-align-last-interpolation.html]
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (-0.3) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (0) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (0.3) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (0.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (0.6) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (1) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (1.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (-0.3) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (0) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (0.3) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (0.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (0.6) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (1) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (1.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (-0.3) should be [auto\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (0) should be [auto\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (0.3) should be [auto\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (0.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (0.6) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (1) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (1.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Web Animations: property <text-align-last> from [auto\] to [start\] at (-0.3) should be [auto\]]
|
[Web Animations: property <text-align-last> from [auto\] to [start\] at (-0.3) should be [auto\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -83,69 +20,6 @@
|
||||||
[Web Animations: property <text-align-last> from [auto\] to [start\] at (1.5) should be [start\]]
|
[Web Animations: property <text-align-last> from [auto\] to [start\] at (1.5) should be [start\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (-0.3) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (0) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (0.3) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (0.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (0.6) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (1) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (1.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (-0.3) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (0) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (0.3) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (0.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (0.6) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (1) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (1.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (-0.3) should be [justify\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (0) should be [justify\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (0.3) should be [justify\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (0.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (0.6) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (1) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (1.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Web Animations: property <text-align-last> from [justify\] to [center\] at (-0.3) should be [justify\]]
|
[Web Animations: property <text-align-last> from [justify\] to [center\] at (-0.3) should be [justify\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -167,69 +41,6 @@
|
||||||
[Web Animations: property <text-align-last> from [justify\] to [center\] at (1.5) should be [center\]]
|
[Web Animations: property <text-align-last> from [justify\] to [center\] at (1.5) should be [center\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (-0.3) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (0) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (0.3) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (0.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (0.6) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (1) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (1.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (-0.3) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (0) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (0.3) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (0.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (0.6) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (1) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (1.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (-0.3) should be [left\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (0) should be [left\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (0.3) should be [left\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (0.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (0.6) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (1) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (1.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Web Animations: property <text-align-last> from [left\] to [right\] at (-0.3) should be [left\]]
|
[Web Animations: property <text-align-last> from [left\] to [right\] at (-0.3) should be [left\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[block-in-inline-align-last-001.html]
|
|
||||||
expected: FAIL
|
|
|
@ -29,12 +29,6 @@
|
||||||
[Property text-align-all inherits]
|
[Property text-align-all inherits]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Property text-align-last has initial value auto]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Property text-align-last inherits]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Property text-wrap has initial value wrap]
|
[Property text-wrap has initial value wrap]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,3 @@
|
||||||
[text-align-last-computed.html]
|
[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']
|
[Property text-align-last value 'match-parent']
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -1,24 +1,3 @@
|
||||||
[text-align-last-valid.html]
|
[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]
|
[e.style['text-align-last'\] = "match-parent" should set the property value]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-center-last-center.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-center-last-end.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-center-last-justify.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-center-last-start.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-end-last-center.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-end-last-end.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-end-last-justify.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-end-last-start.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-justify-last-center.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-justify-last-end.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-justify-last-justify.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-justify-last-start.html]
|
|
||||||
expected: FAIL
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[text-align-last-010.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
||||||
|
[text-align-last-011.html]
|
||||||
|
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-last-center.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-last-end.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,67 +1,4 @@
|
||||||
[text-align-last-interpolation.html]
|
[text-align-last-interpolation.html]
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (-0.3) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (0) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (0.3) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (0.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (0.6) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (1) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [auto\] to [start\] at (1.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (-0.3) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (0) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (0.3) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (0.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (0.6) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (1) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [auto\] to [start\] at (1.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (-0.3) should be [auto\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (0) should be [auto\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (0.3) should be [auto\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (0.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (0.6) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (1) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [auto\] to [start\] at (1.5) should be [start\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Web Animations: property <text-align-last> from [auto\] to [start\] at (-0.3) should be [auto\]]
|
[Web Animations: property <text-align-last> from [auto\] to [start\] at (-0.3) should be [auto\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -83,69 +20,6 @@
|
||||||
[Web Animations: property <text-align-last> from [auto\] to [start\] at (1.5) should be [start\]]
|
[Web Animations: property <text-align-last> from [auto\] to [start\] at (1.5) should be [start\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (-0.3) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (0) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (0.3) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (0.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (0.6) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (1) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [justify\] to [center\] at (1.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (-0.3) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (0) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (0.3) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (0.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (0.6) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (1) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [justify\] to [center\] at (1.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (-0.3) should be [justify\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (0) should be [justify\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (0.3) should be [justify\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (0.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (0.6) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (1) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [justify\] to [center\] at (1.5) should be [center\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Web Animations: property <text-align-last> from [justify\] to [center\] at (-0.3) should be [justify\]]
|
[Web Animations: property <text-align-last> from [justify\] to [center\] at (-0.3) should be [justify\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -167,69 +41,6 @@
|
||||||
[Web Animations: property <text-align-last> from [justify\] to [center\] at (1.5) should be [center\]]
|
[Web Animations: property <text-align-last> from [justify\] to [center\] at (1.5) should be [center\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (-0.3) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (0) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (0.3) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (0.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (0.6) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (1) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions: property <text-align-last> from [left\] to [right\] at (1.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (-0.3) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (0) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (0.3) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (0.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (0.6) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (1) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Transitions with transition: all: property <text-align-last> from [left\] to [right\] at (1.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (-0.3) should be [left\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (0) should be [left\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (0.3) should be [left\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (0.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (0.6) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (1) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CSS Animations: property <text-align-last> from [left\] to [right\] at (1.5) should be [right\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Web Animations: property <text-align-last> from [left\] to [right\] at (-0.3) should be [left\]]
|
[Web Animations: property <text-align-last> from [left\] to [right\] at (-0.3) should be [left\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-last-justify.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-last-simple.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-last-start.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-last-wins-001.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-start-last-center.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-start-last-end.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-start-last-justify.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-align-start-last-start.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[text-justify-inter-word-001.html]
|
|
||||||
expected: FAIL
|
|
Loading…
Add table
Add a link
Reference in a new issue