WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
135383
Alt texts are rendered horizontally in vertical writing mode
https://bugs.webkit.org/show_bug.cgi?id=135383
Summary
Alt texts are rendered horizontally in vertical writing mode
Takeshi Kurosawa
Reported
2014-07-29 06:31:40 PDT
Created
attachment 235683
[details]
Testcase Alt texts for missing images are not rendered vertically in vertical writing mode and orientation of text is incorrect. Expected rendering: - Alt text: rendered vertically in vertical writing mode - Japanese characters (fullwidth): glyphs are not rotated - Latin characters (halfwidth): glyphs are rotated clockwise 90 degrees Actual rendering: - Alt text: rendered horizontally in vertical writing mode - Japanese characters (fullwidth): glyphs are rotated counter-clockwise 90 degrees - Latin characters (halfwidth): glyphs are not rotated
Attachments
Testcase
(435 bytes, text/html)
2014-07-29 06:31 PDT
,
Takeshi Kurosawa
no flags
Details
Screenshot of testcase
(59.27 KB, image/png)
2014-07-29 06:33 PDT
,
Takeshi Kurosawa
no flags
Details
[fast-cq]Patch
(8.38 KB, patch)
2023-05-06 21:32 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Takeshi Kurosawa
Comment 1
2014-07-29 06:33:17 PDT
Created
attachment 235684
[details]
Screenshot of testcase The alt text is rendered horizontally and orientation of text is incorrect.
Ahmad Saleem
Comment 2
2023-05-06 06:57:51 PDT
I am able to reproduce this bug in Safari 16.4.1 & WebKit ToT where ALT text is not respecting vertical writing mode. Chrome Canary 115 and Firefox Nightly 114 works fine.
zalan
Comment 3
2023-05-06 21:32:11 PDT
Created
attachment 466256
[details]
[fast-cq]Patch
zalan
Comment 4
2023-05-06 21:34:16 PDT
Sadly the test case won't produce any alt text as it is too long and it covers the broken image icon (shorter text will paint fine).
EWS
Comment 5
2023-05-07 06:20:40 PDT
Committed
263776@main
(92a220066f0e): <
https://commits.webkit.org/263776@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 466256
[details]
.
Radar WebKit Bug Importer
Comment 6
2023-05-07 06:21:21 PDT
<
rdar://problem/109004347
>
Ahmad Saleem
Comment 7
2023-05-08 17:18:58 PDT
(In reply to zalan from
comment #4
)
> Sadly the test case won't produce any alt text as it is too long and it > covers the broken image icon (shorter text will paint fine).
Sorry to bump but we have WPT test for long ALT Text here:
http://wpt.live/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt.html
Which we are failing even after this patch on WebKit ToT. Just highlighting something you mentioned. Happy to create new bug to track this failure.
zalan
Comment 8
2023-05-08 17:52:06 PDT
(In reply to Ahmad Saleem from
comment #7
)
> (In reply to zalan from
comment #4
) > > Sadly the test case won't produce any alt text as it is too long and it > > covers the broken image icon (shorter text will paint fine). > > Sorry to bump but we have WPT test for long ALT Text here: >
http://wpt.live/html/rendering/replaced-elements/attributes-for-embedded
- > content-and-images/input-image-inline-alt.html > > Which we are failing even after this patch on WebKit ToT. Just highlighting > something you mentioned. Happy to create new bug to track this failure.
please do. This bug was about vertical text.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug