HTML and CSS Reference
Figure 8-2. While the circle seems to be on top of a new cell, the cell remains white instead of changing to blue
(which means that it's marked as “dirty”)
One easy way to handle the problem is to create a bounding rectangle —that is, to turn the sphere into a box, as
seen in Figure 8-3 .
Figure 8-3. How to calculate the bounding box of a circle properly