Title: [271846] branches/safari-611-branch/Source/WebInspectorUI
Revision
271846
Author
alanc...@apple.com
Date
2021-01-25 14:12:48 -0800 (Mon, 25 Jan 2021)

Log Message

Cherry-pick r271528. rdar://problem/73477082

    Web Inspector: Font Details sidebar - Improve line wrapping of table row titles when space is available
    https://bugs.webkit.org/show_bug.cgi?id=219997

    Reviewed by Devin Rousso.

    Adjust the width of the title in each row to 105px, which provides space for both `Historical Figures` which is
    an always-present row and `Optical Size (opsz)` which is a registed variation axis and is used in numerous
    fonts including San Francisco. This overrides the normal fixed width of these titles of 85px, which causes these
    and numerous other unregistered axis names and tags to wrap their title more aggresively than is stricly
    necessary.

    * UserInterface/Views/FontDetailsPanel.css:
    (.sidebar > .panel.details.style-font > .content .details-section > .content > .group > .row.simple > .label):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271528 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-611-branch/Source/WebInspectorUI/ChangeLog (271845 => 271846)


--- branches/safari-611-branch/Source/WebInspectorUI/ChangeLog	2021-01-25 22:12:43 UTC (rev 271845)
+++ branches/safari-611-branch/Source/WebInspectorUI/ChangeLog	2021-01-25 22:12:48 UTC (rev 271846)
@@ -1,5 +1,42 @@
 2021-01-25  Alan Coon  <alanc...@apple.com>
 
+        Cherry-pick r271528. rdar://problem/73477082
+
+    Web Inspector: Font Details sidebar - Improve line wrapping of table row titles when space is available
+    https://bugs.webkit.org/show_bug.cgi?id=219997
+    
+    Reviewed by Devin Rousso.
+    
+    Adjust the width of the title in each row to 105px, which provides space for both `Historical Figures` which is
+    an always-present row and `Optical Size (opsz)` which is a registed variation axis and is used in numerous
+    fonts including San Francisco. This overrides the normal fixed width of these titles of 85px, which causes these
+    and numerous other unregistered axis names and tags to wrap their title more aggresively than is stricly
+    necessary.
+    
+    * UserInterface/Views/FontDetailsPanel.css:
+    (.sidebar > .panel.details.style-font > .content .details-section > .content > .group > .row.simple > .label):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-01-15  Patrick Angle  <pan...@apple.com>
+
+            Web Inspector: Font Details sidebar - Improve line wrapping of table row titles when space is available
+            https://bugs.webkit.org/show_bug.cgi?id=219997
+
+            Reviewed by Devin Rousso.
+
+            Adjust the width of the title in each row to 105px, which provides space for both `Historical Figures` which is
+            an always-present row and `Optical Size (opsz)` which is a registed variation axis and is used in numerous
+            fonts including San Francisco. This overrides the normal fixed width of these titles of 85px, which causes these
+            and numerous other unregistered axis names and tags to wrap their title more aggresively than is stricly
+            necessary.
+
+            * UserInterface/Views/FontDetailsPanel.css:
+            (.sidebar > .panel.details.style-font > .content .details-section > .content > .group > .row.simple > .label):
+
+2021-01-25  Alan Coon  <alanc...@apple.com>
+
         Cherry-pick r271410. rdar://problem/73478423
 
     Web Inspector: Remove experimental setting and enable Font details sidebar

Modified: branches/safari-611-branch/Source/WebInspectorUI/UserInterface/Views/FontDetailsPanel.css (271845 => 271846)


--- branches/safari-611-branch/Source/WebInspectorUI/UserInterface/Views/FontDetailsPanel.css	2021-01-25 22:12:43 UTC (rev 271845)
+++ branches/safari-611-branch/Source/WebInspectorUI/UserInterface/Views/FontDetailsPanel.css	2021-01-25 22:12:48 UTC (rev 271846)
@@ -23,6 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+.sidebar > .panel.details.style-font > .content .details-section > .content > .group > .row.simple > .label {
+    width: 105px; /* Width of `Historical Figures` or `Optical Size (opsz)`. */
+}
+
 .sidebar > .panel.details.style-font > .content .details-section > .content > .group > .row.simple > .value .secondary {
     color: var(--text-color-secondary);
     word-break: normal;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to