[Webkit-unassigned] [Bug 33093] New: [Qt] LayoutTests/fast/html/text-field-input-types.html
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 1 06:55:30 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=33093
Summary: [Qt] LayoutTests/fast/html/text-field-input-types.html
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: robert at roberthogan.net
This test is skipped on Qt because it's output is:
A B C DE F
rather than
A B C D E F.
In the dumped text the spaces represent an <input> text field.
The reason for the difference is that on Mac all the input fields fit on a
single line, whereas on Qt 'D' starts on a new line. This happens because the
width() of each of the <input> controls on Qt is 175, which must be larger than
it is on Mac. The 175 is arrived at by taking the avgCharWidth of the render
style's font (8) and multiplying it by InputElement::s_defaultSize (20), then
adding the padding/margins. So the difference must stem from a different
avgCharWidth between Mac and Qt.
What's the right thing to do here? Is it a bug that the text dump does not
begin on a new line with E and F?
The test itself can be fixed for all platforms by specifying a small size
attribute in the <input> markup, maybe that's the right way to go.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list