Closed
Bug 139627
Opened 22 years ago
Closed 20 years ago
Table rules drawn ignoring dir=rtl setting
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
DUPLICATE
of bug 174470
People
(Reporter: jacobs, Assigned: mkaply)
References
Details
(Keywords: rtl, testcase)
Attachments
(1 file)
2.48 KB,
text/html
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+) Gecko/20020422 BuildID: 2002042209 The rules drawn between cells of a table are always drawn as if the directionality of the table is ltr. There are two tables in the example--an ltr table that is rendered correctly. The rtl table below it has the same structure as the ltr table, but it is not rendered correctly. Reproducible: Always Steps to Reproduce: 1.View the attached HTML 2.Compare the ltr table at the top with the rtl table below it. Actual Results: The rtl table has rules that overwrite columns. Expected Results: Rules should be drawn between cells, so they should not overwrite columns. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML lang="en" dir="ltr"> <HEAD> <TITLE>rules=all</TITLE> <META http-equiv="Content-Type" content="text/html; charset=UTF-16"> </HEAD> <BODY> <H1>rules=all</H1> <TABLE lang="en" dir="ltr" frame="void" rules="all"> <CAPTION lang="en" dir="ltr">frame=void rules=all</CAPTION> <TR> <TH lang="en" dir="ltr" rowspan="2"></TH> <TH colspan="2" lang="en" dir="ltr">Average01</TH> <TH rowspan="2">Red02<BR>eyes03</TH> </TR> <TR> <TH lang="en" dir="ltr">height04</TH> <TH lang="en" dir="ltr">weight05</TH> </TR> <TR> <TH lang="en" dir="ltr">Males06</TH> <TD lang="en" dir="ltr">11</TD> <TD lang="en" dir="ltr">12</TD> <TD lang="en" dir="ltr">13</TD> <TD lang="en" dir="ltr">14</TD> </TR> <TR> <TH lang="en" dir="ltr">Females07</TH> <TD lang="en" dir="ltr">21</TD> <TD lang="en" dir="ltr">22</TD> <TD lang="en" dir="ltr">23</TD> </TR> </TABLE> <TABLE lang="he" dir="rtl" frame="void" rules="all"> <CAPTION lang="en" dir="ltr">frame=void rules=all</CAPTION> <TR> <TH rowspan="2" lang="he" dir="rtl"></TH> <TH colspan="2" lang="he" dir="rtl">הָאָרֶץ01</TH> <TH lang="he" dir="rtl" rowspan="2">בָּרָא02<BR>אֵת03</TH> </TR> <TR lang="he" dir="rtl"> <TH lang="he" dir="rtl">בְּרֵאשִׁית04</TH> <TH lang="he" dir="rtl">בָּרָא05</TH> </TR> <TR> <TH lang="he" dir="rtl">אֱלֹהִים06</TH> <TD lang="he" dir="rtl">אֵת11</TD> <TD lang="he" dir="rtl">הַשָׁמַיִם12</TD> <TD lang="he" dir="rtl">אֱלֹהִים13</TD> <TD lang="he" dir="rtl">אֱלֹהִים14</TD> </TR> <TR> <TH lang="he" dir="rtl">וְאֵת07</TH> <TD lang="he" dir="rtl">אֵת21</TD> <TD lang="he" dir="rtl">הַשָׁמַיִם22</TD> <TD lang="he" dir="rtl">וְאֵת23</TD> </TR> </TABLE> <P lang="en" dir="ltr"> Setting border="0" implies frame="void" and, unless otherwise specified, rules="none". </P> </BODY> </HTML>
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
Seeing this on linux trunk 2002-04-22-07 too.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
*** Bug 223079 has been marked as a duplicate of this bug. ***
Comment 4•21 years ago
|
||
I couldn't find this bug before so I posted a duplicate of this bug (http://bugzilla.mozilla.org/show_bug.cgi?id=223079) Anyhow, you can see there another example, with the white lines of the forum posts appearing in the LTR direction, and thus being painted over the table cells content.
Comment 5•21 years ago
|
||
*** Bug 231069 has been marked as a duplicate of this bug. ***
Other Example? http://www.ezra.org.il/forum/lmf_forum.aspx?forum_id=7 The bar is IE only (I need to convert some things) but u can c the table...
Comment 7•20 years ago
|
||
Another example (test + picture): http://starcomsystems.com/hu/mozbug001.htm
this has been fixed by the checkin for bug 174470 *** This bug has been marked as a duplicate of 174470 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Comment 9•20 years ago
|
||
Unfortunatly this hasn't been fixed yet. Table borders are still incorrect on "rtl" direction, while "border-collapse: collapse" is set. Here is an example: http://nomaed.evil.co.il/moz_bugs/rtl_collapse_mistake.html
Comment 10•16 years ago
|
||
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
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.
Description
•