Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#5715 closed bug (notabug)

Problem with Sortable

Reported by: frodik Owned by:
Priority: minor Milestone:
Component: ui.core Version: 1.8.2
Keywords: Cc: frodik.cz@…
Blocked by: Blocking:

Description

Hello, I have a problem with Sortable. I set some style to a sortable item. Let's say this:

<div style="border:1px solid red"></div>

But when I sort this item using sortable, it changes style to this:

<div style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: red; border-right-color: red; border-bottom-color: red; border-left-color: red; float: left; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"></div>

Do you have idea why is this happening ? Is there any way how to change this behaviour ?

Thank you very much,

Rudolf.

Change History (2)

comment:1 Changed 13 years ago by Jörn Zaefferer

Resolution: invalid
Status: newclosed

The browser just rewrites the shorthand style to equivalent individual styles. Not a jQuery UI issue - not an issue at all, afaik.

comment:2 Changed 11 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.