<?xml version="1.1" encoding="UTF-8" ?> <!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 3.0 Language//EN" "http://www.w3.org/2008/SMIL30/SMIL30Language.dtd"> <!-- Copyright: Copyright 1998-2008 W3C (MIT, ERCIM, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/2008/04-testsuite-license. Author: David Melendi Palacio & Xabiel Garcia Paneda (Universidad de Oviedo) Version: October 25, 2007 Chapter: SMIL 3.0 SMILText Module: SMIL 3.0 SMILText Feature: span, textStyle and textStyling File Name: smil30-smiltext-spantextstyle.smil Expected Behavior: All the text has the default characteristics but that marked with the color red, the black background, the size of 18 pixels, and the italic and bold font. --> <smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language"> <head> <textStyling> <textStyle xml:id="personal" textColor="red" textBackgroundColor="black" textFontFamily="monospace" textFontSize="18px" textFontStyle="italic" textFontWeight="bold" /> </textStyling> <layout> <root-layout width="300" height="400" /> <region xml:id="text" width="100%" height="100%" backgroundColor="white" textColor="black"/> </layout> </head> <body> <smilText region="text" dur="15s" > IN a village of <span textStyle="personal" >La Mancha</span>, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing. An olla of rather more beef than mutton, a salad on most nights, scraps on Saturdays, lentils on Fridays, and a pigeon or so extra on Sundays, made away with three-quarters of his income. The rest of it went in a doublet of fine cloth and velvet breeches and shoes to match for holidays, while on week-days he made a brave figure in his best homespun. He had in his house a housekeeper past forty, a niece under twenty, and a lad for the field and market-place, who used to saddle the hack as well as handle the bill-hook. </smilText> </body> </smil>