1 |
|
2008-02-11 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* CSSRule.pm (@import css_text): Implemented. |
4 |
|
|
5 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* CSSStyleSheet.pm (manakai_input_encoding): New. |
8 |
|
|
9 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
11 |
|
* CSSRule.pm (@media, @import ____new): Bless media object |
12 |
|
with the appropriate class. |
13 |
|
(@media css_text): Getter implemented. |
14 |
|
|
15 |
|
* MediaList.pm (media_text): Getter implemented. |
16 |
|
|
17 |
|
2008-02-03 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* CSSStyleDeclaration.pm ($serialize_value): Support |
20 |
|
for new value types. |
21 |
|
|
22 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* CSSStyleDeclaration.pm ($serialize_value): New (was |
25 |
|
part of Whatpm::CSS::Parser as $default_serializer). |
26 |
|
Use it instead of old 'serialize' parameter of CSS |
27 |
|
property definition. |
28 |
|
|
29 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* CSSStyleDeclaration.pm (css_text): Prepend | ! | before |
32 |
|
the priority token if any. |
33 |
|
(get_property_priority): Shorthand case implemented. |
34 |
|
|
35 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
37 |
|
* CSSStyleDeclaration.pm: Use |serialize_shorthand| |
38 |
|
and |serialize_multiple| to serialize shorthand properties |
39 |
|
in reflecting attributes. Return value of |
40 |
|
the |serialzie_multiple| function has been changed. |
41 |
|
(non-computed css_text): Sort by property names. |
42 |
|
|
43 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* Window.pm (manakai_get_computed_style): Renamed |
46 |
|
from |get_computed_style|. |
47 |
|
|
48 |
|
* Element.pm (manakai_computed_style): Renamed from |current_style|. |
49 |
|
|
50 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* CSSStyleDeclaration.pm (AUTOLOAD): DOM attributes reflecting |
53 |
|
shorthand properties did croak (fixed but still they does not |
54 |
|
return correct result - they need to be fixed later). |
55 |
|
|
56 |
|
* Element.pm (query_selector, query_selector_all): Prototypes |
57 |
|
were missing. |
58 |
|
|
59 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* Window.pm (___reset_css): Typo fixed. |
62 |
|
|
63 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
65 |
|
* CSSStyleDeclaration.pm: The classes now explicitly implement |
66 |
|
the |CSS2Properties| interface. |
67 |
|
(@{}, TIEARRAY, FETCH, FETCHSIZE, EXISTS, item, length): Implemented. |
68 |
|
|
69 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* CSSStyleDeclaration.pm (attributes reflecting CSS properties): |
72 |
|
Return an empty string if no value is assigned to the property. Insert |
73 |
|
a SPACE before '!' for compatibility with Firefox. |
74 |
|
|
75 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* CSSRule.pm (css_text): Trailing newline character is removed |
78 |
|
to avoid double empty lines in CSSStyleSheet->css_text. |
79 |
|
(selector_text): Namespace support is fixed. |
80 |
|
|
81 |
|
* CSSStyleSheet.pm (___new): Now it accepts |_nsmap| option. |
82 |
|
|
83 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* CSSRule.pm (selector_text): Use |serialize_selector_text| |
86 |
|
to get better result. |
87 |
|
|
88 |
|
2008-01-13 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* Window.pm: New Perl module. |
91 |
|
|
92 |
|
* Document.pm (default_view): Implemented. |
93 |
|
|
94 |
|
* Element.pm (current_style): Implemented. |
95 |
|
|
96 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
|
* CSSStyleDeclaration.pm (css_text): Allow to shorten a complete |
99 |
|
set of longhand properties. |
100 |
|
(get_property_priority): Implemented. |
101 |
|
(CSSComputedStyleDeclaration AUTOLOAD): Implemented for reflecting |
102 |
|
attributes. |
103 |
|
|
104 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
105 |
|
|
106 |
|
* CSSStyleDeclaration.pm (css_text): Allow |{compute_multiple}| |
107 |
|
as well as |{compute}| as a way to filter out longhand |
108 |
|
properties. Sort properties by names for readability. |
109 |
|
|
110 |
|
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* CSSStyleDeclaration.pm (css_text): Output |undef| property |
113 |
|
information for debugging. |
114 |
|
|
115 |
|
* CSSStyleSheet.pm (manakai_base_uri): New attribute. |
116 |
|
|
117 |
|
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
|
* CSSStyleDeclaration.pm (CSSComputedStyleDeclaration): New class. |
120 |
|
|
121 |
|
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
123 |
|
* SelectorsAPI.pm, Document.pm (___query_selector_all): New internal |
124 |
|
method. |
125 |
|
|
126 |
|
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
127 |
|
|
128 |
|
* SelectorsAPI.pm: Make simple-selector-sequence-matching |
129 |
|
an independent function. |
130 |
|
|
131 |
|
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
132 |
|
|
133 |
|
* CSSStyleDeclaration.pm (AUTOLOAD): Getter for attributes |
134 |
|
reflecting CSS property is implemented. |
135 |
|
(css_text): Getter is implemented. |
136 |
|
|
137 |
|
2007-12-24 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* CSSRule.pm (selector_text): Ad hoc support for namespace prefixes. |
140 |
|
(CSSNamespaceRule.css_text): Getter implemented. |
141 |
|
|
142 |
|
* CSSStyleSheet.pm (manakai_is_default_namespace, |
143 |
|
manakai_lookup_namespace_prefix): New methods. |
144 |
|
|
145 |
|
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
|
* CSSRule.pm (@charset.css_text): Implemented. |
148 |
|
|
149 |
|
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
150 |
|
|
151 |
|
* CSSRule.pm (type, css_text): Typo fixed. |
152 |
|
(____new): s/_selector/_selectors/g; |
153 |
|
(CSSStyleRule.css_text, selectors_text): Ad hoc implementation. |
154 |
|
|
155 |
|
* CSSStyleDeclaration.pm (css_text): Ad hoc implementation. |
156 |
|
|
157 |
|
* CSSStyleSheet.pm (new): s/new/____new/. |
158 |
|
(css_text): New attribute. |
159 |
|
|
160 |
|
2007-12-22 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
162 |
|
* MediaList.pm: New placeholder for a CSSOM interface. |
163 |
|
|
164 |
|
* CSSRule.pm, CSSStyleSheet.pm: Implementing the initial |
165 |
|
setting of owner* and parent* attributes; support |
166 |
|
for the |delete_rule| method. |
167 |
|
|
168 |
|
2007-12-22 Wakaba <wakaba@suika.fam.cx> |
169 |
|
|
170 |
|
* CSSStyleSheet.pm, CSSRule.pm, CSSRuleList.pm, CSSStyleDeclaration.pm: |
171 |
|
First version of CSSOM implementation. |
172 |
|
|
173 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
174 |
|
|
175 |
|
* Document.pm, Entity.pm (manakai_has_bom, |
176 |
|
manakai_charset): New attributes. |
177 |
|
|
178 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
179 |
|
|
180 |
* Document.pm, Element.pm (inner_html): Use |Whatpm::HTML::Serializer| |
* Document.pm, Element.pm (inner_html): Use |Whatpm::HTML::Serializer| |