w3c / hlreq

Hebrew script layout requirements
Other
8 stars 9 forks source link

Need support for dirname attribute #27

Open r12a opened 3 years ago

r12a commented 3 years ago

This issue is common to all RTL scripts.

When strings are passed around, some applications don't receive or use information about the appropriate base direction to use for those strings when they are rendered as part of a page.

This can lead to text being incorrectly aligned, and to text within a sentence or paragraph being incorrectly ordered. Some of this can be addressed by using heuristics to detect the direction first-strongly directional character in the string, but some strings can fail such heuristics.

HTML's dirname attribute, which is supposed to pass information with form data about direction of the text isn't fully interoperable across major browser engines.

FIXED !

This gap is now fixed. For details, see this GitHub issue.

r12a commented 3 years ago

The first comment in this issue contains text that will automatically appear in one or more gap-analysis documents as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the Editor's draft of the document. Proposals for changes or discussion of the content can be made by following the link to the GitHub issue being used to track this gap and adding comments there.