mediawiki-extensions-Visual.../modules/ve-mw/dm
Bartosz Dziewoński 9119e57a2e Improve rendering of audio files (for real this time)
ve.dm.MWImageNode:
* Define sensible scalable properties for audio files. They are now
  scalable to any width but have a fixed height. (Ideally they would
  have no concept of height, but that would require many more changes.)
  This prevents them from resetting to 0x0 when resized.

ve.ce.MWBlockImageNode:
* Remove override for #isResizable, audio files can be resized now.
* Move #updateMediaType to MWImageNode mixin so it applies to
  MWInlineImageNode as well.

ve.ce.MWImageNode:
* Add #updateMediaType from MWBlockImageNode.
* Hide the real image 'src' using CSS rather than changing the
  attribute. It seems the previous solution depended on the order in
  which methods are called, because it stopped working when I moved
  the code here. (This depends on VE/VE change If5b1b5b5d.)

audioPlayer.svg:
* Make the file nicely resizeable. The dimensions of the "play" icon
  and time are fixed, the bar adjusts to the width of the container.

Bug: T206022
Change-Id: Ia0f38ca11e0d55a5b725fd9aeb6c79ec1345376d
2020-02-14 04:18:28 +01:00
..
annotations Fix handling of pasted internal red links 2020-02-07 17:41:19 +01:00
metaitems doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
models Use autogenerated parameter info for templates without TemplateData 2020-01-31 13:43:56 +01:00
nodes Improve rendering of audio files (for real this time) 2020-02-14 04:18:28 +01:00
.eslintrc.json Replace $.when with ve.promiseAll 2019-11-04 22:06:54 +08:00
ve.dm.MWWikitextSurface.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWWikitextSurfaceFragment.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00