Fix inline size bubbling with fixed width block. Improve intrinsic inline size calculation for text fragments.

These two fixes are related to the wikipedia metabug #2554.

They don't make the wikipedia page look better (they cause a slight regression in the top caption table), but they are prerequisites for fixing some of the other layout issues that remain.

Added reftests for each of the three cases I have come across that this patch solves.
This commit is contained in:
Glenn Watson 2014-09-05 16:32:21 +10:00
parent 94f7f46dd8
commit 4cb9f32427
9 changed files with 180 additions and 11 deletions

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.fl {
float: left;
}
.green {
background-color: green;
}
.fixed {
width: 100px;
height: 100px;
}
body {
margin: 0;
}
</style>
</head>
<body>
<div class="fl green fixed"></div>
<div class="fl fixed"></div>
<div class="fl green fixed"></div>
</body>
</html>