| 1 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* Parser.pm: Support for Firefox3's new 'width' keywords. |
| 4 |
|
|
| 5 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
| 6 |
|
|
| 7 |
|
* Parser.pm (cursor): Support for 'hand' keyword. |
| 8 |
|
|
| 9 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
| 10 |
|
|
| 11 |
|
* MediaQueryParser.pm, SelectorsParser.pm, Parser.pm: Support |
| 12 |
|
for new style of error reports. |
| 13 |
|
|
| 14 |
|
2008-02-11 Wakaba <wakaba@suika.fam.cx> |
| 15 |
|
|
| 16 |
|
* Parser.pm: 'writing-mode', 'text-anchor', 'dominant-baseline', |
| 17 |
|
and 'alignment-baseline' are implemented. |
| 18 |
|
|
| 19 |
|
2008-02-11 Wakaba <wakaba@suika.fam.cx> |
| 20 |
|
|
| 21 |
|
* Parser.pm (parse_char_string): Precious '@charset' error |
| 22 |
|
reporting. |
| 23 |
|
|
| 24 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
| 25 |
|
|
| 26 |
|
* Parser.pm (parse_char_string): '@import' support. |
| 27 |
|
|
| 28 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
| 29 |
|
|
| 30 |
|
* Parser.pm (parse_char_string): Create a style sheet |
| 31 |
|
before the actual parsing (or use the style sheet created before |
| 32 |
|
the invocation to the method. |
| 33 |
|
(init): New. |
| 34 |
|
|
| 35 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
| 36 |
|
|
| 37 |
|
* Parser.pm: |attr(prefix|localname)| did not work. Support |
| 38 |
|
for uppercase namespace prefixes (namespace prefixes were |
| 39 |
|
not normalized into lowercase when they were looked up.). Report |
| 40 |
|
the property name token when an unknown property error is raised. |
| 41 |
|
The '-moz-pre-wrap' value is supported for 'white-space' property. |
| 42 |
|
('background-position'): 'center left' and 'center right' |
| 43 |
|
were not supported. |
| 44 |
|
|
| 45 |
|
* SelectorsParser.pm: Report the namespace prefix token when |
| 46 |
|
an undeclared prefix error is raised. S_TOKEN in |
| 47 |
|
COMBINATOR_STATE was not handled correctly. |
| 48 |
|
|
| 49 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
| 50 |
|
|
| 51 |
|
* Parser.pm (new): s/unsupported/u/; |
| 52 |
|
|
| 53 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
| 54 |
|
|
| 55 |
|
* Parser.pm: Support for '@nedia' at-rule. |
| 56 |
|
|
| 57 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
| 58 |
|
|
| 59 |
|
* MediaQueryParser.pm, MediaQuerySerializer.pm: New Perl modules. |
| 60 |
|
|
| 61 |
|
2008-02-03 Wakaba <wakaba@suika.fam.cx> |
| 62 |
|
|
| 63 |
|
* Parser.pm ('display', 'list-style-type', |
| 64 |
|
'caption-side'): CSS 2.0 values added. |
| 65 |
|
('font-size-adjust', 'font-stretch', 'marker-offset'): Implemented. |
| 66 |
|
($length_percentage_keyword_parser): Now this is in a variable. |
| 67 |
|
($length_keyword_parser): Now this is in a variable, too. |
| 68 |
|
('font'): Reset 'font-size-adjust' and 'font-stretch' as |
| 69 |
|
defined by CSS2. |
| 70 |
|
('marks', 'size', 'page'): Implemented. |
| 71 |
|
|
| 72 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
| 73 |
|
|
| 74 |
|
* Parser.pm ($default_serializer, serialize parameters): Removed (now |
| 75 |
|
it is part of manakai Message::DOM::CSSStyleDeclaration). |
| 76 |
|
('overflow' key): Removed (since it is a shorthand property). |
| 77 |
|
|
| 78 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
| 79 |
|
|
| 80 |
|
* Parser.pm ('font', 'cursor'): Serializer are |
| 81 |
|
merged with $default_serializer. |
| 82 |
|
|
| 83 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
| 84 |
|
|
| 85 |
|
* Parser.pm ($default_serializer): New 'RECT' type supported. |
| 86 |
|
('clip'): Implemented. |
| 87 |
|
|
| 88 |
|
2008-01-30 Wakaba <wakaba@suika.fam.cx> |
| 89 |
|
|
| 90 |
|
* Parser.pm ($default_serializer): New 'ADDCOUNTER' |
| 91 |
|
and 'SETCOUNTER' types supported. |
| 92 |
|
('content'): 'counter()' and 'counters()' are supported iff |
| 93 |
|
the property 'counter-reset' is supported. |
| 94 |
|
('counter-reset', 'counter-increment'): Implemented. |
| 95 |
|
|
| 96 |
|
2008-01-28 Wakaba <wakaba@suika.fam.cx> |
| 97 |
|
|
| 98 |
|
* Parser.pm ($default_serializer): New 'CONTENT' type supported. |
| 99 |
|
('content'): Implemented. |
| 100 |
|
|
| 101 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
| 102 |
|
|
| 103 |
|
* Parser.pm ($default_serializer): 'QUOTES' type supported. |
| 104 |
|
('quotes'): Implemented. |
| 105 |
|
|
| 106 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
| 107 |
|
|
| 108 |
|
* Parser.pm ($one_keyword_parser): More accurate error location |
| 109 |
|
reporting. |
| 110 |
|
('overflow-x', 'overflow-y'): Implemented. |
| 111 |
|
('overflow'): Reimplemented as a shorthand. |
| 112 |
|
|
| 113 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
| 114 |
|
|
| 115 |
|
* Parser.pm ('opacity' parse): Support for '+'. |
| 116 |
|
|
| 117 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
| 118 |
|
|
| 119 |
|
* Parser.pm ('letter-spacing' parse): Support for '+'. |
| 120 |
|
('border-spacing' serialize_multiple): Revised taking into |
| 121 |
|
account 'import' and 'inherit'. |
| 122 |
|
('border-spacing' parse): Support for '+'. |
| 123 |
|
|
| 124 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
| 125 |
|
|
| 126 |
|
* Parser.pm ($parse_color): Support for '+'. HSL to RGB |
| 127 |
|
convertion was wrong. |
| 128 |
|
('orphans', 'background-position' parse): Support for '+'. |
| 129 |
|
|
| 130 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
| 131 |
|
|
| 132 |
|
* Parser.pm ('z-index', 'line-height', 'border-width' parse): Support |
| 133 |
|
for '+'. |
| 134 |
|
('margin-top' parse): Fixed to report more accureate error |
| 135 |
|
position. |
| 136 |
|
('right'): Negative values and 'auto' were not supported. |
| 137 |
|
|
| 138 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 139 |
|
|
| 140 |
|
* Parser.pm ('font-weight' parser): Support for '+'. |
| 141 |
|
|
| 142 |
|
* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
| 143 |
|
|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
| 144 |
|
|
| 145 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 146 |
|
|
| 147 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
| 148 |
|
report more accurate error position. Enabled the |
| 149 |
|
support for '-webkit-xxx-large'. |
| 150 |
|
('font' parse): Support for '+' in <'font-weight'> |
| 151 |
|
and <'font-size'>. |
| 152 |
|
|
| 153 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 154 |
|
|
| 155 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
| 156 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
| 157 |
|
and 'important' into account. |
| 158 |
|
('background' parse): Support for '+'. Correct initial value |
| 159 |
|
for 'background-position-y' was not set in some cases. |
| 160 |
|
Wrong value was set to 'background-position-x' in some case. |
| 161 |
|
Did not return by some syntax errors. |
| 162 |
|
|
| 163 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 164 |
|
|
| 165 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
| 166 |
|
|
| 167 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
| 168 |
|
argument to the |get_char| function. |
| 169 |
|
|
| 170 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 171 |
|
|
| 172 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
| 173 |
|
to take 'inherit' and 'important' into account. |
| 174 |
|
|
| 175 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 176 |
|
|
| 177 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
| 178 |
|
leading | ! |s in the priority part were removed (now they |
| 179 |
|
are added by |css_text| attribute implementation). |
| 180 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
| 181 |
|
fixed. |
| 182 |
|
|
| 183 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 184 |
|
|
| 185 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
| 186 |
|
($generic_font_keywords): Typo fixed. |
| 187 |
|
|
| 188 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 189 |
|
|
| 190 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
| 191 |
|
are changed. |
| 192 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
| 193 |
|
Implemented. |
| 194 |
|
('border-style' serialize_shorthand, 'border-color' |
| 195 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
| 196 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
| 197 |
|
'border-bottom' serialize_shorthand, 'border-right' |
| 198 |
|
serialize_shorthand): New. |
| 199 |
|
|
| 200 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
| 201 |
|
|
| 202 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
| 203 |
|
duplicate declarations was incorrect. |
| 204 |
|
(margin): Use 'margin' shorthand property for serializing |
| 205 |
|
margin-related properties if possible. Support for the |+| |
| 206 |
|
sign in <'margin'> is added. |
| 207 |
|
|
| 208 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
| 209 |
|
|
| 210 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
| 211 |
|
similar properties. |
| 212 |
|
|
| 213 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
| 214 |
|
|
| 215 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
| 216 |
|
to the standard error output) is defined. |
| 217 |
|
(parse_char_string {get_char}): Set the next number to the |
| 218 |
|
column number of the last character as the column of the |
| 219 |
|
end of file pseudo-character. |
| 220 |
|
|
| 221 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
| 222 |
|
|
| 223 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
| 224 |
|
|
| 225 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
| 226 |
|
|
| 227 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
| 228 |
|
to all the onerror invocations. The |{onerror}| function |
| 229 |
|
is no longer called with |{line}| and |{column}| parameters. |
| 230 |
|
|
| 231 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
| 232 |
|
values. |
| 233 |
|
|
| 234 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
| 235 |
|
|
| 236 |
|
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
| 237 |
|
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
| 238 |
|
error handler calling codes are modified for the experimental |
| 239 |
|
support for more precious reporting of error location. |
| 240 |
|
|
| 241 |
|
* Tokenizer.pm (new): The |onerror| option has been removed, since |
| 242 |
|
it was never used. |
| 243 |
|
(get_next_token): Limited and experimental support for token |
| 244 |
|
emittion with the information on the position where it occurs. |
| 245 |
|
(serialize_token): New function. |
| 246 |
|
|
| 247 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
| 248 |
|
|
| 249 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
| 250 |
|
|
| 251 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
| 252 |
|
|
| 253 |
|
* Cascade.pm (get_cascaded_value): No longer have to test |
| 254 |
|
whether priority is defined. |
| 255 |
|
|
| 256 |
|
* Parser.pm (parse_char_string): Set an empty string as the priority |
| 257 |
|
if no priority was specified. |
| 258 |
|
|
| 259 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
| 260 |
|
|
| 261 |
|
* Parser.pm (serialize, serialize_multiple): Return an empty |
| 262 |
|
string (not undef) if the property has no assigned value. |
| 263 |
|
|
| 264 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
| 265 |
|
|
| 266 |
|
* Parser.pm (parse_char_string): Namespace support is revised so |
| 267 |
|
that more Gecko-like namespace serialization can be implemented. |
| 268 |
|
|
| 269 |
|
* SelectorsSerializer.pm (serialize_selector_text): Revised. |
| 270 |
|
Now it does almost same as what Gecko does for namespace |
| 271 |
|
tratements, what Gecko does for universal selector omittion, and what |
| 272 |
|
Opera does for ordering (i.e. no sorting). Only one COLON |
| 273 |
|
for pseudo-elements since Gecko and Opera do so. |
| 274 |
|
|
| 275 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
| 276 |
|
|
| 277 |
|
* SelectorsSerializer.pm (serialize_selector_text): New method. |
| 278 |
|
|
| 279 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
| 280 |
|
|
| 281 |
|
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
| 282 |
|
|
| 283 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
| 284 |
|
|
| 285 |
|
* Parser.pm: 'font' is implemented. |
| 286 |
|
|
| 287 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
| 288 |
|
|
| 289 |
|
* Parser.pm: 'background' is implemented. |
| 290 |
|
|
| 291 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
| 292 |
|
|
| 293 |
|
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
| 294 |
|
'border-left', and 'outline' are implemented. White space characters |
| 295 |
|
were not allowed between property name and COLON. NUMBER and |
| 296 |
|
DIMENSION are not allowed as color in quirks mode. |
| 297 |
|
|
| 298 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
| 299 |
|
|
| 300 |
|
* Cascade.pm: The object now has new device-dependent |
| 301 |
|
parameter, |has_invert|. |
| 302 |
|
|
| 303 |
|
* Parser.pm: The object now has new device-dependent |
| 304 |
|
parameter, |clip_color| function. |
| 305 |
|
(parse_char_string): Inifinite-loop fixed for ignoring |
| 306 |
|
states. No longer check for '(' and '[' matchings for |
| 307 |
|
compatibility with browsers. |
| 308 |
|
($default_serializer): Support for 'RGBA' data type. |
| 309 |
|
(color): Reimplemented. |
| 310 |
|
(backbround-color, border-top-color, border-right-color, |
| 311 |
|
border-bottom-color, border-left-color, outline-color): Implemented. |
| 312 |
|
|
| 313 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
| 314 |
|
|
| 315 |
|
* Parser.pm (background-position, background-position-x, |
| 316 |
|
background-position-y): Implemented. |
| 317 |
|
|
| 318 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
| 319 |
|
|
| 320 |
|
* Parser.pm (border-spacing serialize_multiple): Implemented. |
| 321 |
|
|
| 322 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
| 323 |
|
|
| 324 |
|
* Parser.pm: Disallow '-' without following NUMBER or DIMENSION. |
| 325 |
|
(border-width serialize): Was incorrect. |
| 326 |
|
|
| 327 |
|
2008-01-05 Wakaba <wakaba@suika.fam.cx> |
| 328 |
|
|
| 329 |
|
* Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y, |
| 330 |
|
border-spacing): Implemented. |
| 331 |
|
|
| 332 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
| 333 |
|
|
| 334 |
|
* Parser.pm (letter-spacing, word-specing, text-indent, |
| 335 |
|
outline-width): Implemented. |
| 336 |
|
(outline-style): Don't allow 'hidden'. |
| 337 |
|
|
| 338 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
| 339 |
|
|
| 340 |
|
* Parser.pm ($default_serializer): Support for |
| 341 |
|
the |PERCENTAGE| data type. |
| 342 |
|
(padding-top, border-top-width): The parser now |
| 343 |
|
refers the parser of the 'margin-top'. |
| 344 |
|
(width, height, min-width, min-height, max-width, max-height, |
| 345 |
|
vertical-align, line-height): Implemented. |
| 346 |
|
|
| 347 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
| 348 |
|
|
| 349 |
|
* Cascade.pm (get_specified_value_no_inherit): New function. |
| 350 |
|
(get_computed_value): New way to get computed value, |
| 351 |
|
the |{compute_multiple}| code, is now supported. |
| 352 |
|
|
| 353 |
|
* Parser.pm (top, bottom, left, right): Implemented. |
| 354 |
|
|
| 355 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
| 356 |
|
|
| 357 |
|
* Parser.pm: Some condition operators were incorrect. |
| 358 |
|
The 'border-width' property family is implemented. |
| 359 |
|
|
| 360 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
| 361 |
|
|
| 362 |
|
* Parser.pm: Support for the 'margin' and 'padding' |
| 363 |
|
property families. |
| 364 |
|
|
| 365 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
| 366 |
|
|
| 367 |
|
* Parser.pm: 'font-size' support. |
| 368 |
|
|
| 369 |
|
* Cascade.pm (new): Set default value for 'font-size' |
| 370 |
|
relative- and absolute- value computations. |
| 371 |
|
|
| 372 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
| 373 |
|
|
| 374 |
|
* Cascade.pm (get_cascaded_value): "*"-only declaration blocks |
| 375 |
|
were ignored. |
| 376 |
|
|
| 377 |
|
* Parser.pm (cursor): Implemented. |
| 378 |
|
|
| 379 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
| 380 |
|
|
| 381 |
* Parser.pm (text-align, text-transform, white-space, |
* Parser.pm (text-align, text-transform, white-space, |