Skip to content

Commit 819c8c2

Browse files
author
Richard Hulse
committed
Change YUI tests to use the actual YUI test files
This will make it simpler to track their changes and also avoid all the messing about with escapes in strings, and the inevitable bugs introduced by missed escapes. (e.g. commit 22811bb)
1 parent 7db8f5b commit 819c8c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+255
-437
lines changed

test/css_compressor_test.rb

Lines changed: 13 additions & 437 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
a {background-position: 0 0 0 0;}
2+
b {BACKGROUND-POSITION: 0 0;}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a{background-position:0 0}b{background-position:0 0}

test/yuicss/box-model-hack.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#elem {
2+
width: 100px;
3+
voice-family: "\"}\"";
4+
voice-family:inherit;
5+
width: 200px;
6+
}
7+
html>body #elem {
8+
width: 200px;
9+
}

test/yuicss/box-model-hack.css.min

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#elem{width:100px;voice-family:"\"}\"";voice-family:inherit;width:200px}html>body #elem{width:200px}

test/yuicss/bug2527974.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* this file contains no css, it exists purely to put the revision number into the
2+
combined css before uploading it to SiteManager. The exclaimation at the start
3+
of the comment informs yuicompressor not to strip the comment out */
4+
5+
/*! $LastChangedRevision: 81 $ $LastChangedDate: 2009-05-27 17:41:02 +0100 (Wed, 27 May 2009) $ */
6+
7+
body {
8+
yo: cats;
9+
}

test/yuicss/bug2527974.css.min

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/*! $LastChangedRevision: 81 $ $LastChangedDate: 2009-05-27 17:41:02 +0100 (Wed, 27 May 2009) $ */body{yo:cats}

test/yuicss/bug2527991.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@media screen and/*!YUI-Compresser */(-webkit-min-device-pixel-ratio:0) {
2+
a{
3+
b: 1;
4+
}
5+
}
6+
7+
8+
@media screen and/*! */ /*! */(-webkit-min-device-pixel-ratio:0) {
9+
a{
10+
b: 1;
11+
}
12+
}
13+
14+
15+
@media -webkit-min-device-pixel-ratio:0 {
16+
a{
17+
b: 1;
18+
}
19+
}

test/yuicss/bug2527991.css.min

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@media screen and/*!YUI-Compresser */(-webkit-min-device-pixel-ratio:0){a{b:1}}@media screen and/*! *//*! */(-webkit-min-device-pixel-ratio:0){a{b:1}}@media -webkit-min-device-pixel-ratio:0{a{b:1}}

test/yuicss/bug2527998.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/*! special */
2+
body {
3+
4+
}

0 commit comments

Comments
 (0)