Closed Bug 171598 Opened 22 years ago Closed 22 years ago

-moz-appearance for input[type="image"] should be none

Categories

(Core Graveyard :: Skinability, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: tim, Assigned: tim)

References

()

Details

(Keywords: regression, testcase)

Attachments

(3 files, 1 obsolete file)

-moz-appearance for input[type="image"] (probably type="hidden" too) should 
be "none" in forms.css.  Otherwise nsITheme draws the textbox appearance under 
the image (see the imdb.com Go button).
Attached patch Patch to forms.css (obsolete) — Splinter Review
Comment on attachment 101074 [details] [diff] [review]
Patch to forms.css

sr=bzbarsky
Attachment #101074 - Flags: superreview+
Perhaps a better fix would be to start a rule with the selector

input:not([type]), input[type="text"], input[type="password"], textarea

and move the existing -moz-appearance for |input| and |textarea| there?  (It
would be nice to migrate other declarations to such a rule as well to avoid the
mess we have with non-text inputs having to override all the stuff for text inputs.
ok I added a rule for single-line inputs, moved -moz-appearance and a few other
obviously text input related properties there, and got rid of the
-moz-appearance and -moz-binding overrides.
Attachment #101074 - Attachment is obsolete: true
Yay, that breaks the autocomplete control since it uses an <html:input
type="autocomplete" internally, which as far as I can tell serves no purpose. 
Here's a patch to make autocomplete use input type="text" instead.
*** Bug 184810 has been marked as a duplicate of this bug. ***
On this bug is something strange - it was filled 29-09-02, but it's not visible
 in 1.2 final (testcase of duped bug 184810 is okay) and IMHO wasn't visible in
builds around/before 03-12-02. So why is visible in actual builds? If visibility
of this bug was changed in last days, maybe fix should go to 1.3a branch.
Keywords: regression, testcase
(Probably related.)

An input image with border=1 causes bad resizing.  <input type=image...
border=1> squeezes the image by 2 pixels in each direction.

Maybe this should be a separate bug, but I'll file it here and see what you
think.  My attachment also gives a test case for the transparacy problem, since
I don't see a working test case here (http://www.imdb.com is ok for me, but my
browser does have the bug).

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3a) Gecko/20021214 Phoenix/0.5

See my comment above.
Depends on: 184359
*** Bug 190608 has been marked as a duplicate of this bug. ***
*** Bug 190952 has been marked as a duplicate of this bug. ***
*** Bug 191057 has been marked as a duplicate of this bug. ***
More visible example:
http://www.slunecnice.cz/
Flags: blocking1.3b?
Flags: blocking1.3b? → blocking1.3b-
Bug 184359 is fixed, but image 3 of google still differs in horizontal size 
from image 4. Therefore, this bug appears not to be fixed yet.
A separate bug should be filed for that, it's a separate issue from this bug.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
True... The initial bug was about the second part of the testcase.

And it is a different issue. soo... VERIFIED.

kitchin2: Can you file a different bug on the resizing if none exists?
Status: RESOLVED → VERIFIED
OK, the border=1 resizing bug is now Bug 191967.
*** Bug 192536 has been marked as a duplicate of this bug. ***
*** Bug 192670 has been marked as a duplicate of this bug. ***
*** Bug 196778 has been marked as a duplicate of this bug. ***
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: