- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 14 May 2007 00:06:07 -0500
- To: Anne van Kesteren <annevk@opera.com>
- CC: Ian Hickson <ian@hixie.ch>, www-style@w3.org
Anne van Kesteren wrote: >>>>> 1) Should a change of "rel" from "alternate stylesheet" to >>>>> "stylesheet" have any effect? If so, what? .... > Fair enough. I think this should be addressed by HTML5 though. That's fine by me, as long as _something_ covers it. > I'm not sure. We could either do it that updating LinkStyle.sheet.href > will potentially give a different result from updating > HTMLLinkElement.href or we could keep them in sync somehow. StyleSheet.href is readonly, so I'm not sure what you mean here. We were talking about .disabled, no? > Maybe it would be more consistent if HTML5 just defined how > HTMLLinkElement and HTMLStyleElement work and that LinkStyle.sheet is > "separate" from them. As in, what updating LinkStyle.sheet members would > do would be defined in the CSSOM and would not affect HTMLLinkElement > and such... Then you need to describe the interaction between the two properties. e.g., what happens if the sheet is enabled and the node is disabled? What happens on setting the node disabled? Does it matter if the sheet is already loaded? I suspect that having them completely disconnected is not really that useful, and _is_ very confusing. -Boris
Received on Monday, 14 May 2007 05:06:52 UTC