Bug 130746

Summary: khtml don't support font style on input of type button
Product: [Applications] konqueror Reporter: rapsys <rapsys>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kollix
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: the rendering here

Description rapsys 2006-07-13 08:35:48 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Mandriva RPMs
Compiler:          gcc-4.1.1 (GCC) 4.1.1 20060518 (prerelease) Target: i586-mandriva-linux-gnu; Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --host=i586-mandriva-linux-gnu --with-system-zlib --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --enable-ssp --disable-libssp; Thread model: posix
OS:                Linux

In fact, I have discovered that button don't support the underline, overline and line-through css property.

That whould be cool to have it fixed for 3.5.4...

The expected property whould be to have CSS propriety correctly applied on the button element.

A butter things whould be to allow button not based on kde theme and style...
(I use mandrivagalaxy, that should change button dispay)

See the screenshot about the rendering (just in case)

******** Sample testcase ********
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
	<head>
		<title>khtml underline, overline and line-through bug in button</title>
	</head>
	<body>
		<div>
			<input type="button" value=" u " style="text-decoration: underline; width: 30px" />
			<input type="button" value=" s " style="text-decoration: line-through; width: 30px" />
			<input type="button" value=" o " style="text-decoration: overline; width: 30px" />
			<span style="text-decoration: underline;">u</span>
			<span style="text-decoration: line-through;">s</span>
			<span style="text-decoration: overline;">o</span>
		</div>
	</body>
</html>
Comment 1 rapsys 2006-07-13 08:45:01 UTC
Created attachment 16975 [details]
the rendering here
Comment 2 Martin Koller 2011-06-02 14:42:10 UTC
Still the same with KDE 4.6.3
Comment 3 Christoph Cullmann 2024-05-06 18:38:31 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann