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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2394273006: Add CSS support for text-decoration-skip (Closed)
Patch Set: Histograms typo fixed, DCHECK Created 4 years, 2 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
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 7bcb54e40baee2d522ca991f251a078ee098948b..1248be1d12c9632c4f9d684f928e7b7451232b8a 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1885,6 +1885,18 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
SET_VAR(m_rareInheritedData, m_textUnderlinePosition, v);
}
+ // text-decoration-skip
+ static TextDecorationSkip initialTextDecorationSkip() {
+ return TextDecorationSkipObjects;
+ }
+ TextDecorationSkip getTextDecorationSkip() const {
+ return static_cast<TextDecorationSkip>(
+ m_rareInheritedData->m_textDecorationSkip);
+ }
+ void setTextDecorationSkip(TextDecorationSkip v) {
+ SET_VAR(m_rareInheritedData, m_textDecorationSkip, v);
+ }
+
// text-overflow
static TextOverflow initialTextOverflow() { return TextOverflowClip; }
TextOverflow getTextOverflow() const {
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698