mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
auto merge of #5067 : servo/servo/counters, r=SimonSapin
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. Moved from #4544, because Critic. Fixes #4544.
This commit is contained in:
commit
5cd6316add
38 changed files with 1662 additions and 511 deletions
|
@ -102,6 +102,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue