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

Fix typos made in PR #764 #810

Merged
merged 1 commit into from Aug 28, 2013
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -713,7 +713,7 @@ impl InlineFlowData {
let line_height = scanner.calculate_line_height(cur_box, em_size);

// Find the top and bottom of the content area.
// Those are used in text-top and text-bottom value of 'vertex-align'
// Those are used in text-top and text-bottom value of 'vertical-align'
let text_ascent = text_box.run.font.metrics.ascent;

// Offset from the top of the box is 1/2 of the leading + ascent
@@ -734,7 +734,7 @@ impl InlineFlowData {
let mut top_from_base = top_from_base;
let mut bottom_from_base = bottom_from_base;

// To calculate text-top and text-bottom value of 'vertex-align',
// To calculate text-top and text-bottom value of 'vertical-align',
// we should find the top and bottom of the content area of parent box.
// The content area is defined in "http://www.w3.org/TR/CSS2/visudet.html#inline-non-replaced".
// TODO: We should extract em-box info from font size of parent
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.