1 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Parser.pm ($default_serializer, serialize parameters): Removed (now |
4 |
|
it is part of manakai Message::DOM::CSSStyleDeclaration). |
5 |
|
('overflow' key): Removed (since it is a shorthand property). |
6 |
|
|
7 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
8 |
|
|
9 |
|
* Parser.pm ('font', 'cursor'): Serializer are |
10 |
|
merged with $default_serializer. |
11 |
|
|
12 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* Parser.pm ($default_serializer): New 'RECT' type supported. |
15 |
|
('clip'): Implemented. |
16 |
|
|
17 |
|
2008-01-30 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* Parser.pm ($default_serializer): New 'ADDCOUNTER' |
20 |
|
and 'SETCOUNTER' types supported. |
21 |
|
('content'): 'counter()' and 'counters()' are supported iff |
22 |
|
the property 'counter-reset' is supported. |
23 |
|
('counter-reset', 'counter-increment'): Implemented. |
24 |
|
|
25 |
|
2008-01-28 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
27 |
|
* Parser.pm ($default_serializer): New 'CONTENT' type supported. |
28 |
|
('content'): Implemented. |
29 |
|
|
30 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
32 |
|
* Parser.pm ($default_serializer): 'QUOTES' type supported. |
33 |
|
('quotes'): Implemented. |
34 |
|
|
35 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
37 |
|
* Parser.pm ($one_keyword_parser): More accurate error location |
38 |
|
reporting. |
39 |
|
('overflow-x', 'overflow-y'): Implemented. |
40 |
|
('overflow'): Reimplemented as a shorthand. |
41 |
|
|
42 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* Parser.pm ('opacity' parse): Support for '+'. |
45 |
|
|
46 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
48 |
|
* Parser.pm ('letter-spacing' parse): Support for '+'. |
49 |
|
('border-spacing' serialize_multiple): Revised taking into |
50 |
|
account 'import' and 'inherit'. |
51 |
|
('border-spacing' parse): Support for '+'. |
52 |
|
|
53 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* Parser.pm ($parse_color): Support for '+'. HSL to RGB |
56 |
|
convertion was wrong. |
57 |
|
('orphans', 'background-position' parse): Support for '+'. |
58 |
|
|
59 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* Parser.pm ('z-index', 'line-height', 'border-width' parse): Support |
62 |
|
for '+'. |
63 |
|
('margin-top' parse): Fixed to report more accureate error |
64 |
|
position. |
65 |
|
('right'): Negative values and 'auto' were not supported. |
66 |
|
|
67 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* Parser.pm ('font-weight' parser): Support for '+'. |
70 |
|
|
71 |
|
* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
72 |
|
|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
73 |
|
|
74 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
77 |
|
report more accurate error position. Enabled the |
78 |
|
support for '-webkit-xxx-large'. |
79 |
|
('font' parse): Support for '+' in <'font-weight'> |
80 |
|
and <'font-size'>. |
81 |
|
|
82 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
85 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
86 |
|
and 'important' into account. |
87 |
|
('background' parse): Support for '+'. Correct initial value |
88 |
|
for 'background-position-y' was not set in some cases. |
89 |
|
Wrong value was set to 'background-position-x' in some case. |
90 |
|
Did not return by some syntax errors. |
91 |
|
|
92 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
95 |
|
|
96 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
97 |
|
argument to the |get_char| function. |
98 |
|
|
99 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
102 |
|
to take 'inherit' and 'important' into account. |
103 |
|
|
104 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
105 |
|
|
106 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
107 |
|
leading | ! |s in the priority part were removed (now they |
108 |
|
are added by |css_text| attribute implementation). |
109 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
110 |
|
fixed. |
111 |
|
|
112 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
113 |
|
|
114 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
115 |
|
($generic_font_keywords): Typo fixed. |
116 |
|
|
117 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
120 |
|
are changed. |
121 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
122 |
|
Implemented. |
123 |
|
('border-style' serialize_shorthand, 'border-color' |
124 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
125 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
126 |
|
'border-bottom' serialize_shorthand, 'border-right' |
127 |
|
serialize_shorthand): New. |
128 |
|
|
129 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
131 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
132 |
|
duplicate declarations was incorrect. |
133 |
|
(margin): Use 'margin' shorthand property for serializing |
134 |
|
margin-related properties if possible. Support for the |+| |
135 |
|
sign in <'margin'> is added. |
136 |
|
|
137 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
140 |
|
similar properties. |
141 |
|
|
142 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
145 |
|
to the standard error output) is defined. |
146 |
|
(parse_char_string {get_char}): Set the next number to the |
147 |
|
column number of the last character as the column of the |
148 |
|
end of file pseudo-character. |
149 |
|
|
150 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
151 |
|
|
152 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
153 |
|
|
154 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
156 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
157 |
|
to all the onerror invocations. The |{onerror}| function |
158 |
|
is no longer called with |{line}| and |{column}| parameters. |
159 |
|
|
160 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
161 |
|
values. |
162 |
|
|
163 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
164 |
|
|
165 |
|
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
166 |
|
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
167 |
|
error handler calling codes are modified for the experimental |
168 |
|
support for more precious reporting of error location. |
169 |
|
|
170 |
|
* Tokenizer.pm (new): The |onerror| option has been removed, since |
171 |
|
it was never used. |
172 |
|
(get_next_token): Limited and experimental support for token |
173 |
|
emittion with the information on the position where it occurs. |
174 |
|
(serialize_token): New function. |
175 |
|
|
176 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
177 |
|
|
178 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
179 |
|
|
180 |
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
181 |
|
|
182 |
* Cascade.pm (get_cascaded_value): No longer have to test |
* Cascade.pm (get_cascaded_value): No longer have to test |