Closed Bug 147183 Opened 23 years ago Closed 23 years ago

Text shown inside JavaScript under title in IOL.co.il is aligned LTR rather than RTL

Categories

(Core :: Layout, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: rn23, Assigned: smontagu)

References

()

Details

(Keywords: rtl)

Attachments

(3 files, 1 obsolete file)

In addition, the JavaScript is static, and does not roll.
Build=1.0 RC 3
I don't read hebrew, however, the text just below the logo shows the same in IE6 and Mozilla 2002052504 on Win2k (trunk). The JavaScript scroller might be a Tech Evangelism issue (bad JavaScript code).
Attached image The bad situation
Look just above my text at the JS text alignment.
Attached image How it should be
Again, look just above my text. IE 6. That's how it should be.
Please look at the attachments (1.0 RC 2==1.0 RC 3 VS IE 6). They show the difference, ignoring the movement of the JS.
ok, sorry, I was looking at the wrong text, I identified the HTML code responsible for this: [...] <marquee direction="up" dir="rtl"... [...] which is a IE-only tag (not even supported on MacIE). Propose to move to Tech Evangelism or mark dupe of bug 80269.
Do the standards specify what to do in a case like this? We have a table, with no <dir> specified, therefore <dir=ltr> by inheritance of the default. Within that there is <marquee ... dir="rtl"> and within that <span dir=rtl> with the text. I would assume that since there is no legal block element with dir=rtl, we are correct in aligning the text to the left.
Assignee: mkaply → momoi
Component: BiDi Hebrew & Arabic → Middle Eastern
Product: Browser → Tech Evangelism
QA Contact: zach → xslf
Version: other → unspecified
By the way, the alignment becomes correct if I add |marquee {display: block;}| to quirk.css. Hixie, would that be a good or bad thing to do?
In my last comment, s/correct/right-to-left, as presumably expected/
Sure, add whatever rules you want for marquee to quirk.css. We might even want to add them to html.css. dbaron? bz? Any opinions?
Could someone test with IE and see whether marquee in fact behaves as a block element there? If so, this seems fine to me as long as we also add a comment explaining what's up to prevent zealous people from removing the line in the future...
Microsoft's own documentation says it's a block element: http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/display.asp. bz, when you say "this" seems fine to me, are you referring to adding to quirk.css or to html.css? I'll take this bug back from evangelism, since we are moving towards a solution by other means.
Assignee: momoi → smontagu
Status: UNCONFIRMED → NEW
Component: Middle Eastern → Layout
Ever confirmed: true
Product: Tech Evangelism → Browser
Version: unspecified → other
I would vote for html.css myself.... (sort of like <blink> that way).
Attached patch Patch against html.css (obsolete) — Splinter Review
dbaron, would you like to r= the patch?
r=hixie if you remove the quotes around "Microsoft extension".
Attached patch Quotes removedSplinter Review
Done, but I would be interested to know why you requested this change.
Attachment #85455 - Attachment is obsolete: true
Attachment #85467 - Flags: review+
Comment on attachment 85467 [details] [diff] [review] Quotes removed sr=jst
Attachment #85467 - Flags: superreview+
smontagu: I don't see why the quotes would be correct... you aren't quoting anyone, the statement is not in doubt, and it is not a phrase with a double meaning. I like our comments to be typographically correct. :-)
Fix checked in. N.B: the only change here is to the alignment of the text. It still doesn't roll.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
>you aren't quoting anyone, I was quoting the MSDN URL I referenced in comment 12. >the statement is not in doubt, and it is not a phrase with a double meaning. Nevertheless, I have reservations about it, which are both grammatical and political. I don't much like the use of nouns as adjectives in the first place (though I am sure you could find plenty of cases where I use them that way myself) and a phrase like "Microsoft extension" as opposed to something like "extension made by Microsoft" seems IMHO to confer more official status and legitimacy on the concept than I would like. To paraphrase what someone said to me once about colloquial Hebrew, "There's no such thing as 'Microsoft extensions to HTML'. There's only valid HTML and invalid HTML".
fair enough... i'm not sure i agree though :-)
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: