catching invalid import statements

David Hyatt hyatt at apple.com
Mon Jul 19 23:48:05 CEST 2004


Thanks for this fix.  I have merged it into our tree.  In general, we 
are *extremely* interested in CSS1 and HTML4 fixes, since we'd like to 
get to 100% compliance in those areas.

dave

On Jul 19, 2004, at 12:50 PM, Stephan Kulow wrote:

> Hi!
>
> When I read the layout-tests's expected.txt Safari shares the bug of 
> konqueror
> in displaying http://www.w3.org/Style/CSS/Test/CSS1/current/test11.htm
>
> The last sentense saying "This paragraph should be green." is 
> displayed in
> black as the css parser doesn't recover from the IMPORT_SYM. The css
> specs say that the user agent has to ignore import rules appearing 
> somewhere
> else than at the beginning.
>
> The attached patch tries to catch that. I had to increase the number of
> expected conflicts, but for this case, the reduce preference is the 
> right
> choice.
>
> Greetings, Stephan
> <parser.diff>_______________________________________________
> Khtml-devel at kde.org
> https://mail.kde.org/mailman/listinfo/khtml-devel


More information about the Khtml-devel mailing list