Bug 132100
| Summary: | Subpixel rendering: RenderLayer's dirtyrect/clipping should device pixelsnap the same way painting does. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | alan <zalan> |
| Component: | Layout and Rendering | Assignee: | alan <zalan> |
| Status: | ASSIGNED | ||
| Severity: | Normal | CC: | simon.fraser |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
alan
Currently it uses enclosingrect. (selfClipRect(), childrenClipRect(). see paintDirtyRect = selfClipRect(); at RenderLayer::paintLayerContents
(when css overflow: scroll etc is present, it results in wrong cliprects)
<div id='foo' style="overflow: scroll; display: none; border: 1px solid black; position: fixed; left: 10px; top: 10.3px; width: 20px; height: 20.1px;"></div>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |