diff options
Diffstat (limited to 'Source/WebCore/rendering/style/StyleRareInheritedData.cpp')
| -rw-r--r-- | Source/WebCore/rendering/style/StyleRareInheritedData.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Source/WebCore/rendering/style/StyleRareInheritedData.cpp b/Source/WebCore/rendering/style/StyleRareInheritedData.cpp index 0953dae..2798fd1 100644 --- a/Source/WebCore/rendering/style/StyleRareInheritedData.cpp +++ b/Source/WebCore/rendering/style/StyleRareInheritedData.cpp @@ -23,6 +23,7 @@ #include "StyleRareInheritedData.h" #include "CursorList.h" +#include "QuotesData.h" #include "RenderStyle.h" #include "RenderStyleConstants.h" #include "ShadowData.h" @@ -65,6 +66,8 @@ StyleRareInheritedData::StyleRareInheritedData() , textEmphasisFill(TextEmphasisFillFilled) , textEmphasisMark(TextEmphasisMarkNone) , textEmphasisPosition(TextEmphasisPositionOver) + , hyphenationLimitBefore(-1) + , hyphenationLimitAfter(-1) { } @@ -111,7 +114,9 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o) , textEmphasisMark(o.textEmphasisMark) , textEmphasisPosition(o.textEmphasisPosition) , hyphenationString(o.hyphenationString) - , hyphenationLocale(o.hyphenationLocale) + , hyphenationLimitBefore(o.hyphenationLimitBefore) + , hyphenationLimitAfter(o.hyphenationLimitAfter) + , locale(o.locale) , textEmphasisCustomMark(o.textEmphasisCustomMark) { } @@ -169,12 +174,15 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const && colorSpace == o.colorSpace && speak == o.speak && hyphens == o.hyphens + && hyphenationLimitBefore == o.hyphenationLimitBefore + && hyphenationLimitAfter == o.hyphenationLimitAfter && textEmphasisFill == o.textEmphasisFill && textEmphasisMark == o.textEmphasisMark && textEmphasisPosition == o.textEmphasisPosition && hyphenationString == o.hyphenationString - && hyphenationLocale == o.hyphenationLocale - && textEmphasisCustomMark == o.textEmphasisCustomMark; + && locale == o.locale + && textEmphasisCustomMark == o.textEmphasisCustomMark + && *quotes == *o.quotes; } bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData& o) const |
