mirror of
https://github.com/servo/servo.git
synced 2025-09-16 18:08:23 +01:00
Revert "layout: Implement ordered lists, CSS counters, and quotes
per CSS 2.1"
This reverts commit 30fd28d107
.
This commit is contained in:
parent
7a218b3f08
commit
4c1d778ced
36 changed files with 496 additions and 1735 deletions
|
@ -1,42 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that `counter` works. -->
|
||||
<style>
|
||||
h1, h2, h3 {
|
||||
font-size: 24px;
|
||||
}
|
||||
h1 {
|
||||
counter-increment: section 1;
|
||||
counter-reset: subsection 0;
|
||||
}
|
||||
h1:before {
|
||||
content: counter(section) ". ";
|
||||
}
|
||||
h2 {
|
||||
counter-increment: subsection 1;
|
||||
counter-reset: subsubsection 0;
|
||||
}
|
||||
h2:before {
|
||||
content: counter(section) "." counter(subsection) ". ";
|
||||
}
|
||||
h3 {
|
||||
counter-increment: subsubsection;
|
||||
}
|
||||
h3:before {
|
||||
content: counter(section) "." counter(subsection) "." counter(subsubsection) ". ";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Foo</h1>
|
||||
<h2>Boo</h2>
|
||||
<h2>Quux</h2>
|
||||
<h3>Blah</h3>
|
||||
<h1>Bar</h1>
|
||||
<h2>Boo</h2>
|
||||
<h2>Quux</h2>
|
||||
<h1>Baz</h1>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue