-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1558416 [wpt PR 17250] - CSS: Parsing tests for logical margin an…
…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
Showing
4 changed files
with
1,644 additions
and
0 deletions.
There are no files selected for viewing
336 changes: 336 additions & 0 deletions
336
testing/web-platform/tests/css/css-logical/parsing/margin-block-inline-invalid.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
> |
Oops, something went wrong.