[Webkit-unassigned] [Bug 94292] New: :first-letter on an element with CSS quotes break nesting
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 16 22:01:33 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94292
Summary: :first-letter on an element with CSS quotes break
nesting
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Keywords: HasReduction
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: esprehn at chromium.org
Created an attachment (id=158992)
--> (https://bugs.webkit.org/attachment.cgi?id=158992&action=review)
Reduction
Adding :first-letter to a CSS element with quotes will break the nesting because the RenderQuote gets removed from the render tree, split into two RenderText's and then destroyed. This is particularly unfortunate because it means we call originalText() on detached RenderQuote so open-quote is always depth = 0, and close-quote is always empty string.
Worse yet, because the RenderQuote itself was destroyed the depth of all other quotes in the document becomes busted.
This looks really hard to fix without completely redesigning first-letter or how we handle generated content.
--
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