<!DOCTYPE HTML> <html> <head> <title>Pixel rounding testcase</title> <style type="text/css"> html, body { margin: 0; border: none; padding: 0; } div { margin: 10px; background: blue; } </style> </head> <body> <div style="width: 1px; height: 1px"></div> <div style="width: 3px; height: 3px"></div> <div style="width: 5px; height: 5px"></div> <div style="width: 25px; height: 25px"></div> </body> </html>