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

Unified Diff: third_party/WebKit/Source/core/css/CSSProperties.json5

Issue 2681833004: Automatically generate EBreakBetween & EBreakInside (Closed)
Patch Set: Rebase Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSProperties.json5
diff --git a/third_party/WebKit/Source/core/css/CSSProperties.json5 b/third_party/WebKit/Source/core/css/CSSProperties.json5
index 44f5a82a66ba7073e8579bdda80508e97b83da44..ae9ad3e64188db59afe320ad71952682b0f7d9d5 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -765,15 +765,33 @@
"box-sizing",
{
name: "break-after",
+ // Storage for this property also covers these legacy properties:
+ // page-break-after, -webkit-column-break-after
+ initial_keyword: "auto",
+ keyword_only: true,
+ keywords: [
+ "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page", "recto", "right", "verso"
+ ],
type_name: "EBreakBetween",
},
{
name: "break-before",
+ // Storage for this property also covers these legacy properties:
+ // page-break-before, -webkit-column-break-before
+ initial_keyword: "auto",
+ keyword_only: true,
+ keywords: [
+ "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page", "recto", "right", "verso"
+ ],
type_name: "EBreakBetween",
},
{
name: "break-inside",
- type_name: "EBreakInside",
+ // Storage for this property also covers these legacy properties:
+ // page-break-inside, -webkit-column-break-inside
+ initial_keyword: "auto",
+ keyword_only: true,
+ keywords: ["auto", "avoid", "avoid-column", "avoid-page"],
},
{
name: "buffered-rendering",
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698