Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp

Issue 2753013004: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text
Patch Set: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareInheritedData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
index 615e435a3c662700e1d408bff33cb648821e2e69..4f7cab3d83436b7b8722940333ee43ab3510f029 100644
--- a/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
@@ -55,6 +55,7 @@ struct SameSizeAsStyleRareInheritedData
TabSize tabSize;
void* variables[1];
TextSizeAdjust textSizeAdjust;
+ UnzoomedLength unzoomedLengths[1];
};
static_assert(sizeof(StyleRareInheritedData) <=
@@ -102,6 +103,10 @@ StyleRareInheritedData::StyleRareInheritedData()
m_subtreeWillChangeContents(false),
m_selfOrAncestorHasDirAutoAttribute(false),
m_respectImageOrientation(false),
+ paintOrder(ComputedStyle::initialPaintOrder()),
+ capStyle(ComputedStyle::initialCapStyle()),
+ joinStyle(ComputedStyle::initialJoinStyle()),
+ strokeWidth(ComputedStyle::initialStrokeWidth()),
hyphenationLimitBefore(-1),
hyphenationLimitAfter(-1),
hyphenationLimitLines(-1),
@@ -168,6 +173,10 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
m_selfOrAncestorHasDirAutoAttribute(
o.m_selfOrAncestorHasDirAutoAttribute),
m_respectImageOrientation(o.m_respectImageOrientation),
+ paintOrder(o.paintOrder),
+ capStyle(o.capStyle),
+ joinStyle(o.joinStyle),
+ strokeWidth(o.strokeWidth),
hyphenationString(o.hyphenationString),
hyphenationLimitBefore(o.hyphenationLimitBefore),
hyphenationLimitAfter(o.hyphenationLimitAfter),
@@ -239,7 +248,9 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const {
m_imageRendering == o.m_imageRendering &&
m_textUnderlinePosition == o.m_textUnderlinePosition &&
m_textDecorationSkip == o.m_textDecorationSkip &&
- m_rubyPosition == o.m_rubyPosition &&
+ m_rubyPosition == o.m_rubyPosition && paintOrder == o.paintOrder &&
+ capStyle == o.capStyle && joinStyle == o.joinStyle &&
+ strokeWidth == o.strokeWidth &&
dataEquivalent(listStyleImage.get(), o.listStyleImage.get()) &&
dataEquivalent(appliedTextDecorations, o.appliedTextDecorations) &&
dataEquivalent(variables, o.variables) &&
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698