WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
12475
Media Queries hack breaks Safari/Opera on News.Yahoo.com
https://bugs.webkit.org/show_bug.cgi?id=12475
Summary
Media Queries hack breaks Safari/Opera on News.Yahoo.com
David Storey
Reported
2007-01-30 06:29:30 PST
Steps: Scroll about half way down the screen. There is a news ticker similar to how iTunes Store shows new albums Expected: No scroll bars Actual: Scroll bars Reason: a Media Query hack was used to fix some Opera bug that never existed (as far as we can tell). The site also breaks in Opera. Removing the hack fixes Opera and WebKit. Example of a very bad approach to CSS hacks. code is here: stylesheet at
http://us.i1.yimg.com/news.yahoo.com/v10/us/news/css/ynews.css?v=1144168322&akamaize=1
they have the following: /* Opera Scroll Bar Hack */ @media all and (min-width: 0px){ #ticker #ynscrollviewable { overflow: auto; overflow-x: scroll; } } I've contacted Nate at Yahoo! previously. I've just made him aware that it also breaks WebKit now.
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2007-01-30 06:48:16 PST
<
rdar://problem/4919576
>
Maciej Stachowiak
Comment 2
2007-02-04 11:04:42 PST
P1 because this is a seeming regression in user effect.
David Storey
Comment 3
2007-02-20 09:57:22 PST
reply from Yahoo!: "This has been fixed and checked in, and will go live at the next News push."
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