aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/css
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-09-02 19:21:09 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2013-09-06 03:40:49 +0200
commitbadcd1b6f301e6253405f17759c1270549a34e12 (patch)
tree85c41bdda0cfcfa7a12b3a4d5bb5022e6a06684d /test/data/css
parent9035cab8c8574404c9eaeb795d0d87f4df772d45 (diff)
downloadjquery-badcd1b6f301e6253405f17759c1270549a34e12.tar.gz
jquery-badcd1b6f301e6253405f17759c1270549a34e12.zip
Fix #10814. Fix #14084. Make support tests lazy and broken out to components.
Diffstat (limited to 'test/data/css')
-rw-r--r--test/data/css/cssWidthBeforeDocReady.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/data/css/cssWidthBeforeDocReady.html b/test/data/css/cssWidthBeforeDocReady.html
new file mode 100644
index 000000000..3bdd1b5ab
--- /dev/null
+++ b/test/data/css/cssWidthBeforeDocReady.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <style>
+ #test {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ width: 100px;
+ height: 100px;
+ padding: 10px;
+ }
+ </style>
+</head>
+<body>
+<div id="test"></div>
+<script src="../../jquery.js"></script>
+<script>
+ var testWidth = jQuery( "#test" ).css( 'width' );
+ jQuery(function() {
+ window.parent.iframeCallback( testWidth );
+ });
+</script>
+</body>
+</html>