mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Move counters_simple_a.html to wpt reftests.
This commit is contained in:
parent
83439dc1df
commit
cd543ea85a
4 changed files with 25 additions and 1 deletions
|
@ -34,7 +34,6 @@ flaky_cpu == append_style_a.html append_style_b.html
|
|||
== canvas_radial_gradient_a.html canvas_radial_gradient_ref.html
|
||||
== case-insensitive-font-family.html case-insensitive-font-family-ref.html
|
||||
== clear_generated_content_table_a.html clear_generated_content_table_ref.html
|
||||
== counters_simple_a.html counters_simple_ref.html
|
||||
== empty_cells_a.html empty_cells_ref.html
|
||||
== filter_opacity_a.html filter_opacity_ref.html
|
||||
== fixed_width_overrides_child_intrinsic_width_a.html fixed_width_overrides_child_intrinsic_width_ref.html
|
||||
|
|
|
@ -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>
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that `counter` works. -->
|
||||
<style>
|
||||
h1, h2, h3 {
|
||||
font-size: 24px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>1. Foo</h1>
|
||||
<h2>1.1. Boo</h2>
|
||||
<h2>1.2. Quux</h2>
|
||||
<h3>1.2.1. Blah</h3>
|
||||
<h1>2. Bar</h1>
|
||||
<h2>2.1. Boo</h2>
|
||||
<h2>2.2. Quux</h2>
|
||||
<h1>3. Baz</h1>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue