MozillaZine

input type file, contenteditable=true, button not working

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
bschwehn
 
Posts: 2
Joined: February 26th, 2014, 6:39 am

Post Posted February 26th, 2014, 6:46 am

Hi, given the following html page

Code: Select all
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
   <div>
  <input type="file" />works <br />
   <input type="file" contenteditable="true"/>does not work <br />
   <input type="file" contenteditable="false"/>works <br />
    </div>
</body>
</html>


The second input's browse button does not work.

Personally, I think this is a bug in firefox. If contenteditable (non standard I believe) is not supported, it should be ignored, but not do the exact opposite of what is expected.
Before I create an bugzilla entry I wanted to hear your opinion first.

Ben

DanRaisch
Moderator

User avatar
 
Posts: 118033
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted February 26th, 2014, 10:13 am

Moving to Web Development.

trolly
Moderator

User avatar
 
Posts: 39879
Joined: August 22nd, 2005, 7:25 am

Post Posted February 26th, 2014, 2:53 pm

All three buttons work for me in Nightly.
What is "contenteditable" supposed to do?
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.

bschwehn
 
Posts: 2
Joined: February 26th, 2014, 6:39 am

Post Posted February 26th, 2014, 3:15 pm

Ok, thanks, I tried only 27.0.1 (Windows).

I don't think the contenteditable attribute is supposed to do anything. I noticed it in web page where the button did not work in FF, but worked in IE and Chrome. I guess it was just an artefact accidentally left in the source code. The other browsers I've tried simply ignore it. If the nightly build does the same, I think this is the best way to handle it.

caim
New Member
 
Posts: 1
Joined: February 1st, 2016, 9:55 am

Post Posted February 1st, 2016, 9:59 am

It's not only the file type not working , apparently the select dropdown is blocked as well while inside contenteditable. Seems to be firefox quirk though couldn't find more info about it while scurrying the web

trolly
Moderator

User avatar
 
Posts: 39879
Joined: August 22nd, 2005, 7:25 am

Post Posted February 1st, 2016, 12:10 pm

If you have a problem now make a new thread. This one died almost two years ago.
Locking.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.

Return to Web Development / Standards Evangelism


Who is online

Users browsing this forum: No registered users and 1 guest