author: | $LastChangedBy: cthedot $ |
---|---|
date: | $LastChangedDate: 2007-11-25 19:15:02 +0100 (So, 25 Nov 2007) $ |
version: | $LastChangedRevision: 700 $ |
Contents
prio: | 1 |
---|
Token.EOF handle in all classes for end of stylesheet
User agents must close all open constructs (for example: blocks, parentheses, brackets, rules, strings, and comments) at the end of the style sheet.
line/col reporting tests
tests with almost all details with comments
check escape handling:
\\@a \\{ \\: : \\; ; \\} } .\1 is valid selector
csshack tests, see online tables (comment hack?)
test tigris.css
implement testsuite on HTML? http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/xhtml/index.html
CSSStyleSheet.setSerializer()
CSSStyleSheet.setSerializerPref()
prio: | 2 |
---|
needs to be implemented fully, setting of margin: 1px sets actually marginTop, marginLeft etc
prio: | 3 |
---|
CSSRule.nsvalid ?
prio: | 3 |
---|
this feature may be implemented later as CSSOM defines the complete thing differently
implement RGBColor, Rect and Counter
add preference option how color values should be serializer:
e.g. #123, so short form is possible ignored for rgba()
e.g. #112233, so always 6digit hex ignored for rgba()
e.g. rgb(1.1, 55, 255), so range from 0-255 also for rgba()
e.g. rgb(10%, 20%, 100%), so range from 0 to 100% also for rgba()
use colors as used in CSS Source
e.g. white for #fff or rgb(100%, 100%, 100%)
refactor: all preferences values should be constansts like above
prio: | 3 |
---|
TODO:
other bottlenecks
prio: | 1 |
---|
prio: | 2 |
---|
prio: | 3 |
---|
implement rgba
names 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"
rgba(R, G, B, opacity): opacity in range (0,1)
hsl(), hsla() ?
SVG colors?
"currentColor"
System Colors are DEPRECATED!
"flavor"?
prio: | 3 |
---|
// Introduced in DOM Level 2: interface LinkStyle { readonly attribute StyleSheet sheet; }; // Introduced in DOM Level 2: interface DocumentStyle { readonly attribute StyleSheetList styleSheets; };