Use of attribute style:list-style-name in connection with pure <text:h> element is unclear

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • ODF 1.5
    • Affects Version/s: None
    • Component/s: Lists, Styles, Text
    • None
    • Hide

      Not yet. The desired behavior needs to be discussed.

      Show
      Not yet. The desired behavior needs to be discussed.
    • Hide

      Add at end of 19.500:

      "If the list style specified by this attribute is applied to headings or paragraphs that are not contained in a list, the behaviour is implementation-dependent."

      Show
      Add at end of 19.500: "If the list style specified by this attribute is applied to headings or paragraphs that are not contained in a list, the behaviour is implementation-dependent."

      The spec has in 19.496 style:list-style-name the text
      <quote>
      The list style specified by this attribute is applied to headings and paragraphs that are contained in a list, where the list does not specify a list style itself, and the list has no list style specification for any of its parents.
      </quote>
      But the spec does not say, what should happen, if the heading is not inside a list.

      Look at
      <quote>
      An outline style is a list style that is applied to all headings within a text document where the heading's paragraph style does not define a list style to use itself.
      </quote>
      from 16.34 <text:outline-style>
      Current implementations use this outline style for headings, which are not inside a list.

      From these texts I guess, that it is possible that the headings paragraph style can define a list style to be used. I find no constrain, that the heading has to be inside a list.

      The mail https://lists.oasis-open.org/archives/office/201707/msg00020.html has the files HeadingWithoutList.odt and StyleEmptyNoListInherit.odt attached, to test it.

            Assignee:
            svante.schubert#1#1
            Reporter:
            Regina Henschel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: