User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu-HU; rv:1.6) Gecko/20040206 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu-HU; rv:1.6) Gecko/20040206 Firefox/0.8 it's impossible to turn off, or on via DOM Reproducible: Always Steps to Reproduce: 1. switch text-decoration 2. 3.
See also bug 179079 (might be related, but does not involve scripting).
(In reply to comment #2) > See also bug 179079 (might be related, but does not involve scripting). Last testcase does
Probably an issue with the textframes not killing off the blink timer... The problem is that text frames are added to and removed from the blink timer in reflow, but changing text-decoration only does a repaint....
Come to think of it, can text-decoration affect line-box sizing? If so, could it need reflow anyway?
I wouldn't have thought they could affect line-box sizing. I don't see a problem with making text-decoration just do a reflow. It's unlikely to be performance critical.
I'd rather not make text-decoration changes reflow. changing text-decoration on :hover (for links) is not uncommon.
The other option is to reflow only if the "blink" bit changed.... That should happen about once in a blue moon.
Created attachment 147476 [details] [diff] [review] Like so Though really, maybe we should just remove blink....
(This fixes turning off too?)
> (This fixes turning off too?) Yep. Fixes all testcases in this bug and in bug 179079. Taking, I guess.
Checked in for 1.8a.