Opera Bug #CORE-22089

D

Davey

Opera Bug #CORE-22089 is showing up in my project,
there is no vertical scrollbar when the browser is made
smaller vertically but the scrollbar appears properly when
browser is resized horizonally. For a workaround I repopulate
the offending div with window.onresize and all is now good.
Is there a css workaround ? If not how can i apply the javascript
workaround to Opera only ? Or is there some other workaround ?

Thank you for reading this message.
 
D

David Mark

Opera Bug #CORE-22089 is showing up in my project,
Link?

there is no vertical scrollbar when the browser is made
smaller vertically but the scrollbar appears properly when
browser is resized horizonally. For a workaround I repopulate
the offending div with window.onresize and all is now good.

I can't picture it.
Is there a css workaround ? If not how can i apply the javascript
workaround to Opera only ? Or is there some other workaround ?

I don't know. Post an example.
Thank you for reading this message.

NP.
 
D

Davey

in message to "Davey" concerning
Opera Bug #CORE-22089

Link?

there is no vertical scrollbar when the browser is made
smaller vertically but the scrollbar appears properly when
browser is resized horizonally. For a workaround I repopulate
the offending div with window.onresize and all is now good.

I can't picture it.
Is there a css workaround ? If not how can i apply the javascript
workaround to Opera only ? Or is there some other workaround ?

I don't know. Post an example.
Thank you for reading this message.

NP.
Thank you for your interest in this post.
This page is an explanation of the opera bug...
http://www.greywyvern.com/code/opera/bugs/htmlbodyOverflow
this is my project which suffers from this bug,
http://www.daveyerwin.com I have commented out the
workaround which relieves this problem (no verticl scrollbar).
To observe the problem adjust the vertical size of the Opera
browser.
 
D

David Mark

in message to "Davey" concerning

 Opera Bug #CORE-22089

Link?


I can't picture it.


I don't know.  Post an example.




NP.
Thank you for your interest in this post.

No, thank you.

Yes. Says the problem is present up to 10.something, which I assume
means everything prior.
this is my project which suffers from this bug,http://www.daveyerwin.comIhave commented out the
workaround which relieves this problem (no verticl scrollbar).
To observe the problem adjust the vertical size of the Opera
browser.

And do what? Didn't do anything special in 9.27. Vertical scroll bar
appeared as expected.

I don't know what you mean by "offending DIV" or why you would want to
infer from Opera that scroll bars are missing. If you want to know
the overflow style of the HTML element, check the computed overflow
style of the HTML element.

Any time you think to use browser sniffing, even for the smallest of
decisions, stop. Even if it wasn't ten years out of date, it is
clearly an unreliable, time-consuming and invariably doomed strategy.
But like Charlie Brown trying to kick the football, Web developers
have been trying to make it work all decade. :( MS has traditionally
been their biggest Lucy (despite the snail's pace production on IE),
but those were salad days compared to what is happening now.

Assuming you used browser sniffing for this, if and when Opera fixes
the problem, you could write off users of all but the latest Opera (a
popular strategy). Declaring that your script might work in older
versions, but no time will be wasted (by you) testing them is another
popular spin (passing the time-wasting on to the end user). I guess
if the testers can't see regressions, they don't exist. ;)

Alternatively, you could add another fork for the Opera version number
(and still miss other browsers that have this quirk). Then what if
they break it again? Browser sniffing code tends thrash about as
observations are logged. Read the comments and change logs for such
code and it is apparent that decisions are based on whatever the
"offending" browser was noted doing at one specific moment in time.

It should be obvious that each such "solution" is the coding
equivalent of a band-aid. Usually they just cover up an underlying
problem (or confusion) in the design. Patch designs like this long
enough and they become virtually unrecognizable (that's usually where
I come in and the first thing I do is tear off all of the patches so I
can _see_ the problems).

Even on the tiniest projects, the logic eventually becomes so complex
and unwieldy that nobody will touch it for fear of disturbing the
delicate "cross-browser" balance. But the browsers keep changing, so
inevitably the scripts become unusable to all but nostalgia buffs. ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,108
Latest member
AlbertEste
Top