| Summary: | Web Inspector RTL: Elements closing tag is reversed | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Lukas Möller <lukas.moeller.d> | ||||||||||
| Component: | Web Inspector | Assignee: | Nikita Vasilyev <nvasilyev> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Minor | CC: | commit-queue, ebrahim, inspector-bugzilla-changes, mmaxfield, nvasilyev, timothy, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | Safari 13 | ||||||||||||
| Hardware: | Mac | ||||||||||||
| OS: | macOS 10.15 | ||||||||||||
| Attachments: |
|
||||||||||||
Thank you for reporting, Lukas! This isn't a duplicate of bug 200601. Created attachment 389735 [details]
Reduction
Created attachment 389738 [details]
Patch
Ultimately, we should display all Unicode BiDi characters as HTML entities, e.g. ‮. Created attachment 389752 [details]
Patch
A simpler CSS-only solution.
Comment on attachment 389752 [details] Patch Clearing flags on attachment: 389752 Committed r256374: <https://trac.webkit.org/changeset/256374> All reviewed patches have been landed. Closing bug. > Ultimately, we should display all Unicode BiDi characters as HTML entities, e.g. ‮. Fun fact, the reason Chrome has the feature is the request I made on Bug 93888 and unfortunately the change removed while Web Inspector UI revamp landed after Blink's fork, so I filed Bug 220831 and will try to fix it myself this time :) |
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.