discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ANN: SWK has learned the first words of CSS


From: address@hidden
Subject: ANN: SWK has learned the first words of CSS
Date: Wed, 08 Dec 2010 15:05:39 -0000
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]