Update cache when text attributes change
Categories
(Core :: Disability Access APIs, task)
Tracking
()
People
(Reporter: Jamie, Unassigned)
References
(Blocks 1 open bug)
Details
Bug 1730096 implemented support for caching text attributes. However, if text attributes are updated on a container, the cache isn't updated accordingly. We need to get notified about such updates and push the cache when they occur.
Morgan noted that there is a nsIFrame::DidSetComputedStyle we can probably tweak to get notifications. (I think that's the function she meant. :) )
One thing to note is that I think style changes we care about often (always?) cause text to be reflowed. In that case, I think we're going to get text change notifications as well, where we already push the cache. We'll need to ensure we don't end up with redundant pushes as a result. For example, we might add code to prevent the text update push if the text string hasn't changed.
Description
•