Title: [215903] trunk/Source/WebInspectorUI
Revision
215903
Author
[email protected]
Date
2017-04-27 16:12:22 -0700 (Thu, 27 Apr 2017)

Log Message

Web Inspector: RTL: fix alignment of "truncated call stack" message
https://bugs.webkit.org/show_bug.cgi?id=170477

Reviewed by Devin Rousso.

* UserInterface/Views/ThreadTreeElement.css:
(.tree-outline > .item.thread + ol > .item.truncated-call-frames):
(body[dir=ltr] .tree-outline > .item.thread + ol > .item.truncated-call-frames):
(body[dir=rtl] .tree-outline > .item.thread + ol > .item.truncated-call-frames):
(.tree-outline > .item.thread + ol > .item.truncated-call-frames .icon):
(body[dir=ltr] .tree-outline > .item.thread + ol > .item.truncated-call-frames .icon):
(body[dir=rtl] .tree-outline > .item.thread + ol > .item.truncated-call-frames .icon):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (215902 => 215903)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-04-27 23:09:16 UTC (rev 215902)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-04-27 23:12:22 UTC (rev 215903)
@@ -1,5 +1,20 @@
 2017-04-27  Brian Burg  <[email protected]>
 
+        Web Inspector: RTL: fix alignment of "truncated call stack" message
+        https://bugs.webkit.org/show_bug.cgi?id=170477
+
+        Reviewed by Devin Rousso.
+
+        * UserInterface/Views/ThreadTreeElement.css:
+        (.tree-outline > .item.thread + ol > .item.truncated-call-frames):
+        (body[dir=ltr] .tree-outline > .item.thread + ol > .item.truncated-call-frames):
+        (body[dir=rtl] .tree-outline > .item.thread + ol > .item.truncated-call-frames):
+        (.tree-outline > .item.thread + ol > .item.truncated-call-frames .icon):
+        (body[dir=ltr] .tree-outline > .item.thread + ol > .item.truncated-call-frames .icon):
+        (body[dir=rtl] .tree-outline > .item.thread + ol > .item.truncated-call-frames .icon):
+
+2017-04-27  Brian Burg  <[email protected]>
+
         Web Inspector: RTL: layout issues in Open Resource Dialog
         https://bugs.webkit.org/show_bug.cgi?id=170551
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ThreadTreeElement.css (215902 => 215903)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ThreadTreeElement.css	2017-04-27 23:09:16 UTC (rev 215902)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ThreadTreeElement.css	2017-04-27 23:12:22 UTC (rev 215903)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2016-2017 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -54,14 +54,36 @@
 .tree-outline > .item.thread + ol > .item.truncated-call-frames {
     color: var(--text-color-gray-medium);
     border-top: dashed 0.5px var(--border-color);
-    margin-left: 31px;
-    margin-right: 6px;
-    padding-left: 0;
     cursor: default;
+
+    --truncated-call-frames-margin-start: 31px;
+    --truncated-call-frames-margin-end: 6px;
+    --truncated-call-frames-padding-start: 0;
 }
 
+body[dir=ltr] .tree-outline > .item.thread + ol > .item.truncated-call-frames {
+    margin-right: var(--truncated-call-frames-margin-end);
+    margin-left: var(--truncated-call-frames-margin-start);
+    padding-left: var(--truncated-call-frames-padding-start);
+}
+
+body[dir=rtl] .tree-outline > .item.thread + ol > .item.truncated-call-frames {
+    margin-right: var(--truncated-call-frames-margin-start);
+    margin-left: var(--truncated-call-frames-margin-end);
+    padding-right: var(--truncated-call-frames-padding-start);
+}
+
 .tree-outline > .item.thread + ol > .item.truncated-call-frames .icon {
-    margin-left: 0;
     content: url(../Images/Function.svg);
     opacity: 0.6;
+
+    --truncated-call-frames-icon-margin-start: 0;
 }
+
+body[dir=ltr] .tree-outline > .item.thread + ol > .item.truncated-call-frames .icon {
+    margin-left: var(--truncated-call-frames-icon-margin-start);
+}
+
+body[dir=rtl] .tree-outline > .item.thread + ol > .item.truncated-call-frames .icon {
+    margin-right: var(--truncated-call-frames-icon-margin-start);
+}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to