[Webkit-unassigned] [Bug 85318] New: Avoid creating huge layers for large negative text-indent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 1 15:32:14 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=85318
Summary: Avoid creating huge layers for large negative
text-indent
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: simon.fraser at apple.com
CC: hyatt at apple.com, mitz at webkit.org, jamesr at chromium.org
Many sites use CSS like text-indent: -9999px as an image replacement technique <http://css-tricks.com/css-image-replacement/>. However, this often results in compositing layers being huge, since we make the layers large enough to contain that offset text.
We should add some smarts to detect whether the text-indent pushes the text outside the viewport, and avoid the stupidly large layers in that case.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list