Commit Graph

33 Commits

Author SHA1 Message Date
Tom MacWright
cd053f88c3 Correctly handle negation filters in stylesheets 2011-01-20 20:13:03 -05:00
Konstantin Käfer
120e37bd8b add support for descendant selectors without class/id 2011-01-20 17:21:30 -05:00
Konstantin Käfer
5423bf706f remove combinators 2011-01-20 17:10:17 -05:00
Konstantin Käfer
0a5af927e3 Merge branch 'unstable' of github.com:developmentseed/mess.js into unstable 2011-01-20 14:11:58 -05:00
Konstantin Käfer
dff0af3fdf add the index of the selector declaration to the specificity for correct ordering. rules that appear later in the file appear earlier in the resulting array 2011-01-20 14:11:16 -05:00
Tom MacWright
54141df94d Document 2011-01-20 12:47:35 -05:00
Tom MacWright
3ded111f7e Merging, adding zoomfilter element type 2011-01-20 11:55:03 -05:00
Tom MacWright
6571489ef9 Adding zoomfilter type to alleviate filter complexity 2011-01-20 11:53:28 -05:00
Konstantin Käfer
ef597af7c0 rename rulesets to definitions 2011-01-20 11:48:00 -05:00
Konstantin Käfer
004578c2b6 add definition class for flattened rulesets 2011-01-20 11:45:29 -05:00
Konstantin Käfer
a8a91949fa doc 2011-01-20 11:15:17 -05:00
Konstantin Käfer
15fd744a54 split up selectors 2011-01-20 11:12:51 -05:00
Konstantin Käfer
b6f4ef57e3 change toMSS so that it returns the AST and remove some of the _ dependency 2011-01-20 10:35:01 -05:00
Konstantin Käfer
ca180ccc59 starting to process the styles from the layer's perspective 2011-01-20 09:59:28 -05:00
Tom MacWright
73e8cc8b7e Rewrite specificity to not break at > 10, rewrite specificitySort 2011-01-19 18:17:02 -05:00
Tom MacWright
ea5f76c8cf Adding reduceRules - see commented code to check out 2011-01-19 16:28:52 -05:00
Tom MacWright
cdf63cb997 Add matchingRulesets function for determing rulesets 2011-01-19 16:02:09 -05:00
Tom MacWright
066ba365fc Selector matching 2011-01-19 15:36:35 -05:00
Tom MacWright
37292a0c22 Remove parser.toAST, remove ruleset.toAST 2011-01-19 15:18:57 -05:00
Tom MacWright
e48bb6073b Start unstable branch - kkaefer's flatten work 2011-01-19 15:06:42 -05:00
Konstantin Käfer
5241f62bfd update test runner to be more verbose and show what failed on errors
uses node-xml2js to compare xml files
use ndistro to install dependencies

Conflicts:

	lib/mess/parser.js
	test/mess-test.js
2011-01-19 12:22:24 -05:00
Tom MacWright
248f09cdf6 Sadface sorting code. 2011-01-18 15:58:06 -05:00
Tom MacWright
20f0ed366d Adding flattenRules function. 2011-01-18 15:35:46 -05:00
Tom MacWright
d248372172 Starting AST work 2011-01-17 16:17:00 -05:00
Tom MacWright
b0e35f4441 Merge branch 'master' of github.com:developmentseed/mess.js into cascade 2011-01-17 15:39:59 -05:00
Konstantin Käfer
1fbcaf2164 Automatically close comments at the end of input instead of throwing a "Syntax Error on line 1" 2011-01-17 15:31:15 -05:00
Tom MacWright
cf003944b5 Google code style, not cloudhead's. Sorry, cloudhead 2011-01-17 14:46:22 -05:00
Tom MacWright
96d19204cf Simplifying nested example, removing compress variables and frames code. 2011-01-17 13:52:13 -05:00
Tom MacWright
51e9bd3ce8 Requirements for prior commit 2011-01-14 18:51:36 -05:00
Tom MacWright
c82a1fa260 Zoom support. Fixes #21 2011-01-10 18:10:23 -05:00
Tom MacWright
c59615245d Filters support 2011-01-10 11:47:34 -05:00
Tom MacWright
f833d9e589 Support attributes with numbers in their names 2011-01-10 11:47:10 -05:00
Tom MacWright
e5ba37d71e Full rename to mess 2011-01-05 14:23:28 -05:00