view etc/schema/xhtml-script.rnc @ 91264:9112e263c11f

(logfonts_match): Don't check adstyle here. (font_matches_spec): Check here against physical font instead. (add_font_entity_to_list): Avoid some substitutions.
author Jason Rumney <jasonr@gnu.org>
date Thu, 20 Dec 2007 14:28:53 +0000
parents 38f93f3d00a2
children
line wrap: on
line source

# Script Module

script = element script { script.attlist, text }
script.attlist =
  attribute charset { Charset.datatype }?,
  attribute type { ContentType.datatype },
  attribute src { URI.datatype }?,
  attribute defer { "defer" }?,
  attribute xml:space { "preserve" }?
noscript = element noscript { noscript.attlist, Block.model }
noscript.attlist = Common.attrib
head.content &= script*
Script.class = noscript | script
Inline.class |= Script.class
Block.class |= Script.class