summaryrefslogtreecommitdiff
path: root/test/data/html/test-stylesheet.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-05-02 13:05:43 -0400
committerGitHub <noreply@github.com>2020-05-02 13:05:43 -0400
commitd4ae9aa501ece99ea6c5e6b8fb01c3005f5b7f03 (patch)
treef96211038ffac0be88da912cb40bd3980c212c18 /test/data/html/test-stylesheet.css
parentd581bffa15419b3b55773f1ed08a2e787e574f1f (diff)
DOMTextScanner (#458)
* Create new class for scanning text in a document * Update test styles * Add tests
Diffstat (limited to 'test/data/html/test-stylesheet.css')
-rw-r--r--test/data/html/test-stylesheet.css12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/data/html/test-stylesheet.css b/test/data/html/test-stylesheet.css
index f63d2481..2e9a2f52 100644
--- a/test/data/html/test-stylesheet.css
+++ b/test/data/html/test-stylesheet.css
@@ -28,7 +28,9 @@ a, a:visited {
text-decoration: underline;
}
-.test {
+.test,
+y-test {
+ display: block;
background-color: #ffffff;
margin: 1em 0;
padding: 0.5em;
@@ -36,7 +38,8 @@ a, a:visited {
border-radius: 4px;
}
-.test:before {
+.test:before,
+y-test:before {
content: "Test " counter(test-id);
display: block;
counter-increment: test-id;
@@ -45,7 +48,10 @@ a, a:visited {
font-weight: bold;
}
-.description {
+.description,
+y-description {
color: #444444;
font-style: italic;
+ display: block;
+ padding-bottom: 0.5em;
}