Title: [272271] branches/safari-611-branch/Source/WebInspectorUI
Revision
272271
Author
[email protected]
Date
2021-02-02 17:40:44 -0800 (Tue, 02 Feb 2021)

Log Message

Cherry-pick r271726. rdar://problem/73889694

    Web Inspector: Fix bidi confusion when evaluation result has RTL text
    https://bugs.webkit.org/show_bug.cgi?id=220639

    Patch by Ebrahim Byagowi <[email protected]> on 2021-01-21
    Reviewed by BJ Burg.

    Apply `unicode-bidi: isolate` to formatted string and regexp so that
    when they contain RTL text the bidi algorithm won't mix
    saved variable name ($1, $2, ...) with the content.

    * UserInterface/Views/FormattedValue.css:
    (.formatted-string, .formatted-regexp):

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

Modified Paths

Diff

Modified: branches/safari-611-branch/Source/WebInspectorUI/ChangeLog (272270 => 272271)


--- branches/safari-611-branch/Source/WebInspectorUI/ChangeLog	2021-02-03 01:40:42 UTC (rev 272270)
+++ branches/safari-611-branch/Source/WebInspectorUI/ChangeLog	2021-02-03 01:40:44 UTC (rev 272271)
@@ -1,3 +1,36 @@
+2021-02-02  Alan Coon  <[email protected]>
+
+        Cherry-pick r271726. rdar://problem/73889694
+
+    Web Inspector: Fix bidi confusion when evaluation result has RTL text
+    https://bugs.webkit.org/show_bug.cgi?id=220639
+    
+    Patch by Ebrahim Byagowi <[email protected]> on 2021-01-21
+    Reviewed by BJ Burg.
+    
+    Apply `unicode-bidi: isolate` to formatted string and regexp so that
+    when they contain RTL text the bidi algorithm won't mix
+    saved variable name ($1, $2, ...) with the content.
+    
+    * UserInterface/Views/FormattedValue.css:
+    (.formatted-string, .formatted-regexp):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-01-21  Ebrahim Byagowi  <[email protected]>
+
+            Web Inspector: Fix bidi confusion when evaluation result has RTL text
+            https://bugs.webkit.org/show_bug.cgi?id=220639
+
+            Reviewed by BJ Burg.
+
+            Apply `unicode-bidi: isolate` to formatted string and regexp so that
+            when they contain RTL text the bidi algorithm won't mix
+            saved variable name ($1, $2, ...) with the content.
+
+            * UserInterface/Views/FormattedValue.css:
+            (.formatted-string, .formatted-regexp):
+
 2021-01-29  Alan Coon  <[email protected]>
 
         Cherry-pick r271458. rdar://problem/73477098

Modified: branches/safari-611-branch/Source/WebInspectorUI/UserInterface/Views/FormattedValue.css (272270 => 272271)


--- branches/safari-611-branch/Source/WebInspectorUI/UserInterface/Views/FormattedValue.css	2021-02-03 01:40:42 UTC (rev 272270)
+++ branches/safari-611-branch/Source/WebInspectorUI/UserInterface/Views/FormattedValue.css	2021-02-03 01:40:44 UTC (rev 272271)
@@ -44,6 +44,7 @@
 
 .formatted-string, .formatted-regexp {
     white-space: pre;
+    unicode-bidi: isolate;
 }
 
 .formatted-string {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to