This project is archived and is in readonly mode.

#825 ✓wontfix
Ben Lenarts

Element#highlight failing in opera when background-color is a word

Reported by Ben Lenarts | January 6th, 2010 @ 03:23 PM | in 1.3.0 rc2 (closed)


They should both highlight on click, but Opera doesn't highlight the first (red) one.

Might this have anything to do with the fact that el.getStyle('background-color') returns 'red' instead of '#ff0000'?

Comments and changes to this ticket

  • Ben Lenarts

    Ben Lenarts January 6th, 2010 @ 03:23 PM

    • Tag changed from opera fx css to css, fx, opera
  • fakedarren

    fakedarren January 7th, 2010 @ 10:46 PM

    • State changed from “new” to “open”
    • Assigned user set to “fakedarren”
    • Milestone changed from 2.0 to 1.3.0 rc2

    Yep, I do believe we need to do some work on conversion from the w3c colours to their hex equivalent; this has come up a couple of times now. Will add this to my todo list and add some specs.

  • Valerio

    Valerio February 16th, 2010 @ 02:29 PM

    • State changed from “open” to “wontfix”
    • Assigned user changed from “fakedarren” to “Valerio”

    We have no intention, atleast for 1.3 and 2.0, to support named colors in MooTools. If opera returns "black" for "#000" you simply need to use "#000" instead in your css.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket