W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2011

html5/spec Overview.html,1.5360,1.5361

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 14 Oct 2011 19:09:40 +0000
To: public-html-commits@w3.org
Message-Id: <E1REn8X-0001rG-23@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv7113

Modified Files:
	Overview.html 
Log Message:
<table border=0> shouldn't set a border-style on the table or the cells (whatwg r6684)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5360
retrieving revision 1.5361
diff -u -d -r1.5360 -r1.5361
--- Overview.html	14 Oct 2011 18:37:09 -0000	1.5360
+++ Overview.html	14 Oct 2011 19:09:36 -0000	1.5361
@@ -64991,7 +64991,7 @@
   border-style: hidden;
   border-collapse: collapse;
 }
-table[border] { border-style: outset; }
+table[border] { border-style: outset; } /* <a href="#magic-border-selector">only if border is not equivalent to zero</a> */
 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; }
@@ -65005,6 +65005,7 @@
 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 {
+  /* <a href="#magic-border-selector">only if border is not equivalent to zero</a> */
   border-width: 1px;
   border-style: inset;
 }
@@ -65227,17 +65228,13 @@
   error, a default value of 1px is expected to be used for that
   property instead.</p>
 
-  <p>When a <code><a href="#the-table-element">table</a></code> element's <code title="attr-table-border"><a href="#attr-table-border">border</a></code> attribute is present and,
-  when parsed using the <a href="#rules-for-parsing-non-negative-integers">rules for parsing non-negative
-  integers</a>, is found to have the value zero, the user agent is
-  expected to use the attribute as a <a href="#presentational-hints" title="presentational
-  hints">presentational hint</a> setting the 'border-top-width',
-  'border-right-width', 'border-bottom-width', and 'border-left-width'
-  properties of any <code><a href="#the-td-element">td</a></code> and <code><a href="#the-th-element">th</a></code> elements that
-  are are <a href="#concept-cell" title="concept-cell">cells</a> in the same
-  <a href="#table-model">table model</a> as the <code><a href="#the-table-element">table</a></code> element to
-  zero.</p>
-
+  <p>Rules marked "<dfn id="magic-border-selector">only if border is
+  not equivalent to zero</dfn>" in the CSS block above is expected to
+  only be applied if the <code title="attr-table-border"><a href="#attr-table-border">border</a></code>
+  attribute mentioned in the selectors for the rule is not only
+  present but, when parsed using the <a href="#rules-for-parsing-non-negative-integers">rules for parsing
+  non-negative integers</a>, is also found to have a value other
+  than zero or to generate an error.</p>
 
 
   <h4 id="form-controls"><span class="secno">10.3.9 </span>Form controls</h4>
Received on Friday, 14 October 2011 19:09:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 October 2011 19:09:44 GMT