| Summary: | khtml should ignore KDE style on css enabled button | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Mathieu Jobin <opensource> |
| Component: | khtml renderer | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | wishlist | CC: | hasso, jsp, kde |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Mathieu Jobin
2004-08-17 23:42:43 UTC
Did your CSS guru tell you that support for CSS on form widgets is optional, and that it is recommended that webmasters don't use it? And did he add that <button> was invented just for that purpose? well, i think flat button with colored border are really common nothing fancy here <button> would indeed ideally be used for the purpose. However, there are a couple of practical considerations. First, IE treats all <button type="submit"> buttons as successful. That is, it submits ALL their data, not just data for the one that was activated. IE still dominates the Web, so this type of control is useful only if you can greatly restrict your audience. Second, IE *and* the browser that is most rapidly nibbling into its market share (Firefox) both allow almost complete style control on submit buttons. This may not be required by the standard, but it's allowed, and KHTML looks inferior by comparison to those who don't know the spec. Is there a compelling reason not to allow submits to be styled? I agree that if Firefox can, so should we. Firefox can't use fully native widgets I think it's a good idea to use native widgets as a default, but I find it very useful to be able to style form controls. Perhaps Konqueror could use a native widgets in the absence of any style for the element. Konqueror currently respects the CSS color property (and maybe others), but not background-color. This can easily lead to illegible labels. At a minimum, Konqueror should be changed to respect both color and background-color or ignore both. It would probably be best if style support for a given instance of a widget were Boolean: either all style properties are supported, or none are. IMO, implementing this would open a wormcan of phishing issues. How could it be used for phishing? it is just a button. At least we could set background-color Isn't that trivial to implement now that Qt4 has css-alike-stylable controls? ping, shall we close? no longer relevant KDE 3? come on |