Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for where list-style-position: inside is odd today #8822

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!doctype html>
<meta charset=utf8>
<title>Reference: Inside list marker and normal text render identically: armenian</title>
<style>
* {
margin: 0;
padding: 0;
}
</style>
<p>Ա. Filler Text
18 changes: 18 additions & 0 deletions css/css-lists/content-property/marker-text-matches-armenian.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: armenian</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-armenian-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: armenian inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
12 changes: 12 additions & 0 deletions css/css-lists/content-property/marker-text-matches-circle-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<title>Reference: Inside list marker and normal text render identically: circle</title>
<style>
* {
margin: 0;
padding: 0;
}
p::before {
content: counter(test, circle);
}
</style>
<p> Filler Text
18 changes: 18 additions & 0 deletions css/css-lists/content-property/marker-text-matches-circle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: circle</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-circle-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: circle inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!doctype html>
<title>Reference: Inside list marker and normal text render identically: decimal-leading-zero</title>
<style>
* {
margin: 0;
padding: 0;
}
</style>
<p>01. Filler Text
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: decimal-leading-zero</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-decimal-leading-zero-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: decimal-leading-zero inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!doctype html>
<title>Reference: Inside list marker and normal text render identically: decimal</title>
<style>
* {
margin: 0;
padding: 0;
}
</style>
<p>1. Filler Text
18 changes: 18 additions & 0 deletions css/css-lists/content-property/marker-text-matches-decimal.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: decimal</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-decimal-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: decimal inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
12 changes: 12 additions & 0 deletions css/css-lists/content-property/marker-text-matches-disc-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<title>Reference: Inside list marker and normal text render identically: disc</title>
<style>
* {
margin: 0;
padding: 0;
}
p::before {
content: counter(test, disc);
}
</style>
<p> Filler Text
18 changes: 18 additions & 0 deletions css/css-lists/content-property/marker-text-matches-disc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: disc</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-disc-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: disc inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!doctype html>
<meta charset=utf8>
<title>Reference: Inside list marker and normal text render identically: georgian</title>
<style>
* {
margin: 0;
padding: 0;
}
</style>
<p>ა. Filler Text
18 changes: 18 additions & 0 deletions css/css-lists/content-property/marker-text-matches-georgian.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: georgian</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-georgian-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: georgian inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!doctype html>
<meta charset=utf8>
<title>Reference: Inside list marker and normal text render identically: lower-greek</title>
<style>
* {
margin: 0;
padding: 0;
}
</style>
<p>α. Filler Text
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: lower-greek</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-lower-greek-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: lower-greek inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!doctype html>
<title>Reference: Inside list marker and normal text render identically: lower-latin</title>
<style>
* {
margin: 0;
padding: 0;
}
</style>
<p>a. Filler Text
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: lower-latin</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-lower-latin-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: lower-latin inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!doctype html>
<title>Reference: Inside list marker and normal text render identically: lower-roman</title>
<style>
* {
margin: 0;
padding: 0;
}
</style>
<p>i. Filler Text
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: lower-roman</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-lower-roman-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: lower-roman inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
12 changes: 12 additions & 0 deletions css/css-lists/content-property/marker-text-matches-square-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<title>Reference: Inside list marker and normal text render identically: square</title>
<style>
* {
margin: 0;
padding: 0;
}
p::before {
content: counter(test, square);
}
</style>
<p> Filler Text
18 changes: 18 additions & 0 deletions css/css-lists/content-property/marker-text-matches-square.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: square</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-square-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: square inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!doctype html>
<title>Reference: Inside list marker and normal text render identically: upper-latin</title>
<style>
* {
margin: 0;
padding: 0;
}
</style>
<p>A. Filler Text
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: upper-latin</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-upper-latin-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: upper-latin inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!doctype html>
<title>Reference: Inside list marker and normal text render identically: upper-roman</title>
<style>
* {
margin: 0;
padding: 0;
}
</style>
<p>I. Filler Text
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<title>Inside list marker and normal text render identically: upper-roman</title>
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
<link rel=match href="marker-text-matches-upper-roman-ref.html">
<style>
* {
padding: 0;
margin: 0;
}
ol {
list-style: upper-roman inside;
}
</style>

<ol>
<li>Filler Text</li>
</ol>
16 changes: 16 additions & 0 deletions css/css-pseudo/marker-inherit-line-height-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<title>Reference: Check that :marker inherits line-height</title>
<style>
div {
font: 128px/1 Ahem;
border: 2px solid blue;
background: orange;
color: black;
}
</style>

<p>There should be two black rectangles below with no space between them and
the border above/below.</p>
<div>
1. X
</div>