Summary: | CSS1: Properties for :first-letter aren't recalculated on color change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Matthias Lange <matthias.lange> | ||||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | ian | ||||||||
Priority: | P3 | Keywords: | HasReduction | ||||||||
Version: | 420+ | ||||||||||
Hardware: | Mac | ||||||||||
OS: | OS X 10.4 | ||||||||||
Attachments: |
|
Description
Matthias Lange
2005-12-20 13:17:51 PST
Created attachment 5190 [details]
Test case for above filed bug
Confirmed. Secondly, you are not able to select the first letter when it's styled differently, this is an issue too. (In reply to comment #2) > Confirmed. Secondly, you are not able to select the first letter when it's styled differently, this is an issue > too. What do you mean by selecting the first letter? Is this related to WebKit internals or to some CSS stuff? Created attachment 14849 [details]
First attempt
I am not 100% sure this is the right approach, but I can't think of another solution atm.
Cheers,
Rob.
Comment on attachment 14849 [details]
First attempt
The unique() bit is for this purpose. Approach is basically right, but I'd rather you set the unique bit if it has first-letter (rather than adding first-letter to the canShareStyle check).
Created attachment 14850 [details]
Using Hyatt's approach
I hope I picked the right place for this code :)
Cheers,
Rob.
Comment on attachment 14850 [details]
Using Hyatt's approach
r=me
|