Santhosh has uploaded a new change for review. Change subject: Use computed style for finding fonts to load ......................................................................
Use computed style for finding fonts to load Add support for font-family defined in non-inline css, and referred using css classes. Ref https://bugzilla.wikimedia.org/38122 Eg: a css file with: .myclass{ font-family : RufScript; } And in page content <span class="myclass">content</span> Change-Id: Ibb5503f6493b2334794949b3b30261a9a6ba6f54 --- M resources/ext.webfonts.js 1 file changed, 9 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WebFonts refs/changes/50/16250/1 -- To view, visit https://gerrit.wikimedia.org/r/16250 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibb5503f6493b2334794949b3b30261a9a6ba6f54 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WebFonts Gerrit-Branch: master Gerrit-Owner: Santhosh <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
