diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-03-05 12:37:37 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-03-09 17:13:45 -0700 |
commit | f9cdd05d58e7f1a8cd6198dad3058d86bf479a08 (patch) | |
tree | a09fafccb79081207407e9a691728816c75231c1 /components/script/dom | |
parent | 2df4dd9e098671fdbe2951f6669473e7737d6ed3 (diff) | |
download | servo-f9cdd05d58e7f1a8cd6198dad3058d86bf479a08.tar.gz servo-f9cdd05d58e7f1a8cd6198dad3058d86bf479a08.zip |
layout: Implement ordered lists, CSS counters, and `quotes` per CSS 2.1
§ 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.
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/webidls/CSSStyleDeclaration.webidl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script/dom/webidls/CSSStyleDeclaration.webidl b/components/script/dom/webidls/CSSStyleDeclaration.webidl index 46ca8424b70..bde48aaaff3 100644 --- a/components/script/dom/webidls/CSSStyleDeclaration.webidl +++ b/components/script/dom/webidls/CSSStyleDeclaration.webidl @@ -103,6 +103,11 @@ partial interface CSSStyleDeclaration { [TreatNullAs=EmptyString] attribute DOMString listStyleType; [TreatNullAs=EmptyString] attribute DOMString listStyleImage; + [TreatNullAs=EmptyString] attribute DOMString quotes; + + [TreatNullAs=EmptyString] attribute DOMString counterIncrement; + [TreatNullAs=EmptyString] attribute DOMString counterReset; + [TreatNullAs=EmptyString] attribute DOMString overflow; [TreatNullAs=EmptyString] attribute DOMString overflowX; [TreatNullAs=EmptyString] attribute DOMString overflowY; |