OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (OFFICE-3947) Wrong normative reference for attribute 20.349 style:shadow


    [ https://issues.oasis-open.org/browse/OFFICE-3947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=78700#comment-78700 ] 

Michael Stahl commented on OFFICE-3947:
---------------------------------------

> 2.a Overlap ToDo: Do we want to treat a shadow as part of the border area? If yes or not, we will need the fo:margin-foo attributes on text span too, to allow authors to get CSS3 or MS-Word appearance.

some options for how this could work...
1) add margin, the size of the box is the size of the margin attributes - then shadows could be painted outside the margin if it's larger than margin... i don't think this can actually work with the way Writer paints things, so i don't like it :)
2) add margin, the size of the box is the maximum of shadow and margin
3) don't add margin, require the margin to be equal to the shadow on both sides both vertically and horizontally

> 2.b Line Break ToDo: Should ODF provide such property too? If not, which kind of break is used?

i think it's enough to specify the way both Word and Writer work.

> 2.c Indents ToDo: Specify the desired indents.

This is only for paragraph borders, not for text borders. Word paints the text borders inside the paragraph, just like Writer.


> Wrong normative reference for attribute 20.349 style:shadow
> -----------------------------------------------------------
>
>                 Key: OFFICE-3947
>                 URL: https://issues.oasis-open.org/browse/OFFICE-3947
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: External References, Styles
>    Affects Versions: ODF 1.2
>            Reporter: Regina Henschel
>            Priority: Major
>         Attachments: CollectionOfProblems.odt, OASIS 3947 styleshadow draft 20210206 RH.odt
>
>
> The text for 20.349 style:shadow has
> <quote>
> The defined values for this attribute are those defined in Â7.16.5 of [XSL], except the value inherit.
> </quote>
> But section Â7.16.5 is about text shadows, which is 20.219 fo:text-shadow in ODF.
> The attribute style:shadow is explicitly _not_ for text shadows.
> <quote>
> The shadow effect is not applied to the text content of an element, but ...
> </quote>
> The behavior of Word and LibreOffice is similar to the CSS property "box-shadow" https://www.w3.org/TR/2017/CR-css-backgrounds-3-20171017/#the-box-shadow.
> It seems, that even https://www.w3.org/TR/xslfo20/ does not have something similar. Unfortunately CSS 2 has it neither.



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]