style: Update a couple other spec links.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-14 20:29:40 +01:00
parent 808102035e
commit 502b734a1a
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -369,7 +369,7 @@ impl PropertyDeclarationBlock {
}
}
/// <https://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-getpropertypriority>
/// <https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-getpropertypriority>
pub fn property_priority(&self, property: &PropertyId) -> Importance {
// Step 1: done when parsing a string to PropertyId
@ -583,7 +583,7 @@ impl PropertyDeclarationBlock {
updated_at_least_one
}
/// <https://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-removeproperty>
/// <https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-removeproperty>
///
/// Returns whether any declaration was actually removed.
pub fn remove_property(&mut self, property: &PropertyId) -> bool {