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

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

Issue 2895153002: Generate getters/setters for orphans and widows. (Closed)
Patch Set: Rebase Created 3 years, 7 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/css/CSSProperties.json5 ('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/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 3f2868495cbb14a46187af9d3fdddcee389a8ebe..1b34b5d568ab00b569ff20fbc9cf666eff2c83eb 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1627,16 +1627,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>,
StyleImage* ListStyleImage() const;
void SetListStyleImage(StyleImage*);
- // orphans
- static short InitialOrphans() { return 2; }
- short Orphans() const { return rare_inherited_data_->orphans_; }
- void SetOrphans(short o) { SET_VAR(rare_inherited_data_, orphans_, o); }
-
- // widows
- static short InitialWidows() { return 2; }
- short Widows() const { return rare_inherited_data_->widows_; }
- void SetWidows(short w) { SET_VAR(rare_inherited_data_, widows_, w); }
-
// overflow-wrap (aka word-wrap)
static EOverflowWrap InitialOverflowWrap() { return EOverflowWrap::kNormal; }
EOverflowWrap OverflowWrap() const {
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698