mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1351924 - Add reftests for correctness bug fixed by this bug. r=dholbert
Co-authored-by: L. David Baron <dbaron@dbaron.org> Co-authored-by: Chris Pearce <cpearce@mozilla.com> Differential Revision: https://phabricator.services.mozilla.com/D37609 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
8029f7b024
commit
e91086dae1
15
layout/reftests/bugs/1351924-1-ref.html
Normal file
15
layout/reftests/bugs/1351924-1-ref.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Testcase, bug 1351924</title>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<div id="outer" style="background-color: red; height: auto;">
|
||||
<div style="height: 50%; background-color: blue;">
|
||||
<div style="height: 100%; background-color: green; display: inline-block; vertical-align: top;">Green</div>
|
||||
<div style="height: 100px; background-color: yellow; display: inline-block; vertical-align: top;">Yellow</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/bugs/1351924-1.html
Normal file
20
layout/reftests/bugs/1351924-1.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Testcase, bug 1351924</title>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<div id="outer" style="background-color: red; height: 200px;">
|
||||
<div style="height: 50%; background-color: blue;">
|
||||
<div style="height: 100%; background-color: green; display: inline-block; vertical-align: top;">Green</div>
|
||||
<div style="height: 100px; background-color: yellow; display: inline-block; vertical-align: top;">Yellow</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
let d = document.getElementById("outer");
|
||||
d.offsetHeight; // flush layout
|
||||
d.style.height = "auto";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
15
layout/reftests/bugs/1351924-2-ref.html
Normal file
15
layout/reftests/bugs/1351924-2-ref.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Testcase, bug 1351924</title>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<div id="outer" style="background-color: red; height: 200px;">
|
||||
<div style="height: 50%; background-color: blue;">
|
||||
<div style="height: 100%; background-color: green; display: inline-block; vertical-align: top;">Green</div>
|
||||
<div style="height: 100px; background-color: yellow; display: inline-block; vertical-align: top;">Yellow</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/bugs/1351924-2.html
Normal file
20
layout/reftests/bugs/1351924-2.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Testcase, bug 1351924</title>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<div id="outer" style="background-color: red; height: auto;">
|
||||
<div style="height: 50%; background-color: blue;">
|
||||
<div style="height: 100%; background-color: green; display: inline-block; vertical-align: top;">Green</div>
|
||||
<div style="height: 100px; background-color: yellow; display: inline-block; vertical-align: top;">Yellow</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
let d = document.getElementById("outer");
|
||||
d.offsetHeight; // flush layout
|
||||
d.style.height = "200px";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -2021,6 +2021,8 @@ skip-if(Android) != 1318769-1.html 1318769-1-ref.html
|
||||
skip-if(isDebugBuild&&winWidget) == 1330051.svg 1330051-ref.svg
|
||||
== 1348481-1.html 1348481-ref.html
|
||||
== 1348481-2.html 1348481-ref.html
|
||||
fails == 1351924-1.html 1351924-1-ref.html
|
||||
fails == 1351924-2.html 1351924-2-ref.html
|
||||
== 1352464-1.html 1352464-1-ref.html
|
||||
== 1358375-1.html 1358375-ref.html
|
||||
== 1358375-2.html 1358375-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user