https://bugs.kde.org/show_bug.cgi?id=3D375999 Bug ID: 375999 Summary: [test case] form siblings bug afecting all jquery 3 web sites Product: konqueror Version: 5.0.97 Platform: Gentoo Packages OS: Linux Status: UNCONFIRMED Severity: major Priority: NOR Component: kjs Assignee: konq-bugs@kde.org Reporter: kde_bugs@overshoot.tv Target Milestone: --- Created attachment 103819 --> https://bugs.kde.org/attachment.cgi?id=3D103819&action=3Dedit Failing this simple test case prevents jquery 3 from working in konqueror I was trying to debug why one web site using jquery 3 was working in every browser I tried but in konqueror.=20 As I tried to narrow down the problem, I found that jquery 3 contains the following code, which, if removed, fixed the symptoms in konqueror: // Support: Safari 8 only // In Safari 8 documents created via document.implementation.createHTMLDocu= ment // collapse sibling forms: the second one becomes a child of the first one. // Because of that, this security measure has to be disabled in Safari 8. // https://bugs.webkit.org/show_bug.cgi?id=3D137337 support.createHTMLDocument =3D ( function() {=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 var body =3D document.implementation.createHTMLDocument( "" ).body; body.innerHTML =3D "
"; return body.childNodes.length =3D=3D=3D 2; } )(); Following the webkit bug report referred in the jquery code, I found the te= st case which I attach here.=20 Today, the test case works in Firefox, etc, but does not render anything in Konqueror. This is a pretty major bug: I don't need to tell you how many web sites out there use jquery. I don't know if the symptomatic code is in jquery 2, but = it certainly is in jquery 3, which is gaining wide adoption. And as I said, I found this while trying to find out why a web site using jquery was broken = and unusable in konqueror. --=20 You are receiving this mail because: You are the assignee for the bug.=