| 1 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
| 4 |
|
to the standard error output) is defined. |
| 5 |
|
(parse_char_string {get_char}): Set the next number to the |
| 6 |
|
column number of the last character as the column of the |
| 7 |
|
end of file pseudo-character. |
| 8 |
|
|
| 9 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
| 10 |
|
|
| 11 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
| 12 |
|
|
| 13 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
| 14 |
|
|
| 15 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
| 16 |
|
to all the onerror invocations. The |{onerror}| function |
| 17 |
|
is no longer called with |{line}| and |{column}| parameters. |
| 18 |
|
|
| 19 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
| 20 |
|
values. |
| 21 |
|
|
| 22 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
| 23 |
|
|
| 24 |
|
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
| 25 |
|
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
| 26 |
|
error handler calling codes are modified for the experimental |
| 27 |
|
support for more precious reporting of error location. |
| 28 |
|
|
| 29 |
|
* Tokenizer.pm (new): The |onerror| option has been removed, since |
| 30 |
|
it was never used. |
| 31 |
|
(get_next_token): Limited and experimental support for token |
| 32 |
|
emittion with the information on the position where it occurs. |
| 33 |
|
(serialize_token): New function. |
| 34 |
|
|
| 35 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
| 36 |
|
|
| 37 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
| 38 |
|
|
| 39 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
| 40 |
|
|
| 41 |
|
* Cascade.pm (get_cascaded_value): No longer have to test |
| 42 |
|
whether priority is defined. |
| 43 |
|
|
| 44 |
|
* Parser.pm (parse_char_string): Set an empty string as the priority |
| 45 |
|
if no priority was specified. |
| 46 |
|
|
| 47 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
| 48 |
|
|
| 49 |
|
* Parser.pm (serialize, serialize_multiple): Return an empty |
| 50 |
|
string (not undef) if the property has no assigned value. |
| 51 |
|
|
| 52 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
| 53 |
|
|
| 54 |
|
* Parser.pm (parse_char_string): Namespace support is revised so |
| 55 |
|
that more Gecko-like namespace serialization can be implemented. |
| 56 |
|
|
| 57 |
|
* SelectorsSerializer.pm (serialize_selector_text): Revised. |
| 58 |
|
Now it does almost same as what Gecko does for namespace |
| 59 |
|
tratements, what Gecko does for universal selector omittion, and what |
| 60 |
|
Opera does for ordering (i.e. no sorting). Only one COLON |
| 61 |
|
for pseudo-elements since Gecko and Opera do so. |
| 62 |
|
|
| 63 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
| 64 |
|
|
| 65 |
|
* SelectorsSerializer.pm (serialize_selector_text): New method. |
| 66 |
|
|
| 67 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
| 68 |
|
|
| 69 |
|
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
| 70 |
|
|
| 71 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
| 72 |
|
|
| 73 |
|
* Parser.pm: 'font' is implemented. |
| 74 |
|
|
| 75 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
| 76 |
|
|
| 77 |
|
* Parser.pm: 'background' is implemented. |
| 78 |
|
|
| 79 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
| 80 |
|
|
| 81 |
|
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
| 82 |
|
'border-left', and 'outline' are implemented. White space characters |
| 83 |
|
were not allowed between property name and COLON. NUMBER and |
| 84 |
|
DIMENSION are not allowed as color in quirks mode. |
| 85 |
|
|
| 86 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
| 87 |
|
|
| 88 |
|
* Cascade.pm: The object now has new device-dependent |
| 89 |
|
parameter, |has_invert|. |
| 90 |
|
|
| 91 |
|
* Parser.pm: The object now has new device-dependent |
| 92 |
|
parameter, |clip_color| function. |
| 93 |
|
(parse_char_string): Inifinite-loop fixed for ignoring |
| 94 |
|
states. No longer check for '(' and '[' matchings for |
| 95 |
|
compatibility with browsers. |
| 96 |
|
($default_serializer): Support for 'RGBA' data type. |
| 97 |
|
(color): Reimplemented. |
| 98 |
|
(backbround-color, border-top-color, border-right-color, |
| 99 |
|
border-bottom-color, border-left-color, outline-color): Implemented. |
| 100 |
|
|
| 101 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
| 102 |
|
|
| 103 |
|
* Parser.pm (background-position, background-position-x, |
| 104 |
|
background-position-y): Implemented. |
| 105 |
|
|
| 106 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
| 107 |
|
|
| 108 |
|
* Parser.pm (border-spacing serialize_multiple): Implemented. |
| 109 |
|
|
| 110 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
| 111 |
|
|
| 112 |
|
* Parser.pm: Disallow '-' without following NUMBER or DIMENSION. |
| 113 |
|
(border-width serialize): Was incorrect. |
| 114 |
|
|
| 115 |
|
2008-01-05 Wakaba <wakaba@suika.fam.cx> |
| 116 |
|
|
| 117 |
|
* Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y, |
| 118 |
|
border-spacing): Implemented. |
| 119 |
|
|
| 120 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
| 121 |
|
|
| 122 |
|
* Parser.pm (letter-spacing, word-specing, text-indent, |
| 123 |
|
outline-width): Implemented. |
| 124 |
|
(outline-style): Don't allow 'hidden'. |
| 125 |
|
|
| 126 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
| 127 |
|
|
| 128 |
|
* Parser.pm ($default_serializer): Support for |
| 129 |
|
the |PERCENTAGE| data type. |
| 130 |
|
(padding-top, border-top-width): The parser now |
| 131 |
|
refers the parser of the 'margin-top'. |
| 132 |
|
(width, height, min-width, min-height, max-width, max-height, |
| 133 |
|
vertical-align, line-height): Implemented. |
| 134 |
|
|
| 135 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
| 136 |
|
|
| 137 |
|
* Cascade.pm (get_specified_value_no_inherit): New function. |
| 138 |
|
(get_computed_value): New way to get computed value, |
| 139 |
|
the |{compute_multiple}| code, is now supported. |
| 140 |
|
|
| 141 |
|
* Parser.pm (top, bottom, left, right): Implemented. |
| 142 |
|
|
| 143 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
| 144 |
|
|
| 145 |
|
* Parser.pm: Some condition operators were incorrect. |
| 146 |
|
The 'border-width' property family is implemented. |
| 147 |
|
|
| 148 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
| 149 |
|
|
| 150 |
|
* Parser.pm: Support for the 'margin' and 'padding' |
| 151 |
|
property families. |
| 152 |
|
|
| 153 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
| 154 |
|
|
| 155 |
|
* Parser.pm: 'font-size' support. |
| 156 |
|
|
| 157 |
|
* Cascade.pm (new): Set default value for 'font-size' |
| 158 |
|
relative- and absolute- value computations. |
| 159 |
|
|
| 160 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
| 161 |
|
|
| 162 |
|
* Cascade.pm (get_cascaded_value): "*"-only declaration blocks |
| 163 |
|
were ignored. |
| 164 |
|
|
| 165 |
|
* Parser.pm (cursor): Implemented. |
| 166 |
|
|
| 167 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
| 168 |
|
|
| 169 |
|
* Parser.pm (text-align, text-transform, white-space, |
| 170 |
|
caption-side, table-layout, border-collapse, empty-cells, |
| 171 |
|
outline-style, text-decoration): Implemented. |
| 172 |
|
|
| 173 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
| 174 |
|
|
| 175 |
|
* Cascade.pm (get_computed_value): Even when |inherit| is specified |
| 176 |
|
the value is resolved into the computed value by the |{compute}| |
| 177 |
|
code to support edge cases not mentioned in the CSS 2.1 spec (see |
| 178 |
|
<http://suika.fam.cx/gate/2005/sw/inherit>). |
| 179 |
|
|
| 180 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
| 181 |
|
|
| 182 |
* Cascade.pm (get_computed_value): Resolve initial value referred |
* Cascade.pm (get_computed_value): Resolve initial value referred |