Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Adding cssui-standard test. #48

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 10, 2012
  1. @mattwkelly
This page is out of date. Refresh to see the latest.
View
4 tests/cssui-standard/config.yml
@@ -0,0 +1,4 @@
+---
+ r: 1
+ spec: "http://www.w3.org/TR/css3-ui/"
+ title: "CSS3 UI, Standard"
View
1  tests/cssui-standard/fixture.html
@@ -0,0 +1 @@
+<iframe id="cssui-standard" src="/tests/cssui-standard/iframe.html"></iframe>
View
3  tests/cssui-standard/iframe.html
@@ -0,0 +1,3 @@
+<script>
+location.hash = (new Date()).getTime();
+</script>
View
15 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
Something went wrong with that request. Please try again.