Sha256: dcd45f4145225af6608a181039a055cace59d0f8b2ff9f11eeb2a448e809587a

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

Feature: decorations
  As a CSL cite processor hacker
  I want the test decorations_NoNormalWithoutDecoration to pass

  @citation @decorations
  Scenario: No Normal Without Decoration
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation>
        <layout font-weight="normal">
    	  <group delimiter="&#x0A;">
    	    <text variable="title" font-style="normal"/>
    	    <text variable="title" font-style="italic"/>
            <group font-style="italic">
              <text variable="title" font-style="normal"/>
            </group>
     	  </group>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","title":"His Anonymous Life","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    His Anonymous Life
    <i>His Anonymous Life</i>
    <i><span style="font-style:normal;">His Anonymous Life</span></i>
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/decorations/NoNormalWithoutDecoration.feature
citeproc-1.0.6 features/decorations/NoNormalWithoutDecoration.feature
citeproc-1.0.5 features/decorations/NoNormalWithoutDecoration.feature
citeproc-1.0.4 features/decorations/NoNormalWithoutDecoration.feature