Opened 12 years ago
Closed 12 years ago
#7736 closed bug (fixed)
Precising rfxnum regex
Reported by: | lrbabe | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.5 |
Component: | css | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I'm trying to create a new cssHooks for the transform scale property, and I want to be able to pass values such as "0.5,2" (half the scale on X axis and twice the scale on Y axis).
Currently, when using such value, the rfxnum regex will be matched, "0.5" will be considered to be the value and ",2" the unit. Additionaly, jQuery will waste time trying to calculate the start value.
Change History (5)
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
You could have added a note that you made a pull request regarding this too
comment:3 Changed 12 years ago by
Component: | unfiled → css |
---|---|
Milestone: | 1.6 → 1.5 |
Priority: | undecided → low |
This was landed already for 1.5b1.
Changeset: 796d25cf07ad63e2008ff4b70db182d33a3533dd
comment:4 Changed 12 years ago by
Milestone: | 1.5 |
---|---|
Resolution: | invalid |
Status: | closed → reopened |
comment:5 Changed 12 years ago by
Milestone: | → 1.5 |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for taking the time to contribute to the jQuery project by writing a bug report.
IMHO this isn't a bug as the animate() documentation clearly states:
As an alternative you should be able to use
scaleX
andscaleY
instead.Actually instead of writing this hook on your own you might want to check out the jquery-cssHooks plugin which already has many additional hooks and also a transform hook which might work out for you.