| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to cope with a situation where a block ends with a
selector which has no ruleset, add an end-block-content event
and in handling it, pop any intermediate states off the language
stack so that we're in block mode by the time the event is completed.
This fixes an assert situation caused by a ruleset such as:
@media screen { dodgy } .outer { top: 10px; }
Which has been encountered in the wild (likely a typo).
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Top level stylesheets need to have their media query passed in.
So we need a way to parse standalone media queries.
This was hacked together to explore doing that.
However, it encounteded an issue where it seems the parseAtRule()
function in src/parse/parse.c doesn't handle the full grammar for
media queries.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
No parse implementation as yet.
Selection hasn't been updated, either. One item of note
in that area is that a client currently provides the
media for top-level sheets being added to a selection
context. This probably needs to change to providing a
lwc_string containing the verbatim media query from
the containing document's import mechanism. That way,
the internal representation of media queries can remain
opaque to clients.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- Remove client allocation function.
- Change node_classes callback not to yield array ownership to libcss.
- Node bloom filters now built by, during selection libcss.
- Added selection callbacks to get and set data on document nodes.
Test suite, example, and documentation updated to match.
|
| |
|
|
|
|
| |
caseless string.
|
| |
|
| |
|
|
|
|
|
|
| |
Things missing: parser tests; the following descriptors: font-feature-settings, font-stretch, font-variant, unicode-range.
svn path=/trunk/libcss/; revision=13244
|
|
|
|
| |
svn path=/trunk/libcss/; revision=12974
|
|
|
|
| |
svn path=/trunk/libcss/; revision=12973
|
|
|
|
|
|
| |
attribute.
svn path=/trunk/libcss/; revision=12972
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11972
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11574
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11573
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11557
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11492
|
|
|
|
|
|
| |
This helps prevent confusion if someone else wants a function called parse_background or similar
svn path=/trunk/libcss/; revision=11416
|
|
|
|
|
|
| |
r=jmb,kinnison,vince
svn path=/trunk/libcss/; revision=11408
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11138
|
|
|
|
|
|
| |
parallelise their processing
svn path=/trunk/libcss/; revision=10999
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10168
|
|
|
|
|
|
|
| |
TODO: update the tests to include a refcounting proof
svn path=/trunk/libcss/; revision=10162
|
|
|
|
|
|
| |
then the list must have been blank, which implies CSS_MEDIA_ALL.
svn path=/trunk/libcss/; revision=8822
|
|
|
|
|
|
| |
lwc_context_string_caseless_isequal, instead.
svn path=/trunk/libcss/; revision=8815
|
|
|
|
|
|
|
|
| |
another selection handler callback for this.
Change selector hash to use an ASCII case-insensitive hash function.
svn path=/trunk/libcss/; revision=8602
|
|
|
|
|
|
| |
for the client to tell us the sensitivity when creating the stylesheet.
svn path=/trunk/libcss/; revision=8573
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8229
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8033
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8024
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8014
|
|
|
|
|
|
| |
property value and potential !important is invalid.
svn path=/trunk/libcss/; revision=7970
|
|
|
|
|
|
| |
Document background-attachment parser and make it behave correctly.
svn path=/trunk/libcss/; revision=7856
|
|
|
|
| |
svn path=/trunk/libcss/; revision=7585
|
|
|
|
| |
svn path=/trunk/libcss/; revision=7556
|
|
|
|
| |
svn path=/trunk/libcss/; revision=7555
|
|
|
|
| |
svn path=/trunk/libcss/; revision=7554
|
|
|
|
|
|
|
| |
Lose trailing commas.
GCC 2.95 compatibility.
svn path=/trunk/libcss/; revision=7099
|
|
|
|
|
|
|
|
|
| |
It passes the tests, perhaps we need more of them.
Lifetimes of lwc_string objects really need attention before we can consider
this finished.
svn path=/trunk/libcss/; revision=6517
|
|
|
|
|
|
| |
No longer is the client called back mid-parse. Instead, they must acquire details of and process imported stylesheets after css_stylesheet_data_done() has been called on the parent sheet. The return code of css_stylesheet_data_done() informs the client of the need to process imported sheets.
svn path=/trunk/libcss/; revision=6504
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6490
|
|
|
|
|
|
| |
@import/@charset cease to take effect.
svn path=/trunk/libcss/; revision=6484
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6482
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6479
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6406
|