This commit is contained in:
jtm
2012-03-15 18:56:51 +00:00
parent 8893e77e5f
commit 417a340524
4 changed files with 10 additions and 2 deletions

View File

@@ -398,9 +398,10 @@ class LessParser(object):
""" identifier_group : identifier_group child_selector ident_parts
| identifier_group '+' ident_parts
| identifier_group general_sibling_selector ident_parts
| identifier_group '*'
"""
p[1].extend([p[2]])
p[1].extend(p[3])
if len(p) > 3: p[1].extend(p[3])
p[0] = p[1]
def p_identifier_group(self, p):

View File

@@ -205,3 +205,6 @@ section {
#f7 {
color: #fff777;
}
.asterisk_last * {
padding: 0;
}

View File

@@ -31,3 +31,4 @@ a.longclassname.one,a.longclassname.two,a.longclassname.three,a.longclassname.fo
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{padding:0;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{padding:0;}
#f7{color:#fff777;}
.asterisk_last *{padding:0;}

View File

@@ -126,4 +126,7 @@ footer, header, hgroup, menu, nav, section {
*/
#f7 {
color: #fff777;
}
}
.asterisk_last * {
padding: 0;
}