Skip to content

Commit

Permalink
Bug 1558416 [wpt PR 17250] - CSS: Parsing tests for logical margin an…
Browse files Browse the repository at this point in the history
…d padding properties, a=testonly

Automatic update from web-platform-tests
CSS: Parsing tests for logical margin and padding properties

Web Platform Tests for parsing and serialization of
margin-block-start, margin-block-end,
margin-inline-start, margin-inline-end,
padding-block-start, padding-block-end,
padding-inline-start, padding-inline-end.
https://drafts.csswg.org/css-logical/#margin-properties
https://drafts.csswg.org/css-logical/#padding-properties

Change-Id: I900cbc622d9d4ab233fe59d5a6ba7078e904878f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1650693
Auto-Submit: Eric Willigers <ericwilligerschromium.org>
Commit-Queue: Rune Lillesveen <futharkchromium.org>
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Cr-Commit-Position: refs/heads/master{#667898}

--

wp5At-commits: 3436929175aa7f72d1372609b9a5060fc7e57459
wpt-pr: 17250

UltraBlame original commit: ad082c5ffc697848c7ea1bc6a6dcab5d0581cf2a
  • Loading branch information
marco-c committed Oct 4, 2019
1 parent 539a0fa commit ce842c1
Show file tree
Hide file tree
Showing 4 changed files with 1,644 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,336 @@
<
!
DOCTYPE
html
>
<
html
>
<
head
>
<
meta
charset
=
"
utf
-
8
"
>
<
title
>
CSS
Logical
Properties
and
Values
:
parsing
margin
-
block
and
margin
-
inline
with
invalid
values
<
/
title
>
<
link
rel
=
"
help
"
href
=
"
https
:
/
/
drafts
.
csswg
.
org
/
css
-
logical
/
#
propdef
-
margin
-
block
"
>
<
meta
name
=
"
assert
"
content
=
"
margin
-
block
margin
-
inline
support
only
the
grammar
'
<
'
margin
-
top
'
>
{
1
2
}
'
.
"
>
<
meta
name
=
"
assert
"
content
=
"
margin
-
block
margin
-
inline
longhands
support
only
the
grammar
'
<
'
margin
-
top
'
>
'
.
"
>
<
script
src
=
"
/
resources
/
testharness
.
js
"
>
<
/
script
>
<
script
src
=
"
/
resources
/
testharnessreport
.
js
"
>
<
/
script
>
<
script
src
=
"
/
css
/
support
/
parsing
-
testcommon
.
js
"
>
<
/
script
>
<
/
head
>
<
body
>
<
script
>
test_invalid_value
(
"
margin
-
block
-
start
"
"
none
"
)
;
test_invalid_value
(
"
margin
-
block
-
end
"
"
10
"
)
;
test_invalid_value
(
"
margin
-
inline
-
start
"
"
20
%
calc
(
10px
-
0
.
5em
)
"
)
;
test_invalid_value
(
"
margin
-
inline
-
end
"
"
10px
auto
"
)
;
test_invalid_value
(
"
margin
-
block
"
"
none
"
)
;
test_invalid_value
(
"
margin
-
block
"
"
20
%
calc
(
10px
-
0
.
5em
)
"
)
;
test_invalid_value
(
"
margin
-
inline
"
"
10px
auto
20px
"
)
;
<
/
script
>
<
/
body
>
<
/
html
>
Loading

0 comments on commit ce842c1

Please sign in to comment.