aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-06-15 06:56:50 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-06-15 06:56:50 -0700
commit3b7192d21e673002070c852453b3cc32622a7591 (patch)
tree6ac4036e37380f75a3d593ff1c23eafb79b80c75 /actionpack/lib/action_view/helpers
parentfe01752418cec61893f1d0c39aa29e6d9f5bcf4a (diff)
parenta89bdc04bae7253b9f442fc0106aeca8284e75a2 (diff)
downloadrails-3b7192d21e673002070c852453b3cc32622a7591.tar.gz
rails-3b7192d21e673002070c852453b3cc32622a7591.tar.bz2
rails-3b7192d21e673002070c852453b3cc32622a7591.zip
Merge pull request #10949 from alexpeattie/update_html_boolean_attrs
Update HTML boolean attributes per the HTML 5.1 spec
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/tag_helper.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/tag_helper.rb b/actionpack/lib/action_view/helpers/tag_helper.rb
index 3939e4737b..732f35643a 100644
--- a/actionpack/lib/action_view/helpers/tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/tag_helper.rb
@@ -12,8 +12,11 @@ module ActionView
BOOLEAN_ATTRIBUTES = %w(disabled readonly multiple checked autobuffer
autoplay controls loop selected hidden scoped async
- defer reversed ismap seemless muted required
- autofocus novalidate formnovalidate open pubdate itemscope).to_set
+ defer reversed ismap seamless muted required
+ autofocus novalidate formnovalidate open pubdate
+ itemscope allowfullscreen default inert sortable
+ truespeed typemustmatch).to_set
+
BOOLEAN_ATTRIBUTES.merge(BOOLEAN_ATTRIBUTES.map {|attribute| attribute.to_sym })
PRE_CONTENT_STRINGS = {