On Dec 26, 2012 10:11 PM, "Jens O. Meiert" <[email protected]> wrote: > > Hi Dimitri, > > the draft is very brief on this: why must text-decoration not be > propagated to shadow trees [1]?
The draft is clear about this, but its not obvious if you don't know the minutia of how text-decoration works: what the spec actually says is that text decorations don't propagate, not that text-decoration doesn't. The decorations produced by text-decoration propagate separately from the property, in a somewhat unique way. You don't necessarily want underlines to propagate into your component just because the surrounding text is underlined; this also matches the behavior of existing form controls, which are being translated into shadow dom. The text-decoration property itself, along with all other properties, is of course also blocked from propagating by default, though you can relax that restriction. ~TJ
