html5/spec Overview.html,1.5357,1.5358

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

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

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5357
retrieving revision 1.5358
diff -u -d -r1.5357 -r1.5358
--- Overview.html	13 Oct 2011 00:41:33 -0000	1.5357
+++ Overview.html	14 Oct 2011 00:38:53 -0000	1.5358
@@ -320,7 +320,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>
@@ -466,7 +466,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
@@ -64898,12 +64898,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; }
@@ -64993,20 +64990,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,
@@ -65019,40 +65022,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="#quirks-mode">quirks mode</a>, the following rules are also
   expected to apply:</p>
 

Received on Friday, 14 October 2011 00:39:01 UTC