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

Michael Stahl edited comment on OFFICE-3947 at 2/9/21 11:29 AM:
----------------------------------------------------------------

> 1.a Too wide data type ToDo: Get the structure into the specification text and the RELAX schema.

this would match the current 1.3 features: (note this type is used by both style:shadow and fo:text-shadow)

{noformat}
diff --git a/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng b/src/main/r
index 87a8698..876fd69 100644
--- a/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng
+++ b/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng
@@ -9555,7 +9555,13 @@
   <rng:define name="shadowType">
     <rng:choice>
       <rng:value>none</rng:value>
-      <rng:ref name="string"/>
+      <rng:list>
+        <rng:optional>
+          <rng:ref name="color"/>
+        </rng:optional>
+        <rng:ref name="nonNegativeLength"/>
+        <rng:ref name="nonNegativeLength"/>
+      </rng:list>
     </rng:choice>
   </rng:define>
   <rng:define name="shape">
{noformat}


was (Author: info6):
1.a Too wide data type ToDo: Get the structure into the specification text and the RELAX schema.

this would match the current 1.3 features:

{noformat}
diff --git a/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng b/src/main/r
index 87a8698..876fd69 100644
--- a/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng
+++ b/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng
@@ -9555,7 +9555,13 @@
   <rng:define name="shadowType">
     <rng:choice>
       <rng:value>none</rng:value>
-      <rng:ref name="string"/>
+      <rng:list>
+        <rng:optional>
+          <rng:ref name="color"/>
+        </rng:optional>
+        <rng:ref name="nonNegativeLength"/>
+        <rng:ref name="nonNegativeLength"/>
+      </rng:list>
     </rng:choice>
   </rng:define>
   <rng:define name="shape">
{noformat}

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