From 89fedda17f8a90e2d8e0770b26a150f1567f8a75 Mon Sep 17 00:00:00 2001 From: Matt Kelly Date: Mon, 9 Apr 2012 17:06:05 -0700 Subject: [PATCH] Adding cssui-standard test. --- tests/cssui-standard/config.yml | 4 ++++ tests/cssui-standard/fixture.html | 1 + tests/cssui-standard/iframe.html | 3 +++ tests/cssui-standard/test.js | 15 +++++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 tests/cssui-standard/config.yml create mode 100644 tests/cssui-standard/fixture.html create mode 100644 tests/cssui-standard/iframe.html create mode 100644 tests/cssui-standard/test.js 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