Closed Bug 18357 Opened 25 years ago Closed 25 years ago

Legend align does not work in Japanese

Categories

(Core :: DOM: Core & HTML, defect, P4)

All
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: teruko, Assigned: eric)

References

()

Details

Attachments

(1 file)

Legend align right does not work in Japanese.

Steps of reproduce
1. Go to above URL

Notice that inside <legend align="right">日本のお茶</legend> is not
at the right side of the fieldset.

Tested 110909 Win32, MAC, and Linux build.
Assignee: ftang → bobj
bobj, please find owner for this bug. thanks.
Assignee: bobj → karnaze
Component: Internationalization → Form Submission
Form, fieldset, legend problem.
Assignee: karnaze → evaughan
Reassign to EricV.
Priority: P3 → P4
Target Milestone: M15
targeting p4 for m15
Can a netscape person attach the file:
   http://babel/tests/browser/html/sjis/legend_align_right_sjis.html
...to the bug so that I could have a look at it? Cheers.
See also:
   bug 10434 legend.form is always null
   bug 11537 Value of wallet.Server pref is blank until clicked on
   bug 21638 {css1} Cannot style FIELDSET element outside FORM elements
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
bobj: Thanks!

The problem is with the test case.

The <meta name="GENERATOR" ... line is never actually closed, and our parser
therefore correctly treats most of what follows to be the text of the unclosed
attribute. This then eats up the form element. (This can be seen in viewsource
mode.) So the fieldset is not in a <form> element, and this triggers bug 21638,
which is simply that fieldset elements mess up when not in forms.

Correcting the test case by adding "> at the end of the 6th line fixes the
problem and japanese characters can be seen in a right aligned legend.

Marking INVALID.
Status: RESOLVED → VERIFIED
I fixed the test case. It works fine.  I verfied this as Invalid.
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: