<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 12, 2013, at 11:37 PM, Chris Little <<a href="mailto:chrislit@crosswire.org">chrislit@crosswire.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 4/12/2013 12:12 PM, DM Smith wrote:<br><blockquote type="cite">Regarding paragraph formats, the <p> element does not define any.<br>There is no notion of "justified", "indented", "line-spacing",<br>"centering", .... that most word processors provide. These have to<br>use the type/subType attribute extension. And as you noted, SWORD<br>does not support these. Chris has suggested that we could allow <p<br>type="x-indent"> as a way of handling this. I'd go a bit further and<br>allow any type and subType x-yyy values on any element, to become a<br>class attributes (without the x- ) on the resulting html element.<br></blockquote><br>This sounds like a great idea.<br><br>Some things to consider:<br><br>Should we necessarily strip the x-? I don't think keeping it harms anything, but removing it looses the information that the type is a defined OSIS type. Removing the x- also introduces the possibility of collisions (e.g. the note types 'allusion' and 'x-allusion' would be mapped to the same class value), but this might be a desirable feature.<br><br>Should types & subTypes be composed or listed? E.g., if a note has type 'variant' and subType 'MT', would the class value be:<br>'variant MT'<br>or something like<br>'variant|MT'. (I don't know whether | is necessarily a good character for making compound classes.)</blockquote><br></div><div>No problem keeping the prefix x-. Keeping it will minimize collisions and having duplicate selectors for a rule set is common in CSS.</div><div><br></div><div>Since this is a mapping of OSIS type and subType to HTML class, the CSS semantic should probably be used. This would have the values be separated by space.<span style="font-size: 13px; "> The character | is not an allowable for a CSS value.</span></div><div><br></div>In Him,<div><span class="Apple-tab-span" style="white-space:pre">        </span>DM</div></body></html>