diff: align cell content to the top
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 24 Jan 2012 16:25:41 +0000 (16:25 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 24 Jan 2012 16:25:41 +0000 (16:25 +0000)
commit13a36664d38a2b02841480c6864e7484ed261287
treef84340c6e43f654c0e1f4ae855803ad4f129d834
parente0b634333f4c19b000925195be8dcaffb2021e8c
diff: align cell content to the top

This is needed when both sides are unbalanced. For example when a very
long paragraph is replaced by a single sentence, the text in the right
cell will be floating in the middle.

Example using ?action=render-ascii:

PRE PATCH:
+----------------+  +----------------+
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  | lot of e       |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
+----------------+  +----------------+

POST PATCH:
+----------------+  +----------------+
|eeeeeeeeeeeeeeee|  | lot of e       |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
+----------------+  +----------------+

Part of: bug 33335 - new color scheme and text display for diffs
follow r107127
resources/mediawiki.action/mediawiki.action.history.diff.css