servo: Box with overflow:hidden cut inner div with absolute position by content edge, not by padding edge

Tested on Windows 8.1 x64

servo-overflow

<html>
	<body>
		<style>
			#box{
				background-color: #080b0c;
				height: 100px;
				overflow: hidden;
				padding: 0 15px;
				position: relative;
			}
			#inside {
				position: absolute;
				right: 0px;
				width: 100px;
				height: 100%;
				background: red;
			}
		</style>
		<div id="box">
			<div id="inside">
			</div>
		</div>
	</body>
</html>

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 17 (16 by maintainers)

Commits related to this issue

Most upvoted comments

I retract my earlier doubt. @sciguyryan is right; this looks like it’s a regression from #16336 as well.