mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Support text-indent in layout-2020
Existing WPT now passing: - _mozilla/css/text_indent_a.html - css/CSS2/css1/c71-fwd-parsing-002.xht - css/CSS2/css1/c71-fwd-parsing-004.xht - css/CSS2/floats-clear/floats-138.xht - css/CSS2/text/text-indent-007.xht - css/CSS2/text/text-indent-008.xht - css/CSS2/text/text-indent-010.xht - css/CSS2/text/text-indent-019.xht - css/CSS2/text/text-indent-020.xht - css/CSS2/text/text-indent-031.xht - css/CSS2/text/text-indent-032.xht - css/CSS2/text/text-indent-043.xht - css/CSS2/text/text-indent-044.xht - css/CSS2/text/text-indent-055.xht - css/CSS2/text/text-indent-056.xht - css/CSS2/text/text-indent-067.xht - css/CSS2/text/text-indent-068.xht - css/CSS2/text/text-indent-079.xht - css/CSS2/text/text-indent-080.xht - css/CSS2/text/text-indent-091.xht - css/CSS2/text/text-indent-092.xht - css/CSS2/text/text-indent-103.xht - css/CSS2/text/text-indent-104.xht - css/CSS2/text/text-indent-112.xht - css/CSS2/text/text-indent-113.xht - css/CSS2/text/text-indent-115.xht - css/CSS2/text/text-indent-applies-to-002.xht - css/CSS2/text/text-indent-applies-to-003.xht - css/CSS2/text/text-indent-applies-to-005.xht - css/CSS2/text/text-indent-applies-to-006.xht - css/CSS2/text/text-indent-applies-to-007.xht - css/CSS2/text/text-indent-applies-to-008.xht - css/CSS2/text/text-indent-applies-to-009.xht - css/CSS2/text/text-indent-applies-to-010.xht - css/CSS2/text/text-indent-applies-to-011.xht - css/CSS2/text/text-indent-applies-to-014.xht - css/CSS2/text/text-indent-applies-to-015.xht - css/CSS2/text/text-indent-inherited-001.xht - css/CSS2/text/text-indent-overflow-001.xht - css/CSS2/text/text-indent-overflow-002.xht - css/CSS2/text/text-indent-overflow-003.xht - css/CSS2/text/text-indent-overflow-004.xht - css/CSS2/text/text-indent-wrap-001.xht - css/css-text-decor/text-shadow/textindent.html - css/css-text/text-indent/text-indent-percentage-001.xht - css/css-text/text-indent/text-indent-percentage-002.html - css/css-text/text-indent/text-indent-percentage-003.html - css/css-text/text-indent/text-indent-percentage-004.html - css/css-values/minmax-length-percent-serialize.html - css/css-values/minmax-length-serialize.html Also improvements in: - _mozilla/mozilla/calc.html - css/css-text/animations/text-indent-interpolation.html - css/css-text/inheritance.html - css/css-text/parsing/text-indent-computed.html - css/css-text/parsing/text-indent-valid.html - css/css-transitions/properties-value-implicit-001.html - css/css-values/animations/calc-interpolation.html - css/css-values/minmax-percentage-serialize.html - css/css-values/viewport-units-css2-001.html - css/css-variables/variable-substitution-basic.html - css/cssom/serialize-values.html Existing WPT now failing, due to lack of direction, outside list markers, flex and grid: - css/CSS2/text/text-indent-rtl-001.xht - css/CSS2/text/text-indent-rtl-002.xht - css/css-pseudo/marker-content-023.html - css/css-text/text-indent/anonymous-flex-item-001.html - css/css-text/text-indent/anonymous-grid-item-001.html New WPT tests: - css/css-text/text-indent/text-indent-length-001.html - css/css-text/text-indent/text-indent-length-002.html This one fails in layout-2013.
This commit is contained in:
parent
e74b5a180c
commit
c842023741
75 changed files with 213 additions and 805 deletions
|
@ -63,6 +63,7 @@ impl BlockFormattingContext {
|
|||
let ifc = InlineFormattingContext {
|
||||
inline_level_boxes,
|
||||
text_decoration_line,
|
||||
has_first_formatted_line: true,
|
||||
};
|
||||
let contents = BlockContainer::InlineFormattingContext(ifc);
|
||||
let bfc = Self {
|
||||
|
@ -187,7 +188,10 @@ impl BlockContainer {
|
|||
context,
|
||||
info,
|
||||
block_level_boxes: Vec::new(),
|
||||
ongoing_inline_formatting_context: InlineFormattingContext::new(text_decoration_line),
|
||||
ongoing_inline_formatting_context: InlineFormattingContext::new(
|
||||
text_decoration_line,
|
||||
/* has_first_formatted_line = */ true,
|
||||
),
|
||||
ongoing_inline_boxes_stack: Vec::new(),
|
||||
anonymous_style: None,
|
||||
contains_floats: ContainsFloats::No,
|
||||
|
@ -690,6 +694,8 @@ where
|
|||
.is_empty()
|
||||
{
|
||||
// There should never be an empty inline formatting context.
|
||||
self.ongoing_inline_formatting_context
|
||||
.has_first_formatted_line = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,6 +35,9 @@ use webrender_api::FontInstanceKey;
|
|||
pub(crate) struct InlineFormattingContext {
|
||||
pub(super) inline_level_boxes: Vec<ArcRefCell<InlineLevelBox>>,
|
||||
pub(super) text_decoration_line: TextDecorationLine,
|
||||
// Whether this IFC contains the 1st formatted line of an element
|
||||
// https://www.w3.org/TR/css-pseudo-4/#first-formatted-line
|
||||
pub(super) has_first_formatted_line: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
|
@ -130,10 +133,14 @@ struct Lines {
|
|||
}
|
||||
|
||||
impl InlineFormattingContext {
|
||||
pub(super) fn new(text_decoration_line: TextDecorationLine) -> InlineFormattingContext {
|
||||
pub(super) fn new(
|
||||
text_decoration_line: TextDecorationLine,
|
||||
has_first_formatted_line: bool,
|
||||
) -> InlineFormattingContext {
|
||||
InlineFormattingContext {
|
||||
inline_level_boxes: Default::default(),
|
||||
text_decoration_line,
|
||||
has_first_formatted_line,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -273,7 +280,16 @@ impl InlineFormattingContext {
|
|||
fragments: Vec::new(),
|
||||
next_line_block_position: Length::zero(),
|
||||
},
|
||||
inline_position: Length::zero(),
|
||||
inline_position: if self.has_first_formatted_line {
|
||||
containing_block
|
||||
.style
|
||||
.get_inherited_text()
|
||||
.text_indent
|
||||
.to_used_value(containing_block.inline_size.into())
|
||||
.into()
|
||||
} else {
|
||||
Length::zero()
|
||||
},
|
||||
current_nesting_level: InlineNestingLevelState {
|
||||
remaining_boxes: InlineBoxChildIter::from_formatting_context(self),
|
||||
fragments_so_far: Vec::with_capacity(self.inline_level_boxes.len()),
|
||||
|
|
|
@ -65,7 +65,6 @@ ${helpers.predefined_type(
|
|||
"LengthPercentage",
|
||||
"computed::LengthPercentage::zero()",
|
||||
engines="gecko servo-2013 servo-2020",
|
||||
servo_2020_pref="layout.2020.unimplemented",
|
||||
animation_value_type="ComputedValue",
|
||||
spec="https://drafts.csswg.org/css-text/#propdef-text-indent",
|
||||
allow_quirks="Yes",
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[c71-fwd-parsing-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[c71-fwd-parsing-004.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-138.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-007.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-008.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-010.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-019.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-020.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-031.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-032.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-043.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-044.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-055.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-056.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-067.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-068.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-079.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-080.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-091.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-092.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-103.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-104.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-112.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-113.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-115.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-005.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-006.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-007.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-008.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-009.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-010.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-011.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-014.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-015.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-inherited-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-overflow-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-overflow-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-overflow-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-overflow-004.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[text-indent-rtl-001.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[text-indent-rtl-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-wrap-001.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[marker-content-023.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[textindent.html]
|
||||
expected: FAIL
|
|
@ -1,58 +1,4 @@
|
|||
[text-indent-interpolation.html]
|
||||
[CSS Transitions: property <text-indent> from neutral to [40px\] at (-0.3) should be [1px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from neutral to [40px\] at (0) should be [10px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from neutral to [40px\] at (0.3) should be [19px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from neutral to [40px\] at (0.6) should be [28px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from neutral to [40px\] at (1) should be [40px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from neutral to [40px\] at (1.5) should be [55px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (-0.3) should be [1px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (0) should be [10px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (0.3) should be [19px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (0.6) should be [28px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (1) should be [40px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (1.5) should be [55px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from neutral to [40px\] at (-0.3) should be [1px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from neutral to [40px\] at (0) should be [10px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from neutral to [40px\] at (0.3) should be [19px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from neutral to [40px\] at (0.6) should be [28px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from neutral to [40px\] at (1) should be [40px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from neutral to [40px\] at (1.5) should be [55px\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <text-indent> from neutral to [40px\] at (-0.3) should be [1px\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -71,60 +17,6 @@
|
|||
[Web Animations: property <text-indent> from neutral to [40px\] at (1.5) should be [55px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [initial\] to [20px\] at (-0.3) should be [-6px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [initial\] to [20px\] at (0) should be [0px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [initial\] to [20px\] at (0.3) should be [6px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [initial\] to [20px\] at (0.6) should be [12px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [initial\] to [20px\] at (1) should be [20px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [initial\] to [20px\] at (1.5) should be [30px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (-0.3) should be [-6px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (0) should be [0px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (0.3) should be [6px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (0.6) should be [12px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (1) should be [20px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (1.5) should be [30px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [initial\] to [20px\] at (-0.3) should be [-6px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [initial\] to [20px\] at (0) should be [0px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [initial\] to [20px\] at (0.3) should be [6px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [initial\] to [20px\] at (0.6) should be [12px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [initial\] to [20px\] at (1) should be [20px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [initial\] to [20px\] at (1.5) should be [30px\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <text-indent> from [initial\] to [20px\] at (-0.3) should be [-6px\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -143,60 +35,6 @@
|
|||
[Web Animations: property <text-indent> from [initial\] to [20px\] at (1.5) should be [30px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (-0.3) should be [85px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (0) should be [70px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (0.3) should be [55px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (0.6) should be [40px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (1) should be [20px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (1.5) should be [-5px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (-0.3) should be [85px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (0) should be [70px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (0.3) should be [55px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (0.6) should be [40px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (1) should be [20px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (1.5) should be [-5px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [inherit\] to [20px\] at (-0.3) should be [85px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [inherit\] to [20px\] at (0) should be [70px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [inherit\] to [20px\] at (0.3) should be [55px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [inherit\] to [20px\] at (0.6) should be [40px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [inherit\] to [20px\] at (1) should be [20px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [inherit\] to [20px\] at (1.5) should be [-5px\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <text-indent> from [inherit\] to [20px\] at (-0.3) should be [85px\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -215,60 +53,6 @@
|
|||
[Web Animations: property <text-indent> from [inherit\] to [20px\] at (1.5) should be [-5px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [unset\] to [20px\] at (-0.3) should be [85px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [unset\] to [20px\] at (0) should be [70px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [unset\] to [20px\] at (0.3) should be [55px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [unset\] to [20px\] at (0.6) should be [40px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [unset\] to [20px\] at (1) should be [20px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [unset\] to [20px\] at (1.5) should be [-5px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (-0.3) should be [85px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (0) should be [70px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (0.3) should be [55px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (0.6) should be [40px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (1) should be [20px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (1.5) should be [-5px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [unset\] to [20px\] at (-0.3) should be [85px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [unset\] to [20px\] at (0) should be [70px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [unset\] to [20px\] at (0.3) should be [55px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [unset\] to [20px\] at (0.6) should be [40px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [unset\] to [20px\] at (1) should be [20px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [unset\] to [20px\] at (1.5) should be [-5px\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <text-indent> from [unset\] to [20px\] at (-0.3) should be [85px\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -287,60 +71,6 @@
|
|||
[Web Animations: property <text-indent> from [unset\] to [20px\] at (1.5) should be [-5px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0px\] to [50px\] at (-0.3) should be [-15px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0px\] to [50px\] at (0) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0px\] to [50px\] at (0.3) should be [15px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0px\] to [50px\] at (0.6) should be [30px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0px\] to [50px\] at (1) should be [50px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0px\] to [50px\] at (1.5) should be [75px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (-0.3) should be [-15px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (0) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (0.3) should be [15px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (0.6) should be [30px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (1) should be [50px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (1.5) should be [75px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0px\] to [50px\] at (-0.3) should be [-15px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0px\] to [50px\] at (0) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0px\] to [50px\] at (0.3) should be [15px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0px\] to [50px\] at (0.6) should be [30px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0px\] to [50px\] at (1) should be [50px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0px\] to [50px\] at (1.5) should be [75px\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <text-indent> from [0px\] to [50px\] at (-0.3) should be [-15px\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -50,12 +50,6 @@
|
|||
[Property overflow-wrap inherits]
|
||||
expected: FAIL
|
||||
|
||||
[Property text-indent has initial value 0px]
|
||||
expected: FAIL
|
||||
|
||||
[Property text-indent inherits]
|
||||
expected: FAIL
|
||||
|
||||
[Property text-justify has initial value auto]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,22 +1,4 @@
|
|||
[text-indent-computed.html]
|
||||
[Property text-indent value '10px']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-indent value '20%']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-indent value 'calc(50% + 60px)']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-indent value '-30px']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-indent value '-40%']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-indent value 'calc(10px - 0.5em)']
|
||||
expected: FAIL
|
||||
|
||||
[Property text-indent value '10px hanging']
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,22 +1,4 @@
|
|||
[text-indent-valid.html]
|
||||
[e.style['text-indent'\] = "10px" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-indent'\] = "20%" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-indent'\] = "calc(2em + 3ex)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-indent'\] = "calc(50% + 60px)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-indent'\] = "-30px" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-indent'\] = "-40%" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['text-indent'\] = "10px hanging" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[anonymous-flex-item-001.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[anonymous-grid-item-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-percentage-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-percentage-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-percentage-003.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-percentage-004.html]
|
||||
expected: FAIL
|
|
@ -8,9 +8,6 @@
|
|||
[text-indent length-em(em) / values]
|
||||
expected: FAIL
|
||||
|
||||
[text-indent length-em(em) / events]
|
||||
expected: FAIL
|
||||
|
||||
[outline-offset length-em(em) / values]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -307,192 +307,3 @@
|
|||
|
||||
[Web Animations: property <left> from [0px\] to [calc(infinity * 1px)\] at (1.25) should be [NaNpx\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (-0.25) should be [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0) should be [calc(50% - 25px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.25) should be [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.5) should be [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.75) should be [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1) should be [calc(100% - 10px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1.25) should be [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (-0.25) should be [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0) should be [calc(50% - 25px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.25) should be [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.5) should be [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.75) should be [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1) should be [calc(100% - 10px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1.25) should be [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (-0.25) should be [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0) should be [calc(50% - 25px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.25) should be [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.5) should be [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.75) should be [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1) should be [calc(100% - 10px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1.25) should be [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0em\] to [100px\] at (-0.25) should be [-25px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0em\] to [100px\] at (0) should be [0em\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0em\] to [100px\] at (0.25) should be [25px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0em\] to [100px\] at (0.5) should be [50px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0em\] to [100px\] at (0.75) should be [75px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0em\] to [100px\] at (1) should be [100px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0em\] to [100px\] at (1.25) should be [125px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (-0.25) should be [-25px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (0) should be [0em\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (0.25) should be [25px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (0.5) should be [50px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (0.75) should be [75px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (1) should be [100px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (1.25) should be [125px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0em\] to [100px\] at (-0.25) should be [-25px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0em\] to [100px\] at (0) should be [0em\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0em\] to [100px\] at (0.25) should be [25px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0em\] to [100px\] at (0.5) should be [50px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0em\] to [100px\] at (0.75) should be [75px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0em\] to [100px\] at (1) should be [100px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0em\] to [100px\] at (1.25) should be [125px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0%\] to [100px\] at (-0.25) should be [calc(0% + -25px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0%\] to [100px\] at (0) should be [0%\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0%\] to [100px\] at (0.25) should be [calc(0% + 25px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0%\] to [100px\] at (0.5) should be [calc(0% + 50px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0%\] to [100px\] at (0.75) should be [calc(0% + 75px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0%\] to [100px\] at (1) should be [calc(0% + 100px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <text-indent> from [0%\] to [100px\] at (1.25) should be [calc(0% + 125px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (-0.25) should be [calc(0% + -25px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (0) should be [0%\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (0.25) should be [calc(0% + 25px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (0.5) should be [calc(0% + 50px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (0.75) should be [calc(0% + 75px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (1) should be [calc(0% + 100px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (1.25) should be [calc(0% + 125px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0%\] to [100px\] at (-0.25) should be [calc(0% + -25px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0%\] to [100px\] at (0) should be [0%\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0%\] to [100px\] at (0.25) should be [calc(0% + 25px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0%\] to [100px\] at (0.5) should be [calc(0% + 50px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0%\] to [100px\] at (0.75) should be [calc(0% + 75px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0%\] to [100px\] at (1) should be [calc(0% + 100px)\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <text-indent> from [0%\] to [100px\] at (1.25) should be [calc(0% + 125px)\]]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,84 +0,0 @@
|
|||
[minmax-length-percent-serialize.html]
|
||||
['min(1px)' as a specified value should serialize as 'calc(1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1px)' as a computed value should serialize as '1px'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1px)' as a specified value should serialize as 'calc(1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1px)' as a computed value should serialize as '1px'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1% + 1px)' as a specified value should serialize as 'calc(1% + 1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1% + 1px)' as a computed value should serialize as 'calc(1% + 1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1px + 1%)' as a specified value should serialize as 'calc(1% + 1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1px + 1%)' as a computed value should serialize as 'calc(1% + 1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1px + 1%)' as a specified value should serialize as 'calc(1% + 1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1px + 1%)' as a computed value should serialize as 'calc(1% + 1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1px, 2px)' as a specified value should serialize as 'calc(1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1px, 2px)' as a computed value should serialize as '1px'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(20px, 10%)' as a computed value should serialize as 'min(20px, 10%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1em, 10%)' as a computed value should serialize as 'min(16px, 10%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(10%, 20px)' as a computed value should serialize as 'min(10%, 20px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(10%, 1em)' as a computed value should serialize as 'min(10%, 16px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(20px, 10%)' as a computed value should serialize as 'max(20px, 10%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1em, 10%)' as a computed value should serialize as 'max(16px, 10%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(10%, 20px)' as a computed value should serialize as 'max(10%, 20px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(10%, 1em)' as a computed value should serialize as 'max(10%, 16px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(10% + 30px, 5em + 5%)' as a specified value should serialize as 'min(10% + 30px, 5% + 5em)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(10% + 30px, 5em + 5%)' as a computed value should serialize as 'min(10% + 30px, 5% + 80px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(10% + 30px, 5em + 5%)' as a specified value should serialize as 'max(10% + 30px, 5% + 5em)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(10% + 30px, 5em + 5%)' as a computed value should serialize as 'max(10% + 30px, 5% + 80px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['calc(min(10% + 1px) + max(1em + 10%) + min(10% + 20px))' as a specified value should serialize as 'calc(30% + 1em + 21px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['calc(min(10% + 1px) + max(1em + 10%) + min(10% + 20px))' as a computed value should serialize as 'calc(30% + 37px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['calc(1em + max(10% + 20px) + 5% + min(1em + 10%) + 10px)' as a specified value should serialize as 'calc(25% + 2em + 30px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['calc(1em + max(10% + 20px) + 5% + min(1em + 10%) + 10px)' as a computed value should serialize as 'calc(25% + 62px)'.]
|
||||
expected: FAIL
|
|
@ -1,63 +0,0 @@
|
|||
[minmax-length-serialize.html]
|
||||
['min(1px)' as a specified value should serialize as 'calc(1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1px)' as a computed value should serialize as '1px'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1in)' as a specified value should serialize as 'calc(96px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1in)' as a computed value should serialize as '96px'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1px)' as a specified value should serialize as 'calc(1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1px)' as a computed value should serialize as '1px'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1in)' as a specified value should serialize as 'calc(96px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1in)' as a computed value should serialize as '96px'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1PX)' as a specified value should serialize as 'calc(1px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1PX)' as a computed value should serialize as '1px'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(50px, 1in + 1px)' as a specified value should serialize as 'calc(50px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(50px, 1in + 1px)' as a computed value should serialize as '50px'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(50px, 1in + 1px)' as a specified value should serialize as 'calc(97px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(50px, 1in + 1px)' as a computed value should serialize as '97px'.]
|
||||
expected: FAIL
|
||||
|
||||
['calc(1px + min(1in, 100px))' as a specified value should serialize as 'calc(97px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['calc(1px + min(1in, 100px))' as a computed value should serialize as '97px'.]
|
||||
expected: FAIL
|
||||
|
||||
['calc(1px + max(1in, 100px))' as a specified value should serialize as 'calc(101px)'.]
|
||||
expected: FAIL
|
||||
|
||||
['calc(1px + max(1in, 100px))' as a computed value should serialize as '101px'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1px, 1em)' as a computed value should serialize as '1px'.]
|
||||
expected: FAIL
|
||||
|
||||
['calc(min(1px, 1in) + max(100px + 1em, 10px + 1in) + 1px)' as a specified value should serialize as 'calc(2px + max(1em + 100px, 106px))'.]
|
||||
expected: FAIL
|
||||
|
||||
['calc(min(1px, 1in) + max(100px + 1em, 10px + 1in) + 1px)' as a computed value should serialize as '118px'.]
|
||||
expected: FAIL
|
|
@ -1,13 +1,25 @@
|
|||
[minmax-percentage-serialize.html]
|
||||
['min(1%, 2%, 3%)' as a specified value should serialize as 'min(1%, 2%, 3%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1%, 2%, 3%)' as a computed value should serialize as 'min(1%, 2%, 3%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(3%, 2%, 1%)' as a specified value should serialize as 'min(3%, 2%, 1%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(3%, 2%, 1%)' as a computed value should serialize as 'min(3%, 2%, 1%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1%, 2%, 3%)' as a specified value should serialize as 'max(1%, 2%, 3%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1%, 2%, 3%)' as a computed value should serialize as 'max(1%, 2%, 3%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(3%, 2%, 1%)' as a specified value should serialize as 'max(3%, 2%, 1%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(3%, 2%, 1%)' as a computed value should serialize as 'max(3%, 2%, 1%)'.]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -22,15 +34,3 @@
|
|||
|
||||
['calc(min(1%, 2%) + max(3%, 4%) + 10%)' as a computed value should serialize as 'calc(10% + min(1%, 2%) + max(3%, 4%))'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1%)' as a specified value should serialize as 'calc(1%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['min(1%)' as a computed value should serialize as '1%'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1%)' as a specified value should serialize as 'calc(1%)'.]
|
||||
expected: FAIL
|
||||
|
||||
['max(1%)' as a computed value should serialize as '1%'.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -8,12 +8,6 @@
|
|||
[vw length applied to top]
|
||||
expected: FAIL
|
||||
|
||||
[vw length applied to text-indent]
|
||||
expected: FAIL
|
||||
|
||||
[vw length applied to text-indent: getComputedStyle returns a non-zero px-based value]
|
||||
expected: FAIL
|
||||
|
||||
[vw length applied to vertical-align]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -77,9 +71,6 @@
|
|||
[vh length applied to text-indent]
|
||||
expected: FAIL
|
||||
|
||||
[vh length applied to text-indent: getComputedStyle returns a non-zero px-based value]
|
||||
expected: FAIL
|
||||
|
||||
[vh length applied to vertical-align]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -146,9 +137,6 @@
|
|||
[vmin length applied to text-indent]
|
||||
expected: FAIL
|
||||
|
||||
[vmin length applied to text-indent: getComputedStyle returns a non-zero px-based value]
|
||||
expected: FAIL
|
||||
|
||||
[vmin length applied to vertical-align]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -167,12 +155,6 @@
|
|||
[vmax length applied to top]
|
||||
expected: FAIL
|
||||
|
||||
[vmax length applied to text-indent]
|
||||
expected: FAIL
|
||||
|
||||
[vmax length applied to text-indent: getComputedStyle returns a non-zero px-based value]
|
||||
expected: FAIL
|
||||
|
||||
[vmax length applied to vertical-align]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
[You can't build up a single token where part of it is provided by a variable]
|
||||
expected: FAIL
|
||||
|
||||
[You can't build up a single token where part of it is provided by a variable (percentages)]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple variable references in a single property]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -350,24 +350,6 @@
|
|||
[text-align: justify]
|
||||
expected: FAIL
|
||||
|
||||
[text-indent: 0px]
|
||||
expected: FAIL
|
||||
|
||||
[text-indent: 1px]
|
||||
expected: FAIL
|
||||
|
||||
[text-indent: .1em]
|
||||
expected: FAIL
|
||||
|
||||
[text-indent: 5%]
|
||||
expected: FAIL
|
||||
|
||||
[text-indent: .5%]
|
||||
expected: FAIL
|
||||
|
||||
[text-indent: inherit]
|
||||
expected: FAIL
|
||||
|
||||
[text-transform: capitalize]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -240068,6 +240068,32 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"text-indent-length-001.html": [
|
||||
"49fe68733a01543a82299ca407d21d70aec4f80d",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-text/text-indent/reference/text-indent-length-001-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"text-indent-length-002.html": [
|
||||
"efb9d7e3d4db1e945c5a78f0bf8718b75a914f40",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-text/text-indent/reference/text-indent-length-002-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"text-indent-percentage-001.xht": [
|
||||
"6da26308b266e6d1574d78238f9d12cf5a404b25",
|
||||
[
|
||||
|
@ -397067,6 +397093,14 @@
|
|||
"3357d7d8f5fb766b613b092839f331f3654053b0",
|
||||
[]
|
||||
],
|
||||
"text-indent-length-001-ref.html": [
|
||||
"3d3df4e031bc4f866ea37df80303c5d9d0551a19",
|
||||
[]
|
||||
],
|
||||
"text-indent-length-002-ref.html": [
|
||||
"9f8158a91201d9c98d2d4f20b6faadeacfe976e4",
|
||||
[]
|
||||
],
|
||||
"text-indent-percentage-001-ref.xht": [
|
||||
"5b065d1db7ac1e399668e8588727be09922bf62b",
|
||||
[]
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[text-indent-length-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text_indent_a.html]
|
||||
expected: FAIL
|
|
@ -8,9 +8,6 @@
|
|||
[calc for outline-width]
|
||||
expected: FAIL
|
||||
|
||||
[calc for text-indent]
|
||||
expected: FAIL
|
||||
|
||||
[calc for counter-increment]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test reference</title>
|
||||
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
pre {
|
||||
font: 10px/1 Ahem;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<pre>
|
||||
XX XXX
|
||||
XX X
|
||||
XXX
|
||||
|
||||
XX XXX
|
||||
XX X
|
||||
XXX
|
||||
|
||||
XX XXX
|
||||
XX X
|
||||
XXX
|
||||
|
||||
XX
|
||||
XXX XX
|
||||
X XXX
|
||||
|
||||
XX
|
||||
XXX XX
|
||||
X XXX
|
||||
|
||||
XX
|
||||
XXX XX
|
||||
X XXX
|
||||
</div>
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test reference</title>
|
||||
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
pre {
|
||||
font: 10px/1 Ahem;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<pre>
|
||||
X
|
||||
X
|
||||
|
||||
X
|
||||
X
|
||||
|
||||
X
|
||||
X
|
||||
X
|
||||
|
||||
X
|
||||
X
|
||||
X
|
||||
X
|
||||
X
|
||||
|
||||
X
|
||||
X
|
||||
X
|
||||
X
|
||||
X
|
||||
</div>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-indent length</title>
|
||||
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property">
|
||||
<link rel="match" href="reference/text-indent-length-001-ref.html">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
article {
|
||||
font: 10px/1 Ahem;
|
||||
width: 60px;
|
||||
margin-left: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
<article style="text-indent: -20px">XX XXX XX X XXX</article>
|
||||
<article style="text-indent: -10px">XX XXX XX X XXX</article>
|
||||
<article style="text-indent: 0px">XX XXX XX X XXX</article>
|
||||
<article style="text-indent: 10px">XX XXX XX X XXX</article>
|
||||
<article style="text-indent: 30px">XX XXX XX X XXX</article>
|
||||
<article style="text-indent: 60px">XX XXX XX X XXX</article>
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-indent length</title>
|
||||
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property">
|
||||
<link rel="match" href="reference/text-indent-length-002-ref.html">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
article {
|
||||
font: 10px/1 Ahem;
|
||||
margin-bottom: 10px;
|
||||
text-indent: 10px;
|
||||
}
|
||||
</style>
|
||||
<article>
|
||||
X<br>X
|
||||
</article>
|
||||
<article>
|
||||
X<span style="white-space:pre"> </span>X
|
||||
</article>
|
||||
<article>
|
||||
<div>X</div>
|
||||
<div>X</div>
|
||||
<div>X</div>
|
||||
</article>
|
||||
<article>
|
||||
<div>X</div>
|
||||
X
|
||||
<div>X</div>
|
||||
X
|
||||
<div>X</div>
|
||||
</article>
|
||||
<article>
|
||||
X
|
||||
<div>X</div>
|
||||
X
|
||||
<div>X</div>
|
||||
X
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue