Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

counter-reset defaults to 0, not 1. #8321

Merged
merged 2 commits into from Nov 4, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Counter names serialize as identifiers, not strings.

  • Loading branch information
SimonSapin committed Nov 4, 2015
commit 75bc88b3d47448e73fb1644b37f6edea9ee4d39e
@@ -1272,7 +1272,7 @@ pub mod longhands {
use super::content;
use values::computed::ComputedValueAsSpecified;

use cssparser::{ToCss, Token};
use cssparser::{ToCss, Token, serialize_identifier};
use std::borrow::{Cow, ToOwned};

pub use self::computed_value::T as SpecifiedValue;
@@ -1297,7 +1297,7 @@ pub mod longhands {
try!(dest.write_str(" "));
}
first = false;
try!(Token::QuotedString(Cow::from(&*pair.0)).to_css(dest));
try!(serialize_identifier(&pair.0, dest));
try!(write!(dest, " {}", pair.1));
}
Ok(())
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.