html5/spec rendering.html,1.122,1.123 spec.html,1.1720,1.1721

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4809

Modified Files:
	rendering.html spec.html 
Log Message:
Try to improve compat for legacy <table border='' rules='' and frames=''> attributes. (whatwg r6681)

[updated by splitter]


Index: rendering.html
===================================================================
RCS file: /sources/public/html5/spec/rendering.html,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- rendering.html	12 Oct 2011 23:46:24 -0000	1.122
+++ rendering.html	14 Oct 2011 00:47:07 -0000	1.123
@@ -972,12 +972,9 @@
 table {
   border-spacing: 2px;
   border-collapse: separate;
-  border-style: outset;
-  border-width: 0;
   text-indent: initial;
 }
-
-td, th { padding: 1px; border-style: inset; }
+td, th { padding: 1px; }
 th { font-weight: bold; }
 
 thead, tbody, tfoot, table &gt; tr { vertical-align: middle; }
@@ -1067,20 +1064,26 @@
 
 table[rules=none i], table[rules=groups i], table[rules=rows i],
 table[rules=cols i], table[rules=all i] {
-  border-style: none;
+  border-style: hidden;
   border-collapse: collapse;
 }
+table[border] { border-style: outset; }
+table[frame=void i] { border-style: hidden; }
+table[frame=above i] { border-style: outset hidden hidden hidden; }
+table[frame=below i] { border-style: hidden hidden outset hidden; }
+table[frame=hsides i] { border-style: outset hidden outset hidden; }
+table[frame=lhs i] { border-style: hidden hidden hidden outset; }
+table[frame=rhs i] { border-style: hidden outset hidden hidden; }
+table[frame=vsides i] { border-style: hidden outset; }
+table[frame=box i], table[frame=border i] { border-style: outset; }
 
-table[frame=void i] { border-style: hidden hidden hidden hidden; }
-table[frame=above i] { border-style: solid hidden hidden hidden; }
-table[frame=below i] { border-style: hidden hidden solid hidden; }
-table[frame=hsides i] { border-style: solid hidden solid hidden; }
-table[frame=lhs i] { border-style: hidden hidden hidden solid; }
-table[frame=rhs i] { border-style: hidden solid hidden hidden; }
-table[frame=vsides i] { border-style: hidden solid hidden solid; }
-table[frame=box i],
-table[frame=border i] { border-style: solid solid solid solid; }
-
+table[border] &gt; tr &gt; td, table[border] &gt; tr &gt; th,
+table[border] &gt; thead &gt; tr &gt; td, table[border] &gt; thead &gt; tr &gt; th,
+table[border] &gt; tbody &gt; tr &gt; td, table[border] &gt; tbody &gt; tr &gt; th,
+table[border] &gt; tfoot &gt; tr &gt; td, table[border] &gt; tfoot &gt; tr &gt; th {
+  border-width: 1px;
+  border-style: inset;
+}
 table[rules=none i] &gt; tr &gt; td, table[rules=none i] &gt; tr &gt; th,
 table[rules=none i] &gt; thead &gt; tr &gt; td, table[rules=none i] &gt; thead &gt; tr &gt; th,
 table[rules=none i] &gt; tbody &gt; tr &gt; td, table[rules=none i] &gt; tbody &gt; tr &gt; th,
@@ -1093,40 +1096,49 @@
 table[rules=rows i] &gt; thead &gt; tr &gt; td, table[rules=rows i] &gt; thead &gt; tr &gt; th,
 table[rules=rows i] &gt; tbody &gt; tr &gt; td, table[rules=rows i] &gt; tbody &gt; tr &gt; th,
 table[rules=rows i] &gt; tfoot &gt; tr &gt; td, table[rules=rows i] &gt; tfoot &gt; tr &gt; th {
+  border-width: 1px;
   border-style: none;
 }
-
-table[rules=groups i] &gt; colgroup, table[rules=groups i] &gt; thead,
-table[rules=groups i] &gt; tbody, table[rules=groups i] &gt; tfoot {
-  border-style: solid;
-}
-
-table[rules=rows i] &gt; tr, table[rules=rows i] &gt; thead &gt; tr,
-table[rules=rows i] &gt; tbody &gt; tr, table[rules=rows i] &gt; tfoot &gt; tr {
-  border-style: solid;
-}
-
 table[rules=cols i] &gt; tr &gt; td, table[rules=cols i] &gt; tr &gt; th,
 table[rules=cols i] &gt; thead &gt; tr &gt; td, table[rules=cols i] &gt; thead &gt; tr &gt; th,
 table[rules=cols i] &gt; tbody &gt; tr &gt; td, table[rules=cols i] &gt; tbody &gt; tr &gt; th,
 table[rules=cols i] &gt; tfoot &gt; tr &gt; td, table[rules=cols i] &gt; tfoot &gt; tr &gt; th {
-  border-style: none solid none solid;
+  border-width: 1px;
+  border-style: none solid;
 }
-
 table[rules=all i] &gt; tr &gt; td, table[rules=all i] &gt; tr &gt; th,
 table[rules=all i] &gt; thead &gt; tr &gt; td, table[rules=all i] &gt; thead &gt; tr &gt; th,
 table[rules=all i] &gt; tbody &gt; tr &gt; td, table[rules=all i] &gt; tbody &gt; tr &gt; th,
 table[rules=all i] &gt; tfoot &gt; tr &gt; td, table[rules=all i] &gt; tfoot &gt; tr &gt; th {
+  border-width: 1px;
   border-style: solid;
 }
 
-table[border] &gt; tr &gt; td, table[border] &gt; tr &gt; th,
-table[border] &gt; thead &gt; tr &gt; td, table[border] &gt; thead &gt; tr &gt; th,
-table[border] &gt; tbody &gt; tr &gt; td, table[border] &gt; tbody &gt; tr &gt; th,
-table[border] &gt; tfoot &gt; tr &gt; td, table[border] &gt; tfoot &gt; tr &gt; th {
-  border-width: 1px;
+table[rules=groups i] &gt; colgroup {
+  border-left-width: 1px;
+  border-left-style: solid;
+  border-right-width: 1px;
+  border-right-style: solid;
+}
+table[rules=groups i] &gt; thead,
+table[rules=groups i] &gt; tbody,
+table[rules=groups i] &gt; tfoot {
+  border-top-width: 1px;
+  border-top-style: solid;
+  border-bottom-width: 1px;
+  border-bottom-style: solid;
+}
+
+table[rules=rows i] &gt; tr, table[rules=rows i] &gt; thead &gt; tr,
+table[rules=rows i] &gt; tbody &gt; tr, table[rules=rows i] &gt; tfoot &gt; tr {
+  border-top-width: 1px;
+  border-top-style: solid;
+  border-bottom-width: 1px;
+  border-bottom-style: solid;
 }</pre>
 
+
+
   <p>In <a href="infrastructure.html#quirks-mode">quirks mode</a>, the following rules are also
   expected to apply:</p>
 

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1720
retrieving revision 1.1721
diff -u -d -r1.1720 -r1.1721
--- spec.html	13 Oct 2011 00:46:35 -0000	1.1720
+++ spec.html	14 Oct 2011 00:47:13 -0000	1.1721
@@ -324,7 +324,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-13-october-2011">Editor's Draft 13 October 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-14-october-2011">Editor's Draft 14 October 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -349,7 +349,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.5357.
+This is revision 1.5358.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2011 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -470,7 +470,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 13 October 2011 Editor's Draft.
+  This specification is the 14 October 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5

Received on Friday, 14 October 2011 00:47:34 UTC