Bug 52511
| Summary: | Ignore left property if right property exists | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | takmahdi |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | playmobil, yael |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
takmahdi
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Yael
Per e-mail discussion I have sent to www-style, the current behavior is the expected behavior, so I am closing this bug.