1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00
elinks/src/dom
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
..
css CSS: do not fail assertion on "url( )" 2008-12-25 07:16:02 +00:00
sgml Make non-standard pluginspage attribute to embed hyperlinkable 2007-04-27 16:25:36 +02:00
test Fix sgml-parser so it compiles 2008-07-03 01:45:45 +02:00
code.h DOM: Change code documentation to be Doxygen "compliant" 2006-12-10 01:17:35 +01:00
configuration.c Fix memory leak in the DOM configuration module 2008-06-21 00:19:15 +02:00
configuration.h Fix memory leak in the DOM configuration module 2008-06-21 00:19:15 +02:00
Doxyfile Merge commit 'pasky.or.cz/elinks-0.12' into elinks-0.13 2007-07-28 03:22:29 +03:00
Makefile DOM test: add test/ to SUBDIRS so DOM test is run for 'make test' 2007-05-26 13:10:55 +02:00
node.c Fix compiler errors without HAVE_VARIADIC_MACROS. 2007-03-11 12:22:02 +02:00
node.h Fix dom_node_attribute comment mentioning non-existant struct 2007-07-31 14:37:41 +02:00
scanner.c Add basic support for requesting error detection; SGML scanner part missing 2006-01-07 04:21:39 +01:00
scanner.h Patch 2: Modifications to the remaining parts of ELinks 2008-11-01 22:20:25 +02:00
select.c Fix compiler errors without HAVE_VARIADIC_MACROS. 2007-03-11 12:22:02 +02:00
select.h Make init_dom_select() take dom_string struct 2005-12-28 15:57:37 +01:00
stack.c mem_alloc_align: drop the obj type parameter 2006-02-17 17:32:59 +00:00
stack.h Doxygen syntax fixes 2007-07-26 14:14:27 +03:00
string.h Bug 1004: Fix implicit declarations of c_* functions 2008-11-01 22:27:08 +02:00