Bug 35737 - [Qt] Stylesheet input color
Summary: [Qt] Stylesheet input color
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2010-03-04 06:40 PST by Tor Arne Vestbø
Modified: 2010-03-17 07:14 PDT (History)
3 users (show)

See Also:


Attachments
Test case (61 bytes, text/html)
2010-03-17 07:06 PDT, Benjamin Poulain
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Arne Vestbø 2010-03-04 06:40:41 PST
This bug report originated from internal issue QT-1970


--- Comments ---

Product: Qt

Function: webkit

Version: 4.5.1

Platform: WindowsXP

SP3

Compiler: GCC

Short description: Stylesheet input color

Did:

<style> input { color: red; } </style>

<input type="text" />

Expected to see:

I Expected to see red font-color because Safari Renders it Red, so does firefox, so does IE and a few other WebKit Browsers

Got instead:

It rendered it Black. I tried other Qt Web Browsers also the demo one; same result.

More details:

Instead i used:

-webkit-text-fill-color: red;

it did the trick; but color: red should be the standard.

–

... the website ...

(see whyblack.jpg)
Comment 1 Benjamin Poulain 2010-03-17 07:06:52 PDT
Created attachment 50901 [details]
Test case
Comment 2 Benjamin Poulain 2010-03-17 07:07:48 PDT
Works for me with trunk on Linux.
Comment 3 Jocelyn Turcotte 2010-03-17 07:14:14 PDT
Reproduced on Windows 7 with Qt 4.5.3
Could not reproduce with QtWebKit trunk and Qt 4.6

Resolving as fixed