New issue
Advanced search Search tips

Issue 848504 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Flexbox doesn't properly consider anonymous boxes around items when doing LTR/RTL figuring

Reported by jackalm...@gmail.com, May 31 2018

Issue description

Chrome Version       : 66.0.3359.181
OS Version: 
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari: FAIL
    Firefox: FAIL
    IE/Edge: OK

What steps will reproduce the problem?
1. Load the following page https://codepen.io/anon/pen/Gdboby
2. Observe.

What is the expected result?

The third and fourth lines should be the same direction,
as both of them have the content wrapped in an additional box,
and thus neither have "immediate child text" of the flex container
for unicode-bidi purposes.
(The third line's box is just anonymous.)

What happens instead of that?

The third line is rtl, while the fourth line is ltr.


UserAgentString: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36



 
flexbox-rtl-bug.png
49.8 KB View Download
Status: Untriaged (was: Unconfirmed)
Components: Blink>Layout
Cc: cbiesin...@chromium.org
Components: -Blink>Layout Blink>Layout>Flexbox
Status: Available (was: Untriaged)

Sign in to add a comment