- From: Joćo Eiras <joao.eiras@gmail.com>
- Date: Mon, 31 Mar 2008 01:59:35 +0100
- To: "www-dom@w3.org" <www-dom@w3.org>
Hi! Why does DOM 2 StyleSheets defines two new interfaces (DocumentCSS, ViewCSS), which only difference is the only method they expose while having equal signatures? Should getOverrideStyle have some sepecific binding or validation with the Document which implements DocumentCSS? IMO, it would be fairly enough to add it to ViewCSS, and in the ecmascript binding, it would spare developers of have to contantly type document.foo all day long. But then, we already have an interface implemented by Document, which is DocumentStyle. So DocumentCSS should either be merged with ViewCSS, of with DocumentStyle. I prefer the former. All these interfaces bloat the spec. What do you think ? Thank you.
Received on Monday, 31 March 2008 01:00:21 UTC