KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
77048
:
[test case] body element can not be positioned ...
P
roduct
:
konqueror
Co
m
ponent
:
khtml
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2004-03-08 23:20
Last Changed:
2004-08-19 01:53:41
Version: (using KDE KDE 3.2.0) Installed from: Unlisted Binary Package OS: Linux Absolute positioning on the body element has no effect whatsoever. This works in Mozilla, Opera, and under some conditions within IE.
Comment
#1
Dominic Chambers 2004-03-08 23:22:32
Created an attachment (id=5092)
[details]
test case This test case should show a 100x100 pixel box rendered in the center of the screen (using -50px negative margins), but does not.
Comment
#2
Dominic Chambers 2004-03-08 23:24:36
Created an attachment (id=5093)
[details]
test case (working) This test case is identical to the previous one except the styling rules are applied to a div element rather than the body element. It works.
Comment
#3
Dominic Chambers 2004-03-08 23:27:09
By the way. The test cases above work correctly in Mozilla and Opera, but for some reason not in IE. This is strange because the original HTML that the test case came from did work in IE, and used absolute positioning on the body tag also.
Comment
#4
Tommi Tervo 2004-07-03 11:17:46
Testcase works fine with konqueror 3.3beta1. At least 3.3 will fix this (hopefully).
Comment
#5
Germain Garand 2004-08-19 00:02:06
Reopening. The testcase at stake is 5092. 5093 is only there for reference.
Comment
#6
Germain Garand 2004-08-19 01:53:41
CVS commit by ggarand: only disallow fixed positioning (on body in quirk mode), not relative/absolute. regression tested. CCMAIL:
77048-done@bugs.kde.org
,
76982-done@bugs.kde.org
M +8 -0 ChangeLog 1.277 M +3 -3 rendering/render_body.cpp 1.34 --- kdelibs/khtml/ChangeLog #1.276:1.277 @@ -1,2 +1,10 @@ +2004-08-19 Germain Garand <
germain@ebooksfrance.org
> + + * rendering/render_body.cpp (setStyle): only disallow fixed positioning + on body, not relative/absolute (#77048, #76982). + + * rendering/render_box.cpp (paintBackgroundExtended): make sure backgrounds paint + in the border box and not just in the padding box (WC merge - meyerweb.com/unsorted/bg-position.html). + 2004-08-18 Leo Savernik <
l.savernik@aon.at
> --- kdelibs/khtml/rendering/render_body.cpp #1.33:1.34 @@ -46,6 +46,6 @@ void RenderBody::setStyle(RenderStyle* s { // qDebug("RenderBody::setStyle()"); - // ignore position: on body - if (style->htmlHacks() && style->position() != STATIC) + // ignore position: fixed on body + if (style->htmlHacks() && style->position() == FIXED) style->setPosition(STATIC);
P
latform
:
unspecified
O
S
:
Linux
K
eywords
:
People
Reporter
:
Dominic Chambers
Assigned To
:
Konqueror Developers
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
test case
(180 bytes, text/html)
2004-03-08 23:22
,
Dominic Chambers
Details
test case (working)
(179 bytes, text/html)
2004-03-08 23:24
,
Dominic Chambers
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In