Bug 52511 - Ignore left property if right property exists
: Ignore left property if right property exists
Status: RESOLVED INVALID
Product: WebKit
Classification: Unclassified
Component: CSS
: 528+ (Nightly build)
: PC Windows 7
: P2 Normal
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-15 05:53 PST by takmahdi
Modified: 2011-04-15 08:09 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.