A first letter which has been formatted via CSS won't disappear when the tag is made invisible via Javascript, see reduced example.
Created attachment 14590 [details] First attempt This patch should fix the first-letter updating problems when the style changes on the render block. Cheers, Rob.
Comment on attachment 14590 [details] First attempt I don't think asking the document if it is parsing is the appropriate check to make here. You could just null check the original style (since it will be null if you are having style set for the first time). I'm a bit nervous about how this will affect perf.
Created attachment 14601 [details] Updated after Hyatts remarks I assume this is what Hyatt meant :) I don't have time right now to look into efficiency issues, and it may be hard for me to fix that, so any help is appreciated! (assuming there is an efficienecy problem) Cheers, Rob.
Would it be possible and worthwhile to flag just those objects that have first-letters hanging off of their style?
Or to have a document()->usesFirstLetterRules (like we have already for firstLine).
Created attachment 14610 [details] Using usesFirstLetterRules I used the same approach as usesFirstLineRules... Cheers, Rob.
Comment on attachment 14610 [details] Using usesFirstLetterRules I think you uploaded the same patch again.
Hi Mitz, (In reply to comment #7) > (From update of attachment 14610 [details] [edit]) > I think you uploaded the same patch again. D'oh. Internal mismanagement, those responsible will be fired :) Right patch coming up. Thanks, Rob.
Created attachment 14620 [details] Using usesFirstLetterRules for real This should be the right one. Cheers, Rob.
Comment on attachment 14620 [details] Using usesFirstLetterRules for real r=me
Landed in r21742.