<?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>23722</bug_id>
          
          <creation_ts>2013-11-05 09:33:54 +0000</creation_ts>
          <short_desc>rowspan colspan attribute</short_desc>
          <delta_ts>2016-04-26 22:25:10 +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>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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="Shaun Forsyth">mrforsythexeter</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>arronei</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>jens</cc>
    
    <cc>mike</cc>
    
    <cc>mrforsythexeter</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>travil</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>95795</commentid>
    <comment_count>0</comment_count>
    <who name="Shaun Forsyth">mrforsythexeter</who>
    <bug_when>2013-11-05 09:33:54 +0000</bug_when>
    <thetext>Hi w3 team,

In the spec colspan is suggest to be a positive integer (1+), and row span is suggested as non-negative integer (0+), however the nightly spec reports that these values are unsigned integers and should return a default value of one. So I believe both colspan and rowspan are really positive integers and as such the spec should no seek to confuse people (the wiki appears to have this correct).

Also, I don&apos;t see why the rowspan and colspan attribute can&apos;t support the value &quot;*&quot;, this would simplify the creation of tables with alternative layouts or multiple tbody elements.

The attribute should attempt to span an any remaining cells or rows</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95801</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2013-11-05 13:34:22 +0000</bug_when>
    <thetext>In HTML4, the value 0 means &quot;span to the end of the rows/columns&quot;.

The state of this in HTML5 is unclear; for one thing most UAs never implemented this part of HTML4.  In particular, no one implemented it for colspan, but some did implement it for rowspan.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95802</commentid>
    <comment_count>2</comment_count>
    <who name="Shaun Forsyth">mrforsythexeter</who>
    <bug_when>2013-11-05 14:10:44 +0000</bug_when>
    <thetext>So does this mean that the UA&apos;s are having issues reading the spec, with the positive int vs non-negative int.

Based on the fact you have stated that some UA&apos;s are rendering correctly for row span which is defined as &quot;non-negative integer&quot;.

Zero (0) is an acceptable answer for this to happen (to automatically span the remaining cells or rows) since &quot;*&quot; is a hangon from framesets.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95803</commentid>
    <comment_count>3</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2013-11-05 14:24:17 +0000</bug_when>
    <thetext>&gt; So does this mean that the UA&apos;s are having issues reading the spec,

No, just that some of them don&apos;t want to spend the time making spanning all rows work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95804</commentid>
    <comment_count>4</comment_count>
    <who name="Shaun Forsyth">mrforsythexeter</who>
    <bug_when>2013-11-05 14:30:10 +0000</bug_when>
    <thetext>&gt; No, just that some of them don&apos;t want to spend the time making spanning all rows work.

You mean they don&apos;t want to waste time meeting the spec of HTML 4, which is why we have cross browser issues. I wish I could get away with not meeting my specification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98828</commentid>
    <comment_count>5</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2014-01-21 16:01:04 +0000</bug_when>
    <thetext>(In reply to Shaun Forsyth from comment #4)
&gt; You mean they don&apos;t want to waste time meeting the spec of HTML 4, which is
&gt; why we have cross browser issues. I wish I could get away with not meeting
&gt; my specification.

Shaun, if your specifications were like HTML4 you couldn&apos;t meet them either. That&apos;s why HTML5 tightens things up so drastically in comparison.

(Moving to the right component.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126179</commentid>
    <comment_count>6</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2016-04-26 22:24:35 +0000</bug_when>
    <thetext>HTML5.1 Bugzilla Bug Triage: Works for me

Looks like the current W3C document has harmonized on the original definitions (+1) for colspan and (+0) for rowspan.

If there are additional table features, they should probably be incubated instead (or see below to file a new issue).

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126180</commentid>
    <comment_count>7</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2016-04-26 22:25:10 +0000</bug_when>
    <thetext>Oh, and link to the draft: http://w3c.github.io/html/tabular-data.html#attributes-common-to-td-and-th-elements</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>