Page MenuHomePhabricator

VisualEditor:Image size is appearing differently in the tooltip in VE compared to the set value in Edit Source mode
Closed, InvalidPublic

Description

Screenshot in the Edit source mode

Steps to reproduce:

1.Open a page with VE
2.Insert any image
3.Resize the image to specific size.For example:587x687px
4.Save the page
5.Open the page in Edit Source mode

Observed Result:
The Edit source mode shows the size of the image differently as 587x411

Test Environment: mw.org
Browser: Chrome Version 26.0.1410.65
OS: MAC OS X 10. 8. 5


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-01-10_at_11.42.20_AM.png (509×1 px, 165 KB)

Details

Reference
bz59920

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:36 AM
bzimport set Reference to bz59920.

Created attachment 14285
Size in the tooltip of VE

Attached:

Screen_Shot_2014-01-10_at_11.42.50_AM.png (406×652 px, 328 KB)

After checking with the Parsoid team, this isn't a bug -- Parsoid serializes a square bounding box (max sizes) which is why the wikistring is different than the actual image size (that preserves aspect ratio).