Class: Fortitude::Doctypes::Xhtml10Transitional

Inherits:
Xhtml10
  • Object
show all
Defined in:
lib/fortitude/doctypes/xhtml10_transitional.rb

Instance Attribute Summary

Attributes inherited from Base

#name

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Xhtml10

#allows_bare_attributes?, #close_void_tags_must_be, #default_javascript_tag_attributes, #needs_cdata_in_javascript_tag?

Methods inherited from Base

#close_void_tags_must_be, #declare!, #tags, #to_s

Methods included from Tags::TagStore

#delegate_tag_stores, #modify_tag, #tag, #tag_names, #tags, #tags_added!, #tags_changed!

Constructor Details

#initializeXhtml10Transitional

Returns a new instance of Xhtml10Transitional.



7
8
9
# File 'lib/fortitude/doctypes/xhtml10_transitional.rb', line 7

def initialize
  super(:xhtml10_transitional, 'html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"')
end

Class Method Details

.delegate_tag_storesObject



12
13
14
# File 'lib/fortitude/doctypes/xhtml10_transitional.rb', line 12

def delegate_tag_stores
  [ Fortitude::Doctypes::Html4TagsTransitional ]
end