RESOLVED FIXED 129260
Web Inspector: Toolbar is all white on non-Mac platforms
https://bugs.webkit.org/show_bug.cgi?id=129260
Summary Web Inspector: Toolbar is all white on non-Mac platforms
Timothy Hatcher
Reported 2014-02-24 11:12:53 PST
The toolbar is all white on Windows and Linux. We should give those platforms a default toolbar background.
Attachments
Patch (4.63 KB, patch)
2014-02-24 11:16 PST, Timothy Hatcher
joepeck: review+
timothy: commit-queue-
Timothy Hatcher
Comment 1 2014-02-24 11:16:01 PST
Radar WebKit Bug Importer
Comment 2 2014-02-24 11:16:27 PST
Joseph Pecoraro
Comment 3 2014-02-24 11:45:45 PST
Comment on attachment 225076 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=225076&action=review r=me > Source/WebInspectorUI/UserInterface/Base/Main.js:203 > + } else if (navigator.platform.contains("Win")) > + document.body.classList.add("windows-platform"); > + else if (navigator.platform.contains("Linux")) > + document.body.classList.add("linux-platform"); > + else > + document.body.classList.add("other-platform"); Should we use InspectorFrontendHost.platform instead? It would simplify things a bit.
Timothy Hatcher
Comment 4 2014-02-24 13:24:40 PST
Antoine Quint
Comment 5 2014-02-24 15:23:00 PST
Comment on attachment 225076 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=225076&action=review > Source/WebInspectorUI/UserInterface/Views/Toolbar.css:58 > + background-image: -webkit-linear-gradient(top, rgb(233, 233, 233), rgb(229, 229, 229)); You could have used the W3C syntax as follows, with the default value for the orientation: linear-gradient(rgb(229, 229, 229), rgb(233, 233, 233));
Timothy Hatcher
Comment 6 2014-02-24 19:50:06 PST
Comment on attachment 225076 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=225076&action=review >> Source/WebInspectorUI/UserInterface/Views/Toolbar.css:58 >> + background-image: -webkit-linear-gradient(top, rgb(233, 233, 233), rgb(229, 229, 229)); > > You could have used the W3C syntax as follows, with the default value for the orientation: linear-gradient(rgb(229, 229, 229), rgb(233, 233, 233)); I fixed all our gradients to use the in prefixed version in a follow up.
Note You need to log in before you can comment on or make changes to this bug.