-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
75 additions
and
2 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
t-075 [Manual Review] chapter-1.xhtml Word in verse with acute accent for | ||
scansion instead of grave accent. | ||
<span>He forcéd</span> | ||
<span>The accurséd</span> |
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,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; | ||
} |
41 changes: 41 additions & 0 deletions
41
tests/lint/typography/t-075/in/src/epub/text/chapter-1.xhtml
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,41 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="z3998: http://www.daisy.org/z3998/2012/vocab/structure/, se: https://standardebooks.org/vocab/1.0" xml:lang="en-GB"> | ||
<head> | ||
<title>I</title> | ||
<link href="../css/core.css" rel="stylesheet" type="text/css"/> | ||
<link href="../css/local.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body epub:type="bodymatter z3998:fiction"> | ||
<section id="chapter-1" epub:type="chapter"> | ||
<h2 epub:type="ordinal z3998:roman">I</h2> | ||
<!-- Ignore, not verse--> | ||
<p>Accurséd</p> | ||
<blockquote epub:type="z3998:poem"> | ||
<p> | ||
<!-- Ignore, child element with language --> | ||
<span>Hello <i xml:lang="fr">tést</i></span> | ||
<br/> | ||
<!-- Ignore, whitelisted word --> | ||
<span>The café</span> | ||
<br/> | ||
<!-- Match, but only the child <span>, not parent AND child --> | ||
<span class="dl2"> | ||
<span>He forcéd</span> | ||
<br/> | ||
<span>Test</span> | ||
</span> | ||
<br/> | ||
<!-- Ignore, not in the dictionary so probably a name --> | ||
<span>Kórolenko</span> | ||
<br/> | ||
<!-- Match --> | ||
<span>The accurséd</span> | ||
</p> | ||
<p xml:lang="fr"> | ||
<!-- Ignore, parent element with language --> | ||
<span>The wingéd</span> | ||
</p> | ||
</blockquote> | ||
</section> | ||
</body> | ||
</html> |