W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2019

Re: [csswg-drafts] [all] Feature detection for CSS property support on certain elements (#4498)

From: Mike Bremford via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 Nov 2019 09:31:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-551454958-1573205484-sysbot+gh@w3.org>
I'd be a bit cautious here because of this sort of construct:

<body style="text-transform: uppercase; font-family: serif">
   <div>This text is uppercase serif</div>
Both `text-transform` and `font-family` are inheritable, the fact that only the latter applies to SVG elements shouldn't prevent both from inheriting through. That's how I understand it anyway. Also consider that CSS can apply to any namespace, not just HTML and SVG. Namespace-based magic is a bad idea IMHO.

GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4498#issuecomment-551454958 using your GitHub account
Received on Friday, 8 November 2019 09:31:26 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:56 UTC