/scalate-jruby/src/main/resources/haml-3.0.25/TODO

http://github.com/scalate/scalate · #! · 53 lines · 51 code · 2 blank · 0 comment · 0 complexity · dd7523687c99452564cfda64819931ff MD5 · raw file

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