<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.whatwg.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brentonboy</id>
	<title>WHATWG Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.whatwg.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brentonboy"/>
	<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/wiki/Special:Contributions/Brentonboy"/>
	<updated>2026-04-05T02:41:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Layout_tables&amp;diff=2368</id>
		<title>Layout tables</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Layout_tables&amp;diff=2368"/>
		<updated>2007-07-02T21:18:37Z</updated>

		<summary type="html">&lt;p&gt;Brentonboy: /* Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Description ==&lt;br /&gt;
A majority of HTML coders find the ease and simplicity of the table layout irrisistible, despite the fact that tables should only be used for tabular data.&lt;br /&gt;
&lt;br /&gt;
CSS layouts are possible, however there are some things that are deterringly complicated to do with CSS layouts. Even among coders who validate their code and strive to meet the standards, table layouts are frequently resorted to because they offer the only solution.&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
Create a new table type that is purely presentational. It has the ability to easily put expanding cells next to eachother and most of the other things that make tables so attractive.&lt;br /&gt;
&lt;br /&gt;
However, it also has some unique features which make it purely presentational:&lt;br /&gt;
&lt;br /&gt;
* Cells have the ability to break out of their rows under some circumstances. &lt;br /&gt;
** A table consisting of one row of four cells, when screenwidth is decreaced sufficiently, could become a single columned table with four rows of one cell each.&lt;br /&gt;
** Cells can also be marked as joined or linked, so that they do not break even when the width of the browser is decreased.&lt;br /&gt;
* Cells can be marked as presentational only: their contents would be completely removed or ignored in text only browsers or if styles are disabled.&lt;br /&gt;
* Browsers load the table one cell at a time, so that users do not have to wait for the last cell to load to see content in the first.&lt;br /&gt;
* Additional features inappropriate for tabular tables could be added.&lt;br /&gt;
** Improved cell spanning, similar to colspan or rowspan, allowing cells to span &#039;&#039;selectively&#039;&#039; creating non-rectangular shaped cells through designation to a common &amp;quot;span group&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Brentonboy</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Feature_Proposals&amp;diff=2203</id>
		<title>Feature Proposals</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Feature_Proposals&amp;diff=2203"/>
		<updated>2007-04-12T21:32:59Z</updated>

		<summary type="html">&lt;p&gt;Brentonboy: /* Document Markup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document contains a list of the problems for which feature requests have been made. Linked problem pages contain the document of the problem and their relevant solutions. Obviously, we want to keep HTML as simple as possible. That means not everyone will get what they want. Having good documentation for the problems at hand will help all of us work out what is most important.&lt;br /&gt;
&lt;br /&gt;
== Guidelines ==&lt;br /&gt;
&lt;br /&gt;
Before proposing a feature, please read [http://blog.whatwg.org/proposing-features Proposing features].  If you want to add a feature request, start by copying the [[Problem Solving]] template page onto a new page and fill out as much information as you can.&lt;br /&gt;
&lt;br /&gt;
You don&#039;t have to provide detailed answers for everything straight away.  The most important information to provide at first is the problem description.  Once we have detailed descriptions, use cases and an understanding of the limitations with existing markup, we can then begin to discuss the best way in which to address the problems and work out more of the more technical details.&lt;br /&gt;
&lt;br /&gt;
== Document Markup ==&lt;br /&gt;
* [[Dialogue]]&lt;br /&gt;
* [[Annotation]]&lt;br /&gt;
* [[Footnotes]]&lt;br /&gt;
* [[Sidenotes]]&lt;br /&gt;
* [[Image Caption]]&lt;br /&gt;
* [[Inline Math]]&lt;br /&gt;
* [[Layout tables]]&lt;br /&gt;
&lt;br /&gt;
== DOM Scripting ==&lt;br /&gt;
* [[Text in Canvas]]&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
* [[Link Hashes]]&lt;br /&gt;
* [[Digital Signatures]]&lt;br /&gt;
&lt;br /&gt;
== Other ==&lt;br /&gt;
&lt;br /&gt;
This list of features needs to be sorted out.  They&#039;ve come from all the [http://del.icio.us/lachlan.hunt/WHATWG feedback provided on blogs] over the past few weeks.&lt;br /&gt;
&lt;br /&gt;
* Don&#039;t render quotation marks around &amp;lt;code&amp;gt;q&amp;lt;/code&amp;gt; elements.&lt;br /&gt;
* Make form validation easier&lt;br /&gt;
** &amp;lt;code&amp;gt;required&amp;lt;/code&amp;gt; attribute&lt;br /&gt;
** &amp;lt;code&amp;gt;maxlength&amp;lt;/code&amp;gt; attribute for textarea&lt;br /&gt;
** &amp;lt;code&amp;gt;pattern&amp;lt;/code&amp;gt; attribute&lt;br /&gt;
** &amp;lt;code&amp;gt;min&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;max&amp;lt;/code&amp;gt;&lt;br /&gt;
* New Form Controls&lt;br /&gt;
** Search fields&lt;br /&gt;
** Combo boxes&lt;br /&gt;
** Date/Time&lt;br /&gt;
** E-mail&lt;br /&gt;
** Int&lt;br /&gt;
** Long&lt;br /&gt;
** Unsigned&lt;br /&gt;
** Float&lt;br /&gt;
** Number&lt;br /&gt;
** Currency&lt;br /&gt;
** URL&lt;br /&gt;
* WYSIWIG Editor (&amp;lt;code&amp;gt;contentEditable&amp;lt;/code&amp;gt;)&lt;br /&gt;
* Placeholder attribute&lt;br /&gt;
* Captions for images&lt;br /&gt;
* Bring back the &amp;lt;code&amp;gt;start&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; attributes for ordered lists.&lt;br /&gt;
* Bring back the &amp;lt;code&amp;gt;menu&amp;lt;/code&amp;gt; element&lt;br /&gt;
* Require XHTML-link syntax for HTML&lt;br /&gt;
* Caption/label/list header for lists&lt;br /&gt;
* Include the &amp;lt;code&amp;gt;role&amp;lt;/code&amp;gt; attribute.&lt;br /&gt;
* Allow &amp;lt;code&amp;gt;href&amp;lt;/code&amp;gt; on all elements&lt;br /&gt;
* Make it easier to mark up blocks of code&lt;br /&gt;
* Allow block level elements inside paragraphs&lt;br /&gt;
* “a tag that could hold &amp;quot;bad grammar&amp;quot; and not have any effect on the validation (sort of like a document.write from JavaScript) and would terminate all unclosed items at the end of the element (like TDs tend to do).”&lt;br /&gt;
* &amp;lt;code&amp;gt;blink&amp;lt;/code&amp;gt;!&lt;br /&gt;
* Fix the &amp;lt;code&amp;gt;object&amp;lt;/code&amp;gt; element.&lt;br /&gt;
* Unify &amp;lt;code&amp;gt;img&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;object&amp;lt;/code&amp;gt;, &amp;lt;/code&amp;gt;embed&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;iframe&amp;lt;/code&amp;gt; into a single element&lt;br /&gt;
* Headers and footers&lt;br /&gt;
* A mechanism to include content from an external source (e.g. &amp;lt;code&amp;gt;include&amp;lt;/code&amp;gt;, perhaps like XInclude)&lt;br /&gt;
* A &amp;lt;code&amp;gt;corner&amp;lt;/code&amp;gt; element (presumably for making rounded corners)&lt;br /&gt;
* Markup for advertisements&lt;br /&gt;
* Easier column layouts&lt;br /&gt;
* A &amp;lt;code&amp;gt;foot&amp;lt;/code&amp;gt; element for containing scripts at the bottom of the page, or something to help deal with cross-browser load events.&lt;br /&gt;
* Key Generation/Certificate management (The &amp;lt;code&amp;gt;keygen&amp;lt;/code&amp;gt; element)&lt;/div&gt;</summary>
		<author><name>Brentonboy</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Feature_Proposals&amp;diff=2202</id>
		<title>Feature Proposals</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Feature_Proposals&amp;diff=2202"/>
		<updated>2007-04-12T21:32:43Z</updated>

		<summary type="html">&lt;p&gt;Brentonboy: /* Document Markup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document contains a list of the problems for which feature requests have been made. Linked problem pages contain the document of the problem and their relevant solutions. Obviously, we want to keep HTML as simple as possible. That means not everyone will get what they want. Having good documentation for the problems at hand will help all of us work out what is most important.&lt;br /&gt;
&lt;br /&gt;
== Guidelines ==&lt;br /&gt;
&lt;br /&gt;
Before proposing a feature, please read [http://blog.whatwg.org/proposing-features Proposing features].  If you want to add a feature request, start by copying the [[Problem Solving]] template page onto a new page and fill out as much information as you can.&lt;br /&gt;
&lt;br /&gt;
You don&#039;t have to provide detailed answers for everything straight away.  The most important information to provide at first is the problem description.  Once we have detailed descriptions, use cases and an understanding of the limitations with existing markup, we can then begin to discuss the best way in which to address the problems and work out more of the more technical details.&lt;br /&gt;
&lt;br /&gt;
== Document Markup ==&lt;br /&gt;
* [[Dialogue]]&lt;br /&gt;
* [[Annotation]]&lt;br /&gt;
* [[Footnotes]]&lt;br /&gt;
* [[Sidenotes]]&lt;br /&gt;
* [[Image Caption]]&lt;br /&gt;
* [[Inline Math]]&lt;br /&gt;
* [[Layout Tables]]&lt;br /&gt;
&lt;br /&gt;
== DOM Scripting ==&lt;br /&gt;
* [[Text in Canvas]]&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
* [[Link Hashes]]&lt;br /&gt;
* [[Digital Signatures]]&lt;br /&gt;
&lt;br /&gt;
== Other ==&lt;br /&gt;
&lt;br /&gt;
This list of features needs to be sorted out.  They&#039;ve come from all the [http://del.icio.us/lachlan.hunt/WHATWG feedback provided on blogs] over the past few weeks.&lt;br /&gt;
&lt;br /&gt;
* Don&#039;t render quotation marks around &amp;lt;code&amp;gt;q&amp;lt;/code&amp;gt; elements.&lt;br /&gt;
* Make form validation easier&lt;br /&gt;
** &amp;lt;code&amp;gt;required&amp;lt;/code&amp;gt; attribute&lt;br /&gt;
** &amp;lt;code&amp;gt;maxlength&amp;lt;/code&amp;gt; attribute for textarea&lt;br /&gt;
** &amp;lt;code&amp;gt;pattern&amp;lt;/code&amp;gt; attribute&lt;br /&gt;
** &amp;lt;code&amp;gt;min&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;max&amp;lt;/code&amp;gt;&lt;br /&gt;
* New Form Controls&lt;br /&gt;
** Search fields&lt;br /&gt;
** Combo boxes&lt;br /&gt;
** Date/Time&lt;br /&gt;
** E-mail&lt;br /&gt;
** Int&lt;br /&gt;
** Long&lt;br /&gt;
** Unsigned&lt;br /&gt;
** Float&lt;br /&gt;
** Number&lt;br /&gt;
** Currency&lt;br /&gt;
** URL&lt;br /&gt;
* WYSIWIG Editor (&amp;lt;code&amp;gt;contentEditable&amp;lt;/code&amp;gt;)&lt;br /&gt;
* Placeholder attribute&lt;br /&gt;
* Captions for images&lt;br /&gt;
* Bring back the &amp;lt;code&amp;gt;start&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; attributes for ordered lists.&lt;br /&gt;
* Bring back the &amp;lt;code&amp;gt;menu&amp;lt;/code&amp;gt; element&lt;br /&gt;
* Require XHTML-link syntax for HTML&lt;br /&gt;
* Caption/label/list header for lists&lt;br /&gt;
* Include the &amp;lt;code&amp;gt;role&amp;lt;/code&amp;gt; attribute.&lt;br /&gt;
* Allow &amp;lt;code&amp;gt;href&amp;lt;/code&amp;gt; on all elements&lt;br /&gt;
* Make it easier to mark up blocks of code&lt;br /&gt;
* Allow block level elements inside paragraphs&lt;br /&gt;
* “a tag that could hold &amp;quot;bad grammar&amp;quot; and not have any effect on the validation (sort of like a document.write from JavaScript) and would terminate all unclosed items at the end of the element (like TDs tend to do).”&lt;br /&gt;
* &amp;lt;code&amp;gt;blink&amp;lt;/code&amp;gt;!&lt;br /&gt;
* Fix the &amp;lt;code&amp;gt;object&amp;lt;/code&amp;gt; element.&lt;br /&gt;
* Unify &amp;lt;code&amp;gt;img&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;object&amp;lt;/code&amp;gt;, &amp;lt;/code&amp;gt;embed&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;iframe&amp;lt;/code&amp;gt; into a single element&lt;br /&gt;
* Headers and footers&lt;br /&gt;
* A mechanism to include content from an external source (e.g. &amp;lt;code&amp;gt;include&amp;lt;/code&amp;gt;, perhaps like XInclude)&lt;br /&gt;
* A &amp;lt;code&amp;gt;corner&amp;lt;/code&amp;gt; element (presumably for making rounded corners)&lt;br /&gt;
* Markup for advertisements&lt;br /&gt;
* Easier column layouts&lt;br /&gt;
* A &amp;lt;code&amp;gt;foot&amp;lt;/code&amp;gt; element for containing scripts at the bottom of the page, or something to help deal with cross-browser load events.&lt;br /&gt;
* Key Generation/Certificate management (The &amp;lt;code&amp;gt;keygen&amp;lt;/code&amp;gt; element)&lt;/div&gt;</summary>
		<author><name>Brentonboy</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Layout_tables&amp;diff=2201</id>
		<title>Layout tables</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Layout_tables&amp;diff=2201"/>
		<updated>2007-04-12T21:31:10Z</updated>

		<summary type="html">&lt;p&gt;Brentonboy: /* Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Description ==&lt;br /&gt;
A majority of HTML coders find the ease and simplicity of the table layout irrisistible, despite the fact that tables should only be used for tabular data.&lt;br /&gt;
&lt;br /&gt;
CSS layouts are possible, however there are some things that are deterringly complicated to do with CSS layouts. Even among coders who validate their code and strive to meet the standards, table layouts are frequently resorted to because they offer the only solution.&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
Create a new table type that is purely presentational. It has the ability to easily put expanding cells next to eachother and most of the other things that make tables so attractive.&lt;br /&gt;
&lt;br /&gt;
However, it also has some unique features which make it purely presentational:&lt;br /&gt;
&lt;br /&gt;
* Cells have the ability to break out of their rows under some circumstances. &lt;br /&gt;
** A table consisting of one row of four cells, when screenwidth is decreaced sufficiently, could become a single columned table with four rows of one cell each.&lt;br /&gt;
** Cells can also be marked as joined or linked, so that they do not break even when the width of the browser is decreased.&lt;br /&gt;
* Cells can be marked as presentational only: their contents would be completely removed or ignored in text only browsers or if styles are disabled.&lt;br /&gt;
* Browsers load the table one cell at a time, so that users do not have to wait for the last cell to load to see content in the first.&lt;br /&gt;
* Additional features inappropriate for tabular tables could be added.&lt;br /&gt;
** Improved cell spanning, similar to colspan or rowspan, allowing cells to span &#039;&#039;selectively&#039;&#039; creating non-rectangular shaped cells through designation to a common &amp;quot;span group&amp;quot;.&lt;br /&gt;
[[Image:http://www.brentonboy.net/misc-pics/cellspan.gif|right]]&lt;/div&gt;</summary>
		<author><name>Brentonboy</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Layout_tables&amp;diff=2200</id>
		<title>Layout tables</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Layout_tables&amp;diff=2200"/>
		<updated>2007-04-12T21:30:09Z</updated>

		<summary type="html">&lt;p&gt;Brentonboy: /* Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Description ==&lt;br /&gt;
A majority of HTML coders find the ease and simplicity of the table layout irrisistible, despite the fact that tables should only be used for tabular data.&lt;br /&gt;
&lt;br /&gt;
CSS layouts are possible, however there are some things that are deterringly complicated to do with CSS layouts. Even among coders who validate their code and strive to meet the standards, table layouts are frequently resorted to because they offer the only solution.&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
Create a new table type that is purely presentational. It has the ability to easily put expanding cells next to eachother and most of the other things that make tables so attractive.&lt;br /&gt;
&lt;br /&gt;
However, it also has some unique features which make it purely presentational:&lt;br /&gt;
&lt;br /&gt;
* Cells have the ability to break out of their rows under some circumstances. &lt;br /&gt;
** A table consisting of one row of four cells, when screenwidth is decreaced sufficiently, could become a single columned table with four rows of one cell each.&lt;br /&gt;
** Cells can also be marked as joined or linked, so that they do not break even when the width of the browser is decreased.&lt;br /&gt;
* Cells can be marked as presentational only: their contents would be completely removed or ignored in text only browsers or if styles are disabled.&lt;br /&gt;
* Browsers load the table one cell at a time, so that users do not have to wait for the last cell to load to see content in the first.&lt;br /&gt;
* Additional features inappropriate for tabular tables could be added.&lt;br /&gt;
** Improved cell spanning, similar to colspan or rowspan, allowing cells to span &#039;&#039;selectively&#039;&#039; creating non-rectangular shaped cells through designation to a common &amp;quot;span group&amp;quot;.&lt;br /&gt;
[[Image:cellspan.gif|right]]&lt;/div&gt;</summary>
		<author><name>Brentonboy</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Layout_tables&amp;diff=2199</id>
		<title>Layout tables</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Layout_tables&amp;diff=2199"/>
		<updated>2007-04-12T21:29:03Z</updated>

		<summary type="html">&lt;p&gt;Brentonboy: create article&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Description ==&lt;br /&gt;
A majority of HTML coders find the ease and simplicity of the table layout irrisistible, despite the fact that tables should only be used for tabular data.&lt;br /&gt;
&lt;br /&gt;
CSS layouts are possible, however there are some things that are deterringly complicated to do with CSS layouts. Even among coders who validate their code and strive to meet the standards, table layouts are frequently resorted to because they offer the only solution.&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
Create a new table type that is purely presentational. It has the ability to easily put expanding cells next to eachother and most of the other things that make tables so attractive.&lt;br /&gt;
&lt;br /&gt;
However, it also has some unique features which make it purely presentational:&lt;br /&gt;
&lt;br /&gt;
* Cells have the ability to break out of their rows under some circumstances. &lt;br /&gt;
** A table consisting of one row of four cells, when screenwidth is decreaced sufficiently, could become a single columned table with four rows of one cell each.&lt;br /&gt;
** Cells can also be marked as joined or linked, so that they do not break even when the width of the browser is decreased.&lt;br /&gt;
* Cells can be marked as presentational only: their contents would be completely removed or ignored in text only browsers or if styles are disabled.&lt;br /&gt;
* Browsers load the table one cell at a time, so that users do not have to wait for the last cell to load to see content in the first.&lt;br /&gt;
* Additional features inappropriate for tabular tables could be added.&lt;br /&gt;
** Improved cell spanning, similar to colspan or rowspan, allowing cells to span &#039;&#039;selectively&#039;&#039; creating non-rectangular shaped cells through designation to a common &amp;quot;span group&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Brentonboy</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Image_Caption&amp;diff=2138</id>
		<title>Image Caption</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Image_Caption&amp;diff=2138"/>
		<updated>2007-03-15T23:13:11Z</updated>

		<summary type="html">&lt;p&gt;Brentonboy: /* Problem Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Image caption are often found on the web, but there is no standard markup for this.&lt;br /&gt;
&lt;br /&gt;
== Problem Description ==&lt;br /&gt;
Currently, most people use either a table, custom class names, or simply put the image inside a paragraph, each option either conveying a wrong meaning or being ambiguous with the rest of the content.&lt;br /&gt;
&lt;br /&gt;
An interesting analysis has been done on the subject by Dan Cederholm in one of his SimpleQuiz. [http://www.simplebits.com/notebook/2004/01/20/sqxi_conclusion.html His conclusion]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;So in this case, I might choose option A -- because visually it shows the relationship between the items better than the others. But I suppose this is bad semantics. Or maybe just another case where we don&#039;t have the &#039;perfect&#039; set of defined elements for this (very) specific job.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And his option A was:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;img scr=&amp;quot;...&amp;quot;&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
   Caption Text&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In other word, he could not figure out anything good using current elements available in HTML, and, as most people do, had to create his own solution.&lt;br /&gt;
&lt;br /&gt;
Setting a standard for such things -- an explicit association between the caption and the illustration -- would help image search engines, it could enable the automatic creation of a figure index for a page. It would also be benificial for sight-impaired users. The fact that image captions should be treated differently to body text (they are not in the main flow of the document) suggests this element could be important for figure handling by assistive tools allowing e.g. aural browsers to skip captions except on explicit user request.&lt;br /&gt;
&lt;br /&gt;
=== Current Methods and Workarounds ===&lt;br /&gt;
See [[Image Caption Examples]] for a couple of sample cases.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solutions ==&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;figure&amp;gt; with &amp;amp;lt;caption&amp;gt; ===&lt;br /&gt;
A &amp;lt;figure&amp;gt; element contains illustrative content for the current section. It can contain a &amp;amp;lt;caption&amp;gt; element, either as the first or the last child, that will be used to describe or give a caption to the content of the figure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Caption Text&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;...&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Processing Model ====&lt;br /&gt;
The processing model for HTML files must be changed so that the &amp;amp;lt;caption&amp;gt; is no longer ignored when outside the context of a table. It could also be a good idea to add a new figure insertion mode that would prevent figure captions from being moved to the enclosing table when inside a table cell, otherwise &amp;amp;lt;figure&amp;gt; will break in table-based layouts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  &amp;lt;figure&amp;gt;&lt;br /&gt;
    &amp;lt;caption&amp;gt;Caption Text&amp;lt;/caption&amp;gt;&lt;br /&gt;
    &amp;lt;img src=&amp;quot;...&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Limitations ====&lt;br /&gt;
&amp;amp;lt;caption&amp;gt; being ignored by current browsers when outside a table makes it impossible to style, and it&#039;ll also be terribly broken with table layouts when figure captions end up at the top (or the bottom) of the enclosing layout table.&lt;br /&gt;
&lt;br /&gt;
==== Implementation ====&lt;br /&gt;
Parsing changes in this solution could be hard to implement given &amp;amp;lt;caption&amp;gt; element&#039;s legacy within &amp;amp;lt;table&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Putting aside the parsing problem, there&#039;s not much else to implement for visual browsers. A good display model that could be used to display figures is already available in CSS 2.1:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
figure { display: table; }&lt;br /&gt;
caption { display: table-caption; }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would display the figure as a one-cell table, and the caption either at the top or at the bottom (depending on the [http://www.w3.org/TR/CSS21/tables.html#propdef-caption-side caption-side] property). The interesting part of this model is that the caption&#039;s width is constrained by the width of the figure, making it the ideal choice for floated figures.&lt;br /&gt;
&lt;br /&gt;
==== Adoption ==== &lt;br /&gt;
The syntax is pretty straightforward to use. &amp;quot;figure&amp;quot; and &amp;quot;caption&amp;quot; are commonly used terms to designate exactly this feature in the print world. It should be a natural choice to authors that wonder how to markup their images.&lt;br /&gt;
&lt;br /&gt;
This markup won&#039;t work however if an author wants the caption to be elsewhere in the document. (In this proposal, &amp;amp;lt;caption&amp;gt; is pinned to the figure&#039;s content.) It does not seem a common use case however.&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;figure&amp;gt; with &amp;amp;lt;legend&amp;gt; ===&lt;br /&gt;
A &amp;lt;figure&amp;gt; element contains illustrative content for the current section. It can contain a &amp;amp;lt;legend&amp;gt; element, either as the first or the last child, that will be used to describe or give a caption to the content of the figure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;legend&amp;gt;Caption Text&amp;lt;/legend&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;...&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Processing Model ====&lt;br /&gt;
:&#039;&#039;To be completed&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Limitations ====&lt;br /&gt;
:&#039;&#039;To be completed&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Implementation ====&lt;br /&gt;
A good display model that could be used to display figures is already available in CSS 2.1, the table model. A default stylesheet could look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
figure { display: table; }&lt;br /&gt;
figure legend { display: table-caption; }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would display the figure as a one-cell table, and the figure legend either at the top or at the bottom (depending on the [http://www.w3.org/TR/CSS21/tables.html#propdef-caption-side caption-side] property). The interesting part of this model is that the legend&#039;s width is constrained by the width of the figure, making it the ideal choice for floated figures.&lt;br /&gt;
&lt;br /&gt;
==== Adoption ==== &lt;br /&gt;
&amp;quot;figure&amp;quot; and &amp;quot;legend&amp;quot; are commonly used terms in the print world, so their use could prove natural to authors. It is most likely that authors that need a markup for their figure will chose this one if it is sanctioned in a standard.&lt;br /&gt;
&lt;br /&gt;
This markup won&#039;t work if an author wants the caption to be elsewhere in the document. (In this proposal, &amp;amp;lt;legend&amp;gt; is pinned to the figure&#039;s content.) It does not seem a common use case however.&lt;br /&gt;
&lt;br /&gt;
=== Adjacent &amp;amp;lt;caption&amp;gt; or &amp;lt;legend&amp;gt; ===&lt;br /&gt;
&amp;amp;lt;caption&amp;gt; or &amp;lt;legend&amp;gt; elements directly following a &amp;lt;img&amp;gt; element give the caption text for that image.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;img src=&amp;quot;...&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;caption&amp;gt;Caption Text&amp;lt;/caption&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;img src=&amp;quot;...&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;legend&amp;gt;Caption Text&amp;lt;/legend&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Processing Model ====&lt;br /&gt;
The processing model for HTML files must be changed so that the &amp;amp;lt;caption&amp;gt; is no longer ignored when outside the context of a table. It could also be a good idea to add a new figure insertion mode that would prevent figure captions from being moved to the enclosing table when inside a table cell, otherwise &amp;amp;lt;figure&amp;gt; will break in table-based layouts.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Are the elements in this construct inline or block-level content? Currently &amp;lt;img&amp;gt; is inline.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If any other element, or non-whitespace text nodes are found between &amp;lt;img&amp;gt; and its corresponding caption element, elements are considered to not be adjacent, the semantic link is broken and it generates a parse error.&lt;br /&gt;
&lt;br /&gt;
==== Limitations ====&lt;br /&gt;
&amp;lt;caption&amp;gt; being ignored by current browsers when outside a table makes it impossible to style, and it&#039;ll also be terribly broken with table layouts when captions end up at the top (or the bottom) of the enclosing layout table.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;To be completed: &amp;lt;legend&amp;gt; parsing&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Implementation ====&lt;br /&gt;
Parsing changes in this solution could be hard to implement given &amp;lt;caption&amp;gt; element&#039;s legacy within &amp;amp;lt;table&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;To be completed: &amp;lt;legend&amp;gt; parsing implementation&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Giving a distinctive visual style to figure captions may prove difficult with this design. If a browser wants to treat figures in a distinctive manner, it&#039;ll have treat them as a special case; the adjacent element selector in CSS can&#039;t distinguish between adjacent elements which are separated by text and those that are not.&lt;br /&gt;
&lt;br /&gt;
==== Adoption ==== &lt;br /&gt;
:&#039;&#039;To be completed&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;legend&amp;quot; and &amp;quot;caption&amp;quot; are commonly used terms in the print world, so their use could prove natural to authors. Difficulties in styling are likely however to cause authors to always warp figures in a &amp;lt;div&amp;gt; element as most already do anyway (see [[Image Caption Examples]]).&lt;br /&gt;
&lt;br /&gt;
This markup won&#039;t work if an author wants the caption to be elsewhere in the document. It does not seem a common use case however.&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;label&amp;gt; defining attributes with nested markup ===&lt;br /&gt;
A &amp;lt;label&amp;gt; element holds a value which should be treated the same way like the title attribute on &amp;lt;img&amp;gt;, except that it can contain nested markup. The for attribute of the label contains the id of the target element. A new type attribute on the label indicates which attribute the label intend to replace on the target.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;img id=&amp;quot;img1&amp;quot; src=&amp;quot;...&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;label for=&amp;quot;img1&amp;quot; type=&amp;quot;title&amp;quot;&amp;gt;...&amp;lt;/label&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Processing Model ====&lt;br /&gt;
:&#039;&#039;To be completed: Attribute override, progressive rendering, etc.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Limitations ====&lt;br /&gt;
:&#039;&#039;To be completed&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Implementation ====&lt;br /&gt;
:&#039;&#039;To be completed&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Adoption ==== &lt;br /&gt;
This markup has the benefit that it&#039;ll work if an author wants the caption to be elsewhere in the document.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;To be completed&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Feature Request]]&lt;/div&gt;</summary>
		<author><name>Brentonboy</name></author>
	</entry>
</feed>