Status: Unconfirmed
Owner: all-bugs-t...@chromium.org
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 5996 by laninva: Tooltip gets direction from Chrome langauge, not  
element (or even page)
http://code.google.com/p/chromium/issues/detail?id=5996

Chrome Version       : 1.0.154.36
URLs (if applicable) :
Other browsers tested: IE7, Firefox 3, Safari 3.2.1
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3: FAIL
     Firefox 3: OK
          IE 7: OK

What steps will reproduce the problem?
1. Create and open a page with the following source:
<html><body>
<span dir=rtl style="background-color:Red" title="שלום!">Hover here!</span>
<span style="background-color:Blue" title="Hi!">And now here!</span>
</body></html>

2. Hover over the red span. With Chrome's language set to English, the
tooltip reads (visually) "שלום!". With Chrome's language set to Hebrew, the
tooltip reads (visually) "!שלום" (which is what you want to be).

3. Hover over the blue span. With Chrome's language set to English, the
tooltip reads (visually) "Hi!". With Chrome's language set to Hebrew, the
tooltip reads (visually) "!Hi".


What is the expected result?
The directionality for the tooltip should be taken from the element on
which it is declared, as is the case in IE7 and FF3. Arguably - but less
usefully - it could also be taken from the page's directionality (body
element). Taking it from the browser's language, as is the case currently,
is useless.


What happens instead?
The tooltip's directionality is taken from the browser language. This
results in English tooltips being garbled in a Hebrew Chrome and Hebrew
tooltips being garbled in an English Chrome. There is no workaround. Using
Unicode BiDi formatting characters (LRE, RLE, PDF) in the tooltip text only
works if Windows is configured to have complex script support, which is not
the case for the vast majority of machines.

Please provide any additional information below. Attach a screenshot if
possible.


Attachments:
        chrometooltip.PNG  16.8 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to