47 bytes, text/x-phabricator-request
|Details | Review|
Right now they're cached in nsPresContext, in a linked list. It'd be nice if instead they would be cached either globally (too?), or initializing the LangFontGroupPrefs on the stack (or moving them to the document, I guess). This isn't prioritary because I'm focusing on the work needed to get Shadow DOM stylesheets to be sound, and this is not needed for that, but it will be needed to fix bug 548397.
Jonathan, any strong preference here? I'm going to need to move other stuff from nsPresContext to nsIDocument, like link colors, default backgrounds, etc, but wanted to check since this is a bit bigger.
(see comment 1, whoops)
Assignee: nobody → emilio
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/e902aece9ed7 Move the lang font prefs to Document instead of nsPresContext. r=jfkthame
You need to log in before you can comment on or make changes to this bug.