This library helped me out http://zencode.in/lining.js/ .. seems overkill, but it works.
]]>::first-line
bug I encountered (with fix):Apparently not necessarily a bug as the spec leaves this up to interpretation by the browser but all others (Chrome, Safari, IE) perform as expected.
]]>So I know it’s not ideal, but until they fix this bug I’ve found this to be a helpful work around:
font-variant: small-caps;
Like I said, not ideal, but it’s been enough for some projects I’ve worked on.
]]>not really. because the ::first-line is independent of html markup, and therefore suits a fluid layout much better than span tags which assumes that this word right here is definitely the last word on this line of text.
]]>That is unbelievable. How long has this bug been known, and there is absolutely no attempt to remedy it?
]]>https://code.google.com/p/chromium/issues/detail?id=129669
https://code.google.com/p/chromium/issues/detail?id=142827
Might want to add that to the article because it’s a very old bug (known since Chrome 3 or earlier) and nobody on the Chrome team seems to be following up on it.
]]>