Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Opera 9.5 bug, nested absolute positioning broken
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nik Coughlin  
View profile  
 More options Jun 30 2008, 12:22 am
Newsgroups: alt.html, comp.infosystems.www.authoring.stylesheets, opera.page-display
From: "Nik Coughlin" <nrkn....@gmail.com>
Date: Mon, 30 Jun 2008 16:22:38 +1200
Local: Mon, Jun 30 2008 12:22 am
Subject: Opera 9.5 bug, nested absolute positioning broken
If you have an absolutely positioned element and you place an absolutely
positioned child element within it and give the child  values for both top
and bottom the child will have zero height (expected behavior is has same
height as parent less top + bottom):

http://nrkn.com/opera9Bug/min/

How to reproduce:

Create a block element with position relative.  Let's call it grandparent.
Put some text in it so that it has non-zero height

Create a block element inside grandparent with position absolute.  Let's
call it parent.
Set parent to have top: 0; bottom: 0; left: 0; right: 0;*

Create a block element inside parent with position absolute.  Let's call it
child.
Set child to have top: 0; bottom: 0; width: 1em; border: 1px dotted red;

In Opera 9.5 child has zero height.  In all other browsers tested** child
has the same height as parent less top + bottom, which in this case as top
and bottom are 0 means the same height as parent.

*or width: 100%; height: 100%; or probably anything else for that matter
**IE7, IE8, FF2, FF3, Safari, Opera 9.27


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »