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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 13 06:40:47 PST 2010


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





--- Comment #12 from Robert Hogan <robert at webkit.org>  2010-11-13 06:40:47 PST ---
(In reply to comment #10)
> Created an attachment (id=73820)
 --> (https://bugs.webkit.org/attachment.cgi?id=73820&action=review) [details]
> Patch

This is my suggested workaround. It fixes a two html5 tests that WebKit currently and requires one change to a webkit specific test that maybe Adam can comment on. If HTML5 genuinely expects a select element to nest inside an option element then the fix is wrong.

After a bit more investigation:

- When parsing the original reduced test case:
   - Firefox removes the stray option element from the dom entirely
   - Opera closes the stray option element
   - WebKit (Chromium, QtTestBrowser) nests everything that follows the stray option element.
- Opera exhibits the same bug if you replace the stray option element with a datalist element. WebKit will continue to exhibit the bug even with this proposed fix.

It does look like the 'in-body' parsing algorithm in html5 considers option and optgroup elements outside select scope as valid. It doesn't specify behaviour for open option and optgroup elements outside select scope when a select start tag is encountered. 

Any thoughts on the appropriate next step?

-- 
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