[webkit-reviews] review requested: [Bug 12349] NativeFileUpload: Button text is not grayed out when the control is disabled : [Attachment 12582] Fix file upload button styling

bugzilla-request-daemon at macosforge.org bugzilla-request-daemon at macosforge.org
Sun Jan 21 06:27:19 PST 2007


mitz at webkit.org has asked  for review:
Bug 12349: NativeFileUpload: Button text is not grayed out when the control is
disabled
http://bugs.webkit.org/show_bug.cgi?id=12349

Attachment 12582: Fix file upload button styling
http://bugs.webkit.org/attachment.cgi?id=12582&action=edit

------- Additional Comments from mitz at webkit.org
CSS doesn't allow pseudo-classes on pseudo-elements (and the WebCore
implementation doesn't support it either). This is not a problem for the
:disabled pseudo-class, but for :active it means that a non-Mac-themed file
upload button will appear active when the mouse is pressed anywhere in the file
upload control, not just on the button. I don't see a way around this using CSS
alone and without creating a real (shadow) element for the button.



More information about the webkit-reviews mailing list