Index: Source/core/rendering/InlineFlowBox.h |
diff --git a/Source/core/rendering/InlineFlowBox.h b/Source/core/rendering/InlineFlowBox.h |
index f3219c6501be52ba77a32382b298735d179f4831..067cee3216e60475f0065d4be9a892f5053e64cf 100644 |
--- a/Source/core/rendering/InlineFlowBox.h |
+++ b/Source/core/rendering/InlineFlowBox.h |
@@ -143,13 +143,13 @@ public: |
{ |
if (!includeLogicalLeftEdge()) |
return 0; |
- return isHorizontal() ? renderer().style(isFirstLineStyle())->borderLeftWidth() : renderer().style(isFirstLineStyle())->borderTopWidth(); |
+ return isHorizontal() ? renderer().styleOrFirstLineStyle(isFirstLineStyle())->borderLeftWidth() : renderer().styleOrFirstLineStyle(isFirstLineStyle())->borderTopWidth(); |
} |
int borderLogicalRight() const |
{ |
if (!includeLogicalRightEdge()) |
return 0; |
- return isHorizontal() ? renderer().style(isFirstLineStyle())->borderRightWidth() : renderer().style(isFirstLineStyle())->borderBottomWidth(); |
+ return isHorizontal() ? renderer().styleOrFirstLineStyle(isFirstLineStyle())->borderRightWidth() : renderer().styleOrFirstLineStyle(isFirstLineStyle())->borderBottomWidth(); |
} |
int paddingLogicalLeft() const |
{ |