Suppose I have a page with the following HTML content:
<body style="font-family:Helvetica">
<span style="font-family:Segue">Hello World</span>
</body>
Would it be considered valid to set the font family of the span to Segue, inherit
in order to have it inherit the parent's font if the first font specified is not available on the system?
<body style="font-family:Helvetica">
<span style="font-family:Segue, inherit">Hello World</span>
</body>
Although it appears to function in the browser (Firefox), Firefox's own debugging tools indicate that it is not valid.
In essence, is it acceptable to use font-family: AnyFont, inherit
?
Update:
It has been determined that using inherit
does NOT work.
The question now becomes, how can a span inherit the font when the specified font is unavailable?