Bug 15204 - Clipped content incorrectly included when calculating object widths.
Summary: Clipped content incorrectly included when calculating object widths.
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.steelers.com/
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2007-09-13 12:44 PDT by Richard Connamacher
Modified: 2022-07-11 16:07 PDT (History)
1 user (show)

See Also:


Attachments
Test case (1.94 KB, text/html)
2007-09-13 12:46 PDT, Richard Connamacher
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Connamacher 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.
Comment 1 Richard Connamacher 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()
Comment 2 Dave Hyatt 2007-09-13 13:14:08 PDT
Confirmed.  Firefox has the same bug. :)
Comment 3 David Kilzer (:ddkilzer) 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.

Comment 4 Brent Fulgham 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.