Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 8 files changed
  • 0 commit comments
  • 2 contributors
Commits on May 20, 2012
ztest Add "pointer-events" as a known property.
The "auto" value is not listed in the SVG 1.1 spec, but Chrome
and Firefox seem to support it so it's included here.
4c7221c
Commits on May 21, 2012
@nzakas nzakas Merge pull request #27 from ztest/master
Add "pointer-events" as a known property.
2cfcc7f
View
5 build/node-parserlib.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 4-May-2012 03:57:04 */
+/* Version v@VERSION@, Build time: 20-May-2012 01:46:33 */
var parserlib = {};
(function(){
@@ -931,7 +931,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 4-May-2012 03:57:04 */
+/* Version v@VERSION@, Build time: 20-May-2012 01:46:33 */
(function(){
var EventTarget = parserlib.util.EventTarget,
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -3811,6 +3811,7 @@ var Properties = {
"pitch" : 1,
"pitch-range" : 1,
"play-during" : 1,
+ "pointer-events" : "auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",
"position" : "static | relative | absolute | fixed | inherit",
"presentation-level" : 1,
"punctuation-trim" : 1,
View
5 build/npm/lib/node-parserlib.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 4-May-2012 03:57:04 */
+/* Version v@VERSION@, Build time: 20-May-2012 01:46:33 */
var parserlib = {};
(function(){
@@ -931,7 +931,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 4-May-2012 03:57:04 */
+/* Version v@VERSION@, Build time: 20-May-2012 01:46:33 */
(function(){
var EventTarget = parserlib.util.EventTarget,
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -3811,6 +3811,7 @@ var Properties = {
"pitch" : 1,
"pitch-range" : 1,
"play-during" : 1,
+ "pointer-events" : "auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",
"position" : "static | relative | absolute | fixed | inherit",
"presentation-level" : 1,
"punctuation-trim" : 1,
View
2 build/parserlib-core.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 4-May-2012 03:57:04 */
+/* Version v@VERSION@, Build time: 20-May-2012 01:46:33 */
var parserlib = {};
(function(){
View
3 build/parserlib-css.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 4-May-2012 03:57:04 */
+/* Version v@VERSION@, Build time: 20-May-2012 01:46:33 */
(function(){
var EventTarget = parserlib.util.EventTarget,
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -2901,6 +2901,7 @@ var Properties = {
"pitch" : 1,
"pitch-range" : 1,
"play-during" : 1,
+ "pointer-events" : "auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",
"position" : "static | relative | absolute | fixed | inherit",
"presentation-level" : 1,
"punctuation-trim" : 1,
View
21 build/parserlib-tests.js
@@ -2771,6 +2771,27 @@
}
}));
+ suite.add(new ValidationTestCase({
+ property: "pointer-events",
+
+ valid: [
+ "auto",
+ "none",
+ "visiblePainted",
+ "visibleFill",
+ "visibleStroke",
+ "visible",
+ "painted",
+ "fill",
+ "stroke",
+ "all",
+ "inherit"
+ ],
+
+ invalid: {
+ "foo" : "Expected (auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit) but found 'foo'."
+ }
+ }));
suite.add(new ValidationTestCase({
property: "z-index",
View
5 build/parserlib.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 4-May-2012 03:57:04 */
+/* Version v@VERSION@, Build time: 20-May-2012 01:46:33 */
var parserlib = {};
(function(){
@@ -931,7 +931,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 4-May-2012 03:57:04 */
+/* Version v@VERSION@, Build time: 20-May-2012 01:46:33 */
(function(){
var EventTarget = parserlib.util.EventTarget,
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -3811,6 +3811,7 @@ var Properties = {
"pitch" : 1,
"pitch-range" : 1,
"play-during" : 1,
+ "pointer-events" : "auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",
"position" : "static | relative | absolute | fixed | inherit",
"presentation-level" : 1,
"punctuation-trim" : 1,
View
1 src/css/Properties.js
@@ -385,6 +385,7 @@ var Properties = {
"pitch" : 1,
"pitch-range" : 1,
"play-during" : 1,
+ "pointer-events" : "auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",
"position" : "static | relative | absolute | fixed | inherit",
"presentation-level" : 1,
"punctuation-trim" : 1,
View
21 tests/css/Validation.js
@@ -522,6 +522,27 @@
}
}));
+ suite.add(new ValidationTestCase({
+ property: "pointer-events",
+
+ valid: [
+ "auto",
+ "none",
+ "visiblePainted",
+ "visibleFill",
+ "visibleStroke",
+ "visible",
+ "painted",
+ "fill",
+ "stroke",
+ "all",
+ "inherit"
+ ],
+
+ invalid: {
+ "foo" : "Expected (auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit) but found 'foo'."
+ }
+ }));
suite.add(new ValidationTestCase({
property: "z-index",

No commit comments for this range

Something went wrong with that request. Please try again.