[Webkit-unassigned] [Bug 49341] REGRESSION: Select combo-box not displayed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 11 12:47:59 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49341





--- Comment #9 from Robert Hogan <robert at webkit.org>  2010-11-11 12:47:59 PST ---
(In reply to comment #8)
> If you're breaking libhtml5 tests, then you're likely violating the html5 spec.  Please file a bug with the html5 spec if you want to change those results.
> 
> Looking at "in body" mode, I don't see <option> being ignored:
> http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#parsing-main-inbody

Right, the spec there says:

"A start tag whose tag name is "select"
- Reconstruct the active formatting elements, if any.
- Insert an HTML element for the token.
etc."

Which is what webkit does. However looking at the web inspect in Opera, it looks like it does:

"A start tag whose tag name is "select"
- If the current node is an option element, then act as if an end tag with the tag name "option" had been seen.
- Reconstruct the active formatting elements, if any.
- Insert an HTML element for the token.
etc."

And doing the same in Webkit also fixes it. It also fixes two failing tests in the html5 test. However it still has one failure in webkit01.dat. I take it those are webkit-generated tests rather than spec-generated?

Interestingly if I change the stray <option> to a <datalist> in opera it exhibits the same bug we see here with <option>. So it looks like it has implemented the workaround for <option> only.

I filed a comment on this to the html5 spec and referenced the bug here.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11302

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list