Testcase Opera 7.x Win: Opera overflows an iFrame by its padding, to its right and bottom. Filed with Opera as bug #135263.
A.E.Veltstra
2004-04-23
Applies to
Opera 7.23, 7.5p1-4 (Win/Mac) (problem solved in Opera 7.52)
Symptoms
Below, this page includes an iFrame. The css defines it to have padding. Pink background color fills the padding. Opera doesn't render this padding, nor the red border, on the right and the bottom of the iFrame. It appears the iFrame overflows its own container, by the combined widths of its padding and border. In the overflowed area, parts of other applications or other web pages may show.
Sometimes, you need to switch web page tabs to activate the problem. Once it shows, reloading will not make it go away.
Sometimes, you need to refresh the window to see the rendering problem.
Causes:
In the css, I set both the html and the body elements to overflow automatically. If this rule were omitted, the rendering problem wouldn't show.
When I omit the iFrame padding, the iFrame still overflows, by the width of its border.
Opera 7.23, 7.5p1-4 (Win/Mac) (problem solved in Opera 7.52)
Symptoms
Below, this page includes an iFrame. The css defines it to have padding. Pink background color fills the padding. Opera doesn't render this padding, nor the red border, on the right and the bottom of the iFrame. It appears the iFrame overflows its own container, by the combined widths of its padding and border. In the overflowed area, parts of other applications or other web pages may show.
Sometimes, you need to switch web page tabs to activate the problem. Once it shows, reloading will not make it go away.
Sometimes, you need to refresh the window to see the rendering problem.
Causes:
In the css, I set both the html and the body elements to overflow automatically. If this rule were omitted, the rendering problem wouldn't show.
When I omit the iFrame padding, the iFrame still overflows, by the width of its border.
Need problem solving?
Talk to me. Let's meet for coffee or over lunch. Mail me at “omegajunior at protonmail dot com”.