javascript - Property text-rendering doesn't exist : optimizelegibility -
using code @ web browsers:
.h1,.h2,.h3,.h4,.h5,.h6{margin:1.25em 0 0.2em;text-rendering:optimizelegibility}
on wc3 validation getting error
property text-rendering doesn't exist : optimizelegibility
and seems property having issue android here
is property no longer exists now?
it never existed; text-rendering
part of svg, not css.
the text-rendering property svg property not defined in css standard. however, gecko , webkit browsers let apply property html , xml content on windows, mac os x , linux.
in other words, text-rendering
has effect on non-svg elements @ nonstandard. according mdn page, it's not supported anyway (internet explorer , opera don't understand it) , implementations exist have known issues.
it might best avoid altogether.
source: mozilla developer network.
Comments
Post a Comment