- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Fri, 24 Feb 2012 16:32:39 -0500
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- CC: www-style@w3.org
On 2/24/12 4:04 PM, Tab Atkins Jr. wrote: > Hm, why do you say that? Inheritance is well-defined even if it's not > in the document But rule application is not. Specifically, if you have a disconnected document fragment, which rules should be applying to the elements in it? Should inline styles be applying? None of that stuff is really defined anywhere. getComputedStyle sort of makes up something, but it involves applying applying rules across documents and whatnot. It's also not really all that workable in the face of dynamic changes. > Rendering an SVG paint server shouldn't require any information gained > from being in a displayed document, either. SVG assumes that styles can be computed in a sane way for all elements. Other specs don't define such sane ways of computing styles, yet. Maybe they should.... There are a lot of details to work out, though (scoped stylesheets in disconnected fragments; how should those work?). -Boris
Received on Friday, 24 February 2012 21:33:07 UTC