Opened 7 years ago

Last modified 7 years ago

#11593 confirmed Bug

[Image2] If only one dimension is set the missing one should not be set when resizing image — at Version 2

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3
Keywords: Cc:

Description (last modified by Jakub Ś)

TC1:

  1. Open image2 sample.
  2. Doubleclick image.
  3. Change the width to 300.
  4. See that height was set too although it was empty at the beginning. I'd expect that it was left empty.

Notice that in step 2 "keep ratio" is on. I think that it's ok, because it tells user that ratio will be kept if he changes size, which is true because the missing dimension is calculated automatically.

TC2:

  1. Open image2 sample.
  2. Doubleclick image to verify that only width is set. Close the dialog.
  3. Resize image using handler.
  4. Doubleclick image.
  5. See that both dimensions are set now.
  • Edit: TC2 is not about reading dimensions by dialog but about editor calculating both dimensions. In HTML when only one dimension is set the other one is automatically calculated by browser so we should not interfere it.

Change History (2)

comment:1 Changed 7 years ago by Olek Nowodziński

cc

comment:2 Changed 7 years ago by Jakub Ś

Description: modified (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy