mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
§ 12.3-12.5. Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases.
19 lines
217 B
HTML
19 lines
217 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
li {
|
|
list-style-type: none;
|
|
list-style-position: inside;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<ol>
|
|
<li>1. Foo</li>
|
|
<li>2. Bar</li>
|
|
<li>3. Baz</li>
|
|
</ol>
|
|
</body>
|
|
</html>
|
|
|