Bug 31136

Summary: ruby text vertical space problem when zooming back and forth
Product: WebKit Reporter: sideshowbarker <mike>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, hyatt, rniwa, rolandsteiner, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: https://bug-31136-attachments.webkit.org/attachment.cgi?id=42503
Attachments:
Description Flags
test case
none
screen capture none

Description sideshowbarker 2009-11-04 11:47:57 PST
Created attachment 42503 [details]
test case

1. Open the attached HTML file.
2. Zoom In the page, all the way in.
3. Reload the page while it’s zoomed in.
4. Zoom Out the page back to Actual Size.

You’ll notice that in the first paragraph of the page there is now a large amount of vertical white space between the ruby text and the base text (see the attached screen capture).
Comment 1 sideshowbarker 2009-11-04 11:48:36 PST
Created attachment 42504 [details]
screen capture
Comment 2 Dave Hyatt 2010-11-20 19:30:46 PST
Might have been fixed by my rewrite of how rubies position themselves vertically...
Comment 3 sideshowbarker 2010-11-21 22:56:10 PST
(In reply to comment #2)
> Might have been fixed by my rewrite of how rubies position themselves vertically...

Dunno when that landed, but I just tried the test case in an r72487 WebKit nightly, and I see the same behavior I reported originally (that is, it does not seem to be fixed yet).
Comment 4 Ahmad Saleem 2022-06-14 14:49:15 PDT
I am not able to reproduce this bug in Safari 15.5 on macOS 12.4. By zooming-in and then reloading and then zooming-out, there is no hanging text with vertical space. It shows as normal text. Thanks!
Comment 5 zalan 2022-06-14 21:12:53 PDT
Thank you for testing it!