mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
Fix origin/clip parsing behavior in mask and background shorthands
This commit is contained in:
parent
36222cf543
commit
1b35a3d9a8
4 changed files with 38 additions and 22 deletions
|
@ -106,8 +106,8 @@ fn mask_shorthand_should_parse_origin_and_clip_correctly() {
|
|||
let mut parser = Parser::new("padding-box");
|
||||
let result = mask::parse_value(&context, &mut parser).unwrap();
|
||||
|
||||
// TODO(#13466): We should fix origin/clip parsing behavior.
|
||||
assert_eq!(result.mask_origin.unwrap(), parse_longhand!(mask_origin, "padding-box"));
|
||||
assert_eq!(result.mask_clip.unwrap(), parse_longhand!(mask_clip, "padding-box"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[background-335.htm]
|
||||
type: testharness
|
||||
[background_specified_box_one_clip]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue