<!DOCTYPE HTML> <html> <head> <title>Pixel rounding testcase</title> <style type="text/css"> html, body { margin: 0; border: none; padding: 0; } div { position: absolute; top: 10px; height: 10px; width: 10px; } div { background: green; } </style> </head> <body> <div style="left: 11px"></div> <div style="left: 31px"></div> <div style="left: 51px"></div> <div style="left: 71px"></div> <div style="left: 91px"></div> <div style="left: 111px"></div> <div style="left: 131px"></div> <div style="left: 151px"></div> <div style="left: 171px"></div> <div style="left: 191px"></div> <div style="left: 211px"></div> <div style="left: 231px"></div> <div style="left: 251px"></div> <div style="left: 271px"></div> <div style="left: 291px"></div> <div style="left: 311px"></div> <div style="left: 331px"></div> <div style="left: 351px"></div> <div style="left: 371px"></div> <div style="top: 30px; left: 11px; width: 30px; height: 30px"> <div style="background:white; top: 10px; left: 10px"></div> </div> </body> </html>