mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Move CSS content property from Box to Counters
This commit is contained in:
parent
8c8090b5cd
commit
841aef06e0
3 changed files with 4 additions and 4 deletions
|
@ -904,7 +904,7 @@ pub mod longhands {
|
|||
|
||||
// CSS 2.1, Section 12 - Generated content, automatic numbering, and lists
|
||||
|
||||
${switch_to_style_struct("Box")}
|
||||
${new_style_struct("Counters", is_inherited=False)}
|
||||
|
||||
<%self:longhand name="content">
|
||||
use cssparser::Token;
|
||||
|
@ -1217,7 +1217,7 @@ pub mod longhands {
|
|||
}
|
||||
</%self:longhand>
|
||||
|
||||
${new_style_struct("Counters", is_inherited=False)}
|
||||
${switch_to_style_struct("Counters")}
|
||||
|
||||
<%self:longhand name="counter-increment">
|
||||
use std::fmt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue