Changes to the standard font family and size are not reflected in all open WebViews until style recalc is forced. To reproduce: open Safari Preferences, go to Appearance, and change the standard font size. Notice how the font size in open windows does not change until you reorder a window to the front.
Hyatt somehow broke this when he changed FrameView::invalidateRect to call Chrome::repaint which calls ChromeClient::repaint, which does nothing at all when _usesDocumentViews is true! I'm not sure which part of that is wrong.
Frame::setNeedsReapplyStyles calls FrameView::invalidate which calls the set of functions above.
Created attachment 25015 [details]
Comment on attachment 25015 [details]
I wonder if we can use LayoutTestController's new ability to modify preferences to make a regression test for this?
(In reply to comment #5)
> I wonder if we can use LayoutTestController's new ability to modify preferences
> to make a regression test for this?
Not in any obvious way. The symptom goes away when you do any layout or repainting, and I don't think DRT has any ability to test that sort of problem.