WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
15204
Clipped content incorrectly included when calculating object widths.
https://bugs.webkit.org/show_bug.cgi?id=15204
Summary
Clipped content incorrectly included when calculating object widths.
Richard Connamacher
Reported
2007-09-13 12:44:22 PDT
WebKit improperly includes content hidden via the CSS clip property when calculating object and page widths. This causes strange scrollbar behavior on pages that use this to create a scrolling marquee, such as www.steelers.com. Content hidden using overflow: hidden is handled properly. An isolated test case has been included, demonstrating both the incorrect behavior using clip: rect() and the correct behavior using overflow: hidden.
Attachments
Test case
(1.94 KB, text/html)
2007-09-13 12:46 PDT
,
Richard Connamacher
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Richard Connamacher
Comment 1
2007-09-13 12:46:00 PDT
Created
attachment 16281
[details]
Test case Test case showing the proper behavior with overflow: hidden and buggy version with clip: rect()
Dave Hyatt
Comment 2
2007-09-13 13:14:08 PDT
Confirmed. Firefox has the same bug. :)
David Kilzer (:ddkilzer)
Comment 3
2007-09-18 07:09:04 PDT
Not a regression as Safari 2.0.4 (419.3) with original WebKit on Mac OS X 10.4.10 (8R218) behaves the same way.
Brent Fulgham
Comment 4
2022-07-11 16:07:26 PDT
Safari, Chrome, and Firefox show the same rendering behavior for this test case. I do not believe any further compatibility issue remains.
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