diff options
author | bors-servo <release+servo@mozilla.com> | 2013-08-28 07:21:39 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-08-28 07:21:39 -0700 |
commit | 4aaaf60d3f643b5e2d919bb04595e17bb92e1a8f (patch) | |
tree | bdc70c7310175ad3d8bf7ea1df814f5fb32f4076 /src | |
parent | 6c90dd54b2856d9ebdd275b30778ceef0a8fb300 (diff) | |
parent | 823bbdd43c20a3f249ccf2f25d5ca68da0dbf185 (diff) | |
download | servo-4aaaf60d3f643b5e2d919bb04595e17bb92e1a8f.tar.gz servo-4aaaf60d3f643b5e2d919bb04595e17bb92e1a8f.zip |
auto merge of #810 : june0cho/servo/master, r=metajack
Fix typos in PR #764.
Send new PR since #764 was merged before this modification.
Diffstat (limited to 'src')
-rw-r--r-- | src/components/main/layout/inline.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/main/layout/inline.rs b/src/components/main/layout/inline.rs index 418c5fce73f..96312846d84 100644 --- a/src/components/main/layout/inline.rs +++ b/src/components/main/layout/inline.rs @@ -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 |