the latest version of SWK (Simple or Small WebKit) has learned some CSS... Working is: * handle <style> tags * handle <tag style="css rule"> * handle <link rel="stylesheet" href="..." type="text/css"> * handle @import rules * match rules against tags (not yet against classes, ids, :hover etc.) * handle color: attribute * handle display: inline, block, none * translates shorthands like border:, margin:
Weaknesses: * parser assumes correct CSS and does not handle invalid CSS source as defined by the spec * complex rules (selectors) are not matched * important attributes like font: margin-left: background: are not yet handled * priorities of multiple matching rules are not processed So we can display and browse the GNUstep HTML documentation: http://www.gnustep.org/resources/documentation/Developer/ Nikolaus _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
