WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
13969
Weird in div collision
https://bugs.webkit.org/show_bug.cgi?id=13969
Summary
Weird in div collision
Manoel
Reported
2007-06-01 12:49:14 PDT
I'm not sure it's really an error, but firefox and "official" stable version of safari/webkit doesn't react the same manner... So on this webpage, Everything goes well until I try to put the W3C validation logo on the bottom right of the page, the divs became crazy. Even if I resize the webpage, the blue div (of class "micro" want to go out of the page) and the links goes to far on the right side.. and event the W3C logo is out of the page... And if we remove the css class definition for "valid" everything go back to "normal"... I can't undersand. May be I do something wrong in my CSS, but this page is so simple that I can't understand what I could do wrong..
Attachments
How the page render with official safari
(212.26 KB, image/png)
2007-06-01 12:54 PDT
,
Manoel
no flags
Details
How firefox do it
(177.20 KB, image/png)
2007-06-01 12:55 PDT
,
Manoel
no flags
Details
How latest webkit (01 june 07) render it...
(220.68 KB, image/png)
2007-06-01 12:56 PDT
,
Manoel
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Manoel
Comment 1
2007-06-01 12:54:18 PDT
Created
attachment 14827
[details]
How the page render with official safari
Manoel
Comment 2
2007-06-01 12:55:09 PDT
Created
attachment 14828
[details]
How firefox do it (FF add me a weird border, but it's another story..)
Manoel
Comment 3
2007-06-01 12:56:16 PDT
Created
attachment 14829
[details]
How latest webkit (01 june 07) render it...
mitz
Comment 4
2007-06-01 13:05:23 PDT
I think it's the text-shadow on the right-aligned "welcome" text. The shadow is considered as overflow and gives the page a horizontal scrollbar no matter what. I think you can work around it by giving the "welcome" div a right margin of 10px.
Manoel
Comment 5
2007-06-01 13:15:17 PDT
(In reply to
comment #4
)
> I think it's the text-shadow on the right-aligned "welcome" text. The shadow is > considered as overflow and gives the page a horizontal scrollbar no matter > what. I think you can work around it by giving the "welcome" div a right margin > of 10px. >
Yes that's right... But why safari/webkit 419 don't react the same manner, and why it happen when I add this div ? (ok for firefox since it doesn't understand the text-shadow property a good example...)
mitz
Comment 6
2007-06-01 13:19:45 PDT
(In reply to
comment #5
)
> But why safari/webkit 419 don't react the same manner, and why it happen when I > add this div ?
The shipping version of Safari does not consider text shadow as overflow, so it does not give you a horizontal scrollbar.
Manoel
Comment 7
2007-06-01 14:05:05 PDT
(In reply to
comment #6
)
> (In reply to
comment #5
) > > But why safari/webkit 419 don't react the same manner, and why it happen when I > > add this div ? > > The shipping version of Safari does not consider text shadow as overflow, so it > does not give you a horizontal scrollbar. >
OK, but it doesn't explain why with 522+ I didn't have without CSS for the "valid" div a scrollbar wihtout adding a right margin for the "welcome" div.. (Maybe this discution should continue somewhere else. I'm not sure here is the best for this even if it's related with this bug report.) (sorry to bother you with this)
mitz
Comment 8
2007-06-02 02:03:15 PDT
(In reply to
comment #7
)
> OK, but it doesn't explain why with 522+ I didn't have without CSS for the > "valid" div a scrollbar wihtout adding a right margin for the "welcome" div..
I'm seeing the scrollbar even without the "valid" div being styled. Anyway, I just wanted to suggest a more complete solution, since just adding a right margin also shifts the text. In order to maintain the original positioning and avoid overflow, you can give the welcome div "position: relative; right: -10px;" which will compensate for the margin.
James Craig
Comment 9
2013-09-30 11:20:29 PDT
Not an AX bug. Reassigning.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug