WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
74143
RenderTheme should have a function for disabled text color adjustment
https://bugs.webkit.org/show_bug.cgi?id=74143
Summary
RenderTheme should have a function for disabled text color adjustment
Kent Tamura
Reported
2011-12-08 17:05:37 PST
RenderTheme should have a function for disabled text color adjustment.
Attachments
Patch
(8.39 KB, patch)
2011-12-11 23:43 PST
,
yosin
no flags
Details
Formatted Diff
Diff
Patch 2
(8.08 KB, patch)
2011-12-12 00:13 PST
,
yosin
no flags
Details
Formatted Diff
Diff
Patch 3
(8.79 KB, patch)
2011-12-12 19:49 PST
,
yosin
no flags
Details
Formatted Diff
Diff
Patch 4
(8.12 KB, patch)
2011-12-12 21:32 PST
,
yosin
no flags
Details
Formatted Diff
Diff
Patch 5 - Rebase
(3.48 KB, patch)
2011-12-12 22:09 PST
,
yosin
no flags
Details
Formatted Diff
Diff
Patch 6 - Rebase
(3.06 KB, patch)
2011-12-12 22:54 PST
,
yosin
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
yosin
Comment 1
2011-12-11 23:43:40 PST
Created
attachment 118743
[details]
Patch
Kent Tamura
Comment 2
2011-12-11 23:53:39 PST
Comment on
attachment 118743
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=118743&action=review
> Source/WebCore/ChangeLog:12337 > * css/html.css: > + > (bdi, output): bdi and output should both use -webkit-isolate as the default value for unicode-bidi.
Do not modify unrelated ChangeLog entry.
> Source/WebCore/rendering/RenderTheme.h:149 > + // Disabled text color for disabled text controls.
The comment is not helpful. Please remove it.
> Source/WebCore/rendering/RenderThemeChromiumMac.h:62 > + virtual Color disabledTextColor(const Color& textColor, const Color&) const OVERRIDE { return textColor; } > +
No reason to make this protected.
> Source/WebCore/rendering/RenderThemeChromiumSkia.h:155 > + virtual Color disabledTextColor(const Color& textColor, const Color&) const OVERRIDE { return textColor; } > +
ditto.
yosin
Comment 3
2011-12-12 00:13:03 PST
Created
attachment 118746
[details]
Patch 2
Kent Tamura
Comment 4
2011-12-12 18:25:23 PST
Comment on
attachment 118746
[details]
Patch 2 View in context:
https://bugs.webkit.org/attachment.cgi?id=118746&action=review
> Source/WebCore/rendering/RenderThemeChromiumMac.h:35 > + virtual Color disabledTextColor(const Color& textColor, const Color&) const OVERRIDE { return textColor; }
nit: This function can be private.
> Source/WebCore/rendering/RenderThemeChromiumSkia.h:61 > + virtual Color disabledTextColor(const Color& textColor, const Color&) const OVERRIDE { return textColor; }
dito.
WebKit Review Bot
Comment 5
2011-12-12 19:49:10 PST
Comment on
attachment 118746
[details]
Patch 2 Clearing flags on attachment: 118746 Committed
r102655
: <
http://trac.webkit.org/changeset/102655
>
WebKit Review Bot
Comment 6
2011-12-12 19:49:14 PST
All reviewed patches have been landed. Closing bug.
yosin
Comment 7
2011-12-12 19:49:30 PST
Reopening to attach new patch.
yosin
Comment 8
2011-12-12 19:49:33 PST
Created
attachment 118941
[details]
Patch 3
Kent Tamura
Comment 9
2011-12-12 20:37:33 PST
Comment on
attachment 118941
[details]
Patch 3 View in context:
https://bugs.webkit.org/attachment.cgi?id=118941&action=review
Your "Patch 2" was already landed. This patch doesn't work.
> LayoutTests/ChangeLog:10 > +2011-12-13 Yosifumi Inoue <
yosin@chromium.org
> > + > + [Forms] Disabled option selected in form > +
https://bugs.webkit.org/show_bug.cgi?id=74270
> + > + Reviewed by NOBODY (OOPS!). > + > + * fast/forms/select/menulist-disabled-option-expected.html: Added. > + * fast/forms/select/menulist-disabled-option.html: Added. > +
Do not add unrelated ChangeLog.
yosin
Comment 10
2011-12-12 21:32:41 PST
Created
attachment 118950
[details]
Patch 4
Kent Tamura
Comment 11
2011-12-12 21:47:40 PST
Comment on
attachment 118950
[details]
Patch 4 Please post a patch which can be applied to the latest WebKit revision.
yosin
Comment 12
2011-12-12 22:09:27 PST
Created
attachment 118954
[details]
Patch 5 - Rebase
Kent Tamura
Comment 13
2011-12-12 22:11:23 PST
Comment on
attachment 118954
[details]
Patch 5 - Rebase View in context:
https://bugs.webkit.org/attachment.cgi?id=118954&action=review
> Source/WebCore/ChangeLog:16 > + * rendering/RenderTextControl.cpp: > + (WebCore::RenderTextControl::adjustInnerTextStyle): Use RenderTheme::disabledTextColor instead of PLATFORM wraped static function. > + * rendering/RenderTheme.cpp: > + (WebCore::RenderTheme::disabledTextColor): Moved from RenderTextControl.cpp. This method implements for non-Chromium color. > + * rendering/RenderTheme.h: Add new virtual method disabledTextColor. > + * rendering/RenderThemeChromiumMac.h: Implementation of RenderTheme::disabledTextColor for Chrimium Mac. > + * rendering/RenderThemeChromiumSkia.h: Implementation of RenderTheme::disabledTextColor for Chrimium.
Please update the file list.
yosin
Comment 14
2011-12-12 22:54:54 PST
Created
attachment 118956
[details]
Patch 6 - Rebase
Kent Tamura
Comment 15
2011-12-12 23:02:49 PST
Comment on
attachment 118956
[details]
Patch 6 - Rebase ok
WebKit Review Bot
Comment 16
2011-12-13 00:17:46 PST
Comment on
attachment 118956
[details]
Patch 6 - Rebase Clearing flags on attachment: 118956 Committed
r102660
: <
http://trac.webkit.org/changeset/102660
>
WebKit Review Bot
Comment 17
2011-12-13 00:17:52 PST
All reviewed patches have been landed. Closing bug.
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