Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Give scrollbar pseudo-classes their own blocks, fixes issue #46 #47

Merged
merged 1 commit into from

3 participants

@davemckenna01

A bug in Chrome 25 on Lion requires each selector to have their own blocks. E.g. the following:

.antiscroll-inner::-webkit-scrollbar, .antiscroll-inner::scrollbar {...}

causes the width and height rules to be ignored by the browser resulting in both native and antiscroll scrollbars appearing at the same time.

Fixes issue #46

@davemckenna01 davemckenna01 Give scrollbar pseudo-classes their own blocks
A bug in Chrome 25 on Lion requires each selector to have their own blocks. E.g. the following:

.antiscroll-inner::-webkit-scrollbar, .antiscroll-inner::scrollbar {...}

causes the width and height rules to be ignored by the browser resulting in both native and antiscroll scrollbars appearing at the same time.
2b0a58b
@AliMD

Thank you very much
why this pull not merged yet ?

@rauchg
Owner

Beautihul.

@rauchg rauchg merged commit e435a1b into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 26, 2013
  1. @davemckenna01

    Give scrollbar pseudo-classes their own blocks

    davemckenna01 authored
    A bug in Chrome 25 on Lion requires each selector to have their own blocks. E.g. the following:
    
    .antiscroll-inner::-webkit-scrollbar, .antiscroll-inner::scrollbar {...}
    
    causes the width and height rules to be ignored by the browser resulting in both native and antiscroll scrollbars appearing at the same time.
This page is out of date. Refresh to see the latest.
Showing with 14 additions and 1 deletion.
  1. +14 −1 antiscroll.css
View
15 antiscroll.css
@@ -44,7 +44,20 @@
overflow: scroll;
}
-.antiscroll-inner::-webkit-scrollbar, .antiscroll-inner::scrollbar {
+/** A bug in Chrome 25 on Lion requires each selector to have their own
+ blocks. E.g. the following:
+
+ .antiscroll-inner::-webkit-scrollbar, .antiscroll-inner::scrollbar {...}
+
+ causes the width and height rules to be ignored by the browser resulting
+ in both native and antiscroll scrollbars appearing at the same time.
+ */
+.antiscroll-inner::-webkit-scrollbar {
+ width: 0;
+ height: 0;
+}
+
+.antiscroll-inner::scrollbar {
width: 0;
height: 0;
}
Something went wrong with that request. Please try again.