Changeset 271726 in webkit


Ignore:
Timestamp:
Jan 21, 2021 5:24:44 PM (18 months ago)
Author:
commit-queue@webkit.org
Message:

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

Patch by Ebrahim Byagowi <ebrahim@gnu.org> 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):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r271679 r271726  
     12021-01-21  Ebrahim Byagowi  <ebrahim@gnu.org>
     2
     3        Web Inspector: Fix bidi confusion when evaluation result has RTL text
     4        https://bugs.webkit.org/show_bug.cgi?id=220639
     5
     6        Reviewed by BJ Burg.
     7
     8        Apply `unicode-bidi: isolate` to formatted string and regexp so that
     9        when they contain RTL text the bidi algorithm won't mix
     10        saved variable name ($1, $2, ...) with the content.
     11
     12        * UserInterface/Views/FormattedValue.css:
     13        (.formatted-string, .formatted-regexp):
     14
    1152021-01-20  Kenneth Russell  <kbr@chromium.org>
    216
  • trunk/Source/WebInspectorUI/UserInterface/Views/FormattedValue.css

    r248898 r271726  
    4545.formatted-string, .formatted-regexp {
    4646    white-space: pre;
     47    unicode-bidi: isolate;
    4748}
    4849
Note: See TracChangeset for help on using the changeset viewer.