Bug 164318 - Right-to-Left Text Displayed Left-to-Right When using `dx` Attributes
Summary: Right-to-Left Text Displayed Left-to-Right When using `dx` Attributes
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari 10
Hardware: Mac macOS 10.12
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-02 06:35 PDT by Markus Greystone
Modified: 2022-07-15 16:33 PDT (History)
4 users (show)

See Also:


Attachments
Examples with Hebrew Text (12.00 KB, text/html)
2016-11-02 06:35 PDT, Markus Greystone
no flags Details
Examples with Hebrew Text & Letter Spacing (1.92 KB, text/html)
2016-11-15 09:18 PST, Markus Greystone
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Greystone 2016-11-02 06:35:50 PDT
Created attachment 293656 [details]
Examples with Hebrew Text

Text content added to a <tspan> node where `direction: rtl` & `writing-mode: rl-tb` displays right-to-left as expected. But if I try to relatively position the characters with a `dx` attribute on the <tspan>, the text content displays left-to-right.

I can reproduce this issue on Safari 9, 10, & Webkit nightly r208270 on macOS 10.11 & 10.12.
Comment 1 Markus Greystone 2016-11-15 09:18:24 PST
I'm afraid this also occurs if i add a non-zero `letter-spacing` style. See new attachment.
Comment 2 Markus Greystone 2016-11-15 09:18:46 PST
Created attachment 294842 [details]
Examples with Hebrew Text & Letter Spacing
Comment 3 Brent Fulgham 2022-07-15 16:33:23 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.