Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2007
    Location
    Germany
    Posts
    18
    Vote Rating
    0
    ralf is on a distinguished road

      0  

    Default Firefox 15 does not remove emptyText from Textfields when selecting the field

    Firefox 15 does not remove emptyText from Textfields when selecting the field


    Since I updated to Firefox 15 the empty text of textfields is not going to be removed/hidden when selecting the field. When I start typing it is removed/hidden.

    I tested ExtJS 4.0.7 and 4.1.0 and actually use Firefox 15.0.1 on Windows.

    You can reproduce it at:

    http://dev.sencha.com/deploy/ext-4.1.../xml-form.html

    Is there a workaround or fix available or is it a Firefox Bug which will eventually disappear in 15.0.2?

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,647
    Vote Rating
    583
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    The same thing has started happening in recent WebKit versions. I doubt they're going to revert the behaviour, the W3C spec says that the FF/WebKit was is incorrect, but in a lot of ways it makes more sense.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    May 2007
    Location
    Germany
    Posts
    18
    Vote Rating
    0
    ralf is on a distinguished road

      0  

    Default text get black when it should stay gray

    text get black when it should stay gray


    ok, i see, thank you. It is basically the standard HTML 5 placeholder attribut. I checked Chrome 21 and its nearly the same.

    In Chrome however the placeholder text remains gray when selecting the field. In FF the text gets black which is even more confusing.

    This does not happen with standard html input elements. See

    http://www.html5accessibility.com/te...labelling.html

    Any idea how to stop the (placeholder) text from getting black?

  4. #4
    Sencha User
    Join Date
    May 2007
    Location
    Germany
    Posts
    18
    Vote Rating
    0
    ralf is on a distinguished road

      0  

    Default


    For the moment I'm going to force Ext not to use HTML5 placeholders:

    Code:
    Ext.onReady( function(){
        if ( Ext.isGecko || Ext.isWebkit )
            Ext.supports.Placeholder = false;
    });
    Hope this has no major drawback.

Thread Participants: 1

Tags for this Thread