<?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>13057</bug_id>
          
          <creation_ts>2011-06-25 12:39:43 +0000</creation_ts>
          <short_desc>Remove INS and DEL elements in favor of a new set of attributes</short_desc>
          <delta_ts>2013-02-12 19:56:24 +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>TrackerIssue</keywords>
          <priority>P2</priority>
          <bug_severity>normal</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>eric.sun</cc>
    
    <cc>hsivonen</cc>
    
    <cc>ian</cc>
    
    <cc>jonas</cc>
    
    <cc>kennyluck</cc>
    
    <cc>mike</cc>
    
    <cc>pcotton</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>rubys</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>50311</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Glazman">daniel.glazman</who>
    <bug_when>2011-06-25 12:39:43 +0000</bug_when>
    <thetext>I have written a complete blog article [1] explaining why &lt;ins&gt; and &lt;del&gt;
should be dropped. These elements just cannot be used as is by content
editors for Visual Modification Marks.

[1] http://bit.ly/mGYiP2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50332</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-06-26 22:37:29 +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: We only introduce new elements and attributes for extremely common use-cases, and there is no reason to believe this use-case is extremely common.  The low uptake of &lt;ins&gt; and &lt;del&gt; is fairly strong evidence that they don&apos;t serve a very common need.  As such, introducing new attributes to have a similar effect would waste implementer effort that could be better spent on more useful features, and further complicated an already extremely complicated language.

Use-cases like this that are not extremely common are why we have extensibility points like class, data-*, and microdata.  If the &lt;ins&gt; and &lt;del&gt; tags are a real problem for major WYSIWYG editors, I encourage them to innovate using existing extension points.  If the feature is popular and successful, they can then report back on the results, including real-world cases where attributes are used successfully but &lt;ins&gt; and &lt;del&gt; don&apos;t work.  At that point, if there&apos;s evidence of widespread usage of the extensions, it might be worthwhile to consider standardization.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50354</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Glazman">daniel.glazman</who>
    <bug_when>2011-06-27 05:39:20 +0000</bug_when>
    <thetext>This bug alone shows how rotten the HTML WG process is. Amazing.

&quot; The low uptake of &lt;ins&gt; and &lt;del&gt; is fairly strong evidence that they don&apos;t
serve a very common need.&quot;

HEY OF COURSE !!! The elements are not implementable and I proved it ! Did
you really read my prose. In the meantime, *all* text editors (think M* Word
or challengers) offer Visual Modification Marks. Not implementable as is in
HTML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50355</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Glazman">daniel.glazman</who>
    <bug_when>2011-06-27 05:45:04 +0000</bug_when>
    <thetext>Oh, and speaking of implementation, your comment is just stupid: there is
nothing to implement in a browser, except possibly two CSS rules in a
stylesheet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50356</commentid>
    <comment_count>4</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2011-06-27 06:34:12 +0000</bug_when>
    <thetext>Reopening. The rationale given for WONTFIX is a bad reason for *keeping* &lt;ins&gt; and &lt;del&gt;. It&apos;s a sensible rationale for not introducing alternatives.

I suggest making ins and del inline-only (not removing them in order to avoid upsetting people who are using them as inlines on their blogs) and adding a common attributes for flagging any block as inserted. The default styling should probably be along the lines of outline-right: solid black 0.3em;.

Personally, I&apos;m unconvinced about the suitability of deletion tracking as an HTML feature.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50357</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Glazman">daniel.glazman</who>
    <bug_when>2011-06-27 06:50:08 +0000</bug_when>
    <thetext>Excerpt from section 3.2.3.8:

&quot;These attributes are not intended for use by software that is independent of the site that uses the attributes.&quot;

Period. Not applicable in our case here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50372</commentid>
    <comment_count>6</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-06-27 17:45:31 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Reopening. The rationale given for WONTFIX is a bad reason for *keeping* &lt;ins&gt;
&gt; and &lt;del&gt;. It&apos;s a sensible rationale for not introducing alternatives.
&gt; 
&gt; I suggest making ins and del inline-only (not removing them in order to avoid
&gt; upsetting people who are using them as inlines on their blogs) and adding a
&gt; common attributes for flagging any block as inserted.

Isn&apos;t this &quot;introducing alternatives&quot;?  What strong use-case is there for new attributes here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53513</commentid>
    <comment_count>7</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:14:36 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55912</commentid>
    <comment_count>8</comment_count>
    <who name="Daniel Glazman">daniel.glazman</who>
    <bug_when>2011-08-27 12:26:33 +0000</bug_when>
    <thetext>(In reply to comment #4)

&gt; Personally, I&apos;m unconvinced about the suitability of deletion tracking as an
&gt; HTML feature.

FWIW, deletion tracking is xml-based in word since 1998 IIRC... I am fine
with HTML5 dropping INS/DEL if we can make an extra-spec about change tracking.
But one thing is sure: the current INS and DEL elements are totally unusable
as is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60782</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-12-02 17:02:19 +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: Agreed with earlier comments that there isn&apos;t a strong rationale for a new feature here. I don&apos;t see much value in dropping &lt;ins&gt; and &lt;del&gt; though. Like with &lt;samp&gt; and other rarely used elements that we&apos;ve kept around, they are relatively harmless.

Also, I don&apos;t buy that they&apos;re impossible to use. They&apos;re quite easy to use, actually.


&quot;ins and del are, by definition, both inline-level and block-level elements.&quot;

We don&apos;t have those terms anymore. They are simply &quot;transparent&quot;, like &lt;a&gt;.


&quot;If in a Wysiwyg editor, you select the textual contents of a paragraph, turn on a &quot;Visible Modification Marks&quot; feature and hit the Delete or Backspace key, the editor has the option between &lt;del&gt;&lt;p&gt;....&lt;/p&gt;&lt;/del&gt; and &lt;p&gt;&lt;del&gt;...&lt;/del&gt;&lt;/p&gt;.&quot;

That would be true of any edit description mechanism.


&quot;The user has no way to make a difference between the two but the two are NOT strictly equivalent. In the latter case, it is still theoretically possible to place the caret in the paragraph but BEFORE or AFTER the del element and insert new chars. In the former case, the whole paragraph is deleted and the user can&apos;t insert anything inside any more.&quot;

This is not a particularly problematic difference. So what if some editors let you add text in a paragraph whose contents are all deleted and another editor only allows you to add a sibling paragraph?


&quot;In the latter case just above, it&apos;s impossible for the user to know if a caret placed at the beginning of the paragraph is before the paragraph, inside the paragraph but before the del element, or at the beginning of the del element.&quot;

That&apos;s a generic problem with nested elements like multiple nested &lt;span&gt;s, and has nothing to do with &lt;ins&gt;/&lt;del&gt;. Word Perfect solved that problem in the early 90s with &quot;view codes&quot; mode.


&quot;much more importantly, ins and del cannot cover one trivial case : since there is no equivalent to SGML inclusions in XML, the following is impossible: &lt;ul&gt;&lt;del&gt;&lt;li&gt;a&lt;/li&gt;&lt;/del&gt;&lt;li&gt;b&lt;/li&gt;&lt;/ul&gt;.&quot;

The spec covers how to mark up deleted list items.


&quot;It is for instance totally impossible to mark an element as entirely deleted if the parent container&apos;s model does not allow the del element...&quot;

This does not appear to be a practical problem. You can just mark the child&apos;s contents as being deleted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60791</commentid>
    <comment_count>10</comment_count>
    <who name="Daniel Glazman">daniel.glazman</who>
    <bug_when>2011-12-02 17:22:22 +0000</bug_when>
    <thetext>(In reply to comment #9)

&gt; &quot;It is for instance totally impossible to mark an element as entirely deleted
&gt; if the parent container&apos;s model does not allow the del element...&quot;
&gt; 
&gt; This does not appear to be a practical problem. You can just mark the child&apos;s
&gt; contents as being deleted.

?!? This is entirely different and I don&apos;t think you read me well.
This is the most important problem for content editors. &lt;ins&gt; and &lt;del&gt;
as they are are ONLY useable in source code editors.

I am then not satisfied by your answer because it leaves in the spec something
that is known to be unimplementable in content editors, does not provide
any solution for this feature.

This feature should be deprecated/dropped, or shaped differently. It is well
known by editor implementors since 1991 that the only plausible way to
implement this feature is through attributes.

I am then reopening this bug, and escalate it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60813</commentid>
    <comment_count>11</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-12-02 18:15:24 +0000</bug_when>
    <thetext>You can either reopen or escalate. I&apos;m assuming you meant to escalate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60895</commentid>
    <comment_count>12</comment_count>
    <who name="Paul Cotton">pcotton</who>
    <bug_when>2011-12-03 19:04:03 +0000</bug_when>
    <thetext>(In reply to comment #10)

&gt; I am then reopening this bug, and escalate it.

Can you please &quot;suggest title and text for the tracker issue&quot;?

/paulc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61096</commentid>
    <comment_count>13</comment_count>
    <who name="Daniel Glazman">daniel.glazman</who>
    <bug_when>2011-12-07 16:38:28 +0000</bug_when>
    <thetext>(In reply to comment #12)
&gt; (In reply to comment #10)
&gt; 
&gt; &gt; I am then reopening this bug, and escalate it.
&gt; 
&gt; Can you please &quot;suggest title and text for the tracker issue&quot;?
&gt; 
&gt; /paulc

&quot;Replace/complement &lt;ins&gt; and &lt;del&gt; elements by a cleaner wysiwyg-safe attribute-based solution&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61256</commentid>
    <comment_count>14</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2011-12-08 18:45:22 +0000</bug_when>
    <thetext>https://www.w3.org/html/wg/tracker/issues/191</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62937</commentid>
    <comment_count>15</comment_count>
    <who name="Daniel Glazman">daniel.glazman</who>
    <bug_when>2012-01-20 15:06:28 +0000</bug_when>
    <thetext>Link to proposal for issue 191:

  http://lists.w3.org/Archives/Public/public-html/2012Jan/0106.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83030</commentid>
    <comment_count>16</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-02-12 19:56:24 +0000</bug_when>
    <thetext>*** Bug 17693 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>