html.streams: fix tests.
parent
ba3f342bf1
commit
d6b545a10b
|
@ -49,7 +49,7 @@ M: funky url-of "http://www.funky-town.com/" swap town>> append ;
|
||||||
] make-html-string
|
] make-html-string
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
{ "<div style=\"background-color: #ff00ff; white-space: pre; font-family: monospace; display: inline-block;\">cdr</div>" }
|
{ "<div style=\"background-color: #ff00ff; white-space: pre; font-family: monospace; display: inline-block; \">cdr</div>" }
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
H{ { page-color T{ rgba f 1 0 1 1 } } }
|
H{ { page-color T{ rgba f 1 0 1 1 } } }
|
||||||
|
@ -57,7 +57,7 @@ M: funky url-of "http://www.funky-town.com/" swap town>> append ;
|
||||||
] make-html-string
|
] make-html-string
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
{ "<div style=\"white-space: pre; font-family: monospace; display: inline-block;\"></div><br/>" } [
|
{ "<div style=\"white-space: pre; font-family: monospace; display: inline-block; \"></div><br/>" } [
|
||||||
[ H{ } [ ] with-nesting nl ] make-html-string
|
[ H{ } [ ] with-nesting nl ] make-html-string
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ M: html-span-stream dispose
|
||||||
: padding-css, ( padding -- )
|
: padding-css, ( padding -- )
|
||||||
first2 (padding-css,) ;
|
first2 (padding-css,) ;
|
||||||
|
|
||||||
CONSTANT: pre-css "white-space: pre; font-family: monospace;"
|
CONSTANT: pre-css "white-space: pre; font-family: monospace; "
|
||||||
|
|
||||||
: div-css-style ( style -- str )
|
: div-css-style ( style -- str )
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue