mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
4e5bd79656
MozReview-Commit-ID: 9rNUDK5t5jg --HG-- extra : rebase_source : 2a852efe3f9801884e558f22ae7d9550fae87836
37 lines
671 B
HTML
37 lines
671 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Bug 1260031 - Intrinsic width with float</title>
|
|
<style>
|
|
#wrapper {
|
|
background: red;
|
|
width: -moz-fit-content;
|
|
width: fit-content;
|
|
}
|
|
#left {
|
|
float: left;
|
|
width: 50px;
|
|
height: 50px;
|
|
background: green;
|
|
}
|
|
#right {
|
|
width: 50px;
|
|
height: 50px;
|
|
background: blue;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="test">
|
|
<div id="wrapper">
|
|
<div id="left"></div>
|
|
<div id="right"></div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
document.getElementById("right").style = location.search.slice(1);
|
|
</script>
|
|
</body>
|
|
</html>
|