WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
47429
textarea coloration differs between readonly="true" and disabled="disabled"
https://bugs.webkit.org/show_bug.cgi?id=47429
Summary
textarea coloration differs between readonly="true" and disabled="disabled"
curtman16
Reported
2010-10-08 13:34:17 PDT
Created
attachment 70280
[details]
Sample Code showing problem I have some test code which shows a textarea set to readonly="readonly", a textarea set to disabled="disabled", and a p containing the same font-family, color, and background. The textarea with disabled="disabled" is noticeably different from the main color. It is lighter. This seems to happen for colors in the blue spectrum, but not red. I've been using #5692CD to test with. Attached is the sample file I used to reproduce this. I would have expected these colors to appear the same; if not, I would expect there to be a way to achieve the same coloration and also retain the functionality of a disabled textarea. Tested with the following settings Google Chrome 6.0.472.63 (Official Build 59945) WebKit 534.3 V8 2.2.24.24 User Agent Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3
Attachments
Sample Code showing problem
(770 bytes, text/html)
2010-10-08 13:34 PDT
,
curtman16
no flags
Details
screenshot showing how I see it
(58.45 KB, image/jpeg)
2010-10-08 13:35 PDT
,
curtman16
no flags
Details
Safari 15.5 differs from other browsers
(968.28 KB, image/png)
2022-07-12 12:06 PDT
,
Ahmad Saleem
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
curtman16
Comment 1
2010-10-08 13:35:21 PDT
Created
attachment 70281
[details]
screenshot showing how I see it
Alexey Proskuryakov
Comment 2
2010-10-09 13:59:36 PDT
I can reproduce the results, but I'm not sure why this is a bug. Readonly and disabled are different in behavior, so why shouldn't they be different in appearance?
curtman16
Comment 3
2010-10-12 20:13:00 PDT
(In reply to
comment #2
)
> I can reproduce the results, but I'm not sure why this is a bug. Readonly and disabled are different in behavior, so why shouldn't they be different in appearance?
I think the idea would be that I could choose to make it appear how I want while still retaining the behavior. I would argue that it is misleading if I choose a color and the actual output color is not the same. I understand the purpose of changing the color to denote a difference in behavior, I just want the ability to configure that changing of color off. I can change other attributes such as the background color to change the appearance of a disabled textarea, why should I not be able to control the color of the text?
Ahmad Saleem
Comment 4
2022-07-12 12:06:42 PDT
Created
attachment 460816
[details]
Safari 15.5 differs from other browsers I am able to reproduce this bug in Safari 15.5 on macOS 12.4 and as can be seen in the attached screenshot (similar to original), the disabled <textarea> has different color compared to other browsers. It is just visual thing but can we align our behavior with other browsers (Chrome Canary 105 and Firefox Nightly 104 - as seen in the screenshot)? Thanks!
Radar WebKit Bug Importer
Comment 5
2022-07-12 13:45:14 PDT
<
rdar://problem/96907998
>
Ahmad Saleem
Comment 6
2023-06-03 17:16:26 PDT
It seems to be fixed now by Karl (if I am not mistaken) as confirmed in STP171. @Karl - I think it is similar to 'disabled' textarea not being visible in certain conditions bug, you fixed.
Karl Dubost
Comment 7
2023-06-04 22:39:44 PDT
At least we can close this bug as there is indeed no differences and that was the purpose of this bug in the first place. Thanks Ahmad.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug