| Summary: | QMissing .specified property on DOM Attr element breaks jQuery 1.3.2 | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Diederik van der Boor <vdboor> |
| Component: | khtml | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | emilsedgh |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Diederik van der Boor
2009-06-04 11:46:41 UTC
Thanks for the report... I think it's rather looking for a [[Get]] on a NamedNodeMap. (Why would one ever use that rather than hasAttribute? FYI, using Attr nodes bloats up memory use both for us and webcore). Hi... I am about to commit something that may fix this; do you have a testcase I can try to see if it addresses the issue? SVN commit 984521 by orlovich: Add [[Get]] on NamedNodeMap BUG:196409 CCBUG:195192 M +5 -0 kjs_dom.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=984521 Sorry, I don't have a test case.
It wouldn't be too hard to code it, these would be the key points:
- a <form id="test">
- a <select name="sel" id="selField"> tag.
- alert( $("form#test").serialize() );
- alert( $("#selField").val() );
seems fine on trunk. Thanks |