Closed
      
        Bug 194736
      
      
        Opened 22 years ago
          Closed 22 years ago
      
        
    
  
BiDi: text-align: justify style on BODY and text-align: center on div reverses Hebrew text in the div 
    Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
        RESOLVED
        DUPLICATE
          of bug 192919
        
    
  
People
(Reporter: dotan, Assigned: mkaply)
References
()
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
If a logical Hebrew page (charset ISO-8859-8-i) has a CSS property text-align:
justify set on the BODY, AND it has text-align: center set on a div, it will
display the text of that div as reversed (visual) text.
This also happens if the div has an align=center property.
This bug appears in 1.3beta builds (not noticed in previous builds).
Reproducible: Always
Steps to Reproduce:
1. Create HTML page, with character set: ISO-8859-8-i
2. Enter text in logical order.
3. Add style "text-align: justify" to Body, via inline style rule, external
style sheet or javascript.
4. Add style "text-align: center" (or attribute align=center) to div inside the
document containing logical Hebrew text.
Actual Results:  
BiDi text inside the centered DIV is reversed.
The entire line of text is reversed: .abc def, ghi becomes .ihg ,fed cba
Expected Results:  
Keep the direction of the logical BiDi text the same in any combination of
text-alignment of body and nested elements.
          Comment 1•22 years ago
           
         | 
      ||
*** This bug has been marked as a duplicate of 192919 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
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
•