Closed Bug 606434 Opened 14 years ago Closed 14 years ago

css outline should not change the rendering size but does.

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 286368

People

(Reporter: alistair.potts, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11 GTB7.1 ( .NET CLR 3.5.30729; .NET4.0E)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11 GTB7.1 ( .NET CLR 3.5.30729; .NET4.0E)

In the example - without outline there is no overflow on the viewport, but with outline there is. This seems to be a bug, since outline shouldn't change the rendering size. 

Tested on IE9 and Chrome, which get it right.





Reproducible: Always

Steps to Reproduce:
1. set body, html to height 100%
2. create div 100% height
3. add outline in css
4. div overflows the viewport
Actual Results:  
Scrollbars were displayed

Expected Results:  
Scrollbars are not displayed
Same results in Firefox beta 6.
Mozilla/5.0 (Windows NT 5.1; rv:2.0b8pre) Gecko/20101019 Firefox/4.0b8pre

This is fixed on current Trunk.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.