| Index: sky/engine/core/dom/Element.cpp
|
| diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp
|
| index 367843c5dd2b0fae2e187ba0c2067786f09e2888..02afe79cc179e34ad49ff2f247f7565b8afb1a28 100644
|
| --- a/sky/engine/core/dom/Element.cpp
|
| +++ b/sky/engine/core/dom/Element.cpp
|
| @@ -975,14 +975,14 @@ void Element::setMaxContentWidth(double width)
|
| double Element::alphabeticBaseline() const
|
| {
|
| if (RenderBox* box = renderBox())
|
| - return box->baselinePosition(AlphabeticBaseline, true, HorizontalLine, PositionOfInteriorLineBoxes);
|
| + return box->firstLineBoxBaseline(FontBaselineOrAuto(AlphabeticBaseline));
|
| return 0;
|
| }
|
|
|
| double Element::ideographicBaseline() const
|
| {
|
| if (RenderBox* box = renderBox())
|
| - return box->baselinePosition(IdeographicBaseline, true, HorizontalLine, PositionOfInteriorLineBoxes);
|
| + return box->firstLineBoxBaseline(FontBaselineOrAuto(IdeographicBaseline));
|
| return 0;
|
| }
|
|
|
|
|