Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6e55859bbed4959e0967ef277ffa0524d1cd8f23
      
https://github.com/WebKit/WebKit/commit/6e55859bbed4959e0967ef277ffa0524d1cd8f23
  Author: Diego De La Toba <[email protected]>
  Date:   2026-04-22 (Wed, 22 Apr 2026)

  Changed paths:
    M 
LayoutTests/fast/css/vertical-text-overflow-ellipsis-text-align-center.html
    M LayoutTests/platform/ios/TestExpectations
    M LayoutTests/platform/mac-wk2/TestExpectations

  Log Message:
  -----------
  [macOS iOS] fast/css/vertical-text-overflow-ellipsis-text-align-center.html 
is a flaky text failure.
rdar://171925428
https://bugs.webkit.org/show_bug.cgi?id=309370

Reviewed by Simon Fraser.

Flakiness occurs when the browser parses the HTML.
For RTL vertical text with text-align: center and overflow: hidden, the browser 
calculates a scrollY
position to show the centered/clipped content. If this calculation happens 
before the image dimensions
are known, the scroll position is wrong by exactly 25 pixels (the image 
height). Sometimes layout
finishes before the image loads, sometimes after, hence the flakiness.

With explicit dimensions: The browser knows the image is 25x25 at parse time, 
before any layout happens.
The scroll position calculation always has the correct content dimensions, so 
it's always consistent.

* LayoutTests/fast/css/vertical-text-overflow-ellipsis-text-align-center.html:
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac-wk2/TestExpectations:

Canonical link: https://commits.webkit.org/311821@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to