PDA

View Full Version : OPera 7.10 big bug


angiras
05-01-2003, 10:56 AM
with this code OPera 7.10 crash windows 2000 (no answer)
any idea why ?

-------------------------
divTop.css
-------------------------
html
{
width:100%;
height:100%;
}
body
{
width:100%;
height:100%;
overflow:hidden;
margin:0px;
border:none;
padding:0px;
background-color:#ffeedd;
}
#header
{
width:100%;
height:9.9%;
overflow:hidden;
background-color:#eeddff;
margin:0px;
padding:0px;
border-bottom:1px solid #000066;
}
#content
{
width:100%;
height:90%;
overflow:auto;
margin:0px;
border: none;
padding:0px;
background-color:transparent;
}
--------------------
divTop.html
---------------------
<?xml version="1.0" encoding="iso-8859-1"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title> div height 100% </title>
<link href="divTop.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div id="header">header</div>
<div id="content">
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /> <br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br />

<br /><br /><br /><br /><br /><br />
<br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br />
<br /><br /><br /><br />
</div>
</body>
</html>
---------------------

it works perfectly with mozilla and IE 6




thanks

brothercake
05-01-2003, 11:25 AM
It's overflow:auto in #content that's doing it; if you change it to overflow:scroll then it works fine.

But I don't know why that's happening; It looks like a bug to me, so unless anyone knows different I'll report it to Opera's BTS.

angiras
05-01-2003, 11:34 AM
but did you try the code and get the same bug as me ?
for me the computer (windows 200) is totally blocked

angiras
05-01-2003, 11:37 AM
with overflow:scroll you get an horrible horizontal scroll !!!

a shame that overflow has not (yet ?) an horizontal or vertical choose

brothercake
05-01-2003, 11:52 AM
Originally posted by angiras
with overflow:scroll you get an horrible horizontal scroll !!!
Yeah - but you get that with overflow:auto as well; at least you do in Opera. I thought you wanted that scrollbar?

Overflow does have a choice - overflow-x or overflow-y, but I don't know which browsers implement it.

ronaldb66
05-01-2003, 12:05 PM
Overflow does have a choice - overflow-x or overflow-y, but I don't know which browsers implement it.
At the moment, they're MSIE proprietary, but I noticed a while ago that they appear in the CSS3 drafts; looks like the W3C took over Bill's proposition... :D

liorean
05-01-2003, 12:15 PM
They discussed using values for telling what side, but thought consistency was good and thus added overflow-x and -y. Microsoft has had a great influence in building css, you know, and they have weight to put behind their suggestions.

angiras
05-26-2003, 08:53 AM
it WAS a bug , now it works fine with opera 7.11 !