<?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>13770</bug_id>
          
          <creation_ts>2011-08-12 23:45:13 +0000</creation_ts>
          <short_desc>Take back colspan=&quot;0&quot; and rowspan=&quot;0&quot; for TD/TH elements</short_desc>
          <delta_ts>2014-10-18 15:52:51 +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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marat Tanalin | tanalin.com">mtanalin</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bronger</cc>
    
    <cc>ian</cc>
    
    <cc>kennyluck</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>stephen.cunliffe</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>54844</commentid>
    <comment_count>0</comment_count>
    <who name="Marat Tanalin | tanalin.com">mtanalin</who>
    <bug_when>2011-08-12 23:45:13 +0000</bug_when>
    <thetext>http://www.w3.org/TR/html5/tabular-data.html#dom-tdth-colspan

&lt;&lt;
The colSpan IDL attribute must reflect the content attribute of the same name. The value must be limited to only non-negative numbers _greater than zero_.
&gt;&gt;

In HTML4, &quot;colspan&quot; and &quot;rowspan&quot; attributes of TD/TH elements has been allowed to have zero value (&quot;0&quot;):
http://www.w3.org/TR/html4/struct/tables.html#adef-colspan

This is very useful when column or row number is unknown in advance. It&apos;s harmful to force web-editors to calculate column or row number manually while browser could easily do this automatically.

There is a known rule in spec development: when there are two independent implementations of a specification, then the specification status is promoted to &quot;recommendation&quot; (&quot;candidate&quot; or &quot;proposed&quot;).

But there ARE already two (well, 1.5) working independent implementations of zero colspan/rowspan:

1. Firefox (both zero colspan and rowspan are fully working)

2. and Opera (supports rowspan=&quot;0&quot; and does not support colspan=&quot;0&quot;).

So, zero value of colspan/rowspan is very good candidate to keep in HTML spec and, moreover, to encourage rest browser vendors to implement this useful feature as soon as possible.

There are no serious reasons to remove zero values of colspan/rowspan from the HTML specification. It&apos;s not something &quot;unimplemented at all&quot;, it&apos;s already quite usably implemented and should be kept intact in the HTML spec.

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56120</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-31 23:24:26 +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: rowspan is supported in the spec. colspan is not because only Gecko supports it and it can&apos;t be done incrementally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58273</commentid>
    <comment_count>2</comment_count>
    <who name="Torsten Bronger">bronger</who>
    <bug_when>2011-10-15 18:31:40 +0000</bug_when>
    <thetext>I don&apos;t see why it is harmful that colspan=&quot;0&quot; &quot;can&apos;t be done incrementally&quot;.  An inportant use case is a row that spans the whole table.  Writing a routine that generates such a row is currently only possible if the number of columns is given as a parameter to the routine, which is wasteful.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>