RESOLVED FIXED 195569
Web Inspector: use -webkit-{margin,padding}-{start,end} instead of [dir={ltr/rtl}] rules
https://bugs.webkit.org/show_bug.cgi?id=195569
Summary Web Inspector: use -webkit-{margin,padding}-{start,end} instead of [dir={ltr/...
Devin Rousso
Reported 2019-03-11 13:07:31 PDT
This is much cleaner and simpler.
Attachments
Patch (74.64 KB, patch)
2019-03-11 15:35 PDT, Devin Rousso
no flags
Patch (74.47 KB, patch)
2019-03-11 17:42 PDT, Devin Rousso
no flags
Radar WebKit Bug Importer
Comment 1 2019-03-11 13:07:56 PDT
Devin Rousso
Comment 2 2019-03-11 15:35:06 PDT
Devin Rousso
Comment 3 2019-03-11 15:37:23 PDT
Comment on attachment 364301 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=364301&action=review > Source/WebInspectorUI/UserInterface/Views/BoxModelDetailsSectionRow.css:-38 > -body[dir=ltr] .details-section .row.box-model .label { Removing this entirely was intentional. I think it looks better when the text isn't as indented.
Matt Baker
Comment 4 2019-03-11 16:49:21 PDT
Comment on attachment 364301 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=364301&action=review r=me, great cleanup! > Source/WebInspectorUI/UserInterface/Views/BreakpointPopoverController.css:81 > +#edit-breakpoint-popover-auto-continue { Style: these should be on a single line. > Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css:48 > +.content-view.dom-tree.show-gutter .tree-outline.dom { This rule belongs in DOMTreeContentView.css. > Source/WebInspectorUI/UserInterface/Views/FindBanner.css:69 > +.find-banner > :first-child { So much better! > Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css:143 > + /* Positions so the text in the menu aligns with the text in .title for text only path components. */ "text-only" should be hyphenated, since it's a compound adjective preceding the noun it modifies.
Devin Rousso
Comment 5 2019-03-11 17:11:05 PDT
Comment on attachment 364301 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=364301&action=review >> Source/WebInspectorUI/UserInterface/Views/BreakpointPopoverController.css:81 >> +#edit-breakpoint-popover-auto-continue { > > Style: these should be on a single line. These are two different selectors. We normally put a separate selector on each line. The only time we don't is if we use a `:matches`. >> Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css:48 >> +.content-view.dom-tree.show-gutter .tree-outline.dom { > > This rule belongs in DOMTreeContentView.css. Will move.
Devin Rousso
Comment 6 2019-03-11 17:42:23 PDT
WebKit Commit Bot
Comment 7 2019-03-11 20:22:35 PDT
Comment on attachment 364319 [details] Patch Clearing flags on attachment: 364319 Committed r242768: <https://trac.webkit.org/changeset/242768>
WebKit Commit Bot
Comment 8 2019-03-11 20:22:37 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.