[patch] css parser, floats

Germain Garand germain at ebooksfrance.org
Sat Feb 28 02:26:12 GMT 2004


Hi,
Here are two small patches I'd like to commit and backport:

1) an overlook in the CSS parser which makes it occasionally skip a 
valid declaration if it's preceded by an invalid one
-see attached testcase + css_parser.diff
-real world example:  http://www.inforlandia.pt/ 
( => hover left menu "Catálogo" => dhtml menu get a transparent bg )

2) fix a problem with floating images: when they aren't loaded yet, the page 
is first layouted with temporary 10x10 pixmaps, but once the final image is 
loaded, blocks affected by the float aren't relayouted. 
Results in ugly text overlaps on images on a lot of news sites
(see #71445)

is that fine?

Germain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: css_parser.diff
Type: text/x-diff
Size: 927 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040228/e5f670bd/attachment.diff>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040228/e5f670bd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: floats.diff
Type: text/x-diff
Size: 1037 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040228/e5f670bd/attachment-0001.diff>


More information about the kfm-devel mailing list