[Webkit-unassigned] [Bug 22678] innerHTML doesn't handle boolean properties properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 5 09:22:34 PST 2008


------- Comment #2 from sbublava at mac.com  2008-12-05 09:22 PDT -------
(In reply to comment #1)

> Why is this a problem? The very presence of the "selected" attribute makes the
> option selected, regardless of its value.

I stumbled across this when using the DOM-based bookmarklets for validator.nu

It reports selected="" as validation error (at least with the HTML 4 parser),
which is kind of annoying, since that construct wasn't part of my original

I don't know if there are other more real-world scenarios, where this would be
an issue. Probably not, otherwise somebody else would have complained by now...

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

More information about the webkit-unassigned mailing list