Created attachment 389681 [details]
Screenshot of Safari 13 dev tools.
If a HTML DOM node contains a Unicode right-to-left override character (U+202E) the tag name of the closing tag is reversed as well. This could possibly be intended behavior, but I would prefer opening and closing tag to match. Only the content of the tag should change when including rtl or ltr overrides / embeddings.
This might be a duplicate of #200601.
Thank you for reporting, Lukas! This isn't a duplicate of bug 200601.
Created attachment 389735 [details]
Created attachment 389738 [details]
Ultimately, we should display all Unicode BiDi characters as HTML entities, e.g. ‮.
Created attachment 389752 [details]
A simpler CSS-only solution.
Comment on attachment 389752 [details]
Clearing flags on attachment: 389752
Committed r256374: <https://trac.webkit.org/changeset/256374>
All reviewed patches have been landed. Closing bug.