Self-explanatory testcase: http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/moving-unitless-layer-feasible.html Expected results ---------------- The green box should be located (should remain) at coordinates 100, 100 in the document box and, upon loading, an alert box should popup and should say exactly this: { Your browser PASSED this test. document.getElementById("green-box").style.left = 100px document.getElementById("green-box").style.top = 100px } Actual results in Konqueror 4.1.1 --------------------------------- The green box gets relocated at coordinates 300, 300 in the document box and, upon loading, an alert box popups and says exactly this: { Your browser FAILED this test. The green box should be at coordinates 100, 100 and NOT at coordinates 300, 300 } Additionally, a judicious error message should be reported in the javascript console about the missing of the unit for the left and top offset values. Bug entry: http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/#bug191 Notes ----- * Firefox 3.0.3 build 2008092417, Safari 3.1.2 build 525.21, Safari 4.0, K-meleon 1.x, NS 7.2, Seamonkey 2.x all pass this test. * What is important is that Konqueror must not honor unitless offset value when in standards compliant rendering mode (when document.compatMode == CSS1Compat) Generally speaking, all modern browsers (even IE 6) do not honor unitless position offset value when specified declaratively. So I am submitting that unitless position offset value should not be honored when specified dynamically via script: it should be ignored. * I have filed correspondent bug reports at Opera (bug DSK-239393) and Microsoft (bug 381347). Regards, Gérard
thank you for the testcase, this was a regression in parsing mode of inline CSS - I already fixed it in r864149 which was backported to 4.1 branch as of r864157 (included in KDE 4.1.2).
> was backported to 4.1 branch as of r864157 (included in KDE 4.1.2). Marking as VERIFIED