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

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
14 years ago
11 years ago

People

(Reporter: omer, Unassigned)

Tracking

({rtl, testcase})

Trunk
x86
Windows XP
rtl, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

14 years ago
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).
(Reporter)

Updated

14 years ago
Version: unspecified → 1.0 Branch

Comment 1

14 years ago
Created attachment 176547 [details]
Demonstrates CSS bi-directional text & layout attributes

Comment 2

14 years ago
Created attachment 176548 [details]
Another Testcase, using <html dir=""> attribute.

Comment 3

14 years ago
This should be reassigned to Core -> Layout for further triage (I don't have
suff. perms, could the reporter please send it there).

Updated

14 years ago
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
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME

Comment 5

11 years ago
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.