Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: Debugger: disabled breakpoint color is too dark
https://bugs.webkit.org/show_bug.cgi?id=195103 <rdar://problem/48440678> Reviewed by Devin Rousso. Increase the disabled breakpoint contrast, as well as the contrast between disabled and auto-continue breakpoints. Disabled breakpoints stand out by being somewhat brighter and less saturated. Using the same strategy for auto-continue breakpoints is too subtle to provide sufficient contrast. We can adopt the technique used by Xcode, and overlay a white triangle marker on the breakpoint arrow to indicate an auto-continue breakpoint. * UserInterface/Views/BreakpointTreeElement.css: (.item.breakpoint .status > .status-image): (.item.breakpoint.selected .status > .status-image.resolved): Add white outline to make selected breakpoint button stand out. (.item.breakpoint .status > .status-image.auto-continue::after): (.item.breakpoint .status > .status-image.disabled): (.item.breakpoint .status > .status-image.auto-continue): Deleted. * UserInterface/Views/DOMTreeContentView.css: (.content-view.dom-tree .tree-outline.dom li .status-image.breakpoint): (.content-view.dom-tree .tree-outline.dom li .status-image.breakpoint.disabled): (.content-view.dom-tree .tree-outline.dom li .status-image.breakpoint.subtree): (.content-view.dom-tree .tree-outline.dom li .status-image.breakpoint.disabled,): Deleted. * UserInterface/Views/TextEditor.css: (.text-editor > .CodeMirror .has-breakpoint .CodeMirror-linenumber::before): (.text-editor > .CodeMirror .breakpoint-auto-continue:not(.execution-line.primary) .CodeMirror-linenumber::after): (.text-editor > .CodeMirror .breakpoint-disabled .CodeMirror-linenumber::before): (.text-editor > .CodeMirror .breakpoint-auto-continue:not(.breakpoint-disabled) .CodeMirror-linenumber::before): Deleted. * UserInterface/Views/Variables.css: (:root): Add breakpoint color variables to use across all breakpoint controls. Use system colors if available, otherwise fall back to hard-coded values based on sampling the default (blue) accent color on Mojave. Canonical link: https://commits.webkit.org/209511@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
5 changed files
with
89 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters