Commit Graph

525 Commits

Author SHA1 Message Date
Niklas von Hertzen
053a0a4787 switched background rendering to use patterns 2013-01-03 22:25:35 +02:00
Niklas von Hertzen
65b4bdf282 background clipping support 2013-01-03 20:34:47 +02:00
Niklas von Hertzen
56780565f4 refactored border radius calculation 2013-01-03 18:37:27 +02:00
Andy Edinborough
55ed0ffde0 render placeholder text 2013-01-02 17:03:16 -06:00
Andy Edinborough
7da4326885 background-size fixes
generated gradients need a unique key (the same value can generate a
different image based on background-size); fix so that a single value
specified for background-size yields a scaled height as the second
parameter
2013-01-02 14:51:03 -06:00
Andy Edinborough
eb57b61859 backgroundPosition should use backgroundSize as a baseline for %'s 2013-01-02 13:45:58 -06:00
Niklas von Hertzen
bb73d3c15e initial border-radius rendering 2013-01-02 21:26:24 +02:00
Andy Edinborough
9b5ae9e191 support for pseudo elements 2013-01-02 12:58:48 -06:00
Andy Edinborough
2557a83dbe remove todo comment 2013-01-02 10:51:47 -06:00
Andy Edinborough
67ccb33dd5 add tests for resizeBounds 2013-01-02 10:47:36 -06:00
Andy Edinborough
85706166cc trimText regexp needs /g 2013-01-02 10:40:56 -06:00
Andy Edinborough
57d6003b65 backgroundSize needs trimmed before second split
also move trimText to Util
2013-01-02 10:39:00 -06:00
Andy Edinborough
9ce03d6e86 working background-size 2013-01-02 10:10:03 -06:00
Andy Edinborough
3d3f923ed8 implementing background-size; use parseBackgroundImage in render 2013-01-01 10:42:22 -06:00
Niklas von Hertzen
42abcfe5fc added border radius test 2012-12-31 20:10:18 +02:00
Andy Edinborough
473ff45267 Merge remote-tracking branch 'niklasvh/develop' into develop
Conflicts:
	src/Core.js
	src/Parse.js
	src/Util.js
2012-12-30 17:25:31 -06:00
Niklas von Hertzen
496c8488bd Moved font metrics to seperate file 2012-12-30 21:26:25 +02:00
Andy Edinborough
df0f436e66 initial support for backgroundSize 2012-12-30 12:30:48 -06:00
Andy Edinborough
6ce619f0c0 refactor Preload 2012-12-30 12:20:35 -06:00
Andy Edinborough
3774f3655c update test names 2012-12-30 11:22:47 -06:00
Andy Edinborough
0c66766d55 replace definition property, w/ args[]
Also fix reference for preloader
2012-12-30 11:21:44 -06:00
Niklas von Hertzen
ba9ace71ba improved text-decoration: overline accuracy 2012-12-30 16:46:31 +02:00
Niklas von Hertzen
b19c200c6c renamed results to readme 2012-12-30 16:30:28 +02:00
Niklas von Hertzen
29bd4c8c05 added result markdown creator 2012-12-30 16:29:01 +02:00
Niklas von Hertzen
0dd2c24ab4 refactored parsing init 2012-12-30 16:06:59 +02:00
Niklas von Hertzen
d93e36d768 Moved browser support checks to seperate file 2012-12-30 15:48:55 +02:00
Niklas von Hertzen
1357057cbf refactored background rendering 2012-12-30 15:38:17 +02:00
Niklas von Hertzen
74e93cbb93 refactoring backgroundimage rendering 2012-12-30 15:21:36 +02:00
Niklas von Hertzen
45853a083c refactored text rendering 2012-12-30 04:15:51 +02:00
Niklas von Hertzen
cb43e09899 refactor parsing 2012-12-30 01:39:37 +02:00
Niklas von Hertzen
bb1cd21367 refactored background color rendering 2012-12-30 01:11:05 +02:00
Niklas von Hertzen
5faa45847e refactored image rendering 2012-12-30 01:06:11 +02:00
Niklas von Hertzen
0c2572b5ce refactoring 2012-12-30 00:27:38 +02:00
Niklas von Hertzen
aa5b3d41c4 refactoring 2012-12-29 23:35:52 +02:00
Niklas von Hertzen
516edbceea Improve background-repeat accuracy for non int positions 2012-12-29 23:05:49 +02:00
Niklas von Hertzen
c72a02bf64 refactoring 2012-12-29 21:06:40 +02:00
Niklas von Hertzen
c3e9636e4f Moved renderer logic to renderer.js 2012-12-29 17:43:15 +02:00
Niklas von Hertzen
816ff6d3c5 updated testing instructions 2012-12-29 16:34:56 +02:00
Niklas von Hertzen
5f1fedf8f0 added npm dependencies 2012-12-29 16:31:57 +02:00
Niklas von Hertzen
a82234873e updated .gitignore 2012-12-29 16:04:50 +02:00
Niklas von Hertzen
d1ee6e9d64 removed baseline files 2012-12-29 16:02:46 +02:00
Niklas von Hertzen
e7b4dd17b9 updated readme 2012-12-29 15:31:24 +02:00
Niklas von Hertzen
05f3af4901 webdriver grunt task 2012-12-29 15:02:05 +02:00
Niklas von Hertzen
630bed968e baseline results 2012-12-29 15:01:48 +02:00
Niklas von Hertzen
7c870a6fb8 add border tests 2012-12-29 14:57:06 +02:00
Niklas von Hertzen
52033a5d72 Fixed jquery path 2012-12-29 14:34:01 +02:00
Niklas von Hertzen
07e80df399 Fixed lint error 2012-12-29 14:33:30 +02:00
Andy Edinborough
7e38df782c don't generate gradient on invisible elements 2012-12-28 16:52:48 -06:00
Andy Edinborough
7f1cbc70a8 fully remove regex; simplify whitespace check
jshint complained about case statements w/o break (boo)
2012-12-28 16:26:39 -06:00
Andy Edinborough
b81d7473e3 rewrite parseBackgroundImage to remove RegExp
RegExp couldn't handle parens inside parens:
linear-gradient(rgb(0,0,0),rgb(255,0,0))
2012-12-28 16:22:43 -06:00