Setting font-feature-settings values in CSS seems to be read and accepted by Safari/WebKit, yet renders as though the value is null. In the attached screenshot, Chrome’s rendering is the correct and expected result for the below CSS. The right-hand result is the most recent iOS WebKit, though the result is the same in Safari 7, Safari 8, and WebKit nightly (all on OS X 10.9/.10) Tested CSS (zipped in Dropbox URL): ``` html { font-feature-settings: "frac" 1, "kern" 1, "liga" 1, "dlig" 1; } h1 { font-feature-settings: "frac" 1, "kern" 1, "liga" 1, "dlig" 1, "smcp" 1; } ```
Created attachment 233872 [details] Screenshot of expected/produced result
I am unfamiliar with font-feature-settings. It looks like all the code is there to parse it and resolve the style, but it looks like FontPlatformData ignores the values. We should consider removing "font-feature-settings" if nobody implements it.
All major browsers now support font-feature-settings. Webkit is the only engine lacking it (while actually pretending to handle it, but in fact simply ignoring it)
<rdar://problem/18201710>
http://dev.w3.org/csswg/css-fonts/#font-rend-desc
Browser support information for each aspect of font-feature-settings is available on The State of Web Type: http://www.stateofwebtype.com/ e.g. for Small Capitals (font-feature-settings: "smcp"): http://www.stateofwebtype.com/#Small%20Capitals%20(smcp)
*** This bug has been marked as a duplicate of bug 147722 ***