From 6c5fd21b9b09b66f34f1882ffd1a24cc3eb44b34 Mon Sep 17 00:00:00 2001 From: Matt Kelly Date: Mon, 9 Apr 2012 17:06:03 -0700 Subject: [PATCH] Adding cssui test. --- tests/cssui/config.yml | 4 ++++ tests/cssui/test.js | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 tests/cssui/config.yml create mode 100644 tests/cssui/test.js diff --git a/tests/cssui/config.yml b/tests/cssui/config.yml new file mode 100644 index 0000000..f7f4ee5 --- /dev/null +++ b/tests/cssui/config.yml @@ -0,0 +1,4 @@ +--- + r: 0 + spec: "http://www.w3.org/TR/css3-ui/" + title: "CSS3 UI" diff --git a/tests/cssui/test.js b/tests/cssui/test.js new file mode 100644 index 0000000..723be9d --- /dev/null +++ b/tests/cssui/test.js @@ -0,0 +1,17 @@ +test("CSS UI text-overflow", function() { + var elem = document.createElement("div"); + + assert( H.test.cssProp( elem, "textOverflow", true ), "textOverflow" ); +}); + +test("CSS UI box-sizing", function() { + var elem = document.createElement("div"); + + assert( H.test.cssProp( elem, "boxSizing", true ), "boxSizing" ); +}); + +test("CSS UI Pointer Events", function() { + var elem = document.createElement("div"); + + assert( H.test.cssProp( elem, "pointerEvents", true ), "pointerEvents supported" ); +});