Re: [office] A question about text:span and styles

From
Michael Brauer - Sun Germany - ham02 - Hamburg <>
Date
2009-02-27T14:27:08+00:00
ID
Thread
Re: [office] A question about text:span and styles
David,

the <span> element has been adopted from HTML, and it was intended that 
it works like in HTML. Which means "thistext" should be bold+italic.

Best regards

Michael

On 02/27/09 14:48, David Faure wrote:
> In the following:
> <span style="italic">italic <span style="bold">thistext</span></span> 
> 
> if the style called "bold" simply sets the character property bold=true and
> doesn't derive from any other style, should the text "thistext" be
> only bold, or should it be bold+italic?
> 
> I think it should be bold+italic, and testing in OpenOffice.org seems to indicate
> this too, but the specification doesn't say much about style handling in
> nested spans, so there is a bit of controversy about this among koffice
> developers. Can we get a clear statement about the expected behavior
> and possibly a sentence in the spec?
> 


-- 
Michael Brauer, Technical Architect Software Engineering
StarOffice/OpenOffice.org
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          
http://sun.com/staroffice         +49 40 23646 500
http://blogs.sun.com/GullFOSS

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
	   D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering