Don't use :active pseudo-class

It's slow (500 ms recalculate style vs 1ms).
This commit is contained in:
John Firebaugh
2013-05-11 19:15:04 -07:00
parent feed896baa
commit 9fafd6b56a
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -900,7 +900,7 @@ text.point {
) 9 9, auto;
}
#map:active {
#map.panning {
cursor: pointer; /* Opera */
cursor: url(img/cursor-grabbing.png) 9 9, auto; /* FF */
cursor: -webkit-image-set(