Store a copy of generic font settings at CSSFontSelector.
A CSSFontSelector instance does not expect for generic font settings to
ever change within its lifetime. So, it makes sense to copy and stash
them locally and avoid holding/using a Document pointer for this
Eventually, CSSFontSelector hopes to become a per-Document font context,
which knows nothing about the Document itself, but provides an API
that a Document could use.
This also fixes bug 236298, since determining generic font no longer relies on CSSFontSelector::m_document.
Total comments: 1
Total messages: 11 (0 generated)