Closed Bug 143845 Opened 23 years ago Closed 22 years ago

Directionality of button content cannot be set rtl

Categories

(Core :: Layout, defect, P3)

x86
Windows 2000
defect

Tracking

()

VERIFIED WORKSFORME
Future

People

(Reporter: jacobs, Assigned: attinasi)

References

(Blocks 1 open bug)

Details

(Keywords: rtl, testcase)

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510 BuildID: 2002051006 Button controls in forms can include content. The directionality of this content should be settable, either directly or inherited from that of the BUTTON itself. However, dir="rtl" has no effect in this context. Reproducible: Always Steps to Reproduce: 1.View the included HTML 2.Look at the button at the bottom of the page. Actual Results: The button at the bottom of the page is labeled with an ltr table. Expected Results: The button at the bottom of the page should be labeled with an rtl table. </head> <body> <h3>ltr table</h3> <table dir="ltr"> <tr><td>11</td><td>12</td></tr> <tr><td>21</td><td>22</td></tr> </table> <h3>rtl table</h3> <table dir="rtl"> <tr><td>11</td><td>12</td></tr> <tr><td>21</td><td>22</td></tr> </table> <form> <h3>ltr table in a button</h3> <button name="pusher" type="button" value="bvalue2" id="but2" dir="ltr"> <table> <tr><td>11</td><td>12</td></tr> <tr><td>21</td><td>22</td></tr> </table> </button> <h3>rtl table in a button (Mozilla bug)</h3> <button name="pusher" type="button" value="bvalue2" id="but2"> <table dir="rtl"> <tr><td>11</td><td>12</td></tr> <tr><td>21</td><td>22</td></tr> </table> </button> </form> </body> </html>
Confirming issue in the May 23rd build (2002-05-23-05 1.0.0).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Attached file Attaching test case (deleted) —
Copied HTML from bug summary into seperate attachment.
Keywords: testcase
Target Milestone: --- → Future
Blocks: 137995
This worksforme in a current Linux build; I suspect that one of the many button reflow fixes that have happened since fixed this... but please reopen if this is still a problem in current Windows builds.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Yup, WORKSFORME on a current Windows build also.
Status: RESOLVED → VERIFIED
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

Creator:
Created:
Updated:
Size: