[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Created: (OFFICE-3346) Is Part 1, Section16.2 correct about style resolution?
Is Part 1, Section 16.2 correct about style resolution? ------------------------------------------------------- Key: OFFICE-3346 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3346 Project: OASIS Open Document Format for Office Applications (OpenDocument) TC Issue Type: Bug Components: Part 1 (Schema), Styles Affects Versions: ODF 1.0 Errata CD 5 Reporter: Robert Weir As posted by Jos on mailing list: Today I was reading paragraph 16.2 of OpenDocument-v1.2-cd05-part1-editor- revision_01.odt. I tried to deduce how to resolve certain properties for certain ODF fragments. <text:p text:style-name='A'> <text:span text:style-name='B'> <text:span text:style-name='C'> Hello </text:span> </text:span> </text:p> Assume that styles A, B and C have no parent styles and both A and B determine fo:font-size at 10 and 20 respectively. If I follow the instructions in 16.2, I would conclude that 'Hello' should be shown with font-size 10, since the instructions there say that if the style on the element does not define a property, next one should look at the style for the containing paragraph, thereby skipping style 'B'. That seems wrong to me. This is the relevant instruction: "For styles where the style:family attribute 19.478 has the value text, applied to an descendant elements of a paragraph which defines character content 6.1.1, the paragraph style applied to the paragraph containing those elements is searched for the formatting property." -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]