Borders around buttons under inlined elements are rendered incorrectly in Right-To-Left

RESOLVED DUPLICATE of bug 237370

Status

()

Core
Layout: Text
RESOLVED DUPLICATE of bug 237370
15 years ago
10 years ago

People

(Reporter: Idan Sofer, Assigned: mkaply)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20031010 Mozilla Firebird/0.6.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20031010 Mozilla Firebird/0.6.1

When in a block element(such as <div>), which has it's direction style property
to RTL, contains an inline element, which contains one or more elements that are
rendered as buttons, and that inline element is supposed to be bordered, the
border on the sides is drawed inside the button area's(and so appear invisible),
instead of appearing outside the button.

Reproducible: Always

Steps to Reproduce:
Open the attached XHTML(Fully validates) in Firebird/Mozilla
Actual Results:  
The top two <div>'s are set as RTL - the border around the "Hello text" is
drawed correctly, while the border around buttons is overriden by the button
itself in the sides.

Expected Results:  
Render the border as they appears on the 2 last div's(which are LTR)
(Reporter)

Comment 1

15 years ago
Created attachment 135241 [details]
An XHTML example to demostrate the bug

Comment 2

15 years ago
resolving inactive 0.6 bugs
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 3

15 years ago
I currently do not have an installed copy of a recent Firefox build, but I can
say for certain the bug is still
present on Mozilla 1.6.
Status: RESOLVED → UNCONFIRMED
Component: General → Layout: BiDi Hebrew & Arabic
Product: Firefox → Browser
Resolution: WORKSFORME → ---
Version: unspecified → Trunk

Comment 4

14 years ago
Confirmed.
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a2) Gecko/2004060

The page also breaks in Opera 7.50 and Safari 1.2.1, but looks fine in IE6

Prog.
Assignee: firefox → mkaply
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
QA Contact: zach
Hardware: PC → All
Isn't this just a very special case of bug 237370?

Updated

13 years ago
Depends on: 237370
This really is a duplicate of bug 237370, and therefore was fixed by the fix to 299065. However, the testcase on this bug displays additional problems covered by bug 328168.

*** This bug has been marked as a duplicate of 237370 ***
Status: NEW → RESOLVED
Last Resolved: 15 years ago13 years ago
Resolution: --- → DUPLICATE

Updated

10 years ago
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
You need to log in before you can comment on or make changes to this bug.