Title: [173366] trunk/Source/WebInspectorUI
Revision
173366
Author
[email protected]
Date
2014-09-07 02:30:32 -0700 (Sun, 07 Sep 2014)

Log Message

Use a <circle> instead of a <path> in DownloadArrow.svg.
https://bugs.webkit.org/show_bug.cgi?id=136608

Reviewed by Antoine Quint.

* UserInterface/Images/DownloadArrow.svg:
* UserInterface/Views/TreeElementStatusButton.css:
(.item > .status > .status-button > svg .filled):
(body.mac-platform.legacy .item > .status > .status-button > svg .filled):
(:focus .item.selected > .status > .status-button > svg .filled):
(.item > .status > .status-button > svg .stroked):
(body.mac-platform.legacy .item > .status > .status-button > svg .stroked):
(:focus .item.selected > .status > .status-button > svg .stroked):
Tweak CSS selectors to apply to other shapes, not just path.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (173365 => 173366)


--- trunk/Source/WebInspectorUI/ChangeLog	2014-09-07 00:19:53 UTC (rev 173365)
+++ trunk/Source/WebInspectorUI/ChangeLog	2014-09-07 09:30:32 UTC (rev 173366)
@@ -1,3 +1,20 @@
+2014-09-07  Timothy Hatcher  <[email protected]>
+
+        Use a <circle> instead of a <path> in DownloadArrow.svg.
+        https://bugs.webkit.org/show_bug.cgi?id=136608
+
+        Reviewed by Antoine Quint.
+
+        * UserInterface/Images/DownloadArrow.svg:
+        * UserInterface/Views/TreeElementStatusButton.css:
+        (.item > .status > .status-button > svg .filled):
+        (body.mac-platform.legacy .item > .status > .status-button > svg .filled):
+        (:focus .item.selected > .status > .status-button > svg .filled):
+        (.item > .status > .status-button > svg .stroked):
+        (body.mac-platform.legacy .item > .status > .status-button > svg .stroked):
+        (:focus .item.selected > .status > .status-button > svg .stroked):
+        Tweak CSS selectors to apply to other shapes, not just path.
+
 2014-09-06  Darin Adler  <[email protected]>
 
         Make updates suggested by new version of Xcode

Modified: trunk/Source/WebInspectorUI/UserInterface/Images/DownloadArrow.svg (173365 => 173366)


--- trunk/Source/WebInspectorUI/UserInterface/Images/DownloadArrow.svg	2014-09-07 00:19:53 UTC (rev 173365)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/DownloadArrow.svg	2014-09-07 09:30:32 UTC (rev 173366)
@@ -1,11 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- Copyright © 2014 Apple Inc. All rights reserved. -->
 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <clipPath id="1">
-        <path d="M 7.5 15 C 11.08985 15 14 12.089851 14 8.5 C 14 4.91015 11.08985 2 7.5 2 C 3.910149 2 1 4.91015 1 8.5 C 1 12.089851 3.910149 15 7.5 15 L 7.5 15 Z"/>
-    </clipPath>
-    <g clip-path="url(#1)" fill="none" stroke-linecap="square" stroke="black">
-        <path class="stroked" stroke-width="2" d="M 7.5 15 C 11.08985 15 14 12.08985 14 8.5 C 14 4.910149 11.08985 2 7.5 2 C 3.910149 2 1 4.910149 1 8.5 C 1 12.08985 3.910149 15 7.5 15 L 7.5 15 Z"/>
+    <g fill="none" stroke-linecap="square" stroke="black">
+        <circle class="stroked" cx="7.5" cy="8.5" r="6"/>
         <path class="stroked" d="M 10.5 8.5 L 7.5 11.5"/>
         <path class="stroked" d="M 4.5 8.5 L 7.5 11.5"/>
         <path class="stroked" d="M 7.5 3 L 7.5 10.5"/>

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TreeElementStatusButton.css (173365 => 173366)


--- trunk/Source/WebInspectorUI/UserInterface/Views/TreeElementStatusButton.css	2014-09-07 00:19:53 UTC (rev 173365)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TreeElementStatusButton.css	2014-09-07 09:30:32 UTC (rev 173366)
@@ -29,27 +29,27 @@
     display: inline-block;
 }
 
-.item > .status > .status-button > svg path.filled {
+.item > .status > .status-button > svg .filled {
     fill: rgb(128, 128, 128);
 }
 
-body.mac-platform.legacy .item > .status > .status-button > svg path.filled {
+body.mac-platform.legacy .item > .status > .status-button > svg .filled {
     fill: rgb(64, 64, 64);
 }
 
-:focus .item.selected > .status > .status-button > svg path.filled {
+:focus .item.selected > .status > .status-button > svg .filled {
     fill: white !important;
 }
 
-.item > .status > .status-button > svg path.stroked {
+.item > .status > .status-button > svg .stroked {
     stroke: rgb(128, 128, 128);
 }
 
-body.mac-platform.legacy .item > .status > .status-button > svg path.stroked {
+body.mac-platform.legacy .item > .status > .status-button > svg .stroked {
     stroke: rgb(64, 64, 64);
 }
 
-:focus .item.selected > .status > .status-button > svg path.stroked {
+:focus .item.selected > .status > .status-button > svg .stroked {
     stroke: white !important;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to