Commit e3622ad6 authored by Glenn Adams's avatar Glenn Adams

Continue populating level2 property support.

parent 62087314
......@@ -24,4 +24,5 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# specifications
SPECS = canvas2d css21 cssfontload cssom cssomview custom dom3events dom4 domps ecmascript51 encoding file fullscreen html5 selectors1 sse svg12tiny touchevents typedarray url webgl webmessage websocket webstorage webworkers xhr
#SPECS = canvas2d css21 cssfontload cssom cssomview custom dom3events dom4 domps ecmascript51 encoding file fullscreen html5 selectors1 sse svg12tiny touchevents typedarray url webgl webmessage websocket webstorage webworkers xhr
SPECS = css21
......@@ -24,5 +24,6 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# tools
TOOLS_L1 = fetch extract parse index generate
TOOLS_L2 = fetch generate
#TOOLS_L1 = fetch extract parse index generate
#TOOLS_L2 = fetch generate
TOOLS_L2 = generate
Wed, 10 Sep 2014 17:30:09 GMT
\ No newline at end of file
Wed, 10 Sep 2014 20:00:09 GMT
\ No newline at end of file
This diff is collapsed.
"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"
];
}
"use strict";
function getBackgroundColorValues() {
return [
"red",
[ "#F00", "rgb(255, 0, 0)" ],
[ "#FF0000", "rgb(255, 0, 0)" ],
"rgb(255, 0, 0)",
[ "rgb(100%, 0, 0)", "rgb(255, 0, 0)" ]
];
}
"use strict";
function getBackgroundImageValues() {
return [
"none",
"url(http://example.com/image.png)"
];
}
"use strict";
function getBackgroundPositionValues() {
return [
[ "0%", "0% 50%" ],
"0% 0%",
[ "1cm", "1cm 50%" ],
"1cm 2cm",
[ "left", "0% 50%" ],
[ "top", "50% 0%" ],
[ "bottom", "50% 100%" ],
[ "center", "50% 50%" ],
[ "right", "100% 50%" ]
];
}
Wed, 10 Sep 2014 17:32:29 GMT
\ No newline at end of file
Wed, 10 Sep 2014 20:02:30 GMT
\ No newline at end of file
Wed, 10 Sep 2014 17:45:03 GMT
\ No newline at end of file
Wed, 10 Sep 2014 20:08:51 GMT
\ No newline at end of file
......@@ -6,9 +6,8 @@
<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"}
{"name":"background","section":"14.2.1","valueType":"enum","values":["red","url(http://example.com/image.png)","repeat","scroll","0% 0%",["red url(http://example.com/image.png)","url(http://example.com/image.png) red"],["red repeat","repeat red"],["red scroll","scroll red"],["red 0% 0%","0% 0% red"],["red url(http://example.com/image.png) repeat","url(http://example.com/image.png) repeat red"],["red url(http://example.com/image.png) scroll","url(http://example.com/image.png) scroll red"],["red url(http://example.com/image.png) 0% 0%","url(http://example.com/image.png) 0% 0% red"],["red url(http://example.com/image.png) repeat scroll","url(http://example.com/image.png) repeat scroll red"],["red url(http://example.com/image.png) repeat 0% 0%","url(http://example.com/image.png) 0% 0% repeat red"],["red url(http://example.com/image.png) repeat scroll 0% 0%","url(http://example.com/image.png) 0% 0% repeat scroll red"],"repeat red","scroll red","0% 0% red",["repeat url(http://example.com/image.png) red","url(http://example.com/image.png) repeat red"],["scroll url(http://example.com/image.png) red","url(http://example.com/image.png) scroll red"],["0% 0% url(http://example.com/image.png) red","url(http://example.com/image.png) 0% 0% red"],["scroll repeat url(http://example.com/image.png) red","url(http://example.com/image.png) repeat scroll red"],["0% 0% repeat url(http://example.com/image.png) red","url(http://example.com/image.png) 0% 0% repeat red"],["0% 0% scroll repeat url(http://example.com/image.png) red","url(http://example.com/image.png) 0% 0% repeat scroll red"]],"initial":"transparent none repeat scroll 0% 0%","type":"property","nameNormalized":"Background"}
</script>
<h1>Test Property background Support</h1>
<div id='log'></div>
......
......@@ -6,9 +6,8 @@
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<script src='/tools/common/level2.js'></script>
<script src='./helpers/BackgroundColor.js'></script>
<script type='text/plain' id='propDef'>
{"name":"background-color","section":"14.2.1","initial":"transparent","type":"property","nameNormalized":"BackgroundColor"}
{"name":"background-color","section":"14.2.1","valueType":"enum","values":["red",["#F00","rgb(255, 0, 0)"],["#FF0000","rgb(255, 0, 0)"],"rgb(255, 0, 0)",["rgb(100%, 0, 0)","rgb(255, 0, 0)"],"transparent"],"initial":"transparent","type":"property","nameNormalized":"BackgroundColor"}
</script>
<h1>Test Property background-color Support</h1>
<div id='log'></div>
......
......@@ -6,9 +6,8 @@
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<script src='/tools/common/level2.js'></script>
<script src='./helpers/BackgroundImage.js'></script>
<script type='text/plain' id='propDef'>
{"name":"background-image","section":"14.2.1","initial":"none","type":"property","nameNormalized":"BackgroundImage"}
{"name":"background-image","section":"14.2.1","valueType":"enum","values":["none","url(http://example.com/image.png)"],"initial":"none","type":"property","nameNormalized":"BackgroundImage"}
</script>
<h1>Test Property background-image Support</h1>
<div id='log'></div>
......
......@@ -6,9 +6,8 @@
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<script src='/tools/common/level2.js'></script>
<script src='./helpers/BackgroundPosition.js'></script>
<script type='text/plain' id='propDef'>
{"name":"background-position","section":"14.2.1","initial":"0% 0%","type":"property","nameNormalized":"BackgroundPosition"}
{"name":"background-position","section":"14.2.1","valueType":"enum","values":[["0%","0% 50%"],"0% 0%",["1cm","1cm 50%"],"1cm 2cm",["left","0% 50%"],["top","50% 0%"],["bottom","50% 100%"],["center","50% 50%"],["right","100% 50%"]],"initial":"0% 0%","type":"property","nameNormalized":"BackgroundPosition"}
</script>
<h1>Test Property background-position Support</h1>
<div id='log'></div>
......
<!-- 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 border-bottom-color 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":"border-bottom-color","section":"8.5.2","valueType":"enum","values":["red",["#F00","rgb(255, 0, 0)"],["#FF0000","rgb(255, 0, 0)"],"rgb(255, 0, 0)",["rgb(100%, 0, 0)","rgb(255, 0, 0)"],"transparent"],"initial":"transparent","type":"property","nameNormalized":"BorderBottomColor"}
</script>
<h1>Test Property border-bottom-color Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-bottom-style 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":"border-bottom-style","section":"8.5.3","valueType":"enum","values":["hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","none"],"initial":"none","type":"property","nameNormalized":"BorderBottomStyle"}
</script>
<h1>Test Property border-bottom-style Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-bottom-width 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":"border-bottom-width","section":"8.5.1","valueType":"enum","values":["thin","medium","thick",["0","0px"],"1in","1cm","1mm","1pt","1pc","1px"],"initial":"medium","type":"property","nameNormalized":"BorderBottomWidth"}
</script>
<h1>Test Property border-bottom-width Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-color 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":"border-color","section":"8.5.2","valueType":"enum","values":["red","red green","red green blue","red green blue black",["#F00","rgb(255, 0, 0)"],["#F00 #0F0","rgb(255, 0, 0) rgb(0, 255, 0)"],["#F00 #0F0 #00F","rgb(255, 0, 0) rgb(0, 255, 0) rgb(0, 0, 255)"],["#F00 #0F0 #00F #FFF","rgb(255, 0, 0) rgb(0, 255, 0) rgb(0, 0, 255) rgb(255, 255, 255)"],"transparent"],"initial":"transparent","type":"property","nameNormalized":"BorderColor"}
</script>
<h1>Test Property border-color Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-left-color 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":"border-left-color","section":"8.5.2","valueType":"enum","values":["red",["#F00","rgb(255, 0, 0)"],["#FF0000","rgb(255, 0, 0)"],"rgb(255, 0, 0)",["rgb(100%, 0, 0)","rgb(255, 0, 0)"],"transparent"],"initial":"transparent","type":"property","nameNormalized":"BorderLeftColor"}
</script>
<h1>Test Property border-left-color Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-left-style 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":"border-left-style","section":"8.5.3","valueType":"enum","values":["hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","none"],"initial":"none","type":"property","nameNormalized":"BorderLeftStyle"}
</script>
<h1>Test Property border-left-style Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-left-width 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":"border-left-width","section":"8.5.1","valueType":"enum","values":["thin","medium","thick",["0","0px"],"1in","1cm","1mm","1pt","1pc","1px"],"initial":"medium","type":"property","nameNormalized":"BorderLeftWidth"}
</script>
<h1>Test Property border-left-width Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-right-color 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":"border-right-color","section":"8.5.2","valueType":"enum","values":["red",["#F00","rgb(255, 0, 0)"],["#FF0000","rgb(255, 0, 0)"],"rgb(255, 0, 0)",["rgb(100%, 0, 0)","rgb(255, 0, 0)"],"transparent"],"initial":"transparent","type":"property","nameNormalized":"BorderRightColor"}
</script>
<h1>Test Property border-right-color Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-right-style 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":"border-right-style","section":"8.5.3","valueType":"enum","values":["hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","none"],"initial":"none","type":"property","nameNormalized":"BorderRightStyle"}
</script>
<h1>Test Property border-right-style Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-right-width 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":"border-right-width","section":"8.5.1","valueType":"enum","values":["thin","medium","thick",["0","0px"],"1in","1cm","1mm","1pt","1pc","1px"],"initial":"medium","type":"property","nameNormalized":"BorderRightWidth"}
</script>
<h1>Test Property border-right-width Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-style 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":"border-style","section":"8.5.3","valueType":"enum","values":["dotted","dotted dashed","dotted dashed solid","dotted dashed solid double","none"],"initial":"none none none none","type":"property","nameNormalized":"BorderStyle"}
</script>
<h1>Test Property border-style Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-top-color 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":"border-top-color","section":"8.5.2","valueType":"enum","values":["red",["#F00","rgb(255, 0, 0)"],["#FF0000","rgb(255, 0, 0)"],"rgb(255, 0, 0)",["rgb(100%, 0, 0)","rgb(255, 0, 0)"],"transparent"],"initial":"transparent","type":"property","nameNormalized":"BorderTopColor"}
</script>
<h1>Test Property border-top-color Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-top-style 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":"border-top-style","section":"8.5.3","valueType":"enum","values":["hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","none"],"initial":"none","type":"property","nameNormalized":"BorderTopStyle"}
</script>
<h1>Test Property border-top-style Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-top-width 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":"border-top-width","section":"8.5.1","valueType":"enum","values":["thin","medium","thick",["0","0px"],"1in","1cm","1mm","1pt","1pc","1px"],"initial":"medium","type":"property","nameNormalized":"BorderTopWidth"}
</script>
<h1>Test Property border-top-width Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 border-width 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":"border-width","section":"8.5.1","valueType":"enum","values":[["0","0px"],"thin","thin medium","thin medium thick","thin medium thick thin","1in","1in 1cm","1in 1cm 1mm","1in 1cm 1mm 1pt"],"initial":"medium medium medium medium","type":"property","nameNormalized":"BorderWidth"}
</script>
<h1>Test Property border-width Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 margin 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":"margin","section":"8.3","valueType":"enum","values":[["0","0px"],"1px","1px 2px","1px 2px 3px","1px 2px 3px 4px","1%","1% 2%","1% 2% 3%","1% 2% 3% 4%","auto","auto 2% 3% 4%","auto auto 3% 4%","auto auto auto 4%",["auto auto auto auto","auto"]],"initial":"0 0 0 0","type":"property","nameNormalized":"Margin"}
</script>
<h1>Test Property margin Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 margin-bottom 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":"margin-bottom","section":"8.3","valueType":"enum","values":[["0","0px"],"1in","1cm","1mm","1pt","1pc","1px","1%","auto"],"initial":"0","type":"property","nameNormalized":"MarginBottom"}
</script>
<h1>Test Property margin-bottom Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 margin-left 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":"margin-left","section":"8.3","valueType":"enum","values":[["0","0px"],"1in","1cm","1mm","1pt","1pc","1px","1%","auto"],"initial":"0","type":"property","nameNormalized":"MarginLeft"}
</script>
<h1>Test Property margin-left Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 margin-right 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":"margin-right","section":"8.3","valueType":"enum","values":[["0","0px"],"1in","1cm","1mm","1pt","1pc","1px","1%","auto"],"initial":"0","type":"property","nameNormalized":"MarginRight"}
</script>
<h1>Test Property margin-right Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 margin-top 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":"margin-top","section":"8.3","valueType":"enum","values":[["0","0px"],"1in","1cm","1mm","1pt","1pc","1px","1%","auto"],"initial":"0","type":"property","nameNormalized":"MarginTop"}
</script>
<h1>Test Property margin-top Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 padding 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":"padding","section":"8.4","valueType":"enum","values":[["0","0px"],"1px","1px 2px","1px 2px 3px","1px 2px 3px 4px","1%","1% 2%","1% 2% 3%","1% 2% 3% 4%"],"initial":"0 0 0 0","type":"property","nameNormalized":"Padding"}
</script>
<h1>Test Property padding Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 padding-bottom 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":"padding-bottom","section":"8.4","valueType":"enum","values":[["0","0px"],"1in","1cm","1mm","1pt","1pc","1px","1%","auto"],"initial":"0","type":"property","nameNormalized":"PaddingBottom"}
</script>
<h1>Test Property padding-bottom Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 padding-left 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":"padding-left","section":"8.4","valueType":"enum","values":[["0","0px"],"1in","1cm","1mm","1pt","1pc","1px","1%","auto"],"initial":"0","type":"property","nameNormalized":"PaddingLeft"}
</script>
<h1>Test Property padding-left Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 padding-right 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":"padding-right","section":"8.4","valueType":"enum","values":[["0","0px"],"1in","1cm","1mm","1pt","1pc","1px","1%","auto"],"initial":"0","type":"property","nameNormalized":"PaddingRight"}
</script>
<h1>Test Property padding-right Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
<!-- 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 padding-top 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":"padding-top","section":"8.4","valueType":"enum","values":[["0","0px"],"1in","1cm","1mm","1pt","1pc","1px","1%"],"initial":"0","type":"property","nameNormalized":"PaddingTop"}
</script>
<h1>Test Property padding-top Support</h1>
<div id='log'></div>
<script>
level2('css21', JSON.parse(document.getElementById('propDef').textContent));
</script>
"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"
];
}
"use strict";
function getBackgroundColorValues() {
return [
"red",
[ "#F00", "rgb(255, 0, 0)" ],
[ "#FF0000", "rgb(255, 0, 0)" ],
"rgb(255, 0, 0)",
[ "rgb(100%, 0, 0)", "rgb(255, 0, 0)" ]
];
}
"use strict";
function getBackgroundImageValues() {
return [
"none",