1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/TODO

54 lines
2 KiB
Text
Raw Normal View History

y# -*- mode: org -*-
#+STARTUP: nofold
2009-03-30 18:24:37 -04:00
2009-03-29 05:20:14 -04:00
* Documentation
Redo tutorial?
2009-07-19 18:49:12 -04:00
Using helpers
haml_concat and haml_tag in particular
Syntax highlighting?
2009-03-29 05:20:14 -04:00
* Code
Keep track of error offsets everywhere
2009-07-19 16:59:35 -04:00
Use this to show error location in messages
Just clean up SassScript syntax errors in general
Lexer errors in particular are icky
See in particular error changes made in c07b5c8
2009-03-29 05:20:14 -04:00
** Haml
Support finer-grained HTML-escaping in filters
Speed
Make tags with dynamic attributes pre-render as much as possible
Including the attribute name where doable
:ugly + :html improvements
2009-06-28 03:15:37 -04:00
Ignore closing tags where we can
http://code.google.com/speed/articles/optimizing-html.html
Requires Haml parsing refactor
Don't quote attributes that don't require it
2009-06-28 03:17:46 -04:00
http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.2.2
http://www.w3.org/TR/html5/syntax.html#attributes
2009-03-29 05:20:14 -04:00
** Sass
Benchmark the effects of storing the raw template in sassc
If it's expensive, overload RootNode dumping/loading to dup and set @template to nil
Then fall back on reading from actual file
Make Rack middleware the default for Rails and Merb versions that support it
CSS superset
Classes are mixins
2009-06-19 07:09:35 -04:00
Can refer to specific property values? Syntax?
Pull in Compass watcher stuff
Internationalization
2009-03-29 05:30:28 -04:00
Particularly word constituents in Regexps
Optimization
2009-03-29 05:30:28 -04:00
http://csstidy.sourceforge.net/
http://developer.yahoo.com/yui/compressor/
2009-03-29 05:30:28 -04:00
Also comma-folding identical rules where possible
Multiple levels
0: No optimization
1: Nothing that changes doc structure
No comma-folding
2: Anything that keeps functionality identical to O2 (default)
3: Assume order of rules doesn't matter
2009-04-22 03:16:03 -04:00
Comma-fold even if there are intervening rules that might interfere
CSS3
Add (optional) support for http://www.w3.org/TR/css3-values/#calc
Cross-unit arithmetic should compile into this
Should we use "mod" in Sass for consistency?