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=69318#comment-69318 ] 

Regina Henschel commented on OFFICE-3947:

I have sent a mail with an attachment to test, how browsers render boxes around text. http://markmail.org/message/jpaf3grp57jlvjko

The issue OFFICE-3843 proposes to add style:shadow to text:properties. Currently the attribute style:shadow is only used for objects, which do not have text around them, for example for a shadow around the header. Therefore this problem is new.

An HTML5 document, which uses the box-shadow CSS property to get borders around portion of text, is rendered by the browsers in a way, that the text goes to the edge of the border area. That way text and shadow overlap. Test it with the mentioned document from the mailing list.

Word and LibreOffice do not overlap text and shadow. To remove such overlapping in HTML the CSS property margin-left and margin-right can be used. We need to decide, whether rendering of shadows shall follow the way browsers do it (which means using CSS3 as reference), or whether we will specify an own way.

> 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
> 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

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