Title: [248311] trunk/Source/WebInspectorUI
Revision
248311
Author
[email protected]
Date
2019-08-06 13:33:16 -0700 (Tue, 06 Aug 2019)

Log Message

Web Inspector: RTL: go-to arrows and expand triangles in Computed panel should match their context
https://bugs.webkit.org/show_bug.cgi?id=200449

Reviewed by Joseph Pecoraro.

* UserInterface/Views/ComputedStyleSection.css:
(body[dir=rtl] .computed-style-section .computed-property-item .disclosure-button): Deleted.

* UserInterface/Views/Main.css:
(body[dir=rtl] [dir=ltr] .go-to-arrow): Added.
In the RTL mode, LTR "islands" should have their contents to be still LTR.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (248310 => 248311)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-08-06 20:31:04 UTC (rev 248310)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-08-06 20:33:16 UTC (rev 248311)
@@ -1,3 +1,17 @@
+2019-08-06  Nikita Vasilyev  <[email protected]>
+
+        Web Inspector: RTL: go-to arrows and expand triangles in Computed panel should match their context
+        https://bugs.webkit.org/show_bug.cgi?id=200449
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/ComputedStyleSection.css:
+        (body[dir=rtl] .computed-style-section .computed-property-item .disclosure-button): Deleted.
+
+        * UserInterface/Views/Main.css:
+        (body[dir=rtl] [dir=ltr] .go-to-arrow): Added.
+        In the RTL mode, LTR "islands" should have their contents to be still LTR.
+
 2019-08-05  Devin Rousso  <[email protected]>
 
         Web Inspector: Styles: show @supports CSS groupings

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleSection.css (248310 => 248311)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleSection.css	2019-08-06 20:31:04 UTC (rev 248310)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleSection.css	2019-08-06 20:33:16 UTC (rev 248311)
@@ -64,10 +64,6 @@
     -webkit-appearance: none;
 }
 
-body[dir=rtl] .computed-style-section .computed-property-item .disclosure-button {
-    transform: scaleX(-1);
-}
-
 .computed-style-section .computed-property-item .property-traces {
     display: none;
     width: 100%;

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/Main.css (248310 => 248311)


--- trunk/Source/WebInspectorUI/UserInterface/Views/Main.css	2019-08-06 20:31:04 UTC (rev 248310)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/Main.css	2019-08-06 20:33:16 UTC (rev 248311)
@@ -290,6 +290,10 @@
     transform: scaleX(-1);
 }
 
+body[dir=rtl] [dir=ltr] .go-to-arrow {
+    transform: revert;
+}
+
 :focus .selected .go-to-arrow {
     background-image: url(../Images/GoToArrow.svg#selected);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to