WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
15206
REGRESSION: links/images cut in half (body:last-child CSS hack doesn't work in TOT)
https://bugs.webkit.org/show_bug.cgi?id=15206
Summary
REGRESSION: links/images cut in half (body:last-child CSS hack doesn't work i...
David Carson
Reported
2007-09-13 14:08:44 PDT
The images in the left hand side of the screen, in the Marketplace section have the bottom half cut off.
Attachments
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2007-09-14 01:49:30 PDT
This bug stems from the recent removal of (buggy) :last-child support. Specifically, WebKit no longer applies this odd rule[1] in <
http://sfgate.com/templates/types/homepage/style/homepage.css
>: body:last-child #verticalmenu li a { width:auto; display:block; } [1] body:last-child is a CSS hack for targeting specific browsers: <
http://thomas.tanreisoftware.com/?p=11
>.
Bug 5468
is tracking the :last-child situation.
mitz
Comment 2
2007-09-14 02:07:01 PDT
Andrew Wellington has confirmed that this is indeed a regression from Safari 2.0.4 (which had the buggy :last-child support). To keep the CSS hack working, WebKit could special-case body:last-child. Doing so would be backwards- and forwards-compatible. Otherwise, I am afraid this bug is an evangelism bug.
David Kilzer (:ddkilzer)
Comment 3
2007-09-18 07:18:34 PDT
<
rdar://problem/5488787
>
Beth Dakin
Comment 4
2007-11-08 15:01:33 PST
I talked to Hyatt about this on IRC. He didn't like the idea of a hack, so for now, we will make this an Evangelism bug.
mitz
Comment 5
2008-02-02 10:49:18 PST
:last-child fixed in <
http://trac.webkit.org/projects/webkit/changeset/29933
>.
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