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