Bug 243190 - css column-count nesting with position absolute has wrong offset parent at nesting level 3 and greater
Summary: css column-count nesting with position absolute has wrong offset parent at ne...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-25 18:49 PDT by aaron
Modified: 2022-08-01 18:50 PDT (History)
4 users (show)

See Also:


Attachments
test case showing level 3 nesting detached from offset parent positioning (525 bytes, text/plain)
2022-07-25 18:50 PDT, aaron
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description aaron 2022-07-25 18:49:12 PDT
nested divs with column-count >= 2 and absolute positioning has incorrect layout at third level and lower. It looks like the third level and subsequent levels get set to positioning from document not offset parent.


	<div style="position:absolute; top : 50px;left:50px; border : 1px solid red;column-count:2;background-color : white">
		<div>level1</div>
		<div>level1</div>
		<div style="position:absolute; top : 50px;left:50px; border : 1px solid red;column-count:2;background-color : white">
			<div>level2</div>
			<div>level2</div>
			<div style="position:absolute; top : 50px;left:50px; border : 1px solid red;column-count:2;background-color : white">
				<div>level3</div>
				<div>level3</div>
			</div>
		</div>
	</div>
Comment 1 aaron 2022-07-25 18:50:29 PDT
Created attachment 461209 [details]
test case showing level 3 nesting detached from offset parent positioning
Comment 2 Radar WebKit Bug Importer 2022-08-01 18:50:15 PDT
<rdar://problem/97950512>