Commit Graph

349 Commits

Author SHA1 Message Date
Niklas von Hertzen
b2df50a858 Allow element node to be passed 2013-01-30 20:12:25 +02:00
Niklas von Hertzen
8ddf10fc04 Fix taint testing 2013-01-12 22:28:00 +02:00
Niklas von Hertzen
410537456a Reordered grunt tasks 2013-01-12 19:01:24 +02:00
Niklas von Hertzen
3aa7d69cc7 updated examples 2013-01-12 01:41:09 +02:00
Niklas von Hertzen
7a3dd7572c updated readme 2013-01-12 01:34:00 +02:00
Niklas von Hertzen
1b37c5d1ea Refactored preload 2013-01-11 23:01:29 +02:00
Niklas von Hertzen
67850f2cee Refactoring 2013-01-11 22:50:46 +02:00
Niklas von Hertzen
88dd1e41c0 Moved pseudoelement rendering to parse.js 2013-01-11 22:36:23 +02:00
Niklas von Hertzen
554185ed4a pseudoelement tests 2013-01-11 22:33:40 +02:00
Niklas von Hertzen
222dfa84b7 remove legacy code 2013-01-11 20:38:33 +02:00
Niklas von Hertzen
9b0c32c62c Fix firefox pseudoelement bug for images 2013-01-11 20:36:07 +02:00
Niklas von Hertzen
2bb926c7d0 Fix webkit-gradient() parsing 2013-01-11 20:31:34 +02:00
Niklas von Hertzen
861a18f977 Fix Chrome background-repeat parse error 2013-01-11 19:51:53 +02:00
Niklas von Hertzen
cf15c4a59f Updated readme 2013-01-11 19:39:35 +02:00
Niklas von Hertzen
2f3f27b672 Fix crash for browsers that don't support placeholder attribute 2013-01-11 19:34:56 +02:00
Niklas von Hertzen
3032dc6ce0 Fix empty content getting rendered on firefox/IE 2013-01-11 19:31:05 +02:00
Andy Edinborough
2b0db917e3 don't process pseudo elements for hidden elements; cleanup pseudo elements after render 2013-01-11 10:46:53 -06:00
Andy Edinborough
d73e53fbf0 Merge remote-tracking branch 'niklasvh/develop' into develop 2013-01-11 09:51:59 -06:00
Niklas von Hertzen
6d29cc5df3 chinese word rendering 2013-01-04 23:47:59 +02:00
Andy Edinborough
dc21fab450 missing braces 2013-01-03 17:10:57 -06:00
Andy Edinborough
5492d80135 simply resize images to background-size 2013-01-03 17:09:23 -06:00
Niklas von Hertzen
a313524aa4 refactored renderer 2013-01-03 23:15:06 +02:00
Andy Edinborough
3edf9fa743 Merge remote-tracking branch 'niklasvh/develop' into develop
Conflicts:
	src/Parse.js
	src/Preload.js
2013-01-03 15:07:38 -06:00
Niklas von Hertzen
7d7deca342 updated results 2013-01-03 22:30:52 +02:00
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