mirror of
https://github.com/mrclay/minify.git
synced 2025-08-10 16:14:18 +02:00
added CSSmin and test
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,4 +2,5 @@
|
||||
# /
|
||||
/test
|
||||
/docs
|
||||
.idea/
|
||||
.idea/
|
||||
.DS_Store
|
386
min/lib/CSSMin.php
Normal file
386
min/lib/CSSMin.php
Normal file
@@ -0,0 +1,386 @@
|
||||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* cssmin.php
|
||||
* Author: Tubal Martin - http://margenn.com/
|
||||
* This is a PHP port of the Javascript port ("cssmin.js" by Stoyan Stefanov from Yahoo!)
|
||||
* of CSS minification tool distributed with YUICompressor, itself a port
|
||||
* of the cssmin utility by Isaac Schlueter - http://foohack.com/
|
||||
* Permission is hereby granted to use the PHP version under the same
|
||||
* conditions as the YUICompressor (original YUICompressor note below).
|
||||
* This port is based on the following rev:
|
||||
* https://github.com/yui/yuicompressor/blob/83b2be2d4e98834de96bf3ee268c79e61ad9afa3/ports/js/cssmin.js
|
||||
*/
|
||||
|
||||
/*
|
||||
* YUI Compressor
|
||||
* Author: Julien Lecomte - http://www.julienlecomte.net/
|
||||
* Copyright (c) 2009 Yahoo! Inc. All rights reserved.
|
||||
* The copyrights embodied in the content of this file are licensed
|
||||
* by Yahoo! Inc. under the BSD (revised) open source license.
|
||||
*/
|
||||
|
||||
class CSSmin
|
||||
{
|
||||
|
||||
private $comments = array();
|
||||
private $preserved_tokens = array();
|
||||
|
||||
|
||||
public function run($css, $linebreakpos = 100)
|
||||
{
|
||||
$startIndex = 0;
|
||||
$totallen = strlen($css);
|
||||
|
||||
|
||||
// collect all comment blocks...
|
||||
while (($startIndex = strpos($css, '/*', $startIndex)) !== FALSE && $startIndex >= 0) {
|
||||
$endIndex = strpos($css, '*/', $startIndex + 2);
|
||||
if ($endIndex === FALSE) {
|
||||
$endIndex = $totallen;
|
||||
}
|
||||
$this->comments[] = $this->str_slice($css, $startIndex + 2, $endIndex);
|
||||
$css = $this->str_slice($css, 0, $startIndex + 2) . '___YUICSSMIN_PRESERVE_CANDIDATE_COMMENT_' . (count($this->comments) - 1) . '___' . $this->str_slice($css, $endIndex);
|
||||
$startIndex += 2;
|
||||
}
|
||||
|
||||
// preserve strings so their content doesn't get accidentally minified
|
||||
$css = preg_replace_callback('/"(?:[^\\\\"]|\\\\.|\\\\)*"|\'(?:[^\\\\\']|\\\\.|\\\\)*\'/', array($this, 'callback_one'), $css);
|
||||
|
||||
|
||||
// Let's divide css code in chunks of 25.000 chars aprox.
|
||||
// Reason: PHP's PCRE functions like preg_replace have a "backtrack limit" of 100.000 chars by default
|
||||
// so if we're dealing with really long strings and a (sub)pattern matches a number of chars greater than
|
||||
// the backtrack limit number (i.e. /(.*)/s) PCRE functions may fail silently returning NULL and
|
||||
// $css would be empty.
|
||||
|
||||
$charset = '';
|
||||
$css_chunks = array();
|
||||
$css_chunk_length = 25000; // aprox size, not exact
|
||||
$startIndex = 0;
|
||||
$i = $css_chunk_length; // save initial iterations
|
||||
$l = strlen($css);
|
||||
|
||||
|
||||
// if the number of characters is 25000 or less, do not chunk
|
||||
if ($l <= $css_chunk_length) {
|
||||
$css_chunks[] = $css;
|
||||
}
|
||||
else{
|
||||
// chunk css code securely
|
||||
while ($i < $l) {
|
||||
$i += 50; // save iterations. 500 checks for a closing curly brace }
|
||||
if ($l - $startIndex <= $css_chunk_length || $i >= $l) {
|
||||
$css_chunks[] = $this->str_slice($css, $startIndex);
|
||||
break;
|
||||
}
|
||||
if ($css[$i - 1] === '}' && $i - $startIndex > $css_chunk_length) {
|
||||
// If there are two ending curly braces }} separated or not by spaces,
|
||||
// join them in the same chunk (i.e. @media blocks)
|
||||
if (preg_match('/^\s*\}/', substr($css, $i)) > 0) {
|
||||
$i = $i + strpos(substr($css, $i), '}') + 1;
|
||||
}
|
||||
|
||||
$css_chunks[] = $this->str_slice($css, $startIndex, $i);
|
||||
$startIndex = $i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Minify each chunk
|
||||
for ($i = 0, $n = count($css_chunks); $i < $n; $i++) {
|
||||
$css_chunks[$i] = $this->minify($css_chunks[$i], $linebreakpos);
|
||||
// If there is a @charset in a css chunk...
|
||||
if (preg_match('/@charset ["\'][^"\']*["\']\;/i', $css_chunks[$i], $matches) > 0) {
|
||||
// delete all of them no matter the chunk
|
||||
$css_chunks[$i] = preg_replace('/@charset ["\'][^"\']*["\']\;/i', '', $css_chunks[$i]);
|
||||
$charset = $matches[0];
|
||||
}
|
||||
}
|
||||
|
||||
// Update the first chunk and push the charset to the top of the file.
|
||||
$css_chunks[0] = $charset . $css_chunks[0];
|
||||
|
||||
|
||||
return implode('', $css_chunks);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private function minify($css, $linebreakpos)
|
||||
{
|
||||
|
||||
// strings are safe, now wrestle the comments
|
||||
for ($i = 0, $max = count($this->comments); $i < $max; $i++) {
|
||||
|
||||
$token = $this->comments[$i];
|
||||
$placeholder = '/___YUICSSMIN_PRESERVE_CANDIDATE_COMMENT_' . $i . '___/';
|
||||
|
||||
// ! in the first position of the comment means preserve
|
||||
// so push to the preserved tokens keeping the !
|
||||
if (substr($token, 0, 1) === '!') {
|
||||
$this->preserved_tokens[] = $token;
|
||||
$css = preg_replace($placeholder, '___YUICSSMIN_PRESERVED_TOKEN_' . (count($this->preserved_tokens) - 1) . '___', $css);
|
||||
continue;
|
||||
}
|
||||
|
||||
// \ in the last position looks like hack for Mac/IE5
|
||||
// shorten that to /*\*/ and the next one to /**/
|
||||
if (substr($token, (strlen($token) - 1), 1) === '\\') {
|
||||
$this->preserved_tokens[] = '\\';
|
||||
$css = preg_replace($placeholder, '___YUICSSMIN_PRESERVED_TOKEN_' . (count($this->preserved_tokens) - 1) . '___', $css);
|
||||
$i = $i + 1; // attn: advancing the loop
|
||||
$this->preserved_tokens[] = '';
|
||||
$css = preg_replace('/___YUICSSMIN_PRESERVE_CANDIDATE_COMMENT_' . $i . '___/', '___YUICSSMIN_PRESERVED_TOKEN_' . (count($this->preserved_tokens) - 1) . '___', $css);
|
||||
continue;
|
||||
}
|
||||
|
||||
// keep empty comments after child selectors (IE7 hack)
|
||||
// e.g. html >/**/ body
|
||||
if (strlen($token) === 0) {
|
||||
$startIndex = strpos($css, $this->str_slice($placeholder, 1, -1));
|
||||
if ($startIndex > 2) {
|
||||
if (substr($css, $startIndex - 3, 1) === '>') {
|
||||
$this->preserved_tokens[] = '';
|
||||
$css = preg_replace($placeholder, '___YUICSSMIN_PRESERVED_TOKEN_' . (count($this->preserved_tokens) - 1) . '___', $css);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// in all other cases kill the comment
|
||||
$css = preg_replace('/\/\*' . $this->str_slice($placeholder, 1, -1) . '\*\//', '', $css);
|
||||
}
|
||||
|
||||
|
||||
// Normalize all whitespace strings to single spaces. Easier to work with that way.
|
||||
$css = preg_replace('/\s+/', ' ', $css);
|
||||
|
||||
// Remove the spaces before the things that should not have spaces before them.
|
||||
// But, be careful not to turn "p :link {...}" into "p:link{...}"
|
||||
// Swap out any pseudo-class colons with the token, and then swap back.
|
||||
$css = preg_replace_callback('/(^|\})(([^\{\:])+\:)+([^\{]*\{)/', array($this, 'callback_two'), $css);
|
||||
|
||||
$css = preg_replace('/\s+([\!\{\}\;\:\>\+\(\)\],])/', '$1', $css);
|
||||
$css = preg_replace('/___YUICSSMIN_PSEUDOCLASSCOLON___/', ':', $css);
|
||||
|
||||
// retain space for special IE6 cases
|
||||
$css = preg_replace('/\:first\-(line|letter)(\{|,)/', ':first-$1 $2', $css);
|
||||
|
||||
// no space after the end of a preserved comment
|
||||
$css = preg_replace('/\*\/ /', '*/', $css);
|
||||
|
||||
// Put the space back in some cases, to support stuff like
|
||||
// @media screen and (-webkit-min-device-pixel-ratio:0){
|
||||
$css = preg_replace('/\band\(/i', 'and (', $css);
|
||||
|
||||
// Remove the spaces after the things that should not have spaces after them.
|
||||
$css = preg_replace('/([\!\{\}\:\;\>\+\(\[,])\s+/', '$1', $css);
|
||||
|
||||
// remove unnecessary semicolons
|
||||
$css = preg_replace('/\;+\}/', '}', $css);
|
||||
|
||||
// Replace 0(px,em,%) with 0.
|
||||
$css = preg_replace('/([\s\:])(0)(px|em|%|in|cm|mm|pc|pt|ex)/i', '$1$2', $css);
|
||||
|
||||
// Replace 0 0 0 0; with 0.
|
||||
$css = preg_replace('/\:0 0 0 0(\;|\})/', ':0$1', $css);
|
||||
$css = preg_replace('/\:0 0 0(\;|\})/', ':0$1', $css);
|
||||
$css = preg_replace('/\:0 0(\;|\})/', ':0$1', $css);
|
||||
|
||||
// Replace background-position:0; with background-position:0 0;
|
||||
// same for transform-origin
|
||||
$css = preg_replace_callback('/(background\-position|transform\-origin|webkit\-transform\-origin|moz\-transform\-origin|o-transform\-origin|ms\-transform\-origin)\:0(\;|\})/i', array($this, 'callback_three'), $css);
|
||||
|
||||
// Replace 0.6 to .6, but only when preceded by : or a white-space
|
||||
$css = preg_replace('/(\:|\s)0+\.(\d+)/', '$1.$2', $css);
|
||||
|
||||
// Shorten colors from rgb(51,102,153) to #336699
|
||||
// This makes it more likely that it'll get further compressed in the next step.
|
||||
$css = preg_replace_callback('/rgb\s*\(\s*([0-9,\s]+)\s*\)/i', array($this, 'callback_four'), $css);
|
||||
|
||||
// Shorten colors from #AABBCC to #ABC. Note that we want to make sure
|
||||
// the color is not preceded by either ", " or =. Indeed, the property
|
||||
// filter: chroma(color="#FFFFFF");
|
||||
// would become
|
||||
// filter: chroma(color="#FFF");
|
||||
// which makes the filter break in IE.
|
||||
$css = preg_replace_callback('/([^"\'\=\s])(\s*)#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])/i', array($this, 'callback_five'), $css);
|
||||
|
||||
// border: none -> border:0
|
||||
$css = preg_replace_callback('/(border|border\-top|border\-right|border\-bottom|border\-right|outline|background)\:none(\;|\})/i', array($this, 'callback_six'), $css);
|
||||
|
||||
// shorter opacity IE filter
|
||||
$css = preg_replace('/progid\:DXImageTransform\.Microsoft\.Alpha\(Opacity\=/i', 'alpha(opacity=', $css);
|
||||
|
||||
// Remove empty rules.
|
||||
$css = preg_replace('/[^\}\;\{\/]+\{\}/', '', $css);
|
||||
|
||||
// Some source control tools don't like it when files containing lines longer
|
||||
// than, say 8000 characters, are checked in. The linebreak option is used in
|
||||
// that case to split long lines after a specific column.
|
||||
if ($linebreakpos >= 0) {
|
||||
$startIndex = 0;
|
||||
$i = 0;
|
||||
while ($i < strlen($css)) {
|
||||
$i++;
|
||||
if ($css[$i - 1] === '}' && $i - $startIndex > $linebreakpos) {
|
||||
$css = $this->str_slice($css, 0, $i) . "\n" . $this->str_slice($css, $i);
|
||||
$startIndex = $i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Replace multiple semi-colons in a row by a single one
|
||||
// See SF bug #1980989
|
||||
$css = preg_replace('/\;\;+/', ';', $css);
|
||||
|
||||
// restore preserved comments and strings
|
||||
for ($i = 0, $max = count($this->preserved_tokens); $i < $max; $i++) {
|
||||
$css = preg_replace('/___YUICSSMIN_PRESERVED_TOKEN_' . $i . '___/', $this->preserved_tokens[$i], $css);
|
||||
}
|
||||
|
||||
// Trim the final string (for any leading or trailing white spaces)
|
||||
$css = preg_replace('/^\s+|\s+$/', '', $css);
|
||||
|
||||
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* CALLBACKS
|
||||
* ---------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
private function callback_one($matches)
|
||||
{
|
||||
$match = $matches[0];
|
||||
$quote = substr($match, 0, 1);
|
||||
$match = $this->str_slice($match, 1, -1);
|
||||
|
||||
// maybe the string contains a comment-like substring?
|
||||
// one, maybe more? put'em back then
|
||||
if (($pos = strpos($match, '___YUICSSMIN_PRESERVE_CANDIDATE_COMMENT_')) !== FALSE && $pos >= 0) {
|
||||
for ($i = 0, $max = count($this->comments); $i < $max; $i++) {
|
||||
$match = preg_replace('/___YUICSSMIN_PRESERVE_CANDIDATE_COMMENT_' . $i . '___/', $this->comments[$i], $match);
|
||||
}
|
||||
}
|
||||
|
||||
// minify alpha opacity in filter strings
|
||||
$match = preg_replace('/progid\:DXImageTransform\.Microsoft\.Alpha\(Opacity\=/i', 'alpha(opacity=', $match);
|
||||
|
||||
$this->preserved_tokens[] = $match;
|
||||
return $quote . '___YUICSSMIN_PRESERVED_TOKEN_' . (count($this->preserved_tokens) - 1) . '___' . $quote;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private function callback_two($matches)
|
||||
{
|
||||
return preg_replace('/\:/', '___YUICSSMIN_PSEUDOCLASSCOLON___', $matches[0]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private function callback_three($matches)
|
||||
{
|
||||
return strtolower($matches[1]) . ':0 0' . $matches[2];
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private function callback_four($matches)
|
||||
{
|
||||
$rgbcolors = explode(',', $matches[1]);
|
||||
for ($i = 0; $i < count($rgbcolors); $i++) {
|
||||
$rgbcolors[$i] = base_convert(strval(intval($rgbcolors[$i], 10)), 10, 16);
|
||||
if (strlen($rgbcolors[$i]) === 1) {
|
||||
$rgbcolors[$i] = '0' . $rgbcolors[$i];
|
||||
}
|
||||
}
|
||||
return '#' . implode('', $rgbcolors);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private function callback_five($matches)
|
||||
{
|
||||
$group = $matches;
|
||||
if (
|
||||
strtolower($group[3]) === strtolower($group[4]) &&
|
||||
strtolower($group[5]) === strtolower($group[6]) &&
|
||||
strtolower($group[7]) === strtolower($group[8])
|
||||
) {
|
||||
return strtolower($group[1] . $group[2] . '#' . $group[3] . $group[5] . $group[7]);
|
||||
} else {
|
||||
return strtolower($group[0]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private function callback_six($matches)
|
||||
{
|
||||
return strtolower($matches[1]) . ':0' . $matches[2];
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* HELPERS
|
||||
* ---------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* PHP port of Javascript's "slice" function
|
||||
* Author: Tubal Martin http://margenn.com
|
||||
* Tests: http://margenn.com/tubal/str_slice/
|
||||
*
|
||||
* @param string $str
|
||||
* @param int $start index
|
||||
* @param int $end index (optional)
|
||||
*/
|
||||
private function str_slice($str, $start, $end = FALSE)
|
||||
{
|
||||
if ($start < 0 || $end <= 0) {
|
||||
|
||||
if ($end === FALSE) {
|
||||
$slice = substr($str, $start);
|
||||
return ($slice === FALSE) ? '' : $slice;
|
||||
}
|
||||
|
||||
$max = strlen($str);
|
||||
|
||||
if ($start < 0) {
|
||||
if (($start = $max + $start) < 0) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
if ($end < 0) {
|
||||
if (($end = $max + $end) < 0) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
if ($end <= $start) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
$slice = substr($str, $start, $end - $start);
|
||||
return ($slice === FALSE) ? '' : $slice;
|
||||
}
|
||||
|
||||
|
||||
}
|
0
min_unit_tests/_test_files/yuic/background-position.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/background-position.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/background-position.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/background-position.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/border-none.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/border-none.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/border-none.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/border-none.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/box-model-hack.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/box-model-hack.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/box-model-hack.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/box-model-hack.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527974.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527974.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527974.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527974.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527991.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527991.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527991.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527991.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527998.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527998.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527998.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2527998.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2528034.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2528034.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2528034.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/bug2528034.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/charset-media.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/charset-media.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/charset-media.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/charset-media.css.min
Normal file → Executable file
8
min_unit_tests/_test_files/yuic/color-simple.css
Executable file
8
min_unit_tests/_test_files/yuic/color-simple.css
Executable file
@@ -0,0 +1,8 @@
|
||||
.foo, #AABBCC {
|
||||
background-color:#aabbcc;
|
||||
border-color:#Ee66aA #ABCDEF #FeAb2C;
|
||||
filter:chroma(color = #FFFFFF );
|
||||
filter:chroma(color="#AABBCC");
|
||||
filter:chroma(color='#BBDDEE');
|
||||
color:#112233
|
||||
}
|
1
min_unit_tests/_test_files/yuic/color-simple.css.min
Executable file
1
min_unit_tests/_test_files/yuic/color-simple.css.min
Executable file
@@ -0,0 +1 @@
|
||||
.foo,#AABBCC{background-color:#abc;border-color:#e6a #abcdef #feab2c;filter:chroma(color = #FFFFFF);filter:chroma(color="#AABBCC");filter:chroma(color='#BBDDEE');color:#123}
|
43
min_unit_tests/_test_files/yuic/color.css
Normal file → Executable file
43
min_unit_tests/_test_files/yuic/color.css
Normal file → Executable file
@@ -1,7 +1,46 @@
|
||||
.color {
|
||||
me: rgb(123, 123, 123);
|
||||
impressed: #ffeedd;
|
||||
impressed: #FfEedD;
|
||||
again: #ABCDEF;
|
||||
andagain:#aa66cc;
|
||||
background-color:#aa66ccc;
|
||||
filter: chroma(color="#FFFFFF");
|
||||
background: none repeat scroll 0 0 rgb(255, 0,0);
|
||||
alpha: rgba(1, 2, 3, 4);
|
||||
}
|
||||
color:#1122aa
|
||||
}
|
||||
|
||||
#AABBCC {
|
||||
background-color:#ffee11;
|
||||
filter: chroma(color = #FFFFFF );
|
||||
color:#441122;
|
||||
foo:#00fF11 #ABC #AABbCc #123344;
|
||||
border-color:#aa66ccC
|
||||
}
|
||||
|
||||
.foo #AABBCC {
|
||||
background-color:#fFEe11;
|
||||
color:#441122;
|
||||
border-color:#AbC;
|
||||
filter: chroma(color= #FFFFFF)
|
||||
}
|
||||
|
||||
.bar, #AABBCC {
|
||||
background-color:#FFee11;
|
||||
border-color:#00fF11 #ABCDEF;
|
||||
filter: chroma(color=#11FFFFFF);
|
||||
color:#441122;
|
||||
}
|
||||
|
||||
.foo, #AABBCC.foobar {
|
||||
background-color:#ffee11;
|
||||
border-color:#00fF11 #ABCDEF #AABbCc;
|
||||
color:#441122;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
.bar, #AABBCC {
|
||||
background-color:#ffEE11;
|
||||
color:#441122
|
||||
}
|
||||
}
|
||||
|
2
min_unit_tests/_test_files/yuic/color.css.min
Normal file → Executable file
2
min_unit_tests/_test_files/yuic/color.css.min
Normal file → Executable file
@@ -1 +1 @@
|
||||
.color{me:#7b7b7b;impressed:#fed;filter:chroma(color="#FFFFFF");background:none repeat scroll 0 0 #f00;alpha:rgba(1,2,3,4)}
|
||||
.color{me:#7b7b7b;impressed:#fed;again:#abcdef;andagain:#a6c;background-color:#aa66ccc;filter:chroma(color="#FFFFFF");background:none repeat scroll 0 0 #f00;alpha:rgba(1,2,3,4);color:#12a}#AABBCC{background-color:#fe1;filter:chroma(color = #FFFFFF);color:#412;foo:#0f1 #ABC #abc #123344;border-color:#aa66ccC}.foo #AABBCC{background-color:#fe1;color:#412;border-color:#AbC;filter:chroma(color= #FFFFFF)}.bar,#AABBCC{background-color:#fe1;border-color:#0f1 #abcdef;filter:chroma(color=#11FFFFFF);color:#412}.foo,#AABBCC.foobar{background-color:#fe1;border-color:#0f1 #abcdef #abc;color:#412}@media screen{.bar,#AABBCC{background-color:#fe1;color:#412}}
|
||||
|
0
min_unit_tests/_test_files/yuic/comment.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/comment.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/comment.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/comment.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/concat-charset.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/concat-charset.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/concat-charset.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/concat-charset.css.min
Normal file → Executable file
23
min_unit_tests/_test_files/yuic/dataurl-base64-doublequotes.css
Executable file
23
min_unit_tests/_test_files/yuic/dataurl-base64-doublequotes.css
Executable file
File diff suppressed because one or more lines are too long
1
min_unit_tests/_test_files/yuic/dataurl-base64-doublequotes.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-base64-doublequotes.css.min
Executable file
File diff suppressed because one or more lines are too long
10
min_unit_tests/_test_files/yuic/dataurl-base64-eof.css
Executable file
10
min_unit_tests/_test_files/yuic/dataurl-base64-eof.css
Executable file
@@ -0,0 +1,10 @@
|
||||
div.base64-singlequotes {
|
||||
width:100px;
|
||||
height:100px;
|
||||
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QAAAAAAAD5Q7t%2FAAAACXBIWXMAAA3WAAAN1gGQb3mcAAAFrUlEQVRYw%2B2Xz28kRxXHP%2B9Vdc8vj2fG9uIkm2yUeFGEhNCKQwBpj1yRUBAnpJU4ceZP4MxfkBxy2GO45bQXuEGQohUKigQ%2BsBBE1sbYXv8Yz%2FRMd9fjUN09PV5nFZA4kZZa79W3quu9er%2FqNfy%2FPwJgZty%2Ffz%2FZ29vrpmmqhlWTgmFg1UpbfWhYhG6Yq2cFi%2FNrj9nJyWnx%2BPHjeafbMTEzPvjVB9%2B6d%2B%2FezweDwV1BfHubivkC3lZya%2F4m7Np8UZYXhweHH7733rvvC0Kyv7%2F%2F7p07d34qIjyvr63RNb4l4CbsRUrNrq6OfvfRRz%2FxDx486A%2F6g7vXhX9ZIf%2Bp4JomaToZj8d7Pk1SFRFXb1aWodq09l%2F9YZu%2FCWMVL9e%2FaVFVQVUREEG8r3VUEZ4cX%2FHL30%2B5shRtAhFq4wggNb6GrXgVa2K2jYtACIHv7Sz54TfHjWWagBOBy0Xgt%2BcjLtwQxVCpNwURQat1DdYaT7pwdwKDFA6ncHgFizJmSb3WLPDa7PMIVlb2daqZxdONUnAetEojEdBGiXXhTmAjhZ0%2B3N6AlzeEROH1TXiWGf%2BcwmkWZYnAfAkdx1pq%2BhUbT9z3IElUJlVhI4WsgCLUyggi4MQYd4VXNmCYRqXOspV7UoHbQ3hpEMeLAk5mkFYRYlWI%2BHZ6CTDwkKSQqrA7gFeHMF3C6VyYLmFZGiKCE6GrMFsaWb7yuVOh66N1FkUUpBJ3TyvFovToBl9XMbNY2bZ70BsKfW94hbyErosmXpQwy4VgkCjMizjvRRik0EtiLNwagBf465lwOqtkETEn60XT1%2BlTazrpKlR%2BKkooy3Xfb3Wj3wGWJRQhnni7B53q5FqZ4%2FUR7PYhGMxyuMwgWVqTxrYWAwZYQX78J5i8ie9txSAkoOqqQAqk3pBgKLDhlY5XVKPCi3w97YRoKSFaceCgF2hqSXRBPQAIOcXRH8hP%2F0y6%2BRpWLrEyg3SbS9tmzggzJQSLQZo4xoOE8UbCsJfQ7zi6iaIizZ5OBVfXDKPireWC%2BvAYWOBqeszl9Jg03afbH6OqGH%2FBSUrqbrFIXiHoiEDC%2FPySi2d9nnZHJE7opY7dcY%2FdcZej84zpPGfY9Uw2ErYGCf2O4mUVEzELWtqUxZKjf3zK2cURzicMRy%2BzvbuH8ylFPqXIPqNczClKY1mUZFcnSDKkv%2FUNuptbWG%2BLw%2FMh%2FzrYpKBHKV3ONOXzYxeV20z49qhs7gaMWIjqQQiBxVXB4irg05yz4u%2FMpieoJuTLjDJfUJYBzBAFUUHkhMvLvzFPuvQ2JvQ3duh0R%2FjuiDQdIn6MJdvkxTafZUPuaN6UaOo6UNtgNl9weboguwqoA5fCjEusNCzE8LJQFRuNrzpQD%2BrmZNM55%2F4A5z1J2iHtDEg6fZK0j0uHlDrh2N4i3Ptuc%2BH5tjp5HliWQmmOUAhlYe0rqUqWSEOhcZ05AvE1UdColSQJaHWlSUYgJy%2FO2fFfo%2F34piphFOZ4OrvNdL5EJZbcmE8OQzFxIJEGEgIeE1%2FhrjJLxZcOrIVpVC7TW00WmLWyAMDEs%2Bi9wVJDtG17Y21vVmNxLKqIOkQqqoq2qHORmgj9UQcza7mgFm4GmiDjO5C72DSoQ6uPVTW%2BzuFUcQ2teKd4pzhd8b6Nu6jg7vZsrb1rClEIxhu7Q37x47fIy3j%2Fi8iqqlUuEWTFN%2FOrMU3fEEuhUM8FIPDqZgcRIVhsAXxtjGDGS5M%2BP%2Fv%2Bm7yopVrRVsPabsW%2BYG1T%2Fy3KahqSg6cHRb5cTmt5ZXhxQ7nS6yZsVWOajDFbw2JSCSGEIsuyC%2F%2Fo0aPp%2Fv7%2Br9NO5%2F5gMOhJLNn%2FpQLrLfw6tkKKorCDg4NPP%2Fnkjx%2FLOz96h2enzyZvf%2BftH9za2fm6qLrnO9tGk2vY86f%2FMliWZRdPnjz5zcOHDz%2B%2B%2Fifimorzv31C9X718G%2FYrCYSNJa5LgAAACJ6VFh0U29mdHdhcmUAAHjaKy8v18vMyy5OTixI1csvSgcANtgGWBBTylwAAAAASUVORK5CYII%3D');
|
||||
background-position:center center;
|
||||
border:1px solid #00aa00;
|
||||
}
|
||||
div.otherdataurl {
|
||||
background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kFBQ0WDWwqwjwAAANMSURBVEjHrdZbaFxVFAbgb2aSTG6GTi6mVIwxNxF9qFI0RQnFUqiYamutVutLa2t9EY0oPggFoYgPRR%2FaghYviA%2BiIAYvmBJKoYWiiBCigVTT1FisbUhrEtNkJpc5PuQkjGEmJqkLFmdz2Hv%2Fa%2F3rX3tvlm95oS%2FLokuZtIpbdvAs7KFtL22wjb3V1C41upy2ke1DXC2k%2FBjv1HHXDrbkEamg7lX2P8QTldQ2UtfOB8uiJsHNiB%2Fik0GmO%2BgZIxgnGA59nGCMoJPeQaYP047iBDXZEohkAYof4%2FNyKlZRdR%2F1ASZCnoOMhWkUheMz9F1laJSRZ3gEqVw1ipZQjcoBRrbT3Ez9OJLhZkHG5CD8l8Q47qXhMZp%2FYxhVFaxBLBtQejdtA%2FTtZPMIJnOknI2WSYzicTYN8OtTvICZbECxdr5Pkm6iPL0C3c%2BgkfIJgi%2F4LnP%2FudRKD3K4jf1VJGLEAiuz6VnA4AGam1h7gpNIzSFe66D3NurLKVhJNkHo07N9V9BE3XHOYmyeuirqG1l9mdHgOkDSGd8%2FGWtg9Roa56lrYdchDtRQPLlCkEywKVRScDfrurnwC2diiPTRe47iVtbnLZDxckGCkKYpPM%2FRr3kbyRhsYOtRDiQonFoBSHrBOI18rOeOPvr76YrCeUbf5fTvjOddJ0gQ1uMPku9z6hwjiEZhgOMn%2BaaUeHQJIOkMD7KMA5QQP01HP18hPbfvDTvZPETqb2YiS1BWrozM6jk9SPJJHkZZ5qFagtoaNnbyZg1FE4sUPRdlAQpwkdSjvDZAJ%2FoxNt%2Bw6NlGbQVFl5iKLKKsXCAwyFQZ8S3ciu65ho1lBJ5%2FkZk3OBGjpJWGmVCmsjTkQvA8JHCUU7s5eImevzg%2Fd7BGFhzCARIf8uVN3J5Heh1VM%2BHlko2y%2FHBxF0NJolfo38eDuJJxbf0ro%2FnMurh8hM%2FupH4tdT8zciOFsTC8SAgQoJfRxKzCuvfw0k%2F8MDx7xqUyez%2BS48ESIN7Ky6OUpfAtrxzhx03UR4m0c%2FZF7tnKW2mma4l9yuthTSIZIvxPi6EcpZW0PM0xtOzjo%2Bf4GPfv4r1qNqAUFYs9diJLBC1CIa7FZx8fUlwI22LuNv%2FfLbKMAOftH9TwRXg6%2FiCDAAAAAElFTkSuQmCC");
|
||||
}
|
1
min_unit_tests/_test_files/yuic/dataurl-base64-eof.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-base64-eof.css.min
Executable file
@@ -0,0 +1 @@
|
||||
div.base64-singlequotes{width:100px;height:100px;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QAAAAAAAD5Q7t%2FAAAACXBIWXMAAA3WAAAN1gGQb3mcAAAFrUlEQVRYw%2B2Xz28kRxXHP%2B9Vdc8vj2fG9uIkm2yUeFGEhNCKQwBpj1yRUBAnpJU4ceZP4MxfkBxy2GO45bQXuEGQohUKigQ%2BsBBE1sbYXv8Yz%2FRMd9fjUN09PV5nFZA4kZZa79W3quu9er%2FqNfy%2FPwJgZty%2Ffz%2FZ29vrpmmqhlWTgmFg1UpbfWhYhG6Yq2cFi%2FNrj9nJyWnx%2BPHjeafbMTEzPvjVB9%2B6d%2B%2FezweDwV1BfHubivkC3lZya%2F4m7Np8UZYXhweHH7733rvvC0Kyv7%2F%2F7p07d34qIjyvr63RNb4l4CbsRUrNrq6OfvfRRz%2FxDx486A%2F6g7vXhX9ZIf%2Bp4JomaToZj8d7Pk1SFRFXb1aWodq09l%2F9YZu%2FCWMVL9e%2FaVFVQVUREEG8r3VUEZ4cX%2FHL30%2B5shRtAhFq4wggNb6GrXgVa2K2jYtACIHv7Sz54TfHjWWagBOBy0Xgt%2BcjLtwQxVCpNwURQat1DdYaT7pwdwKDFA6ncHgFizJmSb3WLPDa7PMIVlb2daqZxdONUnAetEojEdBGiXXhTmAjhZ0%2B3N6AlzeEROH1TXiWGf%2BcwmkWZYnAfAkdx1pq%2BhUbT9z3IElUJlVhI4WsgCLUyggi4MQYd4VXNmCYRqXOspV7UoHbQ3hpEMeLAk5mkFYRYlWI%2BHZ6CTDwkKSQqrA7gFeHMF3C6VyYLmFZGiKCE6GrMFsaWb7yuVOh66N1FkUUpBJ3TyvFovToBl9XMbNY2bZ70BsKfW94hbyErosmXpQwy4VgkCjMizjvRRik0EtiLNwagBf465lwOqtkETEn60XT1%2BlTazrpKlR%2BKkooy3Xfb3Wj3wGWJRQhnni7B53q5FqZ4%2FUR7PYhGMxyuMwgWVqTxrYWAwZYQX78J5i8ie9txSAkoOqqQAqk3pBgKLDhlY5XVKPCi3w97YRoKSFaceCgF2hqSXRBPQAIOcXRH8hP%2F0y6%2BRpWLrEyg3SbS9tmzggzJQSLQZo4xoOE8UbCsJfQ7zi6iaIizZ5OBVfXDKPireWC%2BvAYWOBqeszl9Jg03afbH6OqGH%2FBSUrqbrFIXiHoiEDC%2FPySi2d9nnZHJE7opY7dcY%2FdcZej84zpPGfY9Uw2ErYGCf2O4mUVEzELWtqUxZKjf3zK2cURzicMRy%2BzvbuH8ylFPqXIPqNczClKY1mUZFcnSDKkv%2FUNuptbWG%2BLw%2FMh%2FzrYpKBHKV3ONOXzYxeV20z49qhs7gaMWIjqQQiBxVXB4irg05yz4u%2FMpieoJuTLjDJfUJYBzBAFUUHkhMvLvzFPuvQ2JvQ3duh0R%2FjuiDQdIn6MJdvkxTafZUPuaN6UaOo6UNtgNl9weboguwqoA5fCjEusNCzE8LJQFRuNrzpQD%2BrmZNM55%2F4A5z1J2iHtDEg6fZK0j0uHlDrh2N4i3Ptuc%2BH5tjp5HliWQmmOUAhlYe0rqUqWSEOhcZ05AvE1UdColSQJaHWlSUYgJy%2FO2fFfo%2F34piphFOZ4OrvNdL5EJZbcmE8OQzFxIJEGEgIeE1%2FhrjJLxZcOrIVpVC7TW00WmLWyAMDEs%2Bi9wVJDtG17Y21vVmNxLKqIOkQqqoq2qHORmgj9UQcza7mgFm4GmiDjO5C72DSoQ6uPVTW%2BzuFUcQ2teKd4pzhd8b6Nu6jg7vZsrb1rClEIxhu7Q37x47fIy3j%2Fi8iqqlUuEWTFN%2FOrMU3fEEuhUM8FIPDqZgcRIVhsAXxtjGDGS5M%2BP%2Fv%2Bm7yopVrRVsPabsW%2BYG1T%2Fy3KahqSg6cHRb5cTmt5ZXhxQ7nS6yZsVWOajDFbw2JSCSGEIsuyC%2F%2Fo0aPp%2Fv7%2Br9NO5%2F5gMOhJLNn%2FpQLrLfw6tkKKorCDg4NPP%2Fnkjx%2FLOz96h2enzyZvf%2BftH9za2fm6qLrnO9tGk2vY86f%2FMliWZRdPnjz5zcOHDz%2B%2B%2Fifimorzv31C9X718G%2FYrCYSNJa5LgAAACJ6VFh0U29mdHdhcmUAAHjaKy8v18vMyy5OTixI1csvSgcANtgGWBBTylwAAAAASUVORK5CYII%3D');background-position:center center;border:1px solid #0a0}div.otherdataurl{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kFBQ0WDWwqwjwAAANMSURBVEjHrdZbaFxVFAbgb2aSTG6GTi6mVIwxNxF9qFI0RQnFUqiYamutVutLa2t9EY0oPggFoYgPRR%2FaghYviA%2BiIAYvmBJKoYWiiBCigVTT1FisbUhrEtNkJpc5PuQkjGEmJqkLFmdz2Hv%2Fa%2F3rX3tvlm95oS%2FLokuZtIpbdvAs7KFtL22wjb3V1C41upy2ke1DXC2k%2FBjv1HHXDrbkEamg7lX2P8QTldQ2UtfOB8uiJsHNiB%2Fik0GmO%2BgZIxgnGA59nGCMoJPeQaYP047iBDXZEohkAYof4%2FNyKlZRdR%2F1ASZCnoOMhWkUheMz9F1laJSRZ3gEqVw1ipZQjcoBRrbT3Ez9OJLhZkHG5CD8l8Q47qXhMZp%2FYxhVFaxBLBtQejdtA%2FTtZPMIJnOknI2WSYzicTYN8OtTvICZbECxdr5Pkm6iPL0C3c%2BgkfIJgi%2F4LnP%2FudRKD3K4jf1VJGLEAiuz6VnA4AGam1h7gpNIzSFe66D3NurLKVhJNkHo07N9V9BE3XHOYmyeuirqG1l9mdHgOkDSGd8%2FGWtg9Roa56lrYdchDtRQPLlCkEywKVRScDfrurnwC2diiPTRe47iVtbnLZDxckGCkKYpPM%2FRr3kbyRhsYOtRDiQonFoBSHrBOI18rOeOPvr76YrCeUbf5fTvjOddJ0gQ1uMPku9z6hwjiEZhgOMn%2BaaUeHQJIOkMD7KMA5QQP01HP18hPbfvDTvZPETqb2YiS1BWrozM6jk9SPJJHkZZ5qFagtoaNnbyZg1FE4sUPRdlAQpwkdSjvDZAJ%2FoxNt%2Bw6NlGbQVFl5iKLKKsXCAwyFQZ8S3ciu65ho1lBJ5%2FkZk3OBGjpJWGmVCmsjTkQvA8JHCUU7s5eImevzg%2Fd7BGFhzCARIf8uVN3J5Heh1VM%2BHlko2y%2FHBxF0NJolfo38eDuJJxbf0ro%2FnMurh8hM%2FupH4tdT8zciOFsTC8SAgQoJfRxKzCuvfw0k%2F8MDx7xqUyez%2BS48ESIN7Ky6OUpfAtrxzhx03UR4m0c%2FZF7tnKW2mma4l9yuthTSIZIvxPi6EcpZW0PM0xtOzjo%2Bf4GPfv4r1qNqAUFYs9diJLBC1CIa7FZx8fUlwI22LuNv%2FfLbKMAOftH9TwRXg6%2FiCDAAAAAElFTkSuQmCC")}
|
34
min_unit_tests/_test_files/yuic/dataurl-base64-linebreakindata.css
Executable file
34
min_unit_tests/_test_files/yuic/dataurl-base64-linebreakindata.css
Executable file
@@ -0,0 +1,34 @@
|
||||
.yui3-skin-night .yui3-dial-ring-vml,
|
||||
.yui3-skin-night .yui3-dial-center-button-vml,
|
||||
.yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,
|
||||
.yui3-skin-night v\:oval.yui3-dial-marker-max-min,
|
||||
.yui3-skin-night .yui3-dial-marker-vml,
|
||||
.yui3-skin-night .yui3-dial-handle-vml {
|
||||
background: none;
|
||||
opacity:1;
|
||||
}
|
||||
|
||||
div.base64-doublequotes {
|
||||
width:100px;
|
||||
height:100px;
|
||||
background-image:url( "data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kFBQ0WDWwq
|
||||
wjwAAANMSURBVEjHrdZbaFxVFAbgb2aSTG6GTi6mVIwxNxF9qFI0RQnFUqiYamutVutLa2t9EY0oPggFoYgPRR%2FaghYviA%2BiIAYvmBJKoYWi
|
||||
iBCigVTT1FisbUhrEtNkJpc5PuQkjGEmJqkLFmdz2Hv%2Fa%2F3rX3tvlm95oS%2FLokuZtIpbdvAs7KFtL22wjb3V1C41upy2ke1DXC2k%2FBjv
|
||||
1HHXDrbkEamg7lX2P8QTldQ2UtfOB8uiJsHNiB%2Fik0GmO%2BgZIxgnGA59nGCMoJPeQaYP047iBDXZEohkAYof4%2FNyKlZRdR%2F1ASZCnoOM
|
||||
hWkUheMz9F1laJSRZ3gEqVw1ipZQjcoBRrbT3Ez9OJLhZkHG5CD8l8Q47qXhMZp%2FYxhVFaxBLBtQejdtA%2FTtZPMIJnOknI2WSYzicTYN8OtT
|
||||
vICZbECxdr5Pkm6iPL0C3c%2BgkfIJgi%2F4LnP%2FudRKD3K4jf1VJGLEAiuz6VnA4AGam1h7gpNIzSFe66D3NurLKVhJNkHo07N9V9BE3XHOYm
|
||||
yeuirqG1l9mdHgOkDSGd8%2FGWtg9Roa56lrYdchDtRQPLlCkEywKVRScDfrurnwC2diiPTRe47iVtbnLZDxckGCkKYpPM%2FRr3kbyRhsYOtRDi
|
||||
QonFoBSHrBOI18rOeOPvr76YrCeUbf5fTvjOddJ0gQ1uMPku9z6hwjiEZhgOMn%2BaaUeHQJIOkMD7KMA5QQP01HP18hPbfvDTvZPETqb2YiS1BW
|
||||
rozM6jk9SPJJHkZZ5qFagtoaNnbyZg1FE4sUPRdlAQpwkdSjvDZAJ%2FoxNt%2Bw6NlGbQVFl5iKLKKsXCAwyFQZ8S3ciu65ho1lBJ5%2FkZk3OB
|
||||
GjpJWGmVCmsjTkQvA8JHCUU7s5eImevzg%2Fd7BGFhzCARIf8uVN3J5Heh1VM%2BHlko2y%2FHBxF0NJolfo38eDuJJxbf0ro%2FnMurh8hM%2Fu
|
||||
pH4tdT8zciOFsTC8SAgQoJfRxKzCuvfw0k%2F8MDx7xqUyez%2BS48ESIN7Ky6OUpfAtrxzhx03UR4m0c%2FZF7tnKW2mma4l9yuthTSIZIvxPi6
|
||||
EcpZW0PM0xtOzjo%2Bf4GPfv4r1qNqAUFYs9diJLBC1CIa7FZx8fUlwI22LuNv%2FfLbKMAOftH9TwRXg6%2FiCDAAAAAElFTkSuQmCC" );
|
||||
background-position:center center;
|
||||
border:1px solid #00aa00;
|
||||
}
|
||||
|
||||
.yui-skin-sam .yui-h-slider {
|
||||
background: url(bg-h.gif) no-repeat 5px 0;
|
||||
height: 28px;
|
||||
width: 228px;
|
||||
}
|
1
min_unit_tests/_test_files/yuic/dataurl-base64-linebreakindata.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-base64-linebreakindata.css.min
Executable file
@@ -0,0 +1 @@
|
||||
.yui3-skin-night .yui3-dial-ring-vml,.yui3-skin-night .yui3-dial-center-button-vml,.yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,.yui3-skin-night v\:oval.yui3-dial-marker-max-min,.yui3-skin-night .yui3-dial-marker-vml,.yui3-skin-night .yui3-dial-handle-vml{background:0;opacity:1}div.base64-doublequotes{width:100px;height:100px;background-image:url("data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kFBQ0WDWwqwjwAAANMSURBVEjHrdZbaFxVFAbgb2aSTG6GTi6mVIwxNxF9qFI0RQnFUqiYamutVutLa2t9EY0oPggFoYgPRR%2FaghYviA%2BiIAYvmBJKoYWiiBCigVTT1FisbUhrEtNkJpc5PuQkjGEmJqkLFmdz2Hv%2Fa%2F3rX3tvlm95oS%2FLokuZtIpbdvAs7KFtL22wjb3V1C41upy2ke1DXC2k%2FBjv1HHXDrbkEamg7lX2P8QTldQ2UtfOB8uiJsHNiB%2Fik0GmO%2BgZIxgnGA59nGCMoJPeQaYP047iBDXZEohkAYof4%2FNyKlZRdR%2F1ASZCnoOMhWkUheMz9F1laJSRZ3gEqVw1ipZQjcoBRrbT3Ez9OJLhZkHG5CD8l8Q47qXhMZp%2FYxhVFaxBLBtQejdtA%2FTtZPMIJnOknI2WSYzicTYN8OtTvICZbECxdr5Pkm6iPL0C3c%2BgkfIJgi%2F4LnP%2FudRKD3K4jf1VJGLEAiuz6VnA4AGam1h7gpNIzSFe66D3NurLKVhJNkHo07N9V9BE3XHOYmyeuirqG1l9mdHgOkDSGd8%2FGWtg9Roa56lrYdchDtRQPLlCkEywKVRScDfrurnwC2diiPTRe47iVtbnLZDxckGCkKYpPM%2FRr3kbyRhsYOtRDiQonFoBSHrBOI18rOeOPvr76YrCeUbf5fTvjOddJ0gQ1uMPku9z6hwjiEZhgOMn%2BaaUeHQJIOkMD7KMA5QQP01HP18hPbfvDTvZPETqb2YiS1BWrozM6jk9SPJJHkZZ5qFagtoaNnbyZg1FE4sUPRdlAQpwkdSjvDZAJ%2FoxNt%2Bw6NlGbQVFl5iKLKKsXCAwyFQZ8S3ciu65ho1lBJ5%2FkZk3OBGjpJWGmVCmsjTkQvA8JHCUU7s5eImevzg%2Fd7BGFhzCARIf8uVN3J5Heh1VM%2BHlko2y%2FHBxF0NJolfo38eDuJJxbf0ro%2FnMurh8hM%2FupH4tdT8zciOFsTC8SAgQoJfRxKzCuvfw0k%2F8MDx7xqUyez%2BS48ESIN7Ky6OUpfAtrxzhx03UR4m0c%2FZF7tnKW2mma4l9yuthTSIZIvxPi6EcpZW0PM0xtOzjo%2Bf4GPfv4r1qNqAUFYs9diJLBC1CIa7FZx8fUlwI22LuNv%2FfLbKMAOftH9TwRXg6%2FiCDAAAAAElFTkSuQmCC");background-position:center center;border:1px solid #0a0}.yui-skin-sam .yui-h-slider{background:url(bg-h.gif) no-repeat 5px 0;height:28px;width:228px}
|
26
min_unit_tests/_test_files/yuic/dataurl-base64-noquotes.css
Executable file
26
min_unit_tests/_test_files/yuic/dataurl-base64-noquotes.css
Executable file
File diff suppressed because one or more lines are too long
1
min_unit_tests/_test_files/yuic/dataurl-base64-noquotes.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-base64-noquotes.css.min
Executable file
File diff suppressed because one or more lines are too long
23
min_unit_tests/_test_files/yuic/dataurl-base64-singlequotes.css
Executable file
23
min_unit_tests/_test_files/yuic/dataurl-base64-singlequotes.css
Executable file
File diff suppressed because one or more lines are too long
1
min_unit_tests/_test_files/yuic/dataurl-base64-singlequotes.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-base64-singlequotes.css.min
Executable file
File diff suppressed because one or more lines are too long
27
min_unit_tests/_test_files/yuic/dataurl-base64-twourls.css
Executable file
27
min_unit_tests/_test_files/yuic/dataurl-base64-twourls.css
Executable file
@@ -0,0 +1,27 @@
|
||||
.yui3-skin-night .yui3-dial-ring-vml,
|
||||
.yui3-skin-night .yui3-dial-center-button-vml,
|
||||
.yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,
|
||||
.yui3-skin-night v\:oval.yui3-dial-marker-max-min,
|
||||
.yui3-skin-night .yui3-dial-marker-vml,
|
||||
.yui3-skin-night .yui3-dial-handle-vml {
|
||||
background: none;
|
||||
opacity:1;
|
||||
}
|
||||
|
||||
div.base64-singlequotes {
|
||||
width:100px;
|
||||
height:100px;
|
||||
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QAAAAAAAD5Q7t%2FAAAACXBIWXMAAA3WAAAN1gGQb3mcAAAFrUlEQVRYw%2B2Xz28kRxXHP%2B9Vdc8vj2fG9uIkm2yUeFGEhNCKQwBpj1yRUBAnpJU4ceZP4MxfkBxy2GO45bQXuEGQohUKigQ%2BsBBE1sbYXv8Yz%2FRMd9fjUN09PV5nFZA4kZZa79W3quu9er%2FqNfy%2FPwJgZty%2Ffz%2FZ29vrpmmqhlWTgmFg1UpbfWhYhG6Yq2cFi%2FNrj9nJyWnx%2BPHjeafbMTEzPvjVB9%2B6d%2B%2FezweDwV1BfHubivkC3lZya%2F4m7Np8UZYXhweHH7733rvvC0Kyv7%2F%2F7p07d34qIjyvr63RNb4l4CbsRUrNrq6OfvfRRz%2FxDx486A%2F6g7vXhX9ZIf%2Bp4JomaToZj8d7Pk1SFRFXb1aWodq09l%2F9YZu%2FCWMVL9e%2FaVFVQVUREEG8r3VUEZ4cX%2FHL30%2B5shRtAhFq4wggNb6GrXgVa2K2jYtACIHv7Sz54TfHjWWagBOBy0Xgt%2BcjLtwQxVCpNwURQat1DdYaT7pwdwKDFA6ncHgFizJmSb3WLPDa7PMIVlb2daqZxdONUnAetEojEdBGiXXhTmAjhZ0%2B3N6AlzeEROH1TXiWGf%2BcwmkWZYnAfAkdx1pq%2BhUbT9z3IElUJlVhI4WsgCLUyggi4MQYd4VXNmCYRqXOspV7UoHbQ3hpEMeLAk5mkFYRYlWI%2BHZ6CTDwkKSQqrA7gFeHMF3C6VyYLmFZGiKCE6GrMFsaWb7yuVOh66N1FkUUpBJ3TyvFovToBl9XMbNY2bZ70BsKfW94hbyErosmXpQwy4VgkCjMizjvRRik0EtiLNwagBf465lwOqtkETEn60XT1%2BlTazrpKlR%2BKkooy3Xfb3Wj3wGWJRQhnni7B53q5FqZ4%2FUR7PYhGMxyuMwgWVqTxrYWAwZYQX78J5i8ie9txSAkoOqqQAqk3pBgKLDhlY5XVKPCi3w97YRoKSFaceCgF2hqSXRBPQAIOcXRH8hP%2F0y6%2BRpWLrEyg3SbS9tmzggzJQSLQZo4xoOE8UbCsJfQ7zi6iaIizZ5OBVfXDKPireWC%2BvAYWOBqeszl9Jg03afbH6OqGH%2FBSUrqbrFIXiHoiEDC%2FPySi2d9nnZHJE7opY7dcY%2FdcZej84zpPGfY9Uw2ErYGCf2O4mUVEzELWtqUxZKjf3zK2cURzicMRy%2BzvbuH8ylFPqXIPqNczClKY1mUZFcnSDKkv%2FUNuptbWG%2BLw%2FMh%2FzrYpKBHKV3ONOXzYxeV20z49qhs7gaMWIjqQQiBxVXB4irg05yz4u%2FMpieoJuTLjDJfUJYBzBAFUUHkhMvLvzFPuvQ2JvQ3duh0R%2FjuiDQdIn6MJdvkxTafZUPuaN6UaOo6UNtgNl9weboguwqoA5fCjEusNCzE8LJQFRuNrzpQD%2BrmZNM55%2F4A5z1J2iHtDEg6fZK0j0uHlDrh2N4i3Ptuc%2BH5tjp5HliWQmmOUAhlYe0rqUqWSEOhcZ05AvE1UdColSQJaHWlSUYgJy%2FO2fFfo%2F34piphFOZ4OrvNdL5EJZbcmE8OQzFxIJEGEgIeE1%2FhrjJLxZcOrIVpVC7TW00WmLWyAMDEs%2Bi9wVJDtG17Y21vVmNxLKqIOkQqqoq2qHORmgj9UQcza7mgFm4GmiDjO5C72DSoQ6uPVTW%2BzuFUcQ2teKd4pzhd8b6Nu6jg7vZsrb1rClEIxhu7Q37x47fIy3j%2Fi8iqqlUuEWTFN%2FOrMU3fEEuhUM8FIPDqZgcRIVhsAXxtjGDGS5M%2BP%2Fv%2Bm7yopVrRVsPabsW%2BYG1T%2Fy3KahqSg6cHRb5cTmt5ZXhxQ7nS6yZsVWOajDFbw2JSCSGEIsuyC%2F%2Fo0aPp%2Fv7%2Br9NO5%2F5gMOhJLNn%2FpQLrLfw6tkKKorCDg4NPP%2Fnkjx%2FLOz96h2enzyZvf%2BftH9za2fm6qLrnO9tGk2vY86f%2FMliWZRdPnjz5zcOHDz%2B%2B%2Fifimorzv31C9X718G%2FYrCYSNJa5LgAAACJ6VFh0U29mdHdhcmUAAHjaKy8v18vMyy5OTixI1csvSgcANtgGWBBTylwAAAAASUVORK5CYII%3D');
|
||||
background-position:center center;
|
||||
border:1px solid #00aa00;
|
||||
}
|
||||
|
||||
div.otherdataurl {
|
||||
background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kFBQ0WDWwqwjwAAANMSURBVEjHrdZbaFxVFAbgb2aSTG6GTi6mVIwxNxF9qFI0RQnFUqiYamutVutLa2t9EY0oPggFoYgPRR%2FaghYviA%2BiIAYvmBJKoYWiiBCigVTT1FisbUhrEtNkJpc5PuQkjGEmJqkLFmdz2Hv%2Fa%2F3rX3tvlm95oS%2FLokuZtIpbdvAs7KFtL22wjb3V1C41upy2ke1DXC2k%2FBjv1HHXDrbkEamg7lX2P8QTldQ2UtfOB8uiJsHNiB%2Fik0GmO%2BgZIxgnGA59nGCMoJPeQaYP047iBDXZEohkAYof4%2FNyKlZRdR%2F1ASZCnoOMhWkUheMz9F1laJSRZ3gEqVw1ipZQjcoBRrbT3Ez9OJLhZkHG5CD8l8Q47qXhMZp%2FYxhVFaxBLBtQejdtA%2FTtZPMIJnOknI2WSYzicTYN8OtTvICZbECxdr5Pkm6iPL0C3c%2BgkfIJgi%2F4LnP%2FudRKD3K4jf1VJGLEAiuz6VnA4AGam1h7gpNIzSFe66D3NurLKVhJNkHo07N9V9BE3XHOYmyeuirqG1l9mdHgOkDSGd8%2FGWtg9Roa56lrYdchDtRQPLlCkEywKVRScDfrurnwC2diiPTRe47iVtbnLZDxckGCkKYpPM%2FRr3kbyRhsYOtRDiQonFoBSHrBOI18rOeOPvr76YrCeUbf5fTvjOddJ0gQ1uMPku9z6hwjiEZhgOMn%2BaaUeHQJIOkMD7KMA5QQP01HP18hPbfvDTvZPETqb2YiS1BWrozM6jk9SPJJHkZZ5qFagtoaNnbyZg1FE4sUPRdlAQpwkdSjvDZAJ%2FoxNt%2Bw6NlGbQVFl5iKLKKsXCAwyFQZ8S3ciu65ho1lBJ5%2FkZk3OBGjpJWGmVCmsjTkQvA8JHCUU7s5eImevzg%2Fd7BGFhzCARIf8uVN3J5Heh1VM%2BHlko2y%2FHBxF0NJolfo38eDuJJxbf0ro%2FnMurh8hM%2FupH4tdT8zciOFsTC8SAgQoJfRxKzCuvfw0k%2F8MDx7xqUyez%2BS48ESIN7Ky6OUpfAtrxzhx03UR4m0c%2FZF7tnKW2mma4l9yuthTSIZIvxPi6EcpZW0PM0xtOzjo%2Bf4GPfv4r1qNqAUFYs9diJLBC1CIa7FZx8fUlwI22LuNv%2FfLbKMAOftH9TwRXg6%2FiCDAAAAAElFTkSuQmCC");
|
||||
}
|
||||
|
||||
.yui-skin-sam .yui-h-slider {
|
||||
background: url(bg-h.gif) no-repeat 5px 0;
|
||||
height: 28px;
|
||||
width: 228px;
|
||||
}
|
1
min_unit_tests/_test_files/yuic/dataurl-base64-twourls.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-base64-twourls.css.min
Executable file
@@ -0,0 +1 @@
|
||||
.yui3-skin-night .yui3-dial-ring-vml,.yui3-skin-night .yui3-dial-center-button-vml,.yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,.yui3-skin-night v\:oval.yui3-dial-marker-max-min,.yui3-skin-night .yui3-dial-marker-vml,.yui3-skin-night .yui3-dial-handle-vml{background:0;opacity:1}div.base64-singlequotes{width:100px;height:100px;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QAAAAAAAD5Q7t%2FAAAACXBIWXMAAA3WAAAN1gGQb3mcAAAFrUlEQVRYw%2B2Xz28kRxXHP%2B9Vdc8vj2fG9uIkm2yUeFGEhNCKQwBpj1yRUBAnpJU4ceZP4MxfkBxy2GO45bQXuEGQohUKigQ%2BsBBE1sbYXv8Yz%2FRMd9fjUN09PV5nFZA4kZZa79W3quu9er%2FqNfy%2FPwJgZty%2Ffz%2FZ29vrpmmqhlWTgmFg1UpbfWhYhG6Yq2cFi%2FNrj9nJyWnx%2BPHjeafbMTEzPvjVB9%2B6d%2B%2FezweDwV1BfHubivkC3lZya%2F4m7Np8UZYXhweHH7733rvvC0Kyv7%2F%2F7p07d34qIjyvr63RNb4l4CbsRUrNrq6OfvfRRz%2FxDx486A%2F6g7vXhX9ZIf%2Bp4JomaToZj8d7Pk1SFRFXb1aWodq09l%2F9YZu%2FCWMVL9e%2FaVFVQVUREEG8r3VUEZ4cX%2FHL30%2B5shRtAhFq4wggNb6GrXgVa2K2jYtACIHv7Sz54TfHjWWagBOBy0Xgt%2BcjLtwQxVCpNwURQat1DdYaT7pwdwKDFA6ncHgFizJmSb3WLPDa7PMIVlb2daqZxdONUnAetEojEdBGiXXhTmAjhZ0%2B3N6AlzeEROH1TXiWGf%2BcwmkWZYnAfAkdx1pq%2BhUbT9z3IElUJlVhI4WsgCLUyggi4MQYd4VXNmCYRqXOspV7UoHbQ3hpEMeLAk5mkFYRYlWI%2BHZ6CTDwkKSQqrA7gFeHMF3C6VyYLmFZGiKCE6GrMFsaWb7yuVOh66N1FkUUpBJ3TyvFovToBl9XMbNY2bZ70BsKfW94hbyErosmXpQwy4VgkCjMizjvRRik0EtiLNwagBf465lwOqtkETEn60XT1%2BlTazrpKlR%2BKkooy3Xfb3Wj3wGWJRQhnni7B53q5FqZ4%2FUR7PYhGMxyuMwgWVqTxrYWAwZYQX78J5i8ie9txSAkoOqqQAqk3pBgKLDhlY5XVKPCi3w97YRoKSFaceCgF2hqSXRBPQAIOcXRH8hP%2F0y6%2BRpWLrEyg3SbS9tmzggzJQSLQZo4xoOE8UbCsJfQ7zi6iaIizZ5OBVfXDKPireWC%2BvAYWOBqeszl9Jg03afbH6OqGH%2FBSUrqbrFIXiHoiEDC%2FPySi2d9nnZHJE7opY7dcY%2FdcZej84zpPGfY9Uw2ErYGCf2O4mUVEzELWtqUxZKjf3zK2cURzicMRy%2BzvbuH8ylFPqXIPqNczClKY1mUZFcnSDKkv%2FUNuptbWG%2BLw%2FMh%2FzrYpKBHKV3ONOXzYxeV20z49qhs7gaMWIjqQQiBxVXB4irg05yz4u%2FMpieoJuTLjDJfUJYBzBAFUUHkhMvLvzFPuvQ2JvQ3duh0R%2FjuiDQdIn6MJdvkxTafZUPuaN6UaOo6UNtgNl9weboguwqoA5fCjEusNCzE8LJQFRuNrzpQD%2BrmZNM55%2F4A5z1J2iHtDEg6fZK0j0uHlDrh2N4i3Ptuc%2BH5tjp5HliWQmmOUAhlYe0rqUqWSEOhcZ05AvE1UdColSQJaHWlSUYgJy%2FO2fFfo%2F34piphFOZ4OrvNdL5EJZbcmE8OQzFxIJEGEgIeE1%2FhrjJLxZcOrIVpVC7TW00WmLWyAMDEs%2Bi9wVJDtG17Y21vVmNxLKqIOkQqqoq2qHORmgj9UQcza7mgFm4GmiDjO5C72DSoQ6uPVTW%2BzuFUcQ2teKd4pzhd8b6Nu6jg7vZsrb1rClEIxhu7Q37x47fIy3j%2Fi8iqqlUuEWTFN%2FOrMU3fEEuhUM8FIPDqZgcRIVhsAXxtjGDGS5M%2BP%2Fv%2Bm7yopVrRVsPabsW%2BYG1T%2Fy3KahqSg6cHRb5cTmt5ZXhxQ7nS6yZsVWOajDFbw2JSCSGEIsuyC%2F%2Fo0aPp%2Fv7%2Br9NO5%2F5gMOhJLNn%2FpQLrLfw6tkKKorCDg4NPP%2Fnkjx%2FLOz96h2enzyZvf%2BftH9za2fm6qLrnO9tGk2vY86f%2FMliWZRdPnjz5zcOHDz%2B%2B%2Fifimorzv31C9X718G%2FYrCYSNJa5LgAAACJ6VFh0U29mdHdhcmUAAHjaKy8v18vMyy5OTixI1csvSgcANtgGWBBTylwAAAAASUVORK5CYII%3D');background-position:center center;border:1px solid #0a0}div.otherdataurl{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kFBQ0WDWwqwjwAAANMSURBVEjHrdZbaFxVFAbgb2aSTG6GTi6mVIwxNxF9qFI0RQnFUqiYamutVutLa2t9EY0oPggFoYgPRR%2FaghYviA%2BiIAYvmBJKoYWiiBCigVTT1FisbUhrEtNkJpc5PuQkjGEmJqkLFmdz2Hv%2Fa%2F3rX3tvlm95oS%2FLokuZtIpbdvAs7KFtL22wjb3V1C41upy2ke1DXC2k%2FBjv1HHXDrbkEamg7lX2P8QTldQ2UtfOB8uiJsHNiB%2Fik0GmO%2BgZIxgnGA59nGCMoJPeQaYP047iBDXZEohkAYof4%2FNyKlZRdR%2F1ASZCnoOMhWkUheMz9F1laJSRZ3gEqVw1ipZQjcoBRrbT3Ez9OJLhZkHG5CD8l8Q47qXhMZp%2FYxhVFaxBLBtQejdtA%2FTtZPMIJnOknI2WSYzicTYN8OtTvICZbECxdr5Pkm6iPL0C3c%2BgkfIJgi%2F4LnP%2FudRKD3K4jf1VJGLEAiuz6VnA4AGam1h7gpNIzSFe66D3NurLKVhJNkHo07N9V9BE3XHOYmyeuirqG1l9mdHgOkDSGd8%2FGWtg9Roa56lrYdchDtRQPLlCkEywKVRScDfrurnwC2diiPTRe47iVtbnLZDxckGCkKYpPM%2FRr3kbyRhsYOtRDiQonFoBSHrBOI18rOeOPvr76YrCeUbf5fTvjOddJ0gQ1uMPku9z6hwjiEZhgOMn%2BaaUeHQJIOkMD7KMA5QQP01HP18hPbfvDTvZPETqb2YiS1BWrozM6jk9SPJJHkZZ5qFagtoaNnbyZg1FE4sUPRdlAQpwkdSjvDZAJ%2FoxNt%2Bw6NlGbQVFl5iKLKKsXCAwyFQZ8S3ciu65ho1lBJ5%2FkZk3OBGjpJWGmVCmsjTkQvA8JHCUU7s5eImevzg%2Fd7BGFhzCARIf8uVN3J5Heh1VM%2BHlko2y%2FHBxF0NJolfo38eDuJJxbf0ro%2FnMurh8hM%2FupH4tdT8zciOFsTC8SAgQoJfRxKzCuvfw0k%2F8MDx7xqUyez%2BS48ESIN7Ky6OUpfAtrxzhx03UR4m0c%2FZF7tnKW2mma4l9yuthTSIZIvxPi6EcpZW0PM0xtOzjo%2Bf4GPfv4r1qNqAUFYs9diJLBC1CIa7FZx8fUlwI22LuNv%2FfLbKMAOftH9TwRXg6%2FiCDAAAAAElFTkSuQmCC")}.yui-skin-sam .yui-h-slider{background:url(bg-h.gif) no-repeat 5px 0;height:28px;width:228px}
|
30
min_unit_tests/_test_files/yuic/dataurl-dbquote-font.css
Executable file
30
min_unit_tests/_test_files/yuic/dataurl-dbquote-font.css
Executable file
@@ -0,0 +1,30 @@
|
||||
/*csslint fontfamily: true*/
|
||||
|
||||
/**
|
||||
* Foo
|
||||
*/
|
||||
|
||||
.y-ff-1 {
|
||||
font-family:"Foo Bar",Helvetica,Arial;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
.ua-op .y-ff-1 {
|
||||
/* Some Comment */
|
||||
font-family:Helvetica,Arial;
|
||||
}
|
||||
|
||||
/*
|
||||
Foo
|
||||
|
||||
Bar
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: "Foo Bar";
|
||||
src: url("data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA") format("truetype"),
|
||||
url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
5
min_unit_tests/_test_files/yuic/dataurl-dbquote-font.css.min
Executable file
5
min_unit_tests/_test_files/yuic/dataurl-dbquote-font.css.min
Executable file
@@ -0,0 +1,5 @@
|
||||
.y-ff-1{font-family:"Foo Bar",Helvetica,Arial;text-rendering:optimizeLegibility}.ua-op .y-ff-1{font-family:Helvetica,Arial}@font-face{font-family:"Foo Bar";src:url("data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA") format("truetype"),url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");font-weight:normal;font-style:normal}
|
||||
|
||||
|
||||
|
||||
|
13
min_unit_tests/_test_files/yuic/dataurl-nonbase64-doublequotes.css
Executable file
13
min_unit_tests/_test_files/yuic/dataurl-nonbase64-doublequotes.css
Executable file
@@ -0,0 +1,13 @@
|
||||
div.nonbase64-doublequotes {
|
||||
width:100px;
|
||||
height:100px;
|
||||
background-image:url(
|
||||
"data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0C%00%00%00%0E%08%03%00%00%00%2Cc%0D%DE%00%00%00%A2PLTEQQQ%FA%FA%FA%FC%FC%FC%EE%EE%EE%A9%A9%A9%E9%E9%E9%0A%0A%0A%0D%0D%0D444PPP%CD%CD%CD%CC%CC%CC%F5%F5%F5UUU%D0%D0%D0'''%F9%F9%F9%A6%A6%A6%40%40%40FFF%A0%A0%A0%89%89%89%8D%8D%8D%20%20%20%14%14%14%DA%DA%DA%B6%B6%B6%02%02%02%87%87%87%81%81%81%AC%AC%AC%0E%0E%0E111%7D%7D%7D%92%92%92333%B9%B9%B9%BC%BC%BChhh)))%E1%E1%E1%03%03%03%CB%CB%CB%EB%EB%EB%FD%FD%FD%A3%A3%A3(((%04%04%04%CA%CA%CAttt%2C%2C%2C%F4%F4%F4%00%00%00%FF%FF%FF%D6%DE%02%C3%00%00%006tRNS%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%00%A1%8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB%C8qYj%1F%E3Xk%93%E0%C8JZ%10%90%9E%3A1%60%BBY%85%A8%AE%14%C0%5E%1A6%8E%C5w%02%60%99%C9%FA%9A%03%60%8C%EFz%8C%CE%0EnSu%3F%01%AD%B2%06%04%F0%3CT%FF%B8nk%3F%7C%01%C5z%1B%F9%26%2F%3Az%00%00%00%00IEND%AEB%60%82"
|
||||
);
|
||||
border:1px solid #00aa00;
|
||||
}
|
||||
|
||||
span.othercss {
|
||||
font-family:"Times New Roman";
|
||||
font-weight:inherit;
|
||||
}
|
1
min_unit_tests/_test_files/yuic/dataurl-nonbase64-doublequotes.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-nonbase64-doublequotes.css.min
Executable file
@@ -0,0 +1 @@
|
||||
div.nonbase64-doublequotes{width:100px;height:100px;background-image:url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0C%00%00%00%0E%08%03%00%00%00%2Cc%0D%DE%00%00%00%A2PLTEQQQ%FA%FA%FA%FC%FC%FC%EE%EE%EE%A9%A9%A9%E9%E9%E9%0A%0A%0A%0D%0D%0D444PPP%CD%CD%CD%CC%CC%CC%F5%F5%F5UUU%D0%D0%D0'''%F9%F9%F9%A6%A6%A6%40%40%40FFF%A0%A0%A0%89%89%89%8D%8D%8D%20%20%20%14%14%14%DA%DA%DA%B6%B6%B6%02%02%02%87%87%87%81%81%81%AC%AC%AC%0E%0E%0E111%7D%7D%7D%92%92%92333%B9%B9%B9%BC%BC%BChhh)))%E1%E1%E1%03%03%03%CB%CB%CB%EB%EB%EB%FD%FD%FD%A3%A3%A3(((%04%04%04%CA%CA%CAttt%2C%2C%2C%F4%F4%F4%00%00%00%FF%FF%FF%D6%DE%02%C3%00%00%006tRNS%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%00%A1%8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB%C8qYj%1F%E3Xk%93%E0%C8JZ%10%90%9E%3A1%60%BBY%85%A8%AE%14%C0%5E%1A6%8E%C5w%02%60%99%C9%FA%9A%03%60%8C%EFz%8C%CE%0EnSu%3F%01%AD%B2%06%04%F0%3CT%FF%B8nk%3F%7C%01%C5z%1B%F9%26%2F%3Az%00%00%00%00IEND%AEB%60%82");border:1px solid #0a0}span.othercss{font-family:"Times New Roman";font-weight:inherit}
|
11
min_unit_tests/_test_files/yuic/dataurl-nonbase64-noquotes.css
Executable file
11
min_unit_tests/_test_files/yuic/dataurl-nonbase64-noquotes.css
Executable file
@@ -0,0 +1,11 @@
|
||||
div.nonbase64-noquotes {
|
||||
width:100px;
|
||||
height:100px;
|
||||
background-image:url( data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0C%00%00%00%0E%08%03%00%00%00%2Cc%0D%DE%00%00%00%A2PLTEQQQ%FA%FA%FA%FC%FC%FC%EE%EE%EE%A9%A9%A9%E9%E9%E9%0A%0A%0A%0D%0D%0D444PPP%CD%CD%CD%CC%CC%CC%F5%F5%F5UUU%D0%D0%D0\'\'\'%F9%F9%F9%A6%A6%A6%40%40%40FFF%A0%A0%A0%89%89%89%8D%8D%8D%20%20%20%14%14%14%DA%DA%DA%B6%B6%B6%02%02%02%87%87%87%81%81%81%AC%AC%AC%0E%0E%0E111%7D%7D%7D%92%92%92333%B9%B9%B9%BC%BC%BChhh\)\)\)%E1%E1%E1%03%03%03%CB%CB%CB%EB%EB%EB%FD%FD%FD%A3%A3%A3\(\(\(%04%04%04%CA%CA%CAttt%2C%2C%2C%F4%F4%F4%00%00%00%FF%FF%FF%D6%DE%02%C3%00%00%006tRNS%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%00%A1%8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB%C8qYj%1F%E3Xk%93%E0%C8JZ%10%90%9E%3A1%60%BBY%85%A8%AE%14%C0%5E%1A6%8E%C5w%02%60%99%C9%FA%9A%03%60%8C%EFz%8C%CE%0EnSu%3F%01%AD%B2%06%04%F0%3CT%FF%B8nk%3F%7C%01%C5z%1B%F9%26%2F%3Az%00%00%00%00IEND%AEB%60%82 );
|
||||
border:1px solid red;
|
||||
}
|
||||
|
||||
span.othercss {
|
||||
font-family:"Times New Roman";
|
||||
font-weight:inherit;
|
||||
}
|
1
min_unit_tests/_test_files/yuic/dataurl-nonbase64-noquotes.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-nonbase64-noquotes.css.min
Executable file
@@ -0,0 +1 @@
|
||||
div.nonbase64-noquotes{width:100px;height:100px;background-image:url(data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0C%00%00%00%0E%08%03%00%00%00%2Cc%0D%DE%00%00%00%A2PLTEQQQ%FA%FA%FA%FC%FC%FC%EE%EE%EE%A9%A9%A9%E9%E9%E9%0A%0A%0A%0D%0D%0D444PPP%CD%CD%CD%CC%CC%CC%F5%F5%F5UUU%D0%D0%D0\'\'\'%F9%F9%F9%A6%A6%A6%40%40%40FFF%A0%A0%A0%89%89%89%8D%8D%8D%20%20%20%14%14%14%DA%DA%DA%B6%B6%B6%02%02%02%87%87%87%81%81%81%AC%AC%AC%0E%0E%0E111%7D%7D%7D%92%92%92333%B9%B9%B9%BC%BC%BChhh\)\)\)%E1%E1%E1%03%03%03%CB%CB%CB%EB%EB%EB%FD%FD%FD%A3%A3%A3\(\(\(%04%04%04%CA%CA%CAttt%2C%2C%2C%F4%F4%F4%00%00%00%FF%FF%FF%D6%DE%02%C3%00%00%006tRNS%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%00%A1%8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB%C8qYj%1F%E3Xk%93%E0%C8JZ%10%90%9E%3A1%60%BBY%85%A8%AE%14%C0%5E%1A6%8E%C5w%02%60%99%C9%FA%9A%03%60%8C%EFz%8C%CE%0EnSu%3F%01%AD%B2%06%04%F0%3CT%FF%B8nk%3F%7C%01%C5z%1B%F9%26%2F%3Az%00%00%00%00IEND%AEB%60%82);border:1px solid red}span.othercss{font-family:"Times New Roman";font-weight:inherit}
|
15
min_unit_tests/_test_files/yuic/dataurl-nonbase64-singlequotes.css
Executable file
15
min_unit_tests/_test_files/yuic/dataurl-nonbase64-singlequotes.css
Executable file
@@ -0,0 +1,15 @@
|
||||
/* Some Comment */
|
||||
|
||||
div.nonbase64-singlequotes {
|
||||
width:100px;
|
||||
height:100px;
|
||||
background-image:url('data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0C%00%00%00%0E%08%03%00%00%00%2Cc%0D%DE%00%00%00%A2PLTEQQQ%FA%FA%FA%FC%FC%FC%EE%EE%EE%A9%A9%A9%E9%E9%E9%0A%0A%0A%0D%0D%0D444PPP%CD%CD%CD%CC%CC%CC%F5%F5%F5UUU%D0%D0%D0\'\'\'%F9%F9%F9%A6%A6%A6%40%40%40FFF%A0%A0%A0%89%89%89%8D%8D%8D%20%20%20%14%14%14%DA%DA%DA%B6%B6%B6%02%02%02%87%87%87%81%81%81%AC%AC%AC%0E%0E%0E111%7D%7D%7D%92%92%92333%B9%B9%B9%BC%BC%BChhh)))%E1%E1%E1%03%03%03%CB%CB%CB%EB%EB%EB%FD%FD%FD%A3%A3%A3(((%04%04%04%CA%CA%CAttt%2C%2C%2C%F4%F4%F4%00%00%00%FF%FF%FF%D6%DE%02%C3%00%00%006tRNS%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%00%A1%8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB%C8qYj%1F%E3Xk%93%E0%C8JZ%10%90%9E%3A1%60%BBY%85%A8%AE%14%C0%5E%1A6%8E%C5w%02%60%99%C9%FA%9A%03%60%8C%EFz%8C%CE%0EnSu%3F%01%AD%B2%06%04%F0%3CT%FF%B8nk%3F%7C%01%C5z%1B%F9%26%2F%3Az%00%00%00%00IEND%AEB%60%82');
|
||||
border:1px solid #0000aa;
|
||||
}
|
||||
|
||||
/* Some Other Comment */
|
||||
|
||||
span.othercss {
|
||||
font-family:"Times New Roman";
|
||||
font-weight:inherit;
|
||||
}
|
2
min_unit_tests/_test_files/yuic/dataurl-nonbase64-singlequotes.css.min
Executable file
2
min_unit_tests/_test_files/yuic/dataurl-nonbase64-singlequotes.css.min
Executable file
@@ -0,0 +1,2 @@
|
||||
div.nonbase64-singlequotes{width:100px;height:100px;background-image:url('data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0C%00%00%00%0E%08%03%00%00%00%2Cc%0D%DE%00%00%00%A2PLTEQQQ%FA%FA%FA%FC%FC%FC%EE%EE%EE%A9%A9%A9%E9%E9%E9%0A%0A%0A%0D%0D%0D444PPP%CD%CD%CD%CC%CC%CC%F5%F5%F5UUU%D0%D0%D0\'\'\'%F9%F9%F9%A6%A6%A6%40%40%40FFF%A0%A0%A0%89%89%89%8D%8D%8D%20%20%20%14%14%14%DA%DA%DA%B6%B6%B6%02%02%02%87%87%87%81%81%81%AC%AC%AC%0E%0E%0E111%7D%7D%7D%92%92%92333%B9%B9%B9%BC%BC%BChhh)))%E1%E1%E1%03%03%03%CB%CB%CB%EB%EB%EB%FD%FD%FD%A3%A3%A3(((%04%04%04%CA%CA%CAttt%2C%2C%2C%F4%F4%F4%00%00%00%FF%FF%FF%D6%DE%02%C3%00%00%006tRNS%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%00%A1%8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB%C8qYj%1F%E3Xk%93%E0%C8JZ%10%90%9E%3A1%60%BBY%85%A8%AE%14%C0%5E%1A6%8E%C5w%02%60%99%C9%FA%9A%03%60%8C%EFz%8C%CE%0EnSu%3F%01%AD%B2%06%04%F0%3CT%FF%B8nk%3F%7C%01%C5z%1B%F9%26%2F%3Az%00%00%00%00IEND%AEB%60%82');border:1px solid #00a}span.othercss{font-family:"Times New Roman";font-weight:inherit}
|
||||
|
31
min_unit_tests/_test_files/yuic/dataurl-noquote-multiline-font.css
Executable file
31
min_unit_tests/_test_files/yuic/dataurl-noquote-multiline-font.css
Executable file
@@ -0,0 +1,31 @@
|
||||
/*csslint fontfamily: true*/
|
||||
|
||||
/**
|
||||
* Foo
|
||||
*/
|
||||
|
||||
.y-ff-1 {
|
||||
font-family:"Foo Bar",Helvetica,Arial;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
.ua-op .y-ff-1 {
|
||||
/* Some Comment */
|
||||
font-family:Helvetica,Arial;
|
||||
}
|
||||
|
||||
/*
|
||||
Foo
|
||||
|
||||
Bar
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: "Foo Bar";
|
||||
src: url(
|
||||
data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA) format("truetype"),
|
||||
url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
3
min_unit_tests/_test_files/yuic/dataurl-noquote-multiline-font.css.min
Executable file
3
min_unit_tests/_test_files/yuic/dataurl-noquote-multiline-font.css.min
Executable file
@@ -0,0 +1,3 @@
|
||||
.y-ff-1{font-family:"Foo Bar",Helvetica,Arial;text-rendering:optimizeLegibility}.ua-op .y-ff-1{font-family:Helvetica,Arial}@font-face{font-family:"Foo Bar";src:url(data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA) format("truetype"),url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");font-weight:normal;font-style:normal}
|
||||
|
||||
|
90
min_unit_tests/_test_files/yuic/dataurl-realdata-doublequotes.css
Executable file
90
min_unit_tests/_test_files/yuic/dataurl-realdata-doublequotes.css
Executable file
@@ -0,0 +1,90 @@
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate(0, 0);
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last {
|
||||
border-radius:3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUeNpiZGBgSGPAAgACDAAIkABoFyloZQAAAABJRU5ErkJggg==");
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last {
|
||||
border-bottom-right-radius:0;
|
||||
border-bottom-left-radius:0;
|
||||
|
||||
-webkit-border-bottom-right-radius:0;
|
||||
-webkit-border-bottom-left-radius:0;
|
||||
|
||||
-moz-border-radius-bottomright:0;
|
||||
-moz-border-radius-bottomleft:0;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last {
|
||||
border-radius:0;
|
||||
border-bottom-right-radius:3px;
|
||||
border-bottom-left-radius:3px;
|
||||
|
||||
-webkit-border-radius:0;
|
||||
-webkit-border-bottom-right-radius:3px;
|
||||
-webkit-border-bottom-left-radius:3px;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
|
||||
-moz-border-radius:0;
|
||||
-moz-border-radius-bottomright:3px;
|
||||
-moz-border-radius-bottomleft:3px;
|
||||
-moz-transform: translate(0, 0);
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle {
|
||||
border-radius:0;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
|
||||
-webkit-transform: translate3d(0,0,0) scaleY(1);
|
||||
-webkit-transform-origin-y: 0;
|
||||
|
||||
-moz-transform: translate(0,0) scaleY(1);
|
||||
-moz-transform-origin: 0 0;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-first,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
||||
-webkit-border-top-right-radius: 0;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
|
||||
-moz-border-radius-topright: 0;
|
||||
-moz-border-radius-bottomleft: 3px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last {
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-right-radius: 3px;
|
||||
|
||||
-webkit-border-bottom-left-radius: 0;
|
||||
-webkit-border-top-right-radius: 3px;
|
||||
|
||||
-moz-border-radius-bottomleft: 0;
|
||||
-moz-border-radius-topright: 3px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-middle {
|
||||
-webkit-transform: translate3d(0,0,0) scaleX(1);
|
||||
-webkit-transform-origin: 0 0;
|
||||
|
||||
-moz-transform: translate(0,0) scaleX(1);
|
||||
-moz-transform-origin: 0 0;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-vert-basic .yui3-scrollview-child,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz-basic .yui3-scrollview-child {
|
||||
background-color: #aaa;
|
||||
background-image: none;
|
||||
}
|
1
min_unit_tests/_test_files/yuic/dataurl-realdata-doublequotes.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-realdata-doublequotes.css.min
Executable file
@@ -0,0 +1 @@
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar{-webkit-transform:translate3d(0,0,0);-moz-transform:translate(0,0)}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle,.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last{border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUeNpiZGBgSGPAAgACDAAIkABoFyloZQAAAABJRU5ErkJggg==")}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last{border-bottom-right-radius:0;border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last{border-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px;-webkit-border-radius:0;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;-webkit-transform:translate3d(0,0,0);-moz-border-radius:0;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:3px;-moz-transform:translate(0,0)}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle{border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-webkit-transform:translate3d(0,0,0) scaleY(1);-webkit-transform-origin-y:0;-moz-transform:translate(0,0) scaleY(1);-moz-transform-origin:0 0}.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-first,.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last{border-top-right-radius:0;border-bottom-left-radius:3px;-webkit-border-top-right-radius:0;-webkit-border-bottom-left-radius:3px;-moz-border-radius-topright:0;-moz-border-radius-bottomleft:3px}.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last{border-bottom-left-radius:0;border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-border-top-right-radius:3px;-moz-border-radius-bottomleft:0;-moz-border-radius-topright:3px}.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-middle{-webkit-transform:translate3d(0,0,0) scaleX(1);-webkit-transform-origin:0 0;-moz-transform:translate(0,0) scaleX(1);-moz-transform-origin:0 0}.yui3-skin-sam .yui3-scrollview-scrollbar-vert-basic .yui3-scrollview-child,.yui3-skin-sam .yui3-scrollview-scrollbar-horiz-basic .yui3-scrollview-child{background-color:#aaa;background-image:none}
|
90
min_unit_tests/_test_files/yuic/dataurl-realdata-noquotes.css
Executable file
90
min_unit_tests/_test_files/yuic/dataurl-realdata-noquotes.css
Executable file
@@ -0,0 +1,90 @@
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate(0, 0);
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last {
|
||||
border-radius:3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUeNpiZGBgSGPAAgACDAAIkABoFyloZQAAAABJRU5ErkJggg==);
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last {
|
||||
border-bottom-right-radius:0;
|
||||
border-bottom-left-radius:0;
|
||||
|
||||
-webkit-border-bottom-right-radius:0;
|
||||
-webkit-border-bottom-left-radius:0;
|
||||
|
||||
-moz-border-radius-bottomright:0;
|
||||
-moz-border-radius-bottomleft:0;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last {
|
||||
border-radius:0;
|
||||
border-bottom-right-radius:3px;
|
||||
border-bottom-left-radius:3px;
|
||||
|
||||
-webkit-border-radius:0;
|
||||
-webkit-border-bottom-right-radius:3px;
|
||||
-webkit-border-bottom-left-radius:3px;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
|
||||
-moz-border-radius:0;
|
||||
-moz-border-radius-bottomright:3px;
|
||||
-moz-border-radius-bottomleft:3px;
|
||||
-moz-transform: translate(0, 0);
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle {
|
||||
border-radius:0;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
|
||||
-webkit-transform: translate3d(0,0,0) scaleY(1);
|
||||
-webkit-transform-origin-y: 0;
|
||||
|
||||
-moz-transform: translate(0,0) scaleY(1);
|
||||
-moz-transform-origin: 0 0;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-first,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
||||
-webkit-border-top-right-radius: 0;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
|
||||
-moz-border-radius-topright: 0;
|
||||
-moz-border-radius-bottomleft: 3px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last {
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-right-radius: 3px;
|
||||
|
||||
-webkit-border-bottom-left-radius: 0;
|
||||
-webkit-border-top-right-radius: 3px;
|
||||
|
||||
-moz-border-radius-bottomleft: 0;
|
||||
-moz-border-radius-topright: 3px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-middle {
|
||||
-webkit-transform: translate3d(0,0,0) scaleX(1);
|
||||
-webkit-transform-origin: 0 0;
|
||||
|
||||
-moz-transform: translate(0,0) scaleX(1);
|
||||
-moz-transform-origin: 0 0;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-vert-basic .yui3-scrollview-child,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz-basic .yui3-scrollview-child {
|
||||
background-color: #aaa;
|
||||
background-image: none;
|
||||
}
|
1
min_unit_tests/_test_files/yuic/dataurl-realdata-noquotes.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-realdata-noquotes.css.min
Executable file
@@ -0,0 +1 @@
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar{-webkit-transform:translate3d(0,0,0);-moz-transform:translate(0,0)}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle,.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last{border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUeNpiZGBgSGPAAgACDAAIkABoFyloZQAAAABJRU5ErkJggg==)}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last{border-bottom-right-radius:0;border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last{border-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px;-webkit-border-radius:0;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;-webkit-transform:translate3d(0,0,0);-moz-border-radius:0;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:3px;-moz-transform:translate(0,0)}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle{border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-webkit-transform:translate3d(0,0,0) scaleY(1);-webkit-transform-origin-y:0;-moz-transform:translate(0,0) scaleY(1);-moz-transform-origin:0 0}.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-first,.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last{border-top-right-radius:0;border-bottom-left-radius:3px;-webkit-border-top-right-radius:0;-webkit-border-bottom-left-radius:3px;-moz-border-radius-topright:0;-moz-border-radius-bottomleft:3px}.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last{border-bottom-left-radius:0;border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-border-top-right-radius:3px;-moz-border-radius-bottomleft:0;-moz-border-radius-topright:3px}.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-middle{-webkit-transform:translate3d(0,0,0) scaleX(1);-webkit-transform-origin:0 0;-moz-transform:translate(0,0) scaleX(1);-moz-transform-origin:0 0}.yui3-skin-sam .yui3-scrollview-scrollbar-vert-basic .yui3-scrollview-child,.yui3-skin-sam .yui3-scrollview-scrollbar-horiz-basic .yui3-scrollview-child{background-color:#aaa;background-image:none}
|
90
min_unit_tests/_test_files/yuic/dataurl-realdata-singlequotes.css
Executable file
90
min_unit_tests/_test_files/yuic/dataurl-realdata-singlequotes.css
Executable file
@@ -0,0 +1,90 @@
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate(0, 0);
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last {
|
||||
border-radius:3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUeNpiZGBgSGPAAgACDAAIkABoFyloZQAAAABJRU5ErkJggg==');
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last {
|
||||
border-bottom-right-radius:0;
|
||||
border-bottom-left-radius:0;
|
||||
|
||||
-webkit-border-bottom-right-radius:0;
|
||||
-webkit-border-bottom-left-radius:0;
|
||||
|
||||
-moz-border-radius-bottomright:0;
|
||||
-moz-border-radius-bottomleft:0;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last {
|
||||
border-radius:0;
|
||||
border-bottom-right-radius:3px;
|
||||
border-bottom-left-radius:3px;
|
||||
|
||||
-webkit-border-radius:0;
|
||||
-webkit-border-bottom-right-radius:3px;
|
||||
-webkit-border-bottom-left-radius:3px;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
|
||||
-moz-border-radius:0;
|
||||
-moz-border-radius-bottomright:3px;
|
||||
-moz-border-radius-bottomleft:3px;
|
||||
-moz-transform: translate(0, 0);
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle {
|
||||
border-radius:0;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
|
||||
-webkit-transform: translate3d(0,0,0) scaleY(1);
|
||||
-webkit-transform-origin-y: 0;
|
||||
|
||||
-moz-transform: translate(0,0) scaleY(1);
|
||||
-moz-transform-origin: 0 0;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-first,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
||||
-webkit-border-top-right-radius: 0;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
|
||||
-moz-border-radius-topright: 0;
|
||||
-moz-border-radius-bottomleft: 3px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last {
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-right-radius: 3px;
|
||||
|
||||
-webkit-border-bottom-left-radius: 0;
|
||||
-webkit-border-top-right-radius: 3px;
|
||||
|
||||
-moz-border-radius-bottomleft: 0;
|
||||
-moz-border-radius-topright: 3px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-middle {
|
||||
-webkit-transform: translate3d(0,0,0) scaleX(1);
|
||||
-webkit-transform-origin: 0 0;
|
||||
|
||||
-moz-transform: translate(0,0) scaleX(1);
|
||||
-moz-transform-origin: 0 0;
|
||||
}
|
||||
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-vert-basic .yui3-scrollview-child,
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar-horiz-basic .yui3-scrollview-child {
|
||||
background-color: #aaa;
|
||||
background-image: none;
|
||||
}
|
1
min_unit_tests/_test_files/yuic/dataurl-realdata-singlequotes.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-realdata-singlequotes.css.min
Executable file
@@ -0,0 +1 @@
|
||||
.yui3-skin-sam .yui3-scrollview-scrollbar{-webkit-transform:translate3d(0,0,0);-moz-transform:translate(0,0)}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle,.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last{border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUeNpiZGBgSGPAAgACDAAIkABoFyloZQAAAABJRU5ErkJggg==')}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-first,.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last{border-bottom-right-radius:0;border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-last{border-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px;-webkit-border-radius:0;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;-webkit-transform:translate3d(0,0,0);-moz-border-radius:0;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:3px;-moz-transform:translate(0,0)}.yui3-skin-sam .yui3-scrollview-scrollbar .yui3-scrollview-middle{border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-webkit-transform:translate3d(0,0,0) scaleY(1);-webkit-transform-origin-y:0;-moz-transform:translate(0,0) scaleY(1);-moz-transform-origin:0 0}.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-first,.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last{border-top-right-radius:0;border-bottom-left-radius:3px;-webkit-border-top-right-radius:0;-webkit-border-bottom-left-radius:3px;-moz-border-radius-topright:0;-moz-border-radius-bottomleft:3px}.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-last{border-bottom-left-radius:0;border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-border-top-right-radius:3px;-moz-border-radius-bottomleft:0;-moz-border-radius-topright:3px}.yui3-skin-sam .yui3-scrollview-scrollbar-horiz .yui3-scrollview-middle{-webkit-transform:translate3d(0,0,0) scaleX(1);-webkit-transform-origin:0 0;-moz-transform:translate(0,0) scaleX(1);-moz-transform-origin:0 0}.yui3-skin-sam .yui3-scrollview-scrollbar-vert-basic .yui3-scrollview-child,.yui3-skin-sam .yui3-scrollview-scrollbar-horiz-basic .yui3-scrollview-child{background-color:#aaa;background-image:none}
|
106
min_unit_tests/_test_files/yuic/dataurl-realdata-yuiapp.css
Executable file
106
min_unit_tests/_test_files/yuic/dataurl-realdata-yuiapp.css
Executable file
@@ -0,0 +1,106 @@
|
||||
html {
|
||||
background: #fff;
|
||||
color: #555;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#hd, #bd, #ft {
|
||||
padding: 0 50px;
|
||||
}
|
||||
|
||||
#bd {
|
||||
padding-bottom: 50px;
|
||||
border-bottom: 1px solid #006e9c;
|
||||
}
|
||||
|
||||
#ft {
|
||||
background: transparent no-repeat 0% 100%;
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAAeCAMAAAC/pnaKAAAAwFBMVEUkXIAoYYQoYYQoYYQyao02bpE6cpQ6cpREe51LgqNUiqtUiqtUiqtZj7BckrNlmrtlmrtlmrtroMB3qsp3qsp3qsp+sdCHudiHudiHudiHudiPwN+YyOaYyOaYyOaf0O2g0O6n1vOn1vOn1vOn1vOw3vu45f245f245f3B7f7K9f7K9f7K9f7X/v7X/v7p//7p//79//79//4AAABhAGMAbwBzAC4AcwB0AHIAaQBuAGcAcwABAAAAwIwmGwEAAABQQKFUAAAAQHRSTlP///////////////////////////////////////////////////////////////////8A////////////////0pfSbwAAAdtJREFUOI2NlNGqgzAMhv/ClDlQQcFdKOx4McFCKcH3f7eTtLWr07mFiUvbzz9Nk2LZGRH5937qZTiGyEx0Cr5xQpEd6xzNueCGc9SzUmAzP8cplO1zgRRutBAlM9EhZwknWj1LKXkwbOVojTqMEpKZOfeUD3OnR24VWeJf1OOBTnTgw8zZr3LyOlbdrWrdGlpG6Alz4Ni3RcT4Ldm8wHpOo9Yo5CPsdngM6D3HmLlESrgHD+YvrtEuUeLeMf7x7j23GJVgbJoHs0/cI3B7TNkfON5btsEUrvSdY694U0P9nXMp2mDsdbLmY14CN8XDjtzgo9CuqpYnGoMscDUmn08qsbOn/3Lte6rgP1eM7qQ1YMP+yPhiTmx2laDQspytgJI1MbIzZ7yHfj2/hYYtZ1xMM4dc3iTukjgJyKsrUBEH4uqFXNUh3aXxtWjbC3DpH8LRVPJ8MXLoA8fsz51ue73Q+1z7RkTEF0dWa1o5a8001C6ZbGuzh0bSTo9iS8X+C/NWbfTW5uZ9Vu4QaL20Xv3uhgyrZUXVtI2NfS3fbzgP75dNek/YbrL+k/EykecuZf6ZOzDJYsf9PCV3xhFHq7043mw+H1ylW+5Ab5jpADuPM2Z1P3POLWnUG/sHnIDsqkOjlqoAAAAASUVORK5CYII=);
|
||||
/* image width: 55px */
|
||||
padding: 0 0 40px 0;
|
||||
margin: 50px;
|
||||
}
|
||||
|
||||
#hd, #bd {
|
||||
background: #f9f9f9;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font: 12px "Helvetica Nueue", Arial, sans-serif;
|
||||
}
|
||||
|
||||
#hd {
|
||||
color: #fff;
|
||||
padding-top: 50px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#hd, h1, h2, p, .color {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
h1, h2, a {
|
||||
color: #006e9c;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h4 .title {
|
||||
font-weight: bold;
|
||||
letter-spacing: -2px;
|
||||
font-size: 47px;
|
||||
text-shadow: 0 1px 0 #369;
|
||||
background: #006e9d;
|
||||
color: #fff;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
display: block;
|
||||
float: right;
|
||||
margin: 0 0 0 20px;
|
||||
}
|
||||
|
||||
h4 .what {
|
||||
display: block;
|
||||
padding: 4px;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h4 .version {
|
||||
font-size: 11px;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 40px;
|
||||
font-family: "HelveticaNeue-Light", "Helvetica Neue Light",
|
||||
"Helvetica Neue", sans-serif;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
h4, p {
|
||||
padding: 6px 0 6px;
|
||||
}
|
||||
|
||||
#ft p.fine, #ft p.fine a {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#ft p.intro {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#bd {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
#ft p {
|
||||
font-size: 11px;
|
||||
}
|
1
min_unit_tests/_test_files/yuic/dataurl-realdata-yuiapp.css.min
Executable file
1
min_unit_tests/_test_files/yuic/dataurl-realdata-yuiapp.css.min
Executable file
@@ -0,0 +1 @@
|
||||
html{background:#fff;color:#555;height:100%}#hd,#bd,#ft{padding:0 50px}#bd{padding-bottom:50px;border-bottom:1px solid #006e9c}#ft{background:transparent no-repeat 0 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAAeCAMAAAC/pnaKAAAAwFBMVEUkXIAoYYQoYYQoYYQyao02bpE6cpQ6cpREe51LgqNUiqtUiqtUiqtZj7BckrNlmrtlmrtlmrtroMB3qsp3qsp3qsp+sdCHudiHudiHudiHudiPwN+YyOaYyOaYyOaf0O2g0O6n1vOn1vOn1vOn1vOw3vu45f245f245f3B7f7K9f7K9f7K9f7X/v7X/v7p//7p//79//79//4AAABhAGMAbwBzAC4AcwB0AHIAaQBuAGcAcwABAAAAwIwmGwEAAABQQKFUAAAAQHRSTlP///////////////////////////////////////////////////////////////////8A////////////////0pfSbwAAAdtJREFUOI2NlNGqgzAMhv/ClDlQQcFdKOx4McFCKcH3f7eTtLWr07mFiUvbzz9Nk2LZGRH5937qZTiGyEx0Cr5xQpEd6xzNueCGc9SzUmAzP8cplO1zgRRutBAlM9EhZwknWj1LKXkwbOVojTqMEpKZOfeUD3OnR24VWeJf1OOBTnTgw8zZr3LyOlbdrWrdGlpG6Alz4Ni3RcT4Ldm8wHpOo9Yo5CPsdngM6D3HmLlESrgHD+YvrtEuUeLeMf7x7j23GJVgbJoHs0/cI3B7TNkfON5btsEUrvSdY694U0P9nXMp2mDsdbLmY14CN8XDjtzgo9CuqpYnGoMscDUmn08qsbOn/3Lte6rgP1eM7qQ1YMP+yPhiTmx2laDQspytgJI1MbIzZ7yHfj2/hYYtZ1xMM4dc3iTukjgJyKsrUBEH4uqFXNUh3aXxtWjbC3DpH8LRVPJ8MXLoA8fsz51ue73Q+1z7RkTEF0dWa1o5a8001C6ZbGuzh0bSTo9iS8X+C/NWbfTW5uZ9Vu4QaL20Xv3uhgyrZUXVtI2NfS3fbzgP75dNek/YbrL+k/EykecuZf6ZOzDJYsf9PCV3xhFHq7043mw+H1ylW+5Ab5jpADuPM2Z1P3POLWnUG/sHnIDsqkOjlqoAAAAASUVORK5CYII=);padding:0 0 40px 0;margin:50px}#hd,#bd{background:#f9f9f9}body{margin:0;padding:0;font:12px "Helvetica Nueue",Arial,sans-serif}#hd{color:#fff;padding-top:50px;margin:0}#hd,h1,h2,p,.color{margin:auto}h1,h2,a{color:#006e9c}h1,h2{margin-top:0}h4 .title{font-weight:bold;letter-spacing:-2px;font-size:47px;text-shadow:0 1px 0 #369;background:#006e9d;color:#fff;padding:0 10px}h4{display:block;float:right;margin:0 0 0 20px}h4 .what{display:block;padding:4px;text-align:center;font-weight:normal}h4 .version{font-size:11px;color:#ccc}h2{font-size:40px;font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;font-weight:300}h4,p{padding:6px 0 6px}#ft p.fine,#ft p.fine a{color:#999}#ft p.intro{font-size:12px}#bd{font-size:14px;color:#666}#ft p{font-size:11px}
|
30
min_unit_tests/_test_files/yuic/dataurl-singlequote-font.css
Executable file
30
min_unit_tests/_test_files/yuic/dataurl-singlequote-font.css
Executable file
@@ -0,0 +1,30 @@
|
||||
/*csslint fontfamily: true*/
|
||||
|
||||
/**
|
||||
* Foo
|
||||
*/
|
||||
|
||||
.y-ff-1 {
|
||||
font-family:"Foo Bar",Helvetica,Arial;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
.ua-op .y-ff-1 {
|
||||
/* Some Comment */
|
||||
font-family:Helvetica,Arial;
|
||||
}
|
||||
|
||||
/*
|
||||
Foo
|
||||
|
||||
Bar
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: "Foo Bar";
|
||||
src: url('data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA') format("truetype"),
|
||||
url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
3
min_unit_tests/_test_files/yuic/dataurl-singlequote-font.css.min
Executable file
3
min_unit_tests/_test_files/yuic/dataurl-singlequote-font.css.min
Executable file
@@ -0,0 +1,3 @@
|
||||
.y-ff-1{font-family:"Foo Bar",Helvetica,Arial;text-rendering:optimizeLegibility}.ua-op .y-ff-1{font-family:Helvetica,Arial}@font-face{font-family:"Foo Bar";src:url('data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA') format("truetype"),url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");font-weight:normal;font-style:normal}
|
||||
|
||||
|
0
min_unit_tests/_test_files/yuic/decimals.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/decimals.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/decimals.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/decimals.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/dollar-header.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/dollar-header.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/dollar-header.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/dollar-header.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/font-face.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/font-face.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/font-face.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/font-face.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/ie5mac.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/ie5mac.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/ie5mac.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/ie5mac.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-empty-class.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-empty-class.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-empty-class.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-empty-class.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-multi.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-multi.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-multi.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-multi.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-test.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-test.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-test.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/media-test.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/opacity-filter.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/opacity-filter.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/opacity-filter.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/opacity-filter.css.min
Normal file → Executable file
15
min_unit_tests/_test_files/yuic/preserve-case.css
Executable file
15
min_unit_tests/_test_files/yuic/preserve-case.css
Executable file
@@ -0,0 +1,15 @@
|
||||
#AddAddressForm {
|
||||
padding: 0;
|
||||
}
|
||||
#AddAddressForm .messageBoxNeutral {
|
||||
padding: 0;
|
||||
}
|
||||
#FeedbackMailForm{
|
||||
padding: 0;
|
||||
}
|
||||
#FeedbackMailForm .classe{
|
||||
margin: 0;
|
||||
}
|
||||
.classes, #FeedBackMailForm {
|
||||
margin: 0;
|
||||
}
|
1
min_unit_tests/_test_files/yuic/preserve-case.css.min
Executable file
1
min_unit_tests/_test_files/yuic/preserve-case.css.min
Executable file
@@ -0,0 +1 @@
|
||||
#AddAddressForm{padding:0}#AddAddressForm .messageBoxNeutral{padding:0}#FeedbackMailForm{padding:0}#FeedbackMailForm .classe{margin:0}.classes,#FeedBackMailForm{margin:0}
|
0
min_unit_tests/_test_files/yuic/preserve-new-line.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/preserve-new-line.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/preserve-new-line.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/preserve-new-line.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/preserve-strings.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/preserve-strings.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/preserve-strings.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/preserve-strings.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/pseudo-first.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/pseudo-first.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/pseudo-first.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/pseudo-first.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/pseudo.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/pseudo.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/pseudo.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/pseudo.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/special-comments.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/special-comments.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/special-comments.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/special-comments.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/star-underscore-hacks.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/star-underscore-hacks.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/star-underscore-hacks.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/star-underscore-hacks.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/string-in-comment.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/string-in-comment.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/string-in-comment.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/string-in-comment.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/webkit-transform.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/webkit-transform.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/webkit-transform.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/webkit-transform.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/zeros.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/zeros.css
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/zeros.css.min
Normal file → Executable file
0
min_unit_tests/_test_files/yuic/zeros.css.min
Normal file → Executable file
43
min_unit_tests/test_CSSmin.php
Normal file
43
min_unit_tests/test_CSSmin.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
require_once '_inc.php';
|
||||
|
||||
require_once 'CSSmin.php';
|
||||
|
||||
function test_CSSmin()
|
||||
{
|
||||
$files = glob(dirname(__FILE__) . '/_test_files/yuic/*.css');
|
||||
|
||||
// @todo determine why these crash. memroy exhaustion?
|
||||
$skip = array(
|
||||
'dataurl-base64-doublequotes.css',
|
||||
'dataurl-base64-noquotes.css',
|
||||
'dataurl-base64-singlequotes.css',
|
||||
);
|
||||
|
||||
foreach ($files as $file) {
|
||||
if (in_array(basename($file), $skip)) {
|
||||
echo "INFO: CSSmin: skipping " . basename($file) . "\n";
|
||||
continue;
|
||||
}
|
||||
|
||||
$cssmin = new CSSmin();
|
||||
|
||||
$src = file_get_contents($file);
|
||||
$minExpected = file_get_contents($file . '.min');
|
||||
|
||||
// echo "$file\n\n";
|
||||
// ob_flush();
|
||||
// flush();
|
||||
$minOutput = $cssmin->run($src, 100);
|
||||
$passed = assertTrue($minExpected == $minOutput, 'CSSmin : ' . basename($file));
|
||||
if (! $passed && __FILE__ === realpath($_SERVER['SCRIPT_FILENAME'])) {
|
||||
echo "\n---Output: " .countBytes($minOutput). " bytes\n\n{$minOutput}\n\n";
|
||||
echo "---Expected: " .countBytes($minExpected). " bytes\n\n{$minExpected}\n\n";
|
||||
echo "---Source: " .countBytes($src). " bytes\n\n{$src}\n\n\n";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
test_CSSmin();
|
Reference in New Issue
Block a user