Skip to content

Commit

Permalink
Bug 1564759 [wpt PR 17623] - [css-masking] Parsing mask-position, a=t…
Browse files Browse the repository at this point in the history
…estonly

Automatic update from web-platform-tests
[css-masking] Parsing mask-position (#17623)

mask-position accepts <position>#
https://drafts.fxtf.org/css-masking-1/#the-mask-position

3-valued positions are not accepted
w3c/csswg-drafts#2140
--

wpt-commits: 2831268f1ea8bf7fdb7b27109f2cb887bbae6b56
wpt-pr: 17623

UltraBlame original commit: 2f1f411688847eef0ad1ba01855022ba1b8b2ec0
  • Loading branch information
marco-c committed Oct 4, 2019
1 parent 4e73cb1 commit 9c9d1c7
Show file tree
Hide file tree
Showing 2 changed files with 844 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,366 @@
<
!
DOCTYPE
html
>
<
html
>
<
head
>
<
meta
charset
=
"
utf
-
8
"
>
<
title
>
CSS
Masking
Module
Level
1
:
parsing
mask
-
position
with
invalid
values
<
/
title
>
<
link
rel
=
"
help
"
href
=
"
https
:
/
/
www
.
w3
.
org
/
TR
/
css
-
masking
-
1
/
#
the
-
mask
-
position
"
>
<
meta
name
=
"
assert
"
content
=
"
mask
-
position
supports
only
the
'
<
position
>
#
'
grammar
.
"
>
<
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
(
"
mask
-
position
"
"
auto
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
1px
2px
3px
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
left
right
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
bottom
10
%
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
bottom
10
%
top
20
%
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
center
left
1px
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
center
top
2px
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
right
3
%
center
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
left
4px
top
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
right
top
5px
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
bottom
6
%
center
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
bottom
7
%
left
"
)
;
test_invalid_value
(
"
mask
-
position
"
"
bottom
right
8
%
"
)
;
<
/
script
>
<
/
body
>
<
/
html
>
Loading

0 comments on commit 9c9d1c7

Please sign in to comment.