Bug 860951 - Make newlines work in XUL alerts. r=Unfocused a=akeybl
authorReuben Morais <reuben.morais@gmail.com>
Thu, 23 May 2013 16:30:27 -0700
changeset 142781 50125a7e87f7c6bb8fc62bcfe8be10aca3df638a
parent 142780 1702db2af514a0d3bf29108fb5397f5fe5f95363
child 142782 ddc11868e236c8b09fd132b47a0b962d0a7cd3f5
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersUnfocused, akeybl
bugs860951
milestone23.0a2
Bug 860951 - Make newlines work in XUL alerts. r=Unfocused a=akeybl
toolkit/components/alerts/resources/content/alert.css
--- a/toolkit/components/alerts/resources/content/alert.css
+++ b/toolkit/components/alerts/resources/content/alert.css
@@ -3,13 +3,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #alertBox[animate] {
   animation-duration: 4s;
   animation-fill-mode: both;
   animation-name: alert-animation;
 }
 
+.alertText {
+  white-space: pre-wrap;
+}
+
 @keyframes alert-animation {
   to {
     visibility: hidden;
   }
 }