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

html5/spec Overview.html,1.4461,1.4462

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 05 Oct 2010 22:14:39 +0000
To: public-html-commits@w3.org
Message-Id: <E1P3FmR-00080q-MW@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30784

Modified Files:
	Overview.html 
Log Message:
Try to define how <legend> renders more accurately. (whatwg r5583)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4461
retrieving revision 1.4462
diff -u -d -r1.4461 -r1.4462
--- Overview.html	5 Oct 2010 21:48:20 -0000	1.4461
+++ Overview.html	5 Oct 2010 22:14:35 -0000	1.4462
@@ -62551,21 +62551,27 @@
   <p>The <code><a href="#the-fieldset-element">fieldset</a></code> element is expected to establish a new
   block formatting context.</p>
 
-  <p>The first <code><a href="#the-legend-element">legend</a></code> element child of a
-  <code><a href="#the-fieldset-element">fieldset</a></code> element, if any, and if it has a computed
-  'display' value of 'block', and if it is not out-of-flow (e.g. not
-  absolutely positioned or floated), is expected to be rendered over
-  the top border edge of the <code><a href="#the-fieldset-element">fieldset</a></code> element. If the
-  <code><a href="#the-legend-element">legend</a></code> element in question has an <code title="attr-legend-align"><a href="#attr-legend-align">align</a></code> attribute, and its value is
-  an <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for one of the strings
-  in the first column of the following table, then the
-  <code><a href="#the-legend-element">legend</a></code> is expected to be rendered horizontally aligned
-  over the border edge in the position given in the corresponding cell
-  on the same row in the second column. If the attribute is absent or
-  has a value that doesn't match any of the cases in the table, then
-  the position is expected to be on the right if the 'direction'
-  property on this element has a computed value of 'rtl', and on the
-  left otherwise.</p>
+  <p>If the <code><a href="#the-fieldset-element">fieldset</a></code> element has a child that matches the
+  conditions in the list below, then the first such child is the
+  <code><a href="#the-fieldset-element">fieldset</a></code> element's <dfn id="rendered-legend">rendered legend</dfn>:</p>
+
+  <ul class="brief"><li>The child is a <code><a href="#the-legend-element">legend</a></code> element.</li>
+
+   <li>The child is not out-of-flow (e.g. not absolutely positioned or floated).</li>
+
+  </ul><p>A <code><a href="#the-fieldset-element">fieldset</a></code> element's <a href="#rendered-legend">rendered legend</a>,
+  if any, is expected to be rendered over the top border edge of the
+  <code><a href="#the-fieldset-element">fieldset</a></code> element. If the <code><a href="#the-legend-element">legend</a></code> element in
+  question has an <code title="attr-legend-align"><a href="#attr-legend-align">align</a></code>
+  attribute, and its value is an <a href="#ascii-case-insensitive">ASCII case-insensitive</a>
+  match for one of the strings in the first column of the following
+  table, then the <code><a href="#the-legend-element">legend</a></code> is expected to be rendered
+  horizontally aligned over the border edge in the position given in
+  the corresponding cell on the same row in the second column. If the
+  attribute is absent or has a value that doesn't match any of the
+  cases in the table, then the position is expected to be on the right
+  if the 'direction' property on this element has a computed value of
+  'rtl', and on the left otherwise.</p>
 
   <table><thead><tr><th>Attribute value
      <th>Alignment position
Received on Tuesday, 5 October 2010 22:14:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 5 October 2010 22:14:43 GMT