Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DLNA-RUI
cvp2ts
Commits
620b8000
Commit
620b8000
authored
Sep 10, 2014
by
Glenn Adams
Browse files
Continue populating level2 property support.
parent
7328f7e1
Changes
8
Hide whitespace changes
Inline
Side-by-side
specs/canvas2d/canvas2d.html.lm
View file @
620b8000
Wed, 10 Sep 2014 15:50:09 GMT
\ No newline at end of file
Wed, 10 Sep 2014 17:30:09 GMT
\ No newline at end of file
specs/css21/css21.config.json
View file @
620b8000
...
...
@@ -9,6 +9,7 @@
"dontExtract"
:
true
,
"dontExtractReason"
:
"no IDL"
,
"helpers"
:
[
"Background"
,
"BackgroundColor"
,
"BackgroundImage"
,
"BackgroundPosition"
...
...
@@ -35,6 +36,18 @@
"name"
:
"background-position"
,
"section"
:
"14.2.1"
,
"initial"
:
"0% 0%"
},
{
"name"
:
"background-repeat"
,
"section"
:
"14.2.1"
,
"valueType"
:
"enum"
,
"values"
:
[
"repeat"
,
"repeat-x"
,
"repeat-y"
,
"no-repeat"
],
"initial"
:
"repeat"
},
{
"name"
:
"background"
,
"section"
:
"14.2.1"
,
"initial"
:
"transparent none repeat scroll 0% 0%"
}
]
}
specs/css21/helpers/Background.js
0 → 100644
View file @
620b8000
"
use strict
"
;
function
getBackgroundValues
()
{
return
[
"
red
"
,
"
url(http://example.com/image.png)
"
"
repeat
"
,
"
scroll
"
,
"
0% 0%
"
,
"
red url(http://example.com/image.png)
"
,
"
red repeat
"
,
"
red scroll
"
,
"
red 0% 0%
"
,
"
red url(http://example.com/image.png) repeat
"
,
"
red url(http://example.com/image.png) scroll
"
,
"
red url(http://example.com/image.png) 0% 0%
"
,
"
red url(http://example.com/image.png) repeat scroll
"
,
"
red url(http://example.com/image.png) repeat 0% 0%
"
,
"
red url(http://example.com/image.png) repeat scroll 0% 0%
"
,
"
red url(http://example.com/image.png)
"
,
"
repeat red
"
,
"
scroll red
"
,
"
0% 0% red
"
,
"
repeat url(http://example.com/image.png) red
"
,
"
scroll url(http://example.com/image.png) red
"
,
"
0% 0% url(http://example.com/image.png) red
"
,
"
scroll repeat url(http://example.com/image.png) red
"
,
"
0% 0% repeat url(http://example.com/image.png) red
"
,
"
0% 0% scroll repeat url(http://example.com/image.png) red
"
];
}
specs/html5/html5.html.lm
View file @
620b8000
Wed, 10 Sep 2014 15:52:31 GMT
\ No newline at end of file
Wed, 10 Sep 2014 17:32:29 GMT
\ No newline at end of file
specs/xhr/xhr.html.lm
View file @
620b8000
Wed, 10 Sep 2014 16:05:50 GMT
\ No newline at end of file
Wed, 10 Sep 2014 17:45:03 GMT
\ No newline at end of file
tests/css21/css21-property-Background.html
0 → 100644
View file @
620b8000
<!-- Copyright (C) 2014, Cable Television Laboratories, Inc. & Skynav, Inc. -->
<!-- DO NOT EDIT! This test was generated by $(CVP2TS)/tools/level2/generate/generate.js. -->
<!doctype html>
<meta
charset=
'utf-8'
>
<title>
Property background Tests
</title>
<script
src=
'/resources/testharness.js'
></script>
<script
src=
'/resources/testharnessreport.js'
></script>
<script
src=
'/tools/common/level2.js'
></script>
<script
src=
'./helpers/Background.js'
></script>
<script
type=
'text/plain'
id=
'propDef'
>
{
"
name
"
:
"
background
"
,
"
section
"
:
"
14.2.1
"
,
"
initial
"
:
"
transparent none repeat scroll 0% 0%
"
,
"
type
"
:
"
property
"
,
"
nameNormalized
"
:
"
Background
"
}
</script>
<h1>
Test Property background Support
</h1>
<div
id=
'log'
></div>
<script>
level2
(
'
css21
'
,
JSON
.
parse
(
document
.
getElementById
(
'
propDef
'
).
textContent
));
</script>
tests/css21/css21-property-BackgroundRepeat.html
0 → 100644
View file @
620b8000
<!-- Copyright (C) 2014, Cable Television Laboratories, Inc. & Skynav, Inc. -->
<!-- DO NOT EDIT! This test was generated by $(CVP2TS)/tools/level2/generate/generate.js. -->
<!doctype html>
<meta
charset=
'utf-8'
>
<title>
Property background-repeat Tests
</title>
<script
src=
'/resources/testharness.js'
></script>
<script
src=
'/resources/testharnessreport.js'
></script>
<script
src=
'/tools/common/level2.js'
></script>
<script
type=
'text/plain'
id=
'propDef'
>
{
"
name
"
:
"
background-repeat
"
,
"
section
"
:
"
14.2.1
"
,
"
valueType
"
:
"
enum
"
,
"
values
"
:[
"
repeat
"
,
"
repeat-x
"
,
"
repeat-y
"
,
"
no-repeat
"
],
"
initial
"
:
"
repeat
"
,
"
type
"
:
"
property
"
,
"
nameNormalized
"
:
"
BackgroundRepeat
"
}
</script>
<h1>
Test Property background-repeat Support
</h1>
<div
id=
'log'
></div>
<script>
level2
(
'
css21
'
,
JSON
.
parse
(
document
.
getElementById
(
'
propDef
'
).
textContent
));
</script>
tests/css21/helpers/Background.js
0 → 100644
View file @
620b8000
"
use strict
"
;
function
getBackgroundValues
()
{
return
[
"
red
"
,
"
url(http://example.com/image.png)
"
"
repeat
"
,
"
scroll
"
,
"
0% 0%
"
,
"
red url(http://example.com/image.png)
"
,
"
red repeat
"
,
"
red scroll
"
,
"
red 0% 0%
"
,
"
red url(http://example.com/image.png) repeat
"
,
"
red url(http://example.com/image.png) scroll
"
,
"
red url(http://example.com/image.png) 0% 0%
"
,
"
red url(http://example.com/image.png) repeat scroll
"
,
"
red url(http://example.com/image.png) repeat 0% 0%
"
,
"
red url(http://example.com/image.png) repeat scroll 0% 0%
"
,
"
red url(http://example.com/image.png)
"
,
"
repeat red
"
,
"
scroll red
"
,
"
0% 0% red
"
,
"
repeat url(http://example.com/image.png) red
"
,
"
scroll url(http://example.com/image.png) red
"
,
"
0% 0% url(http://example.com/image.png) red
"
,
"
scroll repeat url(http://example.com/image.png) red
"
,
"
0% 0% repeat url(http://example.com/image.png) red
"
,
"
0% 0% scroll repeat url(http://example.com/image.png) red
"
];
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment