Prevented text selection on logo and header navigation
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Feb 2020 22:52:42 +0000 (22:52 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Feb 2020 22:52:42 +0000 (22:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=208157

Reviewed by Devin Rousso.

* wp-content/themes/webkit/style.css:
(.site-logo):
(header nav):

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

Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/themes/webkit/style.css

index 7be9782..b257a23 100644 (file)
@@ -1,3 +1,14 @@
+2020-02-26  Jon Davis  <jond@apple.com>
+
+        Prevented text selection on logo and header navigation
+        https://bugs.webkit.org/show_bug.cgi?id=208157
+
+        Reviewed by Devin Rousso.
+
+        * wp-content/themes/webkit/style.css:
+        (.site-logo):
+        (header nav):
+
 2020-01-27  Jon Davis  <jond@apple.com>
 
         Add support for table of contents to Web Inspector pages
index 4fed66f..73c79bb 100644 (file)
@@ -2076,6 +2076,8 @@ article .table-of-contents label {
     padding: 1rem 0 1rem 5.5rem;
     color: hsl(0, 0%, 100%);
     color: var(--inverse-text-color);
+    -webkit-user-select: none;
+    user-select: none;
 }
 
 .hero .logo {
@@ -2100,6 +2102,8 @@ article .table-of-contents label {
 
 header nav {
     text-align: right;
+    -webkit-user-select: none;
+    user-select: none;
 }
 
 /* Hide menu toggle checkboxes */