This commit is contained in:
jruderman%hmc.edu 2007-03-06 03:07:10 +00:00
Родитель 887450a53a
Коммит 4f92f7826b
3 изменённых файлов: 105 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,45 @@
<html>
<head>
<style id="s">
ol {
counter-reset: section;
list-style-type: none;
}
li:before {
counter-increment: section;
content: counters(section, ".") " ";
}
</style>
</head>
<body>
<ol>
<li>item</li> <!-- 1 -->
<li>item <!-- 2 -->
<ol>
<li>item</li> <!-- 2.1 -->
<li>item</li> <!-- 2.2 -->
<li>item <!-- 2.3 -->
<ol>
<li>item</li> <!-- 2.3.1 -->
<li>item</li> <!-- 2.3.2 -->
</ol>
<ol>
<li>item</li> <!-- 2.3.1 -->
<li>item</li> <!-- 2.3.2 -->
<li>item</li> <!-- 2.3.3 -->
</ol>
</li>
<li>item</li> <!-- 2.4 -->
</ol>
</li>
<li>item</li> <!-- 3 -->
<li>item</li> <!-- 4 -->
</ol>
<ol>
<li>item</li> <!-- 1 -->
<li>item</li> <!-- 2 -->
</ol>
</body>
</html>

Просмотреть файл

@ -0,0 +1,59 @@
<html>
<head>
<style id="s">
ol {
counter-reset: section;
list-style-type: none;
}
li:before {
counter-increment: section;
content: counters(section, ".") " ";
}
</style>
</head>
<body>
<ol>
<li>item</li> <!-- 1 -->
<li>item <!-- 2 -->
<ol>
<li>item</li> <!-- 2.1 -->
<li>item</li> <!-- 2.2 -->
<li>item <!-- 2.3 -->
<ol>
<li>item</li> <!-- 2.3.1 -->
<li>item</li> <!-- 2.3.2 -->
</ol>
<ol>
<li>item</li> <!-- 2.3.1 -->
<li>item</li> <!-- 2.3.2 -->
<li>item</li> <!-- 2.3.3 -->
</ol>
</li>
<li>item</li> <!-- 2.4 -->
</ol>
</li>
<li>item</li> <!-- 3 -->
<li>item</li> <!-- 4 -->
</ol>
<ol>
<li>item</li> <!-- 1 -->
<li>item</li> <!-- 2 -->
</ol>
<script>
s = document.getElementById("s");
t = s.textContent;
function foo()
{
document.body.offsetHeight;
s.textContent = "ol { color: #ddd}";
document.body.offsetHeight;
s.textContent = t;
}
foo();
</script>
</body>
</html>

Просмотреть файл

@ -133,6 +133,7 @@ fails-if(MOZ_WIDGET_TOOLKIT!="windows") == 351641-2b.html 351641-2-ref.html # bu
== 364861-1.html 364861-1-ref.html
== 364862-1.html 364862-1-ref.html
== 365173-1.html 365173-1-ref.html
== 367220-1.html 367220-1-ref.html
== 367247-s-visible.html 367247-s-hidden.html
== 367247-s-hidden.html 367247-s-auto.html
fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") != 367247-s-auto.html 367247-s-scroll.html # bug 369293