Closed Bug 223079 Opened 22 years ago Closed 22 years ago

on RTL direction pages, table (cell) borders defined as style - do not show correctly

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 139627

People

(Reporter: boris, Unassigned)

Details

(Keywords: rtl)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 As a web-builder, I am building a site which is RTL directed (Hebrew), and I needed to give custom borders for every <tr> (which was due to another problem - cellspacing did not preserve white background of the table itself). The table is divided like that: <html dir=rtl> <head></head> <body> <table border=0 cellspacing=0 cellpadding=0 width=100%><tr> <td style='border: 3px solid #ffffff;' width=35% bgcolor=#e0fcfd>blablabla</td> <td style='border: 3px solid #ffffff;' width=25% bgcolor=#e0fcfd>blablabla</td> <td style='border: 3px solid #ffffff;' width=10% bgcolor=#d6f2f3>blablabla</td> <td style='border: 3px solid #ffffff;' width=10% bgcolor=#cce8e9>blablabla</td> <td style='border: 3px solid #ffffff;' width=20% bgcolor=#b8d4d5>blablabla</td> </tr></table> </body></html> The problem is that the borders are rendered as LTR document, even though the cells are RTL directed. Reproducible: Always Steps to Reproduce: 1. create html document, with <html dir=rtl> property 2. create a table with different sized columns 3. give each cell its borders with tag-style-sheet Actual Results: The borders did not appear where and how they should be with RTL document. Expected Results: Displayed the borders with LTR direction rather than RTL.
I don't see the problem with either of these testcases. Could you describe the actual results and expected results more clearly? In other words, describe what you saw and what you should have seen instead.
Ok, check this url: http://demo.e-dent.co.il/ in the middle of the page, there is a list of forum posts (with yellow envelopes near them). Observe...
Is this a dupe of bug 139627?
Ah. I saw stuff overflowing out of the table cells, but I didn't realize that that was what you were reporting -- I was looking for something specifically with the borders, and didn't realize that the borders were flipped relative to the conetnt. *** This bug has been marked as a duplicate of 139627 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
> Ah. I saw stuff overflowing out of the table cells, but I didn't realize that > that was what you were reporting -- I was looking for something specifically > with the borders, and didn't realize that the borders were flipped relative to > the conetnt. Yupp, exactly that. Sorry for making the duplicated report, I searched but didn't find another report about such problem...
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: