Bug 56594 - unicode-bidi:bidi-override inheritance in table
Summary: unicode-bidi:bidi-override inheritance in table
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 14:41 PDT by Xiaomei Ji
Modified: 2022-06-09 17:57 PDT (History)
8 users (show)

See Also:


Attachments
test case (1.19 KB, text/html)
2011-03-17 14:52 PDT, Xiaomei Ji
no flags Details
Safari 15.5 matches Chrome but differs from Firefox (897.16 KB, image/png)
2022-06-09 17:56 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaomei Ji 2011-03-17 14:41:19 PDT
Following is CSS spec on unicode-bidi 
http://www.w3.org/TR/CSS21/visuren.html#propdef-unicode-bidi:
"bidi-override:
For inline-level elements this creates an override. For block container elements this creates an override for inline-level descendants not within another block-level, table-cell, table-caption, or inline-block element. "

What should be the rendered result for the following <div>?
<div style="display:table-row; direction:rtl; unicode-bidi:bidi-override">abc</div> 
<div style="display:table-cell; direction:rtl; unicode-bidi:bidi-override">def</div> 
<div style="display:table-caption; direction:rtl; unicode-bidi:bidi-override">hij</div>        
<div style="display:table-row-group; direction:rtl; unicode-bidi:bidi-override">opq</div> 


Firefox and Chrome both render "hij" as "jih", render "abc" as "abc", and render "opq" as "opq". But Firefox renders "def" as "def" while Chrome renders it as "fed".

IE only renders 2 lines as "jih" and "fed".
Comment 1 Xiaomei Ji 2011-03-17 14:52:49 PDT
Created attachment 86099 [details]
test case
Comment 2 Ahmad Saleem 2022-06-09 17:56:22 PDT
Created attachment 460150 [details]
Safari 15.5 matches Chrome but differs from Firefox

Based on attached test case, Safari 15.5 is matching Chrome while Firefox Nightly is rendering <div> bit differently. All text across all browser is same (nothing as mentioned as Comment 01 of 'jih' changing to 'hij' etc.). If I am testing is incorrectly, please retest accordingly. Thanks!