checkpoint
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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
25
lesscpy/test/css/ws.css
Normal 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
8
lesscpy/test/css/ws.min.css
vendored
Normal 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;}
|
||||
@@ -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 {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user