| Index: Source/core/rendering/style/BorderValue.h
|
| diff --git a/Source/core/rendering/style/BorderValue.h b/Source/core/rendering/style/BorderValue.h
|
| index 87031329ff472149af9bd2e771693cede137cf44..211f0be97f9987f51ece16e78d171e3319bf776a 100644
|
| --- a/Source/core/rendering/style/BorderValue.h
|
| +++ b/Source/core/rendering/style/BorderValue.h
|
| @@ -63,6 +63,16 @@ public:
|
| return m_width == o.m_width && m_style == o.m_style && m_color == o.m_color && m_colorIsCurrentColor == o.m_colorIsCurrentColor;
|
| }
|
|
|
| + // The default width is 3px, but if the style is none we compute a value of 0 (in RenderStyle itself)
|
| + bool visuallyEqual(const BorderValue& o) const
|
| + {
|
| + if (m_style == BNONE && o.m_style == BNONE)
|
| + return true;
|
| + if (m_style == BHIDDEN && o.m_style == BHIDDEN)
|
| + return true;
|
| + return *this == o;
|
| + }
|
| +
|
| bool operator!=(const BorderValue& o) const
|
| {
|
| return !(*this == o);
|
|
|