#552 closed feature (fixed)
ifxhighlight improved oldStyle.backgroundColor detection
Reported by: | Owned by: | stefan | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | interface | Version: | |
Keywords: | highlight background color | Cc: | |
Blocked by: | Blocking: |
Description
Interface's Highlight component currently has no effect unless the element it's applied to has an explicitly set background color. It would be nice if, when none is set, it traversed up the tree to find an element which did have a set background color, then removed background color completely when the effect was done.
Change History (7)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
The formatter screwed up the line breaks. I can send the actual code if you like.
comment:3 Changed 16 years ago by
Upon further testing, even that solution screws things up if the background color has been applied by a class which is later removed.
comment:4 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 16 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Thanks for your work on this. It's doing a great job removing the style rules when the effect finishes. However, I think it would be very useful if this iterated up the tree to determine the effective background color. It looks funny when you have a background color set for the page and it changes from yellow to white, then snaps back to transparent.
comment:6 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed and commited to svn
I recommend that this be inserted at line 36, after the declaration of z.oldStyle:
}
To remove the old style, insert this at what is now line 87:
if (z.oldStyle.transparent) {
}