Bug 237438

Summary: Size attribute for select incorrectly rendered [HTML 4 conformance, HTML form]
Product: [Applications] konqueror Reporter: Gérard Talbot (no longer involved) <browserbugs2>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal Keywords: testcase
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gérard Talbot (no longer involved) 2010-05-12 23:30:49 UTC
Version:            (using KDE 4.4.3)
OS:                Linux
Installed from:    Ubuntu Packages

2 testcases
-----------

http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/size-attribute-for-select.html

and also

http://www.w3.org/MarkUp/Test/HTML401/current/tests/sec17_6-BF-01.html

Reference
---------
"
size = number [CN]
If a  SELECT element is presented as a scrolled list box, this attribute specifies the number of rows in the list that should be visible at the same time.
"
http://www.w3.org/TR/html4/interact/forms.html#adef-size-SELECT

Notes
-----
- Konqueror 4.4.3 also displays an horizontal scrollbar which can only move by 1 or 2 pixels. No other browser does that.
- Internet Explorer 8, Firefox 3.6.3, Opera 10.10 and Safari 4.0.5 pass this test.

regards, Gérard
Comment 1 Gérard Talbot (no longer involved) 2010-05-12 23:51:01 UTC
Correction: Safari 4.0.5 does NOT pass this test. The same bug exists at webkit.org:

<select>  controls doesn't render size=2 or size=3 properly
https://bugs.webkit.org/show_bug.cgi?id=28900

regards, Gérard
Comment 2 Gérard Talbot (no longer involved) 2010-09-30 22:33:14 UTC
I get expected results with Konqueror 4.5.1 (Qt: 4.7.0).

Marking as WORKSFORME

regards, Gérard