File: backlog.rst

package info (click to toggle)
cssutils 2.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,312 kB
  • sloc: python: 23,625; javascript: 803; sh: 62; makefile: 8
file content (107 lines) | stat: -rw-r--r-- 2,272 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
========
backlog
========

CSS3 color module
-----------------
:prio: 1

- named colors::

    Black = #000000         Green = #008000
    Silver = #C0C0C0        Lime = #00FF00
    Gray = #808080      Olive = #808000
    White = #FFFFFF         Yellow = #FFFF00
    Maroon = #800000        Navy = #000080
    Red = #FF0000       Blue = #0000FF
    Purple = #800080        Teal = #008080
    Fuchsia = #FF00FF       Aqua = #00FFFF

- "transparent"
- SVG colors?
- "currentColor"
- "flavor"?
- System Colors are DEPRECATED!

Fix profile.


Selector
--------
:prio: 1

- CSS2XPath converter -> use lxml.cssselector
- optimize selector parsing?
- **add query functionality**
    + specificity DONE
    + cascade


CSSValue
--------
:prio: 3

**this feature may be implemented later as CSSOM defines the complete thing differently**

implement RGBColor, Rect and Counter

serializer
~~~~~~~~~~
- add preference option how color values should be serializer:

  ser.prefs.COLORS_HEX, also the DEFAULT?
        e.g. #123, so short form is possible
        ignored for rgba()
  ser.prefs.COLORS_HEXFULL
        e.g. #112233, so always 6digit hex
        ignored for rgba()
  ser.prefs.COLORS_RGB_INTEGER
        e.g. rgb(1.1, 55, 255), so range from 0-255
        also for rgba()
  ser.prefs.COLORS_RGB_PERCENTAGE
        e.g. rgb(10%, 20%, 100%), so range from 0 to 100%
        also for rgba()
  ser.prefs.COLORS_FROM_SOURCE
        use colors as used in CSS Source

  additionally:
    ser.prefs.NAMED_COLORS
        e.g. white for #fff or rgb(100%, 100%, 100%)

- **refactor**: all preferences values should be constansts like above

CSS2Properties
--------------
:prio: 3

needs to be implemented fully, setting of margin: 1px sets actually marginTop, marginLeft etc


performance
-----------
:prio: 3


serializer
----------
:prio: 2

- prettyprint convinience serializer?
- XML serializer to be able to handle CSS with XSLT, schemas etc?
- different coding styles?


LinkStyle, DocumentStyle
------------------------
:prio: 3

::

    // Introduced in DOM Level 2:
    interface LinkStyle {
      readonly attribute StyleSheet       sheet;
    };
    // Introduced in DOM Level 2:
    interface DocumentStyle {
      readonly attribute StyleSheetList   styleSheets;
    };