Bug 164318

Summary: Right-to-Left Text Displayed Left-to-Right When using `dx` Attributes
Product: WebKit Reporter: Markus Greystone <markus.greystone>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, mmaxfield, sabouhallawa, zimmermann
Priority: P2    
Version: Safari 10   
Hardware: Mac   
OS: macOS 10.12   
Attachments:
Description Flags
Examples with Hebrew Text
none
Examples with Hebrew Text & Letter Spacing none

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.