- From: Cameron McCormack <cam@mcc.id.au>
- Date: Fri, 20 May 2011 10:26:23 +1200
- To: Rob Buis <rwlbuis@gmail.com>
- Cc: www-svg@w3.org
Hi Rob. Rob Buis: > https://bugs.webkit.org/show_bug.cgi?id=52130 (Support 'disabled' > attribute on SVGStyleElement) > > The logic is that the specification says: > > "SVG's ‘style’ element has the same attributes as the corresponding > element in HTML (see HTML's ‘style’ element)." > > and HTML 4.0.1 seems to have the disabled attribute/property as part > of the DOM interface: > > http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-16428977 > > Before implementing this, is this a valid bug report? A quick test on > Opera and FF to query the disabled property on the style element > returned 'undefined'. I did not even know this attribute existed. My initial inclination is to say we should be harmonising elements like <style> and <script> between SVG and HTML as much as makes sense. If browsers all implement disabled="" on HTML <style>, and it isn’t considered a “bad” feature, then SVG should support it. I’d say this would need to be added to the spec, though – I think the “has the same attribuets as the corresponding element” was just meant to be an informative description, rather than an explicit import of HTML <style>’s attributes. -- Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 19 May 2011 22:26:56 UTC