<?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>15815</bug_id>
          
          <creation_ts>2012-01-31 18:48:09 +0000</creation_ts>
          <short_desc>Need to clarify that everything is relative to table wrapper box, not table box</short_desc>
          <delta_ts>2012-03-12 20:47:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Transforms</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Aryeh Gregor">ayg</reporter>
          <assigned_to name="Simon Fraser">smfr</assigned_to>
          <cc>ayg</cc>
    
    <cc>cmarrin</cc>
    
    <cc>dino</cc>
    
    <cc>dschulze</cc>
    
    <cc>eoconnor</cc>
    
    <cc>smfr</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63417</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-01-31 18:48:09 +0000</bug_when>
    <thetext>Tables in CSS create two boxes, a table wrapper box and a table box:

http://www.w3.org/TR/CSS21/tables.html#model

The table wrapper box contains captions and the table box does not.  Testing shows that Firefox 12.0a1 applies transforms to the table box, and IE9/Chrome 17 dev/Opera Next 12.00 alpha apply them to the table wrapper box.  E.g.:

data:text/html,&lt;!doctype html&gt;
&lt;table style=transform:rotate(180deg)&gt;
&lt;caption&gt;Hello&lt;/caption&gt;
&lt;tr&gt;&lt;td&gt;there
&lt;/table&gt;

In Gecko only &quot;there&quot; is rotated, in other UAs the whole table is.  Also, Gecko does percentages relative to the height of the table box rather than the table wrapper box.  The spec should clarify that all this is supposed to be relative to the table wrapper box, not the table box.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64115</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-02-14 19:37:19 +0000</bug_when>
    <thetext>These specific tests were fixed in Gecko in &lt;https://bugzilla.mozilla.org/show_bug.cgi?id=722777&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64858</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-03-01 21:02:02 +0000</bug_when>
    <thetext>In Definitions, I suggest changing

&quot;&quot;&quot;
bounding box
A bounding box is the object bounding box for all SVG elements without an associated CSS layout box and the border box for all other elements.
&quot;&quot;&quot;

by adding the sentence &quot;The bounding box of a table is the border box of its table wrapper box, not its table box.&quot;, with &quot;table wrapper box&quot; linking to &lt;http://www.w3.org/TR/CSS21/tables.html#model&gt;.  Any objections?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65387</commentid>
    <comment_count>3</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-03-12 20:47:20 +0000</bug_when>
    <thetext>Fixed: http://dvcs.w3.org/hg/csswg/rev/c229070a588c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>