Closed
Bug 1133308
Opened 9 years ago
Closed 9 years ago
[CSS Counter Styles L3] Add support for CSSCounterStyleRule
Categories
(Core :: DOM: CSS Object Model, defect)
Core
DOM: CSS Object Model
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: teoli, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-needed)
CSS Counter Style level 3 add support for @counter-style (already implemented). To manipulate these via scripts, we need to implement CSSCounterStyleRule.
Reporter | ||
Updated•9 years ago
|
Keywords: dev-doc-needed
Summary: [CSS Counter Styles L2] Add support for CSSCounterStyleRule → [CSS Counter Styles L3] Add support for CSSCounterStyleRule
Comment 1•9 years ago
|
||
I believe we have supported this from the very beginning. You can find the tests here: https://dxr.mozilla.org/mozilla-central/source/layout/style/test/test_counter_descriptor_storage.html https://dxr.mozilla.org/mozilla-central/source/layout/style/test/test_counter_style.html
Updated•9 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 2•9 years ago
|
||
Based on: <!DOCTYPE html> <style> @counter-style foo { system: cyclic; symbols: \2022; suffix: " "; } </style> <script> var sheet = document.getElementsByTagName("style")[0].sheet; var rule = sheet.cssRules[0]; document.write(rule + "<br>"); document.write(rule.name + "<br>"); document.write(rule.system + "<br>"); document.write('"' + rule.prefix + '"' + "<br>"); document.write('"' + rule.suffix + '"' + "<br>"); </script>
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 3•9 years ago
|
||
Thank you, sorry for the noise. I will use this bug to get the API documented.
You need to log in
before you can comment on or make changes to this bug.
Description
•