Closed
Bug 277241
Opened 20 years ago
Closed 20 years ago
Wrong displaing table borders with RTL direction and border-collapse attributes
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: sergka, Unassigned)
Details
(Keywords: rtl)
Attachments
(1 file)
1.08 KB,
text/html
|
Details |
Wrong displaing table borders with RTL direction and border-collapse attributes. If the table has dir="rtl" style "border-collapse:collapse" and table's cells has border, then border of table display as dir="ltr", but text display correctly. Try this code: <--------------------- cut here -----------------> <html> <head> <title>Untitled</title> <style type="text/css"> .simpletable table {border:1px solid black;border- collapse:collapse;width:100%;} .simpletable2 table {border:1px solid black;width:100%;} .simpletable2 td, .simpletable td {border:1px solid black;} </style> </head> <body> <div dir="rtl" class="simpletable"> <table> <tr><td colspan="3" style="text-align: center;"><strong>RTL</strong></td></tr> <tr><td width="5%">A</td><td width="10%">B</td><td>C</td></tr> <tr><td>A</td><td>B</td><td>C</td></tr> </table> </div> <br /> <div dir="rtl" class="simpletable2"> <table> <tr><td colspan="3" style="text-align: center;"><strong>RTL without botder- collapse</strong></td></tr> <tr><td width="5%">A</td><td width="10%">B</td><td>C</td></tr> <tr><td>A</td><td>B</td><td>C</td></tr> </table> </div> <br /> <div dir="ltr" class="simpletable"> <table> <tr><td colspan="3" style="text-align: center;"><strong>LTR</strong></td></tr> <tr><td width="5%">A</td><td width="10%">B</td><td>C</td></tr> <tr><td>A</td><td>B</td><td>C</td></tr> </table> </div> </body> </html> <--------------------- cut here ----------------->
Updated•20 years ago
|
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Core
QA Contact: firefox.general → core.layout
Version: 1.0 Branch → 1.7 Branch
Comment 2•20 years ago
|
||
I tried the code pasted with Mozilla 1.8a6 build 2005010606 under XP Pro and I see no border problem, no text direction problem and no layout problem. Reporter, can you try with a recent build and explicit what are the actual and expected results. Also, if you want to submit a testcase, then best is to attach it to the bugfile.
I hope I fixed this by the checkins for bug 267420 and bug 174470, so any nightly after 2004-12-27 should be fine.
Reporter | ||
Comment 4•20 years ago
|
||
Reporter | ||
Comment 5•20 years ago
|
||
Nightly Builds 20050106 fix all problem.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 6•16 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.
Description
•