W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

Re: [csswg-drafts] [mediaqueries-4 ] Deprecate 'speech' media type as well?

From: Brad Kemper via GitHub <sysbot+gh@w3.org>
Date: Sun, 29 Oct 2017 19:32:42 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-340287801-1509305561-sysbot+gh@w3.org>
It seems to me that what we’d be looking for is something that does parsing of Style sheets, like a browser does, but then builds its own layout tree (speech tree) after applying the rules. `foo { display:none }`, for instance, would remove foo from the speech tree, whether from the `speech` media type or the `all` or `screen` media type.   But `:focus foo { display: block }` would put it back in. If `display` was used this way inside a MQ, you wouldn’t need a separate `speak` property. 

Someone should just write a plug-in to do that. 

-- 
GitHub Notification of comment by bradkemper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1751#issuecomment-340287801 using your GitHub account
Received on Sunday, 29 October 2017 19:32:46 UTC

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