Changes between Version 9 and Version 10 of LayoutUnit
- Timestamp:
- Mar 12, 2012, 6:27:06 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LayoutUnit
v9 v10 34 34 ||GraphicsLayers||pixel||Graphics layers and their compositing remain unchanged.|| 35 35 ||floats||subpixel||These are always blocks and we'd otherwise be incapable of having 2 floats on the same line, each at 50% width on a line with an odd width.|| 36 ||widgets, plugins, video, and foreign objects||pixel, snapped||These are either rendered outside of WebCore, or pass through an intermediary embedding layer. We need to use integers so the contents are painted at whole-pixel values.||36 ||widgets, plugins, video, and foreign objects||pixel, rounded||These are either rendered outside of WebCore, or pass through an intermediary embedding layer. We align their location to integer boundaries, which means we can also round the sizes.|| 37 37 ||windows coordinates and sizes||pixel||These communicate with the embedding layer, and represent actual pixels.|| 38 38 ||hit testing||pixel, rounded||Hit testing is staying integer based for now. The eventual plan is to convert it to subpixel precision to fix long standing bugs such as [https://bugs.webkit.org/show_bug.cgi?id=23170 23170].||