<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Bug 1260031 - Intrinsic width with float</title> <style> #left { display: inline-block; width: 50px; height: 50px; background: green; } #right { display: inline-block; 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> </body> </html>