mirror of
https://github.com/servo/servo.git
synced 2025-09-14 17:08:22 +01:00
Update web-platform-tests to revision 5084587f6b05bf99ad09e7844be66dcc61070cdf
This commit is contained in:
parent
6d42d2f1e8
commit
7d1071a6a4
408 changed files with 8968 additions and 2608 deletions
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html lang=en>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-contain test: style containment and counter-increment</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="counter-increment is scoped to the subtree and creates a new counter at the root of the subtree">
|
||||
<link rel="match" href="reference/counter-scoping-001-ref.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain/#containment-style">
|
||||
|
||||
<style>
|
||||
div {
|
||||
contain: style;
|
||||
counter-increment: n;
|
||||
}
|
||||
div::before, div::after {
|
||||
content: counters(n, '.') " ";
|
||||
}
|
||||
div::after {
|
||||
counter-increment: n 2;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the text below is "1 1.2" (not including the quotation marks).<p>
|
||||
<div></div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue