The issue & showcase
✓ Published0🌍 Public
GGerHobbelt
Last edited Sep 9, 2012
Created on Feb 11, 2012
This example demonstrates how MooTools’ getComputedSize() method mishandles non-integer pixel dimensions, causing layout elements to overflow or disappear when a user zooms the browser. Three test cases show progressively larger compensation gaps between two floating divs, revealing accumulated rounding errors from internal toInt() calls. The page renders HTML divs and reports measured values in a live JavaScript report, directly comparing pixel-perfect layouts against zoom-level artifacts. It uses MooTools Core 1.4.4 and standard DOM APIs for size computation and display.
AI-generated descriptionThe issue & showcase
...
Test #1
...
Test #2
...