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

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

Issue 2681833004: Automatically generate EBreakBetween & EBreakInside (Closed)
Patch Set: 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
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 61384061b4b2b4f394641349a7db9919e4b7d1ec..847b97ca32b4a30000d21df59bcf02222e398c56 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -756,15 +756,27 @@
"box-sizing",
{
name: "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",
+ 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",
+ initial_keyword: "auto",
+ keyword_only: true,
+ keywords: ["auto", "avoid", "avoid-column", "avoid-page"],
},
{
name: "buffered-rendering",

Powered by Google App Engine
This is Rietveld 408576698