<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>13059</bug_id>
          
          <creation_ts>2011-06-25 12:47:35 +0000</creation_ts>
          <short_desc>add a disabled attribute to link and style elements</short_desc>
          <delta_ts>2011-08-14 06:21:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Glazman">daniel.glazman</reporter>
          <assigned_to>contributor</assigned_to>
          <cc>ayg</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>mounir</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>50313</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Glazman">daniel.glazman</who>
    <bug_when>2011-06-25 12:47:35 +0000</bug_when>
    <thetext>(note: this was submitted as an HTML4 erratum looooong ago to the
 XHTML2 WG ; I am surprised the current HTML WG did not get it in
 the list of HTML4 errata)

The DOM Level 2 offers a boolean &apos;disabled&apos; attribute on the
StyleSheet interface. This boolean attribute is _extremely_ important
to content editors because it allows to see how a given stylesheet
affects the rendering of a document.

But this boolean DOM attribute has _always_ raised an issue: it&apos;s
impossible to save the enabled/disabled status of a stylesheet and
that is a serious problem for content editors.

I then recommend the addition of a companion html &apos;disabled&apos; attribute
on &lt;link&gt; and &lt;style&gt; elements matching exactly the DOM one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50333</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-06-26 22:38:22 +0000</bug_when>
    <thetext>What are specific use-cases where this is a serious problem for content editors?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50353</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Glazman">daniel.glazman</who>
    <bug_when>2011-06-27 05:36:54 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; What are specific use-cases where this is a serious problem for content
&gt; editors?

Ability to save the current status of the document in the editor ????</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53458</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:14:03 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54920</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-14 06:21:48 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: Why would you want to publish a file with a disabled style sheet?

If the need is just for round-tripping during editing, then there&apos;s no need for the editor to limit itself to the HTML standard. Just use a custom attribute documented in a spec that applies to the documents used during editing. You&apos;ll need something similar to handle all manner of other round-tripping complications, like whitespace around the DOCTYPE or between attributes, the order of attributes, values in input controls when those aren&apos;t the default values, the current alternative style sheet set selection, the current scroll position if it doesn&apos;t match an ID, etc etc etc.

If you actually want to publish a disabled style sheet, just comment it out.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>