mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Update a spec link.
This commit is contained in:
parent
bdbb298bac
commit
ba7629a17e
1 changed files with 2 additions and 3 deletions
|
@ -306,7 +306,7 @@ impl PropertyDeclarationBlock {
|
|||
|
||||
/// Find the value of the given property in this block and serialize it
|
||||
///
|
||||
/// <https://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-getpropertyvalue>
|
||||
/// <https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-getpropertyvalue>
|
||||
pub fn property_value_to_css(&self, property: &PropertyId, dest: &mut CssStringWriter) -> fmt::Result {
|
||||
// Step 1.1: done when parsing a string to PropertyId
|
||||
|
||||
|
@ -617,8 +617,7 @@ impl PropertyDeclarationBlock {
|
|||
dest: &mut CssStringWriter,
|
||||
computed_values: Option<&ComputedValues>,
|
||||
custom_properties_block: Option<&PropertyDeclarationBlock>,
|
||||
) -> fmt::Result
|
||||
{
|
||||
) -> fmt::Result {
|
||||
match property.as_shorthand() {
|
||||
Err(_longhand_or_custom) => {
|
||||
if self.declarations.len() == 1 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue