Re: CSS Validation failed to pick up font-family:large

"David Dorward" <[email protected]> Thu, 07 May 2020 17:07:41 +0100
Newsgroups gmane.org.w3c.validator.css
Message-ID <[email protected]>
--=_MailMate_E4DDD450-892D-4D28-8CFB-50BD28CCE6BB_=
Content-Type: text/plain; format=flowed



On 7 May 2020, at 4:38, Philip Atkinson wrote:

> The CSS validation did not recognize p {font-family:large} as invalid


It isn't invalid.

"Large" is a perfectly valid name for a font.

You might have meant to say `font-size: large`, but the validator can't 
read your intentions.

--=_MailMate_E4DDD450-892D-4D28-8CFB-50BD28CCE6BB_=
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
</head>
<body>
<div style=3D"font-family:sans-serif"><div style=3D"white-space:normal">
<p dir=3D"auto">On 7 May 2020, at 4:38, Philip Atkinson wrote:</p>

</div>
<div style=3D"white-space:normal"></div>
<blockquote style=3D"border-left:2px solid #777; color:#777; margin:0 0 5=
px; padding-left:5px"><div id=3D"66F99265-61F1-4CB6-B205-BEB04CDD1D7D"><d=
iv lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72"><div style=3D"page:W=
ordSection1"><p style=3D'font-family:"Calibri", sans-serif; font-size:11p=
t; margin:0; margin-bottom:0.0001pt'>The CSS validation did not recognize=
 p {font-family:large} as invalid</p></div></div></div></blockquote>
<div style=3D"white-space:normal">
<blockquote style=3D"border-left:2px solid #777; color:#777; margin:0 0 5=
px; padding-left:5px">
</blockquote></div>
<div style=3D"white-space:normal">

<p dir=3D"auto">It isn't invalid.</p>

<p dir=3D"auto">"Large" is a perfectly valid name for a font.</p>

<p dir=3D"auto">You might have meant to say <code style=3D"background-col=
or:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor=3D"#F7F=
7F7">font-size: large</code>, but the validator can't read your intention=
s.</p>
</div>
</div>
</body>
</html>

--=_MailMate_E4DDD450-892D-4D28-8CFB-50BD28CCE6BB_=--