RESOLVED FIXED 168581
Web Inspector: RTL: hierarchical path components need spacing and icon adjustments
https://bugs.webkit.org/show_bug.cgi?id=168581
Summary Web Inspector: RTL: hierarchical path components need spacing and icon adjust...
Blaze Burg
Reported 2017-02-19 19:13:20 PST
The chevron is the obvious thing but there is some other margin/padding/offsets.
Attachments
collapsed elements tab - LTR (36.76 KB, image/png)
2017-02-19 19:15 PST, Blaze Burg
no flags
collapsed elements tab - RTL (32.24 KB, image/png)
2017-02-19 19:15 PST, Blaze Burg
no flags
resources tab - LTR (30.50 KB, image/png)
2017-02-19 19:15 PST, Blaze Burg
no flags
resources tab - RTL (18.89 KB, image/png)
2017-02-19 19:16 PST, Blaze Burg
no flags
Patch (6.17 KB, patch)
2017-02-19 19:19 PST, Blaze Burg
mattbaker: review+
[Image] Execution context path component (36.44 KB, image/png)
2017-02-20 11:21 PST, Matt Baker
no flags
execution context list (RTL) (8.03 KB, image/png)
2017-02-20 17:00 PST, Blaze Burg
no flags
Blaze Burg
Comment 1 2017-02-19 19:15:02 PST
Created attachment 302108 [details] collapsed elements tab - LTR
Blaze Burg
Comment 2 2017-02-19 19:15:29 PST
Created attachment 302109 [details] collapsed elements tab - RTL
Blaze Burg
Comment 3 2017-02-19 19:15:43 PST
Created attachment 302110 [details] resources tab - LTR
Blaze Burg
Comment 4 2017-02-19 19:16:00 PST
Created attachment 302111 [details] resources tab - RTL
Blaze Burg
Comment 5 2017-02-19 19:18:02 PST
To Test: - Select a deeply nested element in Elements tab to see collapsed path components - Select a subresource in Resources tab - Click on collapsed and full path components to verify <select> position Did not test: - Text-only path components - where are these used?
Blaze Burg
Comment 6 2017-02-19 19:19:24 PST
Matt Baker
Comment 7 2017-02-20 11:00:10 PST
(In reply to comment #5) > To Test: > > - Select a deeply nested element in Elements tab to see collapsed path > components > - Select a subresource in Resources tab > - Click on collapsed and full path components to verify <select> position > > Did not test: > - Text-only path components - where are these used? It's used by the execution context path component, in the console.
Matt Baker
Comment 8 2017-02-20 11:21:13 PST
Created attachment 302159 [details] [Image] Execution context path component Shown on pages with workers. LTR v RTL
Blaze Burg
Comment 9 2017-02-20 11:40:53 PST
(In reply to comment #8) > Created attachment 302159 [details] > [Image] Execution context path component > > Shown on pages with workers. > > LTR v RTL I'll apply this patch again and add an after screenshot.
Blaze Burg
Comment 10 2017-02-20 17:00:10 PST
Created attachment 302207 [details] execution context list (RTL) Looks correct to me. Please review.
Matt Baker
Comment 11 2017-02-20 17:17:46 PST
Comment on attachment 302113 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=302113&action=review Looks good, r+ with nits > Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css:65 > +.hierarchical-path-component > :matches(.icon, .selector-arrows) { Nice cleanup. > Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css:159 > + transform: rotate(180deg); Nit: I think `transform: scaleX(-1)` better expresses the transformation being done here (horizontal flip). It happens that the result is identical for now, but a flip would be more future proof.
Blaze Burg
Comment 12 2017-02-20 17:24:25 PST
Note You need to log in before you can comment on or make changes to this bug.