Bug 52511 - Ignore left property if right property exists
: Ignore left property if right property exists
Status: RESOLVED INVALID
: WebKit
CSS
: 528+ (Nightly build)
: PC Windows 7
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2011-01-15 05:53 PST by
Modified: 2011-04-15 08:09 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 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 From 2011-04-15 08:09:24 PST -------
Per e-mail discussion I have sent to www-style, the current behavior is the expected behavior, so I am closing this bug.