@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121THE SOFTWARE.
2222
2323*/
24- /* Version v@VERSION@, Build time: 4-May-2012 03:29:22 */
24+ /* Version v@VERSION@, Build time: 4-May-2012 03:56:19 */
2525var parserlib = { } ;
2626( function ( ) {
2727
@@ -931,7 +931,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
931931THE SOFTWARE.
932932
933933*/
934- /* Version v@VERSION@, Build time: 4-May-2012 03:29:22 */
934+ /* Version v@VERSION@, Build time: 4-May-2012 03:56:19 */
935935( function ( ) {
936936var EventTarget = parserlib . util . EventTarget ,
937937TokenStreamBase = parserlib . util . TokenStreamBase ,
@@ -2658,6 +2658,11 @@ Parser.prototype = function(){
26582658
26592659 prio = this . _prio ( ) ;
26602660
2661+ /*
2662+ * If hacks should be allowed, then only check the root
2663+ * property. If hacks should not be allowed, treat
2664+ * _property or *property as invalid properties.
2665+ */
26612666 propertyName = property . toString ( ) ;
26622667 if ( this . options . starHack && property . hack == "*" ||
26632668 this . options . underscoreHack && property . hack == "_" ) {
@@ -3854,6 +3859,7 @@ var Properties = {
38543859 "text-justify" : "auto | none | inter-word | inter-ideograph | inter-cluster | distribute | kashida" ,
38553860 "text-outline" : 1 ,
38563861 "text-overflow" : 1 ,
3862+ "text-rendering" : "auto | optimizeSpeed | optimizeLegibility | geometricPrecision | inherit" ,
38573863 "text-shadow" : 1 ,
38583864 "text-transform" : "capitalize | uppercase | lowercase | none | inherit" ,
38593865 "text-wrap" : "normal | none | avoid" ,
@@ -5933,7 +5939,7 @@ var ValidationTypes = {
59335939 i , len , found = false ;
59345940
59355941 for ( i = 0 , len = args . length ; i < len && ! found ; i ++ ) {
5936- if ( text == args [ i ] ) {
5942+ if ( text == args [ i ] . toLowerCase ( ) ) {
59375943 found = true ;
59385944 }
59395945 }
@@ -6117,6 +6123,18 @@ var ValidationTypes = {
61176123 part ,
61186124 i , len ;
61196125
6126+ /*
6127+ <position> = [
6128+ [ left | center | right | top | bottom | <percentage> | <length> ]
6129+ |
6130+ [ left | center | right | <percentage> | <length> ]
6131+ [ top | center | bottom | <percentage> | <length> ]
6132+ |
6133+ [ center | [ left | right ] [ <percentage> | <length> ]? ] &&
6134+ [ center | [ top | bottom ] [ <percentage> | <length> ]? ]
6135+ ]
6136+
6137+ */
61206138
61216139 if ( ValidationTypes . isAny ( expression , "top | bottom" ) ) {
61226140 result = true ;
0 commit comments