This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24284 - Add "disabled" attribute to interface LinkStyle
Summary: Add "disabled" attribute to interface LinkStyle
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-13 22:45 UTC by Ian 'Hixie' Hickson
Modified: 2014-01-13 22:45 UTC (History)
0 users

See Also:


Attachments

Description Ian 'Hixie' Hickson 2014-01-13 22:45:54 UTC
http://dev.w3.org/csswg/cssom/#the-linkstyle-interface

I've removed the "disabled" attribute on HTMLLinkElement and HTMLStyleElement, since it's CSSOM specific. It should instead be defined on LinkStyle.

As far as I can tell, it does the same as LinkStyle.sheet.disabled, except if LinkStyle.sheet is null, in which case it returns false and ignores setting. (This is based on what the HTML spec used to say.)