summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/829958.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/bugs/829958.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/bugs/829958.html')
-rw-r--r--layout/reftests/bugs/829958.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/layout/reftests/bugs/829958.html b/layout/reftests/bugs/829958.html
new file mode 100644
index 000000000..e747c8bbe
--- /dev/null
+++ b/layout/reftests/bugs/829958.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<!--
+ Test that the intrinsic width is properly calculated for images with
+ percent height with a percent height parent when their container has
+ overflow not visible.
+-->
+<style>
+.container{
+ overflow: hidden;
+ white-space: nowrap;
+ list-style: none;
+ height: 180px;
+ margin: 0;
+ padding: 0;
+}
+
+.container div{
+ display: inline-block;
+ height: 100%;
+ background: #f00;
+}
+
+.container img{ height: 100%; }
+</style>
+<body>
+ <div class='container'>
+ <div><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAEsCAMAAADaaRXwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2Vo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