Changeset 219041 in webkit


Ignore:
Timestamp:
Jun 30, 2017, 10:06:40 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Type token background color in debugger looks poor
https://bugs.webkit.org/show_bug.cgi?id=174063

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2017-06-30
Reviewed by Devin Rousso.

  • UserInterface/Views/TextEditor.css:

CodeMirror widgets do not get range styles like our (.execution-range-highlight).
Make a best effort to carry over the styles to widgets. It isn't perfect, but it
covers all common situations unless a selection ends inside the widget. The
ultimate solution would be to get the expected range styles.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r219021 r219041  
     12017-06-30  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Type token background color in debugger looks poor
     4        https://bugs.webkit.org/show_bug.cgi?id=174063
     5
     6        Reviewed by Devin Rousso.
     7
     8        * UserInterface/Views/TextEditor.css:
     9        CodeMirror widgets do not get range styles like our (.execution-range-highlight).
     10        Make a best effort to carry over the styles to widgets. It isn't perfect, but it
     11        covers all common situations unless a selection ends inside the widget. The
     12        ultimate solution would be to get the expected range styles.
     13
    1142017-06-30  Joseph Pecoraro  <pecoraro@apple.com>
    215
  • trunk/Source/WebInspectorUI/UserInterface/Views/TextEditor.css

    r206714 r219041  
    108108}
    109109
    110 .text-editor > .CodeMirror .execution-range-highlight:not(.CodeMirror-selectedtext) {
     110.text-editor > .CodeMirror .execution-range-highlight:not(.CodeMirror-selectedtext),
     111.text-editor > .CodeMirror .execution-range-highlight:not(.CodeMirror-selectedtext) + .CodeMirror-widget {
    111112    background-color: hsl(90, 30%, 82%);
    112113}
Note: See TracChangeset for help on using the changeset viewer.