NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 588 - Allow flow content inside <table><caption> but disallow <table> as a descendant of <caption>
Allow flow content inside <table><caption> but disallow <table> as a descenda...
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML5 schema
HEAD
All All
: P2 normal
Assigned To: Michael[tm] Smith
http://html5.org/tools/web-apps-track...
: 611 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-26 12:45 CEST by Michael[tm] Smith
Modified: 2009-10-22 11:59 CEST (History)
1 user (show)

See Also:


Attachments
patch (1.89 KB, patch)
2009-10-22 11:54 CEST, Michael[tm] Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael[tm] Smith 2009-06-26 12:45:19 CEST
 
Comment 1 Michael[tm] Smith 2009-07-06 06:50:36 CEST
The constraint that requires more than the usual amount of work to implement checking on this is the following added constraint on the <legend> element:

  Content model:
  "When the parent node is a figure element: flow content, but with
   no descendant figure elements.

  "Otherwise: phrasing content.

http://www.whatwg.org/specs/web-apps/current-work/multipage/interactive-elements.html#the-legend-element
Comment 2 Michael[tm] Smith 2009-07-15 08:08:16 CEST
*** Bug 611 has been marked as a duplicate of this bug. ***
Comment 3 Michael[tm] Smith 2009-10-22 11:51:39 CEST
current content model for <caption> is:

  Flow content, but with no descendant table elements.

http://www.whatwg.org/specs/web-apps/current-work/#the-caption-element
Comment 4 Michael[tm] Smith 2009-10-22 11:54:21 CEST
Created attachment 120 [details]
patch
Comment 5 Michael[tm] Smith 2009-10-22 11:59:29 CEST
syntax 472
http://whattf.browse.cvsdude.com/syntax?view=rev&revision=472