mediawiki-extensions-Visual.../modules/ve-mw/init/styles
Timo Tijhof 62c1d64ad0 mw.ViewPageTarget: Use CSS instead of JS for DOM hiding/muting
* Use .ve-activated for elements changed in activate()
  - hideReadOnlyContent()
  - mutePageContent()
  - mutePageTitle

* Use .ve-active for elements changed in onSurfaceReady()
  - hidePageContent()

* Set 've-activated' class from activate() instead of transformPage()
  to consolidate reflows and minimise DOM interaction. It's still
  in the same (synchronous) execution path, but a few statements
  earlier now.

* Remove obsolete #toc wrapper. This <div> (with data property
  to distinguish it from potentially foreign parents in the future)
  was there to aid slideDown/slideUp animations, because those
  don't work well on table elements. See eba7d58dd1.

* Remove obsolete setTimeout in restorePageTitle().
  The removal of .ve-init-mw-viewPageTarget-pageTitle was delayed
  by one second (introduced in Ibc3fa2fb7 / 4cc88b9850). This
  was to account for a jQuery animation we no longer use.

* Remove unused '.ve-init-mw-viewPageTarget-transform-muted'
* Remove unused '.ve-init-mw-viewPageTarget-transform'
* Remove unused '.ve-init-mw-viewPageTarget-pageTitle'

The resulting stylesheet exposes that we're not consistent in
whether elements hide immediately (ve-activated) or once the
surface is ready (ve-active). This is intentionally kept as-is
within this commit.

Of the different elements that had their opacity changed, only
firstHeading was being animated. This animation was removed.

Bug: T88590
Bug: T87160
Change-Id: I87033456f715d99a88425e38e8ac5171144f4ec8
2015-02-04 19:24:29 -08:00
..
images Reverse the progress image for RTL 2013-08-22 23:46:59 +03:00
ve.init.mw.MobileViewTarget.css build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.Target.css build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.ViewPageTarget-apex.css build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.ViewPageTarget-monobook.css build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.ViewPageTarget-shared.css build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.ViewPageTarget-vector.css build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.ViewPageTarget.css mw.ViewPageTarget: Use CSS instead of JS for DOM hiding/muting 2015-02-04 19:24:29 -08:00
ve.init.mw.ViewPageTarget.init.css build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.ViewPageTarget.noscript.css build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00