summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/367247-l-hidden.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/367247-l-hidden.html')
-rw-r--r--layout/reftests/bugs/367247-l-hidden.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/bugs/367247-l-hidden.html b/layout/reftests/bugs/367247-l-hidden.html
new file mode 100644
index 000000000..1d7a1b60b
--- /dev/null
+++ b/layout/reftests/bugs/367247-l-hidden.html
@@ -0,0 +1,28 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>Testcase, 'overflow' on elements with 'display:inline-block'</title>
+<style type="text/css">
+
+body > span {
+ display: inline-block;
+ vertical-align: text-bottom;
+ overflow: hidden;
+ width: 100px;
+ height: 100px;
+ border: thin solid;
+}
+
+body > span > span {
+ display: block;
+ background: blue;
+ width: 150px;
+ height: 150px;
+}
+
+</style>
+</head>
+<body>
+<span><span></span></span>
+</body>
+</html>