- From: Håkon Wium Lie <howcome@opera.com>
- Date: Sun, 5 Oct 2014 08:19:30 +0200
- To: Brad Kemper <brad.kemper@gmail.com>
- Cc: Alan Stearns <stearns@adobe.com>, Håkon Wium Lie <howcome@opera.com>, Christoph Päper <christoph.paeper@crissov.de>, "www-style\@w3.org" <www-style@w3.org>
Also sprach Brad Kemper:
> > Establishing a grid doesn’t inherit. Snapping line boxes should inherit.
> > Thus they should be expressed in separate properties.
>
> I agree there is something good and powerful about automatic
> inheritance of snapping. I shouldn't have to write a 'foo, foo *'
> selector pattern every time I want descendants to follow the same
> snapping behavior as foo.
None of the proposals require 'foo, foo *' selectors -- just like
'background' and 'text-decoration' influcence child elements without
using inheritance, 'baseline-grid' influences the element and its
decendants:
body { baseline-grid: new } /* defines and engages baseline grid */
https://books.spec.whatwg.org/#baseline-grids
Cheers,
-h&kon
Håkon Wium Lie CTO °þe®ª
howcome@opera.com http://people.opera.com/howcome
Received on Sunday, 5 October 2014 06:19:58 UTC