diff --git a/tests/cssui-standard/config.yml b/tests/cssui-standard/config.yml new file mode 100644 index 0000000..aeb7e9c --- /dev/null +++ b/tests/cssui-standard/config.yml @@ -0,0 +1,4 @@ +--- + r: 1 + spec: "http://www.w3.org/TR/css3-ui/" + title: "CSS3 UI, Standard" diff --git a/tests/cssui-standard/fixture.html b/tests/cssui-standard/fixture.html new file mode 100644 index 0000000..90c6caa --- /dev/null +++ b/tests/cssui-standard/fixture.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/cssui-standard/iframe.html b/tests/cssui-standard/iframe.html new file mode 100644 index 0000000..8fbe1ae --- /dev/null +++ b/tests/cssui-standard/iframe.html @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/tests/cssui-standard/test.js b/tests/cssui-standard/test.js new file mode 100644 index 0000000..1ea12ab --- /dev/null +++ b/tests/cssui-standard/test.js @@ -0,0 +1,15 @@ +test("CSS text-overflow, standard", function() { + var elem = document.createElement("div"); + + assert( H.test.cssProp( elem, "textOverflow" ), "textOverflow standard, supported" ); +}); + +test("CSS box-sizing, standard", function() { + + var elem = document.createElement("div"); + + assert( H.test.cssProp( elem, "boxSizing" ), "boxSizing standard, supported" ); + +}); + +// TODO: Add functional tests to determine that content-box, padding-box, and border-box work properly