-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
Hi,
I just found a small CSS typo that crashes halogen on iOS Safari.
See the code below:
/**
* @type {Object}
*/
var keyframesEven = {
'0%': {
transform: 'scale(1.1)'
},
'25': { // <----------------------- Percent sign missing (causes DOM exception)
transform: 'translateY(-' + riseAmount + 'px)'
},
'50%': {
transform: 'scale(0.4)'
},
'75%': {
transform: 'translateY(' + riseAmount + 'px)'
},
'100%': {
transform: 'translateY(0) scale(1.0)'
}
};
/**
* @type {Object}
*/
var keyframesOdd = {
'0%': {
transform: 'scale(0.4)'
},
'25': { // <----------------------- Percent sign missing (causes DOM exception)
transform: 'translateY(' + riseAmount + 'px)'
},
'50%': {
transform: 'scale(1.1)'
},
'75%': {
transform: 'translateY(-' + riseAmount + 'px)'
},
'100%': {
transform: 'translateY(0) scale(0.75)'
}
};
Once I add the percent signs, the error is fixed.
Regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels