[Webkit-unassigned] [Bug 247230] Fix clientLeft value for RTL direction, while the element have vertical scrollbar in left side.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 29 14:16:34 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=247230

--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
I did PR here and took this test case is failing:

https://github.com/WebKit/WebKit/pull/5935

Current Test - failing with PR above - https://jsfiddle.net/pucvsazy/show

In current Tests:

*** Chrome Canary 109 ***

Pass first two and fail last two:

Position of square in 'v-rl ltr' - expected 80, got 65
Position of square in 'v-rl rtl' - expected 80, got 65

*** Firefox Nightly 108 ***

Pass all tests

*** Safari Technology Preview 156 & Safari 16.1 ***

Pass all tests

_____

Now weird one is Firefox:

1) It passes the failing tests from Comment 0
2) Passes current test as welll.

While Safari had 15 px difference in the failing test from Comment 0 and it will might cause us to change expectations for two failing test from 80 to 65 but it is now also failing all four as below:

 Position of square in 'h-tb rtl' - expected 80, got 95
 Position of square in 'h-bt rtl' - expected 80, got 95
 Position of square in 'v-rl ltr' - expected 80, got 65
 Position of square in 'v-rl rtl' - expected 80, got 65

_____

So it is weird bug IMO.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221029/8b44034f/attachment.htm>


More information about the webkit-unassigned mailing list