Class: Fortitude::Doctypes::Xhtml10Strict

Inherits:
Xhtml10
  • Object
show all
Defined in:
lib/fortitude/doctypes/xhtml10_strict.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

#initializeXhtml10Strict

Returns a new instance of Xhtml10Strict.



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

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

Class Method Details

.delegate_tag_storesObject



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

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