aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
diff options
context:
space:
mode:
authorGaelian Ditchburn <gaelian.ditchburn@gmail.com>2012-06-03 19:07:54 +1000
committerAndrew White <andyw@pixeltrix.co.uk>2014-01-05 17:16:22 +0000
commit7a085dac2a2820856cbe6c2ca8c69779ac766a97 (patch)
tree4ef96999eb75ab141666feaf19f2e1546e8e1e5f /actionview/CHANGELOG.md
parent6b548830828e4e910de7854d21717c17303e089c (diff)
downloadrails-7a085dac2a2820856cbe6c2ca8c69779ac766a97.tar.gz
rails-7a085dac2a2820856cbe6c2ca8c69779ac766a97.tar.bz2
rails-7a085dac2a2820856cbe6c2ca8c69779ac766a97.zip
Switched to use `display:none` in extra_tags_for_form method.
The use of `display:inline` with the content_tag call in the extra_tags_for_form method potentially causes display issues with some browsers, namely Internet Explorer. IE's behaviour of not collapsing the line height on divs with ostensibly no content means that the automatically added div containing the hidden authenticity_token, utf8 and _method form input tags may interfere with other visible form elements in certain circumstances. The use of `display:none` rather than `display:inline` fixes this problem. Fixes #6403
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r--actionview/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index b74b36c439..a57da72d8c 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Use `display:none` instead of `display:inline` for hidden fields
+
+ Fixes #6403
+
+ *Gaelian Ditchburn*
+
* The `video_tag` helper accepts a number as `:size`
The `:size` option of the `video_tag` helper now can be specified