mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add spec links for counter properties
This commit is contained in:
parent
dedebc5cb5
commit
be8f9ad9d7
1 changed files with 5 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
<% data.new_style_struct("Counters", inherited=False, gecko_name="Content") %>
|
||||
|
||||
<%helpers:longhand name="content" animatable="False">
|
||||
<%helpers:longhand name="content" animatable="False" spec="https://drafts.csswg.org/css-content/#propdef-content">
|
||||
use cssparser::Token;
|
||||
use std::ascii::AsciiExt;
|
||||
use values::computed::ComputedValueAsSpecified;
|
||||
|
@ -174,7 +174,8 @@
|
|||
}
|
||||
</%helpers:longhand>
|
||||
|
||||
<%helpers:longhand name="counter-increment" products="servo" animatable="False">
|
||||
<%helpers:longhand name="counter-increment" products="servo" animatable="False"
|
||||
spec="https://drafts.csswg.org/css-lists/#propdef-counter-increment">
|
||||
use std::fmt;
|
||||
use style_traits::ToCss;
|
||||
use super::content;
|
||||
|
@ -247,7 +248,8 @@
|
|||
}
|
||||
</%helpers:longhand>
|
||||
|
||||
<%helpers:longhand name="counter-reset" products="servo" animatable="False">
|
||||
<%helpers:longhand name="counter-reset" products="servo" animatable="False"
|
||||
spec="https://drafts.csswg.org/css-lists-3/#propdef-counter-reset">
|
||||
pub use super::counter_increment::{SpecifiedValue, computed_value, get_initial_value};
|
||||
use super::counter_increment::{parse_common};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue