diff --git a/tests/lint/typography/t-074/golden/t-074-out.txt b/tests/lint/typography/t-074/golden/t-074-out.txt index 84163b1b..de04cb22 100644 --- a/tests/lint/typography/t-074/golden/t-074-out.txt +++ b/tests/lint/typography/t-074/golden/t-074-out.txt @@ -2,3 +2,6 @@ t-074 [Manual Review] chapter-1.xhtml Extended sound using hyphen-minus `-` instead of non-breaking hyphen `‑`. Bor-r-r-r-n! Ow-w-w! +y-003 [Manual Review] chapter-1.xhtml Possible typo: paragraph missing ending +punctuation. +

X-x-x-x

diff --git a/tests/lint/typography/t-074/in/src/epub/text/chapter-1.xhtml b/tests/lint/typography/t-074/in/src/epub/text/chapter-1.xhtml index 5edad1a4..0f89321d 100644 --- a/tests/lint/typography/t-074/in/src/epub/text/chapter-1.xhtml +++ b/tests/lint/typography/t-074/in/src/epub/text/chapter-1.xhtml @@ -8,10 +8,14 @@

I

-

Bon-bon.

+ +

Bon-bon.

Bor-r-r-r-n!

Ow-w-w!

-

Can this be the Seigneur du Vallon de Bracieux de Pierrefonds? Well-a-day! how he has shrunk since he gave up the name of Porthos!

+ +

X-x-x-x

+ +

Can this be the Seigneur du Vallon de Bracieux de Pierrefonds? Well-a-day! how he has shrunk since he gave up the name of Porthos!

diff --git a/tests/lint/typography/t-075/golden/t-075-out.txt b/tests/lint/typography/t-075/golden/t-075-out.txt new file mode 100644 index 00000000..8dd3f73b --- /dev/null +++ b/tests/lint/typography/t-075/golden/t-075-out.txt @@ -0,0 +1,4 @@ +t-075 [Manual Review] chapter-1.xhtml Word in verse with acute accent for +scansion instead of grave accent. + He forcéd + The accurséd diff --git a/tests/lint/typography/t-075/in/src/epub/css/local.css b/tests/lint/typography/t-075/in/src/epub/css/local.css new file mode 100644 index 00000000..0c4e98ee --- /dev/null +++ b/tests/lint/typography/t-075/in/src/epub/css/local.css @@ -0,0 +1,21 @@ +@charset "utf-8"; +@namespace epub "http://www.idpf.org/2007/ops"; + +[epub|type~="z3998:poem"] p{ + text-align: initial; + text-indent: 0; +} + +[epub|type~="z3998:poem"] p + p{ + margin-top: 1em; +} + +[epub|type~="z3998:poem"] p > span{ + display: block; + padding-left: 1em; + text-indent: -1em; +} + +[epub|type~="z3998:poem"] p > span + br{ + display: none; +} diff --git a/tests/lint/typography/t-075/in/src/epub/text/chapter-1.xhtml b/tests/lint/typography/t-075/in/src/epub/text/chapter-1.xhtml new file mode 100644 index 00000000..6b3a1091 --- /dev/null +++ b/tests/lint/typography/t-075/in/src/epub/text/chapter-1.xhtml @@ -0,0 +1,41 @@ + + + + I + + + + +
+

I

+ +

Accurséd

+
+

+ + Hello tést +
+ + The café +
+ + + He forcéd +
+ Test +
+
+ + Kórolenko +
+ + The accurséd +

+

+ + The wingéd +

+
+
+ +