| Index: Source/core/style/ComputedStyle.cpp
|
| diff --git a/Source/core/style/ComputedStyle.cpp b/Source/core/style/ComputedStyle.cpp
|
| index 5cc7e9a8c1ae9c40f2f265d82b3d3381305bafd1..7fe135e88cc6309d1383f31041608db2d2e06f26 100644
|
| --- a/Source/core/style/ComputedStyle.cpp
|
| +++ b/Source/core/style/ComputedStyle.cpp
|
| @@ -1525,7 +1525,7 @@ const BorderValue& ComputedStyle::borderEnd() const
|
| return isLeftToRightDirection() ? borderBottom() : borderTop();
|
| }
|
|
|
| -unsigned short ComputedStyle::borderBeforeWidth() const
|
| +int ComputedStyle::borderBeforeWidth() const
|
| {
|
| switch (writingMode()) {
|
| case TopToBottomWritingMode:
|
| @@ -1541,7 +1541,7 @@ unsigned short ComputedStyle::borderBeforeWidth() const
|
| return borderTopWidth();
|
| }
|
|
|
| -unsigned short ComputedStyle::borderAfterWidth() const
|
| +int ComputedStyle::borderAfterWidth() const
|
| {
|
| switch (writingMode()) {
|
| case TopToBottomWritingMode:
|
| @@ -1557,14 +1557,14 @@ unsigned short ComputedStyle::borderAfterWidth() const
|
| return borderBottomWidth();
|
| }
|
|
|
| -unsigned short ComputedStyle::borderStartWidth() const
|
| +int ComputedStyle::borderStartWidth() const
|
| {
|
| if (isHorizontalWritingMode())
|
| return isLeftToRightDirection() ? borderLeftWidth() : borderRightWidth();
|
| return isLeftToRightDirection() ? borderTopWidth() : borderBottomWidth();
|
| }
|
|
|
| -unsigned short ComputedStyle::borderEndWidth() const
|
| +int ComputedStyle::borderEndWidth() const
|
| {
|
| if (isHorizontalWritingMode())
|
| return isLeftToRightDirection() ? borderRightWidth() : borderLeftWidth();
|
|
|