<?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: A styling attribute is used on an element to which it does not apply (textDirection in p).
File Name: smil30-smiltext-IgnoredTextstyling.smil
Expected Behavior: a non-validating parser should ignore the textDirection attribute, but a validating parser should give an error.

-->




<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language">
<head>
	<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" >
	<p textDirection="ltr">IN a village of La Mancha, 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.</p>
  <p textDirection="rtl">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.</p>
  <p textDirection="inherit">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.</p>
	</smilText>
</body>
</smil>
