Web Inspector: displaying whitespace characters is broken
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Feb 2013 11:29:03 +0000 (11:29 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Feb 2013 11:29:03 +0000 (11:29 +0000)
https://bugs.webkit.org/show_bug.cgi?id=109412

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-02-11
Reviewed by Vsevolod Vlasov.

Add "pointer-events: none" rule for pseudo-class "before", which
maintains rendering of whitespace characters.

No new tests.

* inspector/front-end/inspectorSyntaxHighlight.css:
(.webkit-whitespace::before):

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

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/inspectorSyntaxHighlight.css

index f7849bb23309ce6fc9f7735142e522684a2152cf..d295b7920d9ca94e59e78bae3877040889ad9dd5 100644 (file)
@@ -1,3 +1,18 @@
+2013-02-11  Andrey Lushnikov  <lushnikov@chromium.org>
+
+        Web Inspector: displaying whitespace characters is broken
+        https://bugs.webkit.org/show_bug.cgi?id=109412
+
+        Reviewed by Vsevolod Vlasov.
+
+        Add "pointer-events: none" rule for pseudo-class "before", which
+        maintains rendering of whitespace characters.
+
+        No new tests.
+
+        * inspector/front-end/inspectorSyntaxHighlight.css:
+        (.webkit-whitespace::before):
+
 2013-02-11  Alexander Pavlov  <apavlov@chromium.org>
 
         Web Inspector: Implement position-based sourcemapping for stylesheets
index 122ae32ccc450f55f7ffa729a0926ed144f4261f..10fa3c9d021bae8ff802d14ff8afc97699d0e8ab 100644 (file)
@@ -92,6 +92,7 @@
 
 .webkit-whitespace::before {
     position: absolute;
+    pointer-events: none;
     color: rgb(175, 175, 175);
 }