Minimal test case:
<mapframe width="full" height="100" zoom="5" longitude="31" latitude="35" /> <mapframe width="100%" height="100" zoom="5" longitude="31" latitude="35" />
When editing this in VisualEditor weird things happen:
- The placeholder in the article is the wrong size, only a few pixels wide instead of 100%.
- The dialog field where the width should appear is empty.
- The field refuses to accept "full" or "100%".
- When I try to enter "full" I get an error for each keystroke (see below). This even breaks the dialog to a point where I can't close it any more.
- When I don't touch the empty field and apply other changes width="NaN" actually appears in the wikitext.
- …
Uncaught Error: Invalid LatLng object: (33.18046807203146, NaN) at new LatLng at Object.unproject at Object.pointToLatLng at NewClass.unproject at ve.ui.MWMapsDialog.updateMapArea at ve.ui.MWMapsDialog.onDimensionsChange at OO.EventEmitter.emit at ve.ui.DimensionsWidget.onWidthChange