RESOLVED FIXED 200449
Web Inspector: RTL: go-to arrows and expand triangles in Computed panel should match their context
https://bugs.webkit.org/show_bug.cgi?id=200449
Summary Web Inspector: RTL: go-to arrows and expand triangles in Computed panel shoul...
Nikita Vasilyev
Reported 2019-08-05 15:11:19 PDT
Created attachment 375566 [details] [Image] Bug Properties section of the Computed panel is strictly LTR but disclosure triangles and go-to arrows are flipped. They shouldn't be!
Attachments
[Image] Bug (26.49 KB, image/png)
2019-08-05 15:11 PDT, Nikita Vasilyev
no flags
Patch (2.19 KB, patch)
2019-08-05 15:20 PDT, Nikita Vasilyev
no flags
[Image] With patch applied (41.03 KB, image/png)
2019-08-05 15:22 PDT, Nikita Vasilyev
no flags
Patch (2.01 KB, patch)
2019-08-06 11:41 PDT, Nikita Vasilyev
no flags
Nikita Vasilyev
Comment 1 2019-08-05 15:20:01 PDT
Nikita Vasilyev
Comment 2 2019-08-05 15:22:25 PDT
Created attachment 375569 [details] [Image] With patch applied
Nikita Vasilyev
Comment 3 2019-08-05 15:23:25 PDT
I think Brian would be a good reviwer for this.
Joseph Pecoraro
Comment 4 2019-08-05 18:37:06 PDT
Comment on attachment 375567 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375567&action=review r=me > Source/WebInspectorUI/UserInterface/Views/Main.css:289 > -body[dir=rtl] .go-to-arrow { > +[dir=rtl] .go-to-arrow { Will we need to worry about these? Views/DataGrid.css 343:body[dir=ltr] .data-grid td .go-to-arrow { 347:body[dir=rtl] .data-grid td .go-to-arrow { I suspect this would affect positioning in Timeline Views, but I guess we won't be overriding it again in any of those data grids.
Joseph Pecoraro
Comment 5 2019-08-05 18:39:10 PDT
Comment on attachment 375567 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375567&action=review > Source/WebInspectorUI/UserInterface/Views/ComputedStyleSection.css:-69 > -body[dir=rtl] .computed-style-section .computed-property-item .disclosure-button { > - transform: scaleX(-1); > -} What about the headers of sidebar sections. Like 'Properties'. Won't that disclosure triangle, if closed, want to be transformed?
Nikita Vasilyev
Comment 6 2019-08-06 11:28:22 PDT
(In reply to Joseph Pecoraro from comment #4) > Comment on attachment 375567 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=375567&action=review > > r=me > > > Source/WebInspectorUI/UserInterface/Views/Main.css:289 > > -body[dir=rtl] .go-to-arrow { > > +[dir=rtl] .go-to-arrow { > > Will we need to worry about these? > > Views/DataGrid.css > 343:body[dir=ltr] .data-grid td .go-to-arrow { > 347:body[dir=rtl] .data-grid td .go-to-arrow { > > I suspect this would affect positioning in Timeline Views, but I guess we > won't be overriding it again in any of those data grids. It's unlikely we'd need to worry about these.
Nikita Vasilyev
Comment 7 2019-08-06 11:41:26 PDT
WebKit Commit Bot
Comment 8 2019-08-06 13:33:23 PDT
Comment on attachment 375634 [details] Patch Clearing flags on attachment: 375634 Committed r248311: <https://trac.webkit.org/changeset/248311>
WebKit Commit Bot
Comment 9 2019-08-06 13:33:24 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 10 2019-08-06 13:34:30 PDT
Note You need to log in before you can comment on or make changes to this bug.