aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/testsuite.css
diff options
context:
space:
mode:
authorTimmy Willison <4timmywil@gmail.com>2018-11-11 17:34:43 -0500
committerTimmy Willison <4timmywil@gmail.com>2018-11-27 14:28:59 -0500
commit315199c156c5b822a857ca236bda123f01a2da37 (patch)
tree5b2a9efd150e508671b860b43b040c61c2d010f2 /test/data/testsuite.css
parent13d0be101f9441f32a2d8528f4de7667d0ffa44b (diff)
downloadjquery-315199c156c5b822a857ca236bda123f01a2da37.tar.gz
jquery-315199c156c5b822a857ca236bda123f01a2da37.zip
Dimensions: fall back to offsetWidth/Height for border-box in IE
- Use getClientRects() to explicitly detect hidden/disconnected elements Close gh-4223 Fixes gh-4102
Diffstat (limited to 'test/data/testsuite.css')
-rw-r--r--test/data/testsuite.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/data/testsuite.css b/test/data/testsuite.css
index f6225df30..b975e44df 100644
--- a/test/data/testsuite.css
+++ b/test/data/testsuite.css
@@ -142,3 +142,7 @@ section { background:#f0f; display:block; }
padding: 0;
margin: 0;
}
+
+.border-box, .border-box * {
+ box-sizing: border-box;
+}