Changes in the handling of the format flags for list elements
commitad7ff0386d35139c0d9d67d5a96111650d3dde0a
authorFabienne Ducroquet <fabiduc@gmail.com>
Tue, 2 Apr 2013 18:51:55 +0000 (2 20:51 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 7 Sep 2013 08:51:54 +0000 (7 10:51 +0200)
treea4852473dec32804d32582a50b1f94e51e52342a
parenta229adb19a99292d2705ab742aba5808d75536ca
Changes in the handling of the format flags for list elements

* Rename P_STAR as P_DISC and P_PLUS as P_SQUARE.

* Delete P_NONE because it was used only as the default flag in init_html_parser
  and a list with P_NONE then got bullets, so instead use P_DISC by default (as
  per the CSS specification), and P_NO_BULLET for lists with no bullets.

* Use as bullets the characters:
  - U+25E6 WHITE BULLET for the circle style;
  - U+25AA BLACK SMALL SQUARE (alias square bullet) for the square style;
  - U+2022 BULLET for the disc style (default).

Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
src/document/css/apply.c
src/document/html/parser.c
src/document/html/parser.h
src/document/html/parser/general.c