On Mon, Oct 26, 2009 at 2:33 PM, Avi Drissman <[email protected]> wrote: > Many of our HTML files have CSS in them (about_credits.html, > about_memory.html, etc) which needs to be tweaked per-platform (more > specifically, using an appropriate sans-serif font; see > http://crbug.com/21458). We already do templating with jstemplate, but from > what I can tell it can't swap out the values of CSS selectors. Is the best > thing to do just to find/replace on the strings coming back from > ResourceBundle::GetRawDataResource?
Why not use sans-serif in the HTML, and then rely on the appropriate platform specific mapping of sans-serif -> font of choice in the WebKit prefs? --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
