Bug 52511

Summary: Ignore left property if right property exists
Product: WebKit Reporter: takmahdi
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: playmobil, yael
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   

Description takmahdi 2011-01-15 05:53:04 PST
Hi,

In below code image tag must show at right side of div but, showed at left side.

#comments {
	position: relative;
	width: 400px;
}
#comments img {
	position: absolute;
	left: 10px;
}
.rtl #comments img {
	right: 10px;
}

<body class="rtl">

	<div id="comments">

		<img src="..." />

		<ul>
			<li></li>
			...
		</ul>

	</div>
</body>

Thanks,
Mahdi
Comment 1 Yael 2011-04-15 08:09:24 PDT
Per e-mail discussion I have sent to www-style, the current behavior is the expected behavior, so I am closing this bug.