RESOLVED FIXED 144461
[GTK] Web Inspector: icons for console.info() messages
https://bugs.webkit.org/show_bug.cgi?id=144461
Summary [GTK] Web Inspector: icons for console.info() messages
Andres Gomez Garcia
Reported 2015-04-30 11:35:25 PDT
GTK icons for bug 18530.
Attachments
Patch (5.96 KB, patch)
2015-04-30 11:43 PDT, Andres Gomez Garcia
no flags
Patch for landing (5.88 KB, patch)
2015-05-05 06:31 PDT, Andres Gomez Garcia
no flags
Patch for landing (5.88 KB, patch)
2015-05-05 06:34 PDT, Andres Gomez Garcia
no flags
Radar WebKit Bug Importer
Comment 1 2015-04-30 11:35:38 PDT
Andres Gomez Garcia
Comment 2 2015-04-30 11:36:09 PDT
Taking.
Andres Gomez Garcia
Comment 3 2015-04-30 11:43:02 PDT
Joseph Pecoraro
Comment 4 2015-04-30 12:29:50 PDT
Comment on attachment 252075 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=252075&action=review rs=me, it would be funny if this lands before the other console.info change lands =) > Source/WebInspectorUI/UserInterface/Images/gtk/Debug.svg:1 > +<?xml version="1.0" encoding="UTF-8" standalone="no"?> I commented on another patch that I don't think the standalone="no" lines are needed. You should be able to remove them and simplify things a bit more. > Source/WebInspectorUI/UserInterface/Images/gtk/Debug.svg:5 > + <path style="color:#000000" d="m10.025 3.125 4.875 4.875l-4.875 4.875h-7.3412c-0.4311-0.018-0.784-0.4-0.784-0.813v-8.125c0-0.4308 0.2808-0.812 0.8197-0.812z" fill="#729fcf"/> One thing we have been doing with our SVGs is adding a class name denoting a path that is filled versus stroked. <path d="..." class="filled" fill="..."/> <path d="..." class="stroked" stroke="..."/> The class names serve no purpose right now, but in the past we have used CSS to customize the stroke / fill color of SVG images. You may want to adopt this pattern too. There are no plans to use it, we have just been proactively adding it.
Andres Gomez Garcia
Comment 5 2015-05-05 06:20:31 PDT
(In reply to comment #4) > > Source/WebInspectorUI/UserInterface/Images/gtk/Debug.svg:1 > > +<?xml version="1.0" encoding="UTF-8" standalone="no"?> > > I commented on another patch that I don't think the standalone="no" lines > are needed. You should be able to remove them and simplify things a bit more. Yep. > > Source/WebInspectorUI/UserInterface/Images/gtk/Debug.svg:5 > > + <path style="color:#000000" d="m10.025 3.125 4.875 4.875l-4.875 4.875h-7.3412c-0.4311-0.018-0.784-0.4-0.784-0.813v-8.125c0-0.4308 0.2808-0.812 0.8197-0.812z" fill="#729fcf"/> > > One thing we have been doing with our SVGs is adding a class name denoting a > path that is filled versus stroked. > > <path d="..." class="filled" fill="..."/> > <path d="..." class="stroked" stroke="..."/> > > The class names serve no purpose right now, but in the past we have used CSS > to customize the stroke / fill color of SVG images. You may want to adopt > this pattern too. There are no plans to use it, we have just been > proactively adding it. I'm adding this now. Thanks a lot for your review.
Andres Gomez Garcia
Comment 6 2015-05-05 06:31:19 PDT
Created attachment 252379 [details] Patch for landing
Andres Gomez Garcia
Comment 7 2015-05-05 06:34:46 PDT
Created attachment 252380 [details] Patch for landing
WebKit Commit Bot
Comment 8 2015-05-05 06:45:12 PDT
Comment on attachment 252380 [details] Patch for landing Clearing flags on attachment: 252380 Committed r183804: <http://trac.webkit.org/changeset/183804>
WebKit Commit Bot
Comment 9 2015-05-05 06:45:17 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.