- From: Christoph Päper <christoph.paeper@crissov.de>
- Date: Mon, 13 Jun 2011 21:56:24 +0200
- To: www-style list <www-style@w3.org>
Tab Atkins Jr.: > > dir dir dl, dir dir menu, dir dir ul, > dir menu dl, dir menu menu, dir menu ul, > dir ol dl, dir ol menu, dir ol ul, > dir ul dl, dir ul menu, dir ul ul, > menu dir dl, menu dir menu, menu dir ul, > menu menu dl, menu menu menu, menu menu ul, > menu ol dl, menu ol menu, menu ol ul, > menu ul dl, menu ul menu, menu ul ul, > ol dir dl, ol dir menu, ol dir ul, > ol menu dl, ol menu menu, ol menu ul, > ol ol dl, ol ol menu, ol ol ul, > ol ul dl, ol ul menu, ol ul ul, > ul dir dl, ul dir menu, ul dir ul, > ul menu dl, ul menu menu, ul menu ul, > ul ol dl, ul ol menu, ul ol ul, > ul ul dl, ul ul menu, ul ul ul { > list-style-type: square; > } > > Here's the same thing using :matches(): > > :matches(dir, menu, ol, ul) :matches(dir, menu, ol, ul) :matches(dl, menu, ul) { > list-style-type: square; > } Here’s the same thing using semantic pseudo classes: :list :list :collection { list-style-type: square; } <http://lists.w3.org/Archives/Public/www-style/2011May/0245.html>
Received on Monday, 13 June 2011 19:57:04 UTC