-
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.
Add dl2/dl3 to ignored classes for c-008, add a test for it
- Loading branch information
Showing
5 changed files
with
69 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
c-008 [Manual Review] local.css CSS class only used once. Can a clever selector | ||
be crafted instead of a single-use class? When possible classes should not be | ||
single-use style hooks. | ||
onetimeclass |
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,15 @@ | ||
@charset "utf-8"; | ||
@namespace epub "http://www.idpf.org/2007/ops"; | ||
|
||
/* custom */ | ||
.dl2, | ||
.dl3, | ||
.elision, | ||
.full-page, | ||
.together, | ||
.samefile, | ||
.difffile, | ||
.onetimeclass{ | ||
font-style: normal; | ||
} | ||
/* end of custom */ |
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,34 @@ | ||
<?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> | ||
<!-- EXCLUSION 1, continued --> | ||
<p class="continued">An askant tenor is a mitten of the mind. The fireman of a bread becomes a foppish freon. A ghost is a swamp from the right perspective. Some assert that one cannot separate databases from buckram roses.</p> | ||
<!-- EXCLUSION 2, dl2 --> | ||
<p class="dl2">This normally goes on a "dropped line" in poetry, but lint doesn’t know where the class is used, only that it is.</p> | ||
<!-- EXCLUSION 3, dl3 --> | ||
<p class="dl3">This also normally goes on a dropped line in poetry.</p> | ||
<!-- EXCLUSION 4, elision --> | ||
<p class="elision">This is normally used for elided lines in poetry.</p> | ||
<!-- EXCLUSION 5, eoc --> | ||
<p>The sparser jail reveals itself as a jiggish collar to those who look. A distal mice's care comes with it the thought that the shaping doll is a pickle, <abbr class="eoc">etc.</abbr> In ancient times a sausage of the cactus is assumed to be a crumby century.</p> | ||
<!-- EXCLUSION 6, full-page --> | ||
<p class="full-page">This normally goes on a figure that should take up the entire page.</p> | ||
<!-- EXCLUSION 7, together --> | ||
<p class="together">This normally goes in a drama table.</p> | ||
<!-- EXCLUSION 8, class used more than once, same file --> | ||
<p class="samefile">Authors often misinterpret the tenor as a tingly shark, when in actuality it feels more like a here diamond. What we don't know for sure is whether or not a laborer is a pyramid's noise. Some assert that the wettish euphonium reveals itself as a bodied stock to those who look. One cannot separate russians from scirrhoid sleeps. A scraper of the timer is assumed to be a bovid turret.</p> | ||
<p class="samefile">Though we assume the latter, a queen of the vest is assumed to be a mono destruction. The bloodstained board reveals itself as a dragging examination to those who look. Before slaves, authorizations were only witnesses.</p> | ||
<!-- EXCLUSION 9, class used more than once, different files --> | ||
<p class="difffile">Thursdaies are hither nights. In recent years, the trouble is a duckling. What we don't know for sure is whether or not a bladder is the abyssinian of a pail. Some assert that before farms, milliseconds were only threads.</p> | ||
<!-- FAIL 1, class used only once --> | ||
<p class="onetimeclass">As far as we can estimate, some posit the stellar nigeria to be less than fleeceless. The zeitgeist contends that a population sees a close as a duskish feedback. A steric fine is a bank of the mind. A ramose burglar's interest comes with it the thought that the bragging carrot is a taxicab.</p> | ||
</section> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?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>II</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-2" epub:type="chapter"> | ||
<h2 epub:type="ordinal z3998:roman">II</h2> | ||
<!-- EXCLUSION 9, class used more than once, different files --> | ||
<p class="difffile">A nightly plaster is a talk of the mind. A meal is an element from the right perspective. The zeitgeist contends that a stitch is an insect from the right perspective. Inspired healths show us how nephews can be eights.</p> | ||
</section> | ||
</body> | ||
</html> |