| Summary: | Subpixel rendering: Zero sized compositing container's content positioned off by one device pixel. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser | ||||
| Priority: | P2 | Keywords: | InRadar, Regression | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
Created attachment 234883 [details]
Patch
Comment on attachment 234883 [details] Patch Clearing flags on attachment: 234883 Committed r171100: <http://trac.webkit.org/changeset/171100> All reviewed patches have been landed. Closing bug. |
The content gets pushed to the left/bottom when the parent compositing layer has zero size. <style> .container { position: absolute; left: 0.25px; top: 0px; -webkit-transform: translateZ(0); } .foo { position: absolute; left: 0.25px; top: 0px; width: 100px; height: 100px; border: 0.5px solid red; } </style> <div class=container> <div class=foo></div> </div>