Closed Bug 313354 Opened 20 years ago Closed 20 years ago

textarea "overflow:hidden" should never show scrollbars

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mattias.waldau, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 According to http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/overflow.asp hidden Content that exceeds the dimensions of the object is not shown. so there contents should be clipped and there shouldn't be any scrollbars. And that is how it works in IE6. Reproducible: Always Steps to Reproduce: 1. Open the webpage and see the scrollbars: ---- <html><head><title>multiline-output.xls</title> </head><body > <textarea rows="2" wrap="soft" name="p1A4" id="p1A4" type="text" tabindex="-1" readonly="true" style='overflow:hidden; border:0px solid #000000; width:100px ' > fdsahjkfasj fhasjkf hasjkfh asjkf hasjkfh jkasdfj kash df ashdfkja sdhf asdhkf haskjdf asfdasdjfasdfhas dfhjkas dfhash fhasdkfhasdh fhashlf </textarea> </body> </html> Actual Results: Scrollbars are shown Expected Results: No Scrollbars Opera shows 1 scrollbar (vertical), Firefox 1.0.7 2 scrollbars horiz+ vertical
The rendering engine for 1.0.x is ancient: it's only gotten security fixes since 1.0, and not many rendering fixes since it branched in April 2004. Your testcase works exactly as you expect in current trunk and 1.5 branch builds, so it's already fixed for the next release.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.