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