Commit Graph

24 Commits

Author SHA1 Message Date
John Mark Bell
94433308d1 [project @ 2005-07-31 22:06:03 by jmb]
Ignore @import rules which occur after a valid rule.

svn path=/import/netsurf/; revision=1835
2005-07-31 22:06:03 +00:00
James Bursa
ff74a126f7 [project @ 2005-05-21 23:30:19 by bursa]
Improve selector specificity support by adding "working stylesheets" with pre-sorted lists of rules. This also simplifies css_get_style(). The stylesheet origin is now encoded in the specificity. Improve output of css_dump_style().

svn path=/import/netsurf/; revision=1729
2005-05-21 23:30:19 +00:00
John Mark Bell
0890fd790d [project @ 2005-01-08 01:42:08 by jmb]
Fix parsing of multiple occurrences of S
Fix parsing of blocks (missing ws after any)

svn path=/import/netsurf/; revision=1436
2005-01-08 01:42:08 +00:00
John Mark Bell
a016a10539 [project @ 2005-01-05 20:20:32 by jmb]
Tokeniser now passes whitespace to the parser (fixes ancestor combinators)

svn path=/import/netsurf/; revision=1434
2005-01-05 20:20:32 +00:00
John Mark Bell
d601aa7188 [project @ 2004-07-30 21:53:52 by jmb]
Implement some CSS3 attribute selectors

svn path=/import/netsurf/; revision=1167
2004-07-30 21:53:52 +00:00
James Bursa
b448838fbf [project @ 2004-06-15 18:56:52 by bursa]
Parse FUNCTION correctly.

svn path=/import/netsurf/; revision=971
2004-06-15 18:56:52 +00:00
John Mark Bell
78594f3f60 [project @ 2004-06-09 19:55:06 by jmb]
Implement background-image, background-repeat, background-position and background-attachment CSS properties.

background-attachment and background-position need more work.
Some redraw issues remain.

svn path=/import/netsurf/; revision=938
2004-06-09 19:55:06 +00:00
John Mark Bell
8cb321ec78 [project @ 2004-05-02 00:21:40 by jmb]
Minimal fixes to allow compilation with Norcroft

svn path=/import/netsurf/; revision=813
2004-05-02 00:21:41 +00:00
James Bursa
d7a4adf481 [project @ 2004-05-01 17:48:38 by bursa]
CSS parsing improvements: new tokeniser using re2c, improve memory-exhaustion behaviour, plug leaks, reduce memory usage, clean up code, add source documention.

svn path=/import/netsurf/; revision=806
2004-05-01 17:48:38 +00:00
James Bursa
ead74d2f01 [project @ 2004-03-29 21:27:52 by bursa]
Implement CSS universal selector.

svn path=/import/netsurf/; revision=690
2004-03-29 21:27:52 +00:00
James Bursa
9472e0c668 [project @ 2003-11-19 19:57:11 by bursa]
Minor improvements to the parser.

svn path=/import/netsurf/; revision=419
2003-11-19 19:57:11 +00:00
James Bursa
13d6923b5e [project @ 2003-10-17 17:39:29 by bursa]
Implement :link, ignore stylesheets with syntax errors, parse pseudo classes.

svn path=/import/netsurf/; revision=367
2003-10-17 17:39:29 +00:00
James Bursa
a808d816ee [project @ 2003-10-16 20:48:22 by bursa]
Add fallback rule for general CSS syntax, handle [attr=NUMBER].

svn path=/import/netsurf/; revision=366
2003-10-16 20:48:22 +00:00
James Bursa
4ccdd4c7d2 [project @ 2003-10-07 21:34:27 by bursa]
Implement white-space property, rename struct node to struct css_node and NODE_* to CSS_NODE_*.

svn path=/import/netsurf/; revision=347
2003-10-07 21:34:27 +00:00
James Bursa
fd7078b1ad [project @ 2003-09-28 17:37:43 by bursa]
Implement CSS specificity and fix bugs.

svn path=/import/netsurf/; revision=329
2003-09-28 17:37:43 +00:00
James Bursa
1975b5cd1a [project @ 2003-09-27 23:36:34 by bursa]
Implement CSS attribute selectors and parent / preceding combinators.

svn path=/import/netsurf/; revision=324
2003-09-27 23:36:34 +00:00
James Bursa
017fc4eb4b [project @ 2003-06-30 12:44:02 by bursa]
New file headers.

svn path=/import/netsurf/; revision=190
2003-06-30 12:44:03 +00:00
James Bursa
63b6455f73 [project @ 2003-04-13 12:50:10 by bursa]
style element, CSS fixes, id selectors.

svn path=/import/netsurf/; revision=124
2003-04-13 12:50:10 +00:00
James Bursa
46edb645e1 [project @ 2003-04-06 18:09:34 by bursa]
@import, more status messages.

svn path=/import/netsurf/; revision=116
2003-04-06 18:09:34 +00:00
James Bursa
75768e6700 [project @ 2003-04-05 16:24:43 by bursa]
Re-implement style attributes.

svn path=/import/netsurf/; revision=114
2003-04-05 16:24:43 +00:00
James Bursa
4421b2e633 [project @ 2003-04-04 15:19:31 by bursa]
New CSS parser.

svn path=/import/netsurf/; revision=112
2003-04-04 15:19:32 +00:00
James Bursa
eb256015ad [project @ 2003-04-01 21:33:08 by bursa]
CSS parser changes.

svn path=/import/netsurf/; revision=111
2003-04-01 21:33:08 +00:00
James Bursa
c520b30412 [project @ 2003-04-01 20:18:18 by bursa]
CSS parser progress.

svn path=/import/netsurf/; revision=110
2003-04-01 20:18:18 +00:00
James Bursa
6e0fdd2078 [project @ 2003-03-25 21:03:14 by bursa]
New CSS parser.

svn path=/import/netsurf/; revision=108
2003-03-25 21:03:14 +00:00