This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8375 - Mention that when in "in select in table", there is always a "select" element in table scope
Summary: Mention that when in "in select in table", there is always a "select" element...
Status: RESOLVED NEEDSINFO
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-25 12:46 UTC by Henri Sivonen
Modified: 2011-04-20 09:04 UTC (History)
6 users (show)

See Also:


Attachments

Description Henri Sivonen 2009-11-25 12:46:24 UTC
It seems to me that a start tag for CAPTION, TBODY, THEAD, TFOOT, TR, TD, TH, TABLE in 'in select in table' causes an infinite loop in the fragment case when there's no <select> in table scope, because the "as if" </select> doesn't change any state before the token is reprocessed.

Maybe it's impossible to reach this state in the fragment mode. If that's the case, the assertion about fragment mode in the spec should be replaced with a "this can't happen" assertion.
Comment 1 Henri Sivonen 2010-01-06 09:29:44 UTC
Sorry about the bad bug report. I inlined the bit from "An end tag whose tag name is "select"" from "in select" into the "Act as if an end tag with the tag name "select" had been seen" part of "in select in table".

This resulted in a non-sensical "(fragment case)" assertion, but as a result of inlining, it isn't really a spec bug.

It would be nice to mention that it's impossible to reach "in select in table" without having a "select" element in table scope, though. (If that's true!)
Comment 2 Ian 'Hixie' Hickson 2010-02-05 20:43:23 UTC
Am I correct in assuming that

> It would be nice to mention that it's impossible to reach "in select in table"
> without having a "select" element in table scope, though. (If that's true!)

...is the only request here?

If so it would be helpful to understand where such a mention should be placed.
Comment 3 Maciej Stachowiak 2010-02-07 07:01:27 UTC
Marking this NEEDSINFO since Ian asked for info. Henri, I hope you're ok with this lacking the formal response template.