[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    Bug#28858: Small Testcase for this bug.
From:       Oliver Strutynski <olistrut () gmx ! net>
Date:       2001-10-10 16:07:14
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To reproduce the error on http://www.alistapart.com/index.html, open the 
page, go back and forward again. Large parts of the page will not be visible. 
If the page is reloaded (using the reload button), the page is rendered 
correctly.

I stripped down the page to the absolute minimum and found some strange 
behaviour. Results vary depending on whether inline or @import css 
declarations are used, you will find results for both tests below. I used a 
build from the KDE_2_2_BRANCH, updated from CVS just some days ago.

HTML and CSS files are attached to this mail. The attached file uses @import, 
if you want to test the behaviour with inline css declarations just copy the 
declarations from nucss2.css to the style section in test.html.

Mozilla and Opera render the test page correctly.

Results using Inline CSS-Declarations:
======================================

1) 
#wrapper1 { float: left or float: right}
#menu1 { color: #000000; background-color: #aaaaaa; }
The text inside div id=wrapper1 is not visible at all but space is reserved 
for the text. Reloading does not help here. If you use float: none the page 
is displayed correctly.

2)
#wrapper1 { float: left or float: right}
#menu1 { }
No problems, page is displayed correctly.

Results with @import "nucss2.css"
=================================

1)
#wrapper1 { float:left; }
#menu1 { color: #ffffff; background-color: #aaaaaa; }
Load the file: Text inside wrapper1 is not visible. If the page is reloaded, 
the page is rendered correctly.
2)
Using eigher float: none or removing the color and background-color 
attributes the pages renders correctly.

BTW: This bug is not a crash!

Bye, Oliver

- -- 
_____________________________________________________________________
 Oliver Strutynski                      oliver.strutynski@cs.tum.edu
                                                    olistrut@gmx.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7xHI4uUAlUEFqtKYRAlvOAKCoNX9vgXQSSAOJ809/kxJQwiLwJwCeIB75
sInlxpTQS9FM4u97dZS+b0E=
=wv2X
-----END PGP SIGNATURE-----

["test.html" (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" \
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>A List Apart: For People Who Make Websites</title>
<style type="text/css">
@import "nucss2.css";
</style>
</head>

<body>

<div id="wrapper1">This is some text inside the wrapper div.</div>
<div id="menu1">text</div>

</body>
</html>


["nucss2.css" (text/plain)]

#wrapper1 { float:left; }
#menu1 { color: #ffffff; background-color: #aaaaaa; }



_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic