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

Implement CSS3 Calc #7185

Closed
wants to merge 20 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Remove stray changes

  • Loading branch information
dzbarsky committed Sep 2, 2015
commit d4ac596ca19a7d744bda42daa48cceb6432596eb
@@ -993,7 +993,7 @@ impl InlineFlow {
let percent_offset = line_height.scale_by(calc.percentage());
offset_from_baseline = offset_from_baseline - percent_offset - calc.length()
}
}
}
}
(offset_from_baseline - ascent, largest_size_updated)
}
@@ -415,8 +415,7 @@ pub mod specified {
}
}

let sum = CalcSumNode { products: products };
Ok(sum)
Ok(CalcSumNode { products: products })
}

fn parse_product(input: &mut Parser) -> Result<CalcProductNode, ()> {
@@ -447,8 +446,7 @@ pub mod specified {
}
}

let sum = CalcProductNode { values: values };
Ok(sum)
Ok(CalcProductNode { values: values })
}

fn parse_value(input: &mut Parser) -> Result<CalcValueNode, ()> {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.