1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-14 05:53:36 -04:00
elinks/src/dom/css
Miciah Dashiel Butler Masters aedc4c3e37 CSS: do not fail assertion on "url( )"
A style-sheet containing the string "url( )" with 1 or more characters of
whitespace in between the parentheses triggered an assertion failure in
scan_css_token.

scan_css_token would find the left parenthesis, find the right parenthesis,
and then scan forwards from the left parenthesis for a non-whitespace
character to find the start of the URL and backwards from the right
parenthesis to find the end of the URL.  If there were whitespace and
nothing else, the start would be past the end, the routine would compute a
negative length for the URL, and then the routine would trigger an
assertion failure.  Now the routine simply enforces a lower bound of length
0 for the URL.
2008-12-25 07:16:02 +00:00
..
Makefile Elute all DOM-related code and put it in src/dom 2005-12-28 14:05:14 +01:00
scanner.c CSS: do not fail assertion on "url( )" 2008-12-25 07:16:02 +00:00
scanner.h Remove empty first lines; a remnant from when CVS Id tags was in play 2006-12-09 22:54:22 +01:00