From 15affd0068ed721db3e9357c3337a791d5b9d7f1 Mon Sep 17 00:00:00 2001 From: David Sancho Date: Wed, 17 Jul 2024 11:27:04 +0200 Subject: [PATCH] Add CSS Box Alignment Module Level 3 (#847) --- src/ReactDOM.re | 10 +++++++--- src/ReactDOM.rei | 4 ++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/ReactDOM.re b/src/ReactDOM.re index ecc27cb7f..bedb622f2 100644 --- a/src/ReactDOM.re +++ b/src/ReactDOM.re @@ -276,12 +276,12 @@ module Style = { ~gridAutoRows: string=?, ~gridColumn: string=?, ~gridColumnEnd: string=?, - ~gridColumnGap: string=?, + ~gridColumnGap: string=?, /* Deprecated in favor of column-gap */ ~gridColumnStart: string=?, - ~gridGap: string=?, + ~gridGap: string=?, /* Deprecated in favor of gap */ ~gridRow: string=?, ~gridRowEnd: string=?, - ~gridRowGap: string=?, + ~gridRowGap: string=?, /* Deprecated in favor of row-gap */ ~gridRowStart: string=?, ~gridTemplate: string=?, ~gridTemplateAreas: string=?, @@ -392,6 +392,10 @@ module Style = { ~rubyAlign: string=?, ~rubyMerge: string=?, ~rubyPosition: string=?, + /* CSS Box Alignment Module Level 3 */ + ~gap: string=?, + ~columnGap: string=?, + ~rowGap: string=?, /* Lists and Counters Level 3 - WD */ /* listStyle - already defined by CSS2Properties */ /* listStyleImage - already defined by CSS2Properties */ diff --git a/src/ReactDOM.rei b/src/ReactDOM.rei index 0d80a6a92..2310ca3e2 100644 --- a/src/ReactDOM.rei +++ b/src/ReactDOM.rei @@ -392,6 +392,10 @@ module Style: { ~rubyAlign: string=?, ~rubyMerge: string=?, ~rubyPosition: string=?, + /* CSS Box Alignment Module Level 3 */ + ~gap: string=?, + ~columnGap: string=?, + ~rowGap: string=?, /* Lists and Counters Level 3 - WD */ /* listStyle - already defined by CSS2Properties */ /* listStyleImage - already defined by CSS2Properties */