Re: [css-line-grid][css-books] one property or more?

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