checkpoint

This commit is contained in:
jtm
2012-03-03 18:14:31 +00:00
parent dc837afc68
commit b9d2fc7967
5 changed files with 79 additions and 1 deletions

View File

@@ -167,6 +167,7 @@ class LessLexer:
def t_t_ws(self, t):
r'[ \t\f\v]+'
t.value = ' '
return t
def t_t_popen(self, t):

View File

@@ -47,7 +47,6 @@ class Property(Node):
if p == ','
else p
for p in self.parsed]
style = ''.join([p.fmt(fills)
if hasattr(p, 'fmt')
else str(p)

25
lesscpy/test/css/ws.css Normal file
View File

@@ -0,0 +1,25 @@
.whitespace {
color: white;
}
.whitespace {
color: blue;
}
.whitespace {
color: green;
}
.whitespace {
color: pink;
}
.whitespace {
color: yellow;
}
.whitespace {
color: black;
}
.white, .space, .mania {
color: white;
}
.newlines {
background: the, great, wall;
border: 2px solid black;
}

8
lesscpy/test/css/ws.min.css vendored Normal file
View File

@@ -0,0 +1,8 @@
.whitespace{color:white;}
.whitespace{color:blue;}
.whitespace{color:green;}
.whitespace{color:pink;}
.whitespace{color:yellow;}
.whitespace{color:black;}
.white,.space,.mania{color:white;}
.newlines{background:the,great,wall;border:2px solid black;}

View File

@@ -0,0 +1,45 @@
/*
Whitespace
*/
.whitespace
{ color: white; }
.whitespace
{
color: blue;
}
.whitespace
{
color: green;
}
.whitespace
{ color: pink; }
.whitespace{color:yellow;}
.whitespace { color : black ; }
.white,
.space,
.mania
{ color: white; }
.newlines {
background: the,
great,
wall;
border: 2px
solid
black;
}
.empty {
}