[Webkit-unassigned] [Bug 220624] New: Propagate explicit directionality into the Inspector DOM view

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 14 06:24:43 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=220624

            Bug ID: 220624
           Summary: Propagate explicit directionality into the Inspector
                    DOM view
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P3
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gsnedders at apple.com
                CC: inspector-bugzilla-changes at group.apple.com
        Depends on: 64861

>From Bug 220241:

> There's probably a strong argument that if the page has <span dir=rtl>foo</span> then we want to end up with <span class="html-text-node" dir=rtl>foo</span> in the Inspector, rather than using auto there.

In short, if the page has an explicitly defined directionality we almost certainly want to reuse that.

Even more generally, we may just want to explicitly use the same directionality as the source element, using something like element.matches(":dir(ltr)") ? "ltr" : "rtl", though this would add a dependency on bug 64861. This is _probably_ the best fix, because it means we end up with the same directionality in every case. Adding a depends-on for that, given I think it is what we should do?

I'm not totally sure what we want to do about attribute values here. Maybe always give them dir=auto?


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=64861
[Bug 64861] Need support for :dir() pseudo-class
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210114/08baa57e/attachment.htm>


More information about the webkit-unassigned mailing list