[Prev][Next][Index][Thread]

Re: embedding 3.0-compatible markup (was [No Subject] (fwd))



Sho Kuwamoto wrote:
> This strategy only works for style rules bound to classes.
> Your solution doesn't allow you to deal with rules like:
> 	H1 { font-style: italic }

And I wrote:

> H1 FONT { font-style: italic }

But this would be redundant. There are only three inline attributes to
the FONT element: SIZE (font-size), FACE (font-family), and COLOR
(color). All other font properties will be inherited. So, a FONT child
of H1 will inherit italicization and a contextual selector is
unnecessary.

David Perrell