Web Inspector: Canvas: checkerboard has too much contrast in dark mode
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Sep 2019 02:31:08 +0000 (02:31 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Sep 2019 02:31:08 +0000 (02:31 +0000)
https://bugs.webkit.org/show_bug.cgi?id=201670

Reviewed by Timothy Hatcher.

* UserInterface/Views/CanvasTabContentView.css:
(.content-view.canvas > .preview > img, .content-view.canvas .preview-container > canvas): Deleted.
Don't force a `background-color: white;` in dark mode.

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

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/CanvasTabContentView.css

index f068a3f..76dfdf0 100644 (file)
@@ -1,3 +1,14 @@
+2019-09-11  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: Canvas: checkerboard has too much contrast in dark mode
+        https://bugs.webkit.org/show_bug.cgi?id=201670
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/CanvasTabContentView.css:
+        (.content-view.canvas > .preview > img, .content-view.canvas .preview-container > canvas): Deleted.
+        Don't force a `background-color: white;` in dark mode.
+
 2019-09-11  Nikita Vasilyev  <nvasilyev@apple.com>
 
         Web Inspector: Elements: don't show Changes panel when selecting text node
index 6bae457..2f5f7ce 100644 (file)
@@ -52,9 +52,4 @@
     .content-view.tab.canvas .navigation-bar > .item .recording > .icon {
         filter: invert();
     }
-
-    .content-view.canvas > .preview > img,
-    .content-view.canvas .preview-container > canvas {
-        background-color: white;
-    }
 }