Open
Bug 548626
Opened 15 years ago
Updated 2 years ago
Placeholder attribute text should be italicized on Windows Vista and 7
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
NEW
People
(Reporter: faaborg, Unassigned)
Details
(Keywords: polish, Whiteboard: [polish-visual][polish-p3])
Attachments
(1 file)
699 bytes,
patch
|
Details | Diff | Splinter Review |
Spin off bug from bug 457800, the self describing text in the search field should be italicized to match the native appearance of self describing fields in Windows Vista and 7.
Reporter | ||
Updated•15 years ago
|
Whiteboard: [polish-easy] [polish-visual][polish-p3]
Comment 1•15 years ago
|
||
I think an easy way of doing this would be using :-moz-system-metric(windows-default-theme) and :-moz-system-metric(windows-classic).
Reporter | ||
Comment 2•15 years ago
|
||
Wouldn't that trigger on Luna on XP though? Not sure how search-box changes the style for Vista and 7.
Comment 3•15 years ago
|
||
This patch may fix the bug. I have to test on Windows XP/Vista/7 to be sure it behaves correctly.
At least, it behaves correctly on GNU/Linux ;)
Assignee: nobody → mounir.lamouri
Status: NEW → ASSIGNED
Comment 4•15 years ago
|
||
Comment on attachment 429596 [details] [diff] [review]
Patch v0.1
This is going to affect XP.
Comment 5•15 years ago
|
||
(In reply to comment #4)
> (From update of attachment 429596 [details] [diff] [review])
> This is going to affect XP.
Hmm, yes, that's right. Dao, do we have any way to style html.css level things per platform?
Comment 6•15 years ago
|
||
Just noticed the summary that is for Windows only but the bug is assigned to OS X... So if this is Windows only, the platform have to be changed right?
Updated•15 years ago
|
OS: Mac OS X → Windows 7
Updated•15 years ago
|
Keywords: polish
Whiteboard: [polish-easy] [polish-visual][polish-p3] → [polish-visual][polish-p3]
Perhaps we need :-moz-system-metric(windows-5.0), :-moz-system-metric(windows-6.0) and :-moz-system-metric(windows-6.1) selectors? Would that be a good solution?
(5.0 is XP, 6.0 is Vista and 6.1 is Windows 7, based on the official version numbers. We could also consider creating selectors for other OS's and their versions in the same way, if we do this for Windows.)
Comment 8•15 years ago
|
||
I'm not really knowledgeable in this domain but probably adding :-moz-system-metric(windows-aero) would be enough ? We can even imagine this selector may be able to know if we are using XP or Aero theme on Windows.
Comment 9•15 years ago
|
||
We can just do this for chrome in toolkit/themes/winstripe/ once we have the placeholder pseudo class/element selector. I don't think placeholder text needs to be italicized by default for web content.
Reporter | ||
Comment 10•15 years ago
|
||
>I don't think placeholder text needs to be italicized by default for web content.
That's the purpose of the bug, external consistency with the OS.
Updated•12 years ago
|
Assignee: mounir → nobody
Updated•12 years ago
|
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•