Changes between Version 3 and Version 4 of Ticket #7092, comment 4


Ignore:
Timestamp:
Mar 10, 2011, 9:13:23 AM (9 years ago)
Author:
rdworth
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7092, comment 4

    v3 v4  
    77> Do you think there should be a core jQuery function for this?  Or do you just think nobody should be doing this, so jQuery-ui shouldn't change?  Or do you just object to the specific way I handled it in my pull request?
    88
    9 We intentionally don't handle this, not because no one will ever have this markup, but because if someone does, they know better how to deal with it than we do. The only thing we could do is choose one of several possible combinations of moving one or both elements and wrapping one or both of them. That might seriously break someone's form if they're not expecting it, or they might want it done a different way, and we can only choose 1, whereas they can choose many. So, for this reason we don't feel the fix should be built-in. If such a fix is needed, it needs to be done by the user before calling this widget.
     9We intentionally don't handle this, not because no one will ever have this markup, but because if someone does, they know better how to deal with it than we do. The only thing we could do is choose one of several possible combinations of moving one or both elements and wrapping one or both of them. That might seriously break someone's form if they're not expecting it, or they might want it done a different way. We can only choose one, whereas they can choose one of many. So, for this reason we don't feel the fix should be built-in. If such a fix is needed, it needs to be done by the user before calling this widget.