-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #278 from laws-africa/intro-wrapup
intro and wrapUp are block elements
- Loading branch information
Showing
18 changed files
with
213 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ module.exports = { | |
launch: { | ||
defaultViewport: { | ||
width: 1024, | ||
height: 1024, | ||
height: 1500, | ||
} | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+2.34 KB
(120%)
law-widget-styles/tests/__image_snapshots__/visual-test-js-attachments-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.32 KB
(110%)
law-widget-styles/tests/__image_snapshots__/visual-test-js-footnotes-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.44 KB
(100%)
law-widget-styles/tests/__image_snapshots__/visual-test-js-lists-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+281 Bytes
(100%)
...dget-styles/tests/__image_snapshots__/visual-test-js-primary-styling-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.34 KB
(110%)
law-widget-styles/tests/__image_snapshots__/visual-test-js-quotes-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+102 KB
...idget-styles/tests/__image_snapshots__/visual-test-js-show-structure-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.36 KB
(120%)
law-widget-styles/tests/__image_snapshots__/visual-test-js-tables-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<link rel="stylesheet" href="../css/law-widget-styles.css"> | ||
<link rel="stylesheet" href="structure.css"> | ||
</head> | ||
<body> | ||
|
||
<div class="akoma-ntoso show-structure"> | ||
|
||
<span class="akn-akomaNtoso"> | ||
<span class="akn-act" data-name="act"> | ||
|
||
<section class="akn-preface" id="preface"> | ||
<span class="akn-p" id="preface__p_1" data-eId="preface__p_1">Text in the preface.</span> | ||
</section> | ||
<section class="akn-preamble" id="preamble"> | ||
<span class="akn-p" id="preamble__p_1" data-eId="preamble__p_1">Text in the preamble.</span> | ||
</section> | ||
<span class="akn-body"> | ||
<section class="akn-chapter" id="chp_1" data-eId="chp_1"><h2>Chapter 1<br>A Chapter Heading</h2> | ||
<section class="akn-section" id="chp_1__sec_1" data-eId="chp_1__sec_1"><h3>1. Section One</h3> | ||
<section class="akn-subsection" id="chp_1__sec_1__subsec_1" data-eId="chp_1__sec_1__subsec_1"><span class="akn-num">(1)</span><span class="akn-intro"> | ||
<span class="akn-p" id="chp_1__sec_1__subsec_1__intro__p_1" data-eId="chp_1__sec_1__subsec_1__intro__p_1">Subsection 1 with a list of sub-paragraphs:</span> | ||
</span><section class="akn-paragraph" id="chp_1__sec_1__subsec_1__para_a" data-eId="chp_1__sec_1__subsec_1__para_a"><span class="akn-num">(a)</span><span class="akn-content"> | ||
<span class="akn-p" id="chp_1__sec_1__subsec_1__para_a__p_1" data-eId="chp_1__sec_1__subsec_1__para_a__p_1">sub 1(1)(a)</span> | ||
</span></section><section class="akn-paragraph" id="chp_1__sec_1__subsec_1__para_b" data-eId="chp_1__sec_1__subsec_1__para_b"><span class="akn-num">(b)</span><span class="akn-content"> | ||
<span class="akn-p" id="chp_1__sec_1__subsec_1__para_b__p_1" data-eId="chp_1__sec_1__subsec_1__para_b__p_1">sub 1(1)(a)</span> | ||
</span></section></section><section class="akn-subsection" id="chp_1__sec_1__subsec_2" data-eId="chp_1__sec_1__subsec_2"><span class="akn-num">(2)</span><span class="akn-content"> | ||
<span class="akn-p" id="chp_1__sec_1__subsec_2__p_1" data-eId="chp_1__sec_1__subsec_2__p_1">Subsection 2 with plain text.</span> | ||
</span></section></section></section> | ||
<span class="akn-hcontainer" data-name="hcontainer" id="hcontainer_1" data-eId="hcontainer_1"> | ||
<h3 class="akn-crossHeading" id="hcontainer_1__crossHeading_1" data-eId="hcontainer_1__crossHeading_1">A crossheading</h3> | ||
</span> | ||
<section class="akn-section" id="sec_2" data-eId="sec_2"><h3>2. Section Two</h3> | ||
<span class="akn-content"> | ||
<span class="akn-p" id="sec_2__p_1" data-eId="sec_2__p_1">Text without sub-paragraphs.</span> | ||
</span></section> | ||
<section class="akn-section" id="sec_3" data-eId="sec_3"><h3>3. Section three</h3> | ||
<span class="akn-intro"> | ||
<span class="akn-p" id="sec_3__intro__p_1" data-eId="sec_3__intro__p_1">Intro text.</span> | ||
</span><section class="akn-subsection" id="sec_3__subsec_1" data-eId="sec_3__subsec_1"><span class="akn-num">(1)</span><span class="akn-content"> | ||
<span class="akn-blockList" id="sec_3__subsec_1__list_1" data-eId="sec_3__subsec_1__list_1"> | ||
<span class="akn-listIntroduction" id="sec_3__subsec_1__list_1__intro_1" data-eId="sec_3__subsec_1__list_1__intro_1">Subsection 1 with a list of items:</span> | ||
<span class="akn-item" id="sec_3__subsec_1__list_1__item_a" data-eId="sec_3__subsec_1__list_1__item_a"> | ||
<span class="akn-num">(a)</span> | ||
<span class="akn-p" id="sec_3__subsec_1__list_1__item_a__p_1" data-eId="sec_3__subsec_1__list_1__item_a__p_1">sub 1(1)(a)</span> | ||
</span> | ||
<span class="akn-item" id="sec_3__subsec_1__list_1__item_b" data-eId="sec_3__subsec_1__list_1__item_b"> | ||
<span class="akn-num">(b)</span> | ||
<span class="akn-p" id="sec_3__subsec_1__list_1__item_b__p_1" data-eId="sec_3__subsec_1__list_1__item_b__p_1">sub 1(1)(a)</span> | ||
</span> | ||
</span> | ||
</span></section><span class="akn-wrapUp"> | ||
<span class="akn-p" id="sec_3__wrapup__p_1" data-eId="sec_3__wrapup__p_1">Wrap-up text.</span> | ||
</span></section> | ||
<section class="akn-section" id="sec_4" data-eId="sec_4"><h3>4. Inlines</h3> | ||
<span class="akn-content"> | ||
<span class="akn-p" id="sec_4__p_1" data-eId="sec_4__p_1">An <span class="akn-remark" data-status="editorial">[editorial remark]</span>.</span> | ||
</span></section> | ||
<section class="akn-section" id="sec_5" data-eId="sec_5"><h3>5. Alinea</h3> | ||
<section class="akn-alinea akn--no-indent" id="sec_5__al_nn_1" data-eId="sec_5__al_nn_1"><span class="akn-content"> | ||
<span class="akn-p" id="sec_5__al_nn_1__p_1" data-eId="sec_5__al_nn_1__p_1">an alinea</span> | ||
</span></section><section class="akn-alinea" id="sec_5__al_n" data-eId="sec_5__al_n"><span class="akn-num">n</span><span class="akn-content"> | ||
<span class="akn-p" id="sec_5__al_n__p_1" data-eId="sec_5__al_n__p_1">a numbered alinea</span> | ||
</span></section><section class="akn-alinea akn--no-indent" id="sec_5__al_nn_2" data-eId="sec_5__al_nn_2"><span class="akn-heading">Heading</span><span class="akn-content"> | ||
<span class="akn-p" id="sec_5__al_nn_2__p_1" data-eId="sec_5__al_nn_2__p_1">an alinea with a heading</span> | ||
</span></section><section class="akn-alinea" id="sec_5__al_num" data-eId="sec_5__al_num"><span class="akn-num">num</span><span class="akn-heading">Heading</span><span class="akn-content"> | ||
<span class="akn-p" id="sec_5__al_num__p_1" data-eId="sec_5__al_num__p_1">an alinea with a num and a heading</span> | ||
</span></section><section class="akn-alinea" id="sec_5__al_num_2" data-eId="sec_5__al_num_2"><span class="akn-num">num</span><span class="akn-heading">Heading</span><h4 class="akn-subheading">Subheading</h4> | ||
<span class="akn-content"> | ||
<span class="akn-p" id="sec_5__al_num_2__p_1" data-eId="sec_5__al_num_2__p_1">an alinea with a num and a heading, and a subheading</span> | ||
</span></section></section> | ||
</span> | ||
</span> | ||
</span> | ||
|
||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.