Bug 22090

Summary: hixie test : Stacking order and overflow fails
Product: WebKit Reporter: jasneet <jasneet>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, hi, jasneet, rniwa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: 525.x (Safari 3.1)   
Hardware: PC   
OS: Windows XP   
URL: http://www.hixie.ch/tests/adhoc/css/overflow/002.html
Attachments:
Description Flags
altered hixie case to create overflow in 'overflow:scroll' container which shows bug still alive and well none

Description jasneet 2008-11-05 16:11:22 PST
I Steps:
Go to http://www.hixie.ch/tests/adhoc/css/overflow/002.html

II Issue:
Stacking order and overflow fails. Correct behavior seen in FF3/Opera, in webkit the block is red instead of green and label A is missing for first block; scroll bar also not seen

III Other Browsers:
IE7: partially ok
FF3: ok

IV Nightly tested: 37819
Comment 1 jonjohnjohnson 2018-12-19 13:39:54 PST
Attached case seems to be passing as of Safari 12.0.2 on macOS 10.12.6
Comment 2 jonjohnjohnson 2018-12-19 14:15:20 PST
Created attachment 357724 [details]
altered hixie case to create overflow in 'overflow:scroll' container which shows bug still alive and well

Adding this line of css...

.scroll::after { content: ''; display: block; height: calc(100% + 1px); }

Forces scrollable content, making test case fail, like it does in blink, which fails regardless of scrollability.

Webkit must have at least fixed not scrollable but styled as overflow:scroll previously.
Comment 3 Ahmad Saleem 2022-08-07 05:01:32 PDT
I am able to reproduce this bug using attached test case using Safari 15.6 on macOS 12.5 and it shows "Red" boxes while only one showing "white text" and both with scrollbar. While in other browsers (Firefox Nightly 105 and Chrome Canary 106), I don't see any red box or scrollbar and both have white text in green background to show that it is as passed test case.

I am changing status to "New". Thanks!
Comment 4 Radar WebKit Bug Importer 2022-08-08 11:21:55 PDT
<rdar://problem/98331050>
Comment 5 Ahmad Saleem 2022-10-13 07:19:30 PDT
Unable to reproduce this in Safari 16 and Safari Technical Preview 155, now it is matching with Chrome Canary 108 and Firefox Nightly 107 and does not have any red box.

Marking this as "RESOLVED CONFIGURATION CHANGED". Thanks!