Closed Bug 285086 Opened 19 years ago Closed 19 years ago

Firefox does not display css correctly (direction:rtl, display:inline, position:absolute)

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: omer, Unassigned)

Details

(Keywords: rtl, testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

irefox does not display css property "display: inline" correctly when combined
with "position: absolute" and body direction to rtl (right to left). It sets the
position of the element as if it was from ltr (left to right).

Reproducible: Always

Steps to Reproduce:
First Example:
==============
<html>
<head>
<title>Display: inline</title>
</head>
<body style="direction: rtl">

<span>this is some text</span> <span style="display: inline; position:
absolute">and some inline text</span>

</body>
</html> 


Second Example:
==============
<html dir="rtl">
<head>
<title>Display: inline</title>
</head>
<body>

<span>this is some text</span> <span style="display: inline; position:
absolute">and some inline text</span>

</body>
</html> 
Actual Results:  
In the first example the second span would be displayed to the left of the document.

Expected Results:  
In the second example it would be displayed after the first span (to the right
of the document).
Version: unspecified → 1.0 Branch
This should be reassigned to Core -> Layout for further triage (I don't have
suff. perms, could the reporter please send it there).
Assignee: firefox → nobody
Component: General → Layout
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout
Version: 1.0 Branch → Trunk
In a trunk build both testcases display identically. -> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: