| Index: Source/core/style/BorderData.h
|
| diff --git a/Source/core/style/BorderData.h b/Source/core/style/BorderData.h
|
| index 4fd5d2453ce6580ff17ab0dac5204031a1b51ba7..cc7910a9b8c782caea60f70295319234524f471f 100644
|
| --- a/Source/core/style/BorderData.h
|
| +++ b/Source/core/style/BorderData.h
|
| @@ -41,12 +41,18 @@ public:
|
| , m_bottomRight(Length(0, Fixed), Length(0, Fixed))
|
| {
|
| }
|
| +
|
| bool hasBorder() const
|
| {
|
| bool haveImage = m_image.hasImage();
|
| return m_left.nonZero(!haveImage) || m_right.nonZero(!haveImage) || m_top.nonZero(!haveImage) || m_bottom.nonZero(!haveImage);
|
| }
|
|
|
| + bool hasBorderFill() const
|
| + {
|
| + return m_image.hasImage() && m_image.fill();
|
| + }
|
| +
|
| bool hasBorderRadius() const
|
| {
|
| if (!m_topLeft.width().isZero())
|
|
|