Gitweb links:
...log
http://git.netsurf-browser.org/libcss.git/shortlog/0275dec0dff54eefd03d9302af4562c4024fb993
...commit
http://git.netsurf-browser.org/libcss.git/commit/0275dec0dff54eefd03d9302af4562c4024fb993
...tree
http://git.netsurf-browser.org/libcss.git/tree/0275dec0dff54eefd03d9302af4562c4024fb993
The branch, master has been updated
via 0275dec0dff54eefd03d9302af4562c4024fb993 (commit)
via 54ae60db8c504ac5793c60631066cb012b687378 (commit)
via 244e4f5dfbd7b2c8ee8c8d2478058a802004be14 (commit)
via 3b0f34bccc44e8ea81cfad57a5f6a3f50d8917ef (commit)
from 1a9fa6f7383dd4c79a25614b2438645cfa8ec572 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libcss.git/commit/?id=0275dec0dff54eefd03d9302af4562c4024fb993
commit 0275dec0dff54eefd03d9302af4562c4024fb993
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
test: Add test for display property grid values
diff --git a/test/data/select/tests1.dat b/test/data/select/tests1.dat
index 295ab2e..67a8364 100644
--- a/test/data/select/tests1.dat
+++ b/test/data/select/tests1.dat
@@ -109,6 +109,117 @@ writing-mode: horizontal-tb
z-index: auto
#reset
+#tree screen
+| div*
+#ua
+div { display: grid; }
+#user
+div { display: inline-grid; }
+#errors
+#expected
+align-content: stretch
+align-items: stretch
+align-self: auto
+background-attachment: scroll
+background-color: #00000000
+background-image: none
+background-position: 0% 0%
+background-repeat: repeat
+border-collapse: separate
+border-spacing: 0px 0px
+border-top-color: #ff000000
+border-right-color: #ff000000
+border-bottom-color: #ff000000
+border-left-color: #ff000000
+border-top-style: none
+border-right-style: none
+border-bottom-style: none
+border-left-style: none
+border-top-width: 2px
+border-right-width: 2px
+border-bottom-width: 2px
+border-left-width: 2px
+bottom: auto
+box-sizing: content-box
+break-after: auto
+break-before: auto
+break-inside: auto
+caption-side: top
+clear: none
+clip: auto
+color: #ff000000
+column-count: auto
+column-fill: balance
+column-gap: normal
+column-rule-color: #ff000000
+column-rule-style: none
+column-rule-width: 2px
+column-span: none
+column-width: auto
+content: normal
+counter-increment: none
+counter-reset: none
+cursor: auto
+direction: ltr
+display: inline-grid
+empty-cells: show
+flex-basis: auto
+flex-direction: row
+flex-grow: 0.000
+flex-shrink: 1.000
+flex-wrap: nowrap
+float: none
+font-family: sans-serif
+font-size: 16px
+font-style: normal
+font-variant: normal
+font-weight: normal
+height: auto
+justify-content: flex-start
+left: auto
+letter-spacing: normal
+line-height: normal
+list-style-image: none
+list-style-position: outside
+list-style-type: disc
+margin-top: 0px
+margin-right: 0px
+margin-bottom: 0px
+margin-left: 0px
+max-height: none
+max-width: none
+min-height: 0px
+min-width: 0px
+opacity: 1.000
+order: 0
+outline-color: invert
+outline-style: none
+outline-width: 2px
+overflow-x: visible
+overflow-y: visible
+padding-top: 0px
+padding-right: 0px
+padding-bottom: 0px
+padding-left: 0px
+position: static
+quotes: none
+right: auto
+table-layout: auto
+text-align: default
+text-decoration: none
+text-indent: 0px
+text-transform: none
+top: auto
+unicode-bidi: normal
+vertical-align: baseline
+visibility: visible
+white-space: normal
+width: auto
+word-spacing: normal
+writing-mode: horizontal-tb
+z-index: auto
+#reset
+
#tree
| div
| id=foo
commitdiff
http://git.netsurf-browser.org/libcss.git/commit/?id=54ae60db8c504ac5793c60631066cb012b687378
commit 54ae60db8c504ac5793c60631066cb012b687378
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
test: dump: Add support for display property grid values
diff --git a/test/dump_computed.h b/test/dump_computed.h
index 8ac6424..a5c4f13 100644
--- a/test/dump_computed.h
+++ b/test/dump_computed.h
@@ -1603,6 +1603,12 @@ static void dump_computed_style(const css_computed_style
*style, char *buf,
case CSS_DISPLAY_INLINE_FLEX:
wrote = snprintf(ptr, *len, "display: inline-flex\n");
break;
+ case CSS_DISPLAY_GRID:
+ wrote = snprintf(ptr, *len, "display: grid\n");
+ break;
+ case CSS_DISPLAY_INLINE_GRID:
+ wrote = snprintf(ptr, *len, "display: inline-grid\n");
+ break;
default:
wrote = 0;
break;
commitdiff
http://git.netsurf-browser.org/libcss.git/commit/?id=244e4f5dfbd7b2c8ee8c8d2478058a802004be14
commit 244e4f5dfbd7b2c8ee8c8d2478058a802004be14
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
properties: display: Add grid values
diff --git a/include/libcss/properties.h b/include/libcss/properties.h
index ae00551..e056a75 100644
--- a/include/libcss/properties.h
+++ b/include/libcss/properties.h
@@ -440,7 +440,9 @@ enum css_display_e {
CSS_DISPLAY_TABLE_CAPTION = 0x0f,
CSS_DISPLAY_NONE = 0x10,
CSS_DISPLAY_FLEX = 0x11,
- CSS_DISPLAY_INLINE_FLEX = 0x12
+ CSS_DISPLAY_INLINE_FLEX = 0x12,
+ CSS_DISPLAY_GRID = 0x13,
+ CSS_DISPLAY_INLINE_GRID = 0x14
};
enum css_empty_cells_e {
diff --git a/src/bytecode/opcodes.h b/src/bytecode/opcodes.h
index 01ea25a..52886b9 100644
--- a/src/bytecode/opcodes.h
+++ b/src/bytecode/opcodes.h
@@ -332,7 +332,9 @@ enum op_display {
DISPLAY_TABLE_CAPTION = 0x000e,
DISPLAY_NONE = 0x000f,
DISPLAY_FLEX = 0x0010,
- DISPLAY_INLINE_FLEX = 0x0011
+ DISPLAY_INLINE_FLEX = 0x0011,
+ DISPLAY_GRID = 0x0012,
+ DISPLAY_INLINE_GRID = 0x0013
};
enum op_elevation {
diff --git a/src/parse/properties/properties.gen
b/src/parse/properties/properties.gen
index 4fd8ba0..a001370 100644
--- a/src/parse/properties/properties.gen
+++ b/src/parse/properties/properties.gen
@@ -16,7 +16,7 @@ cue_before:CSS_PROP_CUE_BEFORE IDENT:( INHERIT: INITIAL:
REVERT: UNSET: NONE:0,C
direction:CSS_PROP_DIRECTION IDENT:( INHERIT: INITIAL: REVERT: UNSET:
LTR:0,DIRECTION_LTR RTL:0,DIRECTION_RTL IDENT:)
-display:CSS_PROP_DISPLAY IDENT:( INHERIT: INITIAL: REVERT: UNSET:
INLINE:0,DISPLAY_INLINE BLOCK:0,DISPLAY_BLOCK LIST_ITEM:0,DISPLAY_LIST_ITEM
RUN_IN:0,DISPLAY_RUN_IN INLINE_BLOCK:0,DISPLAY_INLINE_BLOCK
TABLE:0,DISPLAY_TABLE INLINE_TABLE:0,DISPLAY_INLINE_TABLE
TABLE_ROW_GROUP:0,DISPLAY_TABLE_ROW_GROUP
TABLE_HEADER_GROUP:0,DISPLAY_TABLE_HEADER_GROUP
TABLE_FOOTER_GROUP:0,DISPLAY_TABLE_FOOTER_GROUP TABLE_ROW:0,DISPLAY_TABLE_ROW
TABLE_COLUMN_GROUP:0,DISPLAY_TABLE_COLUMN_GROUP
TABLE_COLUMN:0,DISPLAY_TABLE_COLUMN TABLE_CELL:0,DISPLAY_TABLE_CELL
TABLE_CAPTION:0,DISPLAY_TABLE_CAPTION NONE:0,DISPLAY_NONE FLEX:0,DISPLAY_FLEX
INLINE_FLEX:0,DISPLAY_INLINE_FLEX IDENT:)
+display:CSS_PROP_DISPLAY IDENT:( INHERIT: INITIAL: REVERT: UNSET:
INLINE:0,DISPLAY_INLINE BLOCK:0,DISPLAY_BLOCK LIST_ITEM:0,DISPLAY_LIST_ITEM
RUN_IN:0,DISPLAY_RUN_IN INLINE_BLOCK:0,DISPLAY_INLINE_BLOCK
TABLE:0,DISPLAY_TABLE INLINE_TABLE:0,DISPLAY_INLINE_TABLE
TABLE_ROW_GROUP:0,DISPLAY_TABLE_ROW_GROUP
TABLE_HEADER_GROUP:0,DISPLAY_TABLE_HEADER_GROUP
TABLE_FOOTER_GROUP:0,DISPLAY_TABLE_FOOTER_GROUP TABLE_ROW:0,DISPLAY_TABLE_ROW
TABLE_COLUMN_GROUP:0,DISPLAY_TABLE_COLUMN_GROUP
TABLE_COLUMN:0,DISPLAY_TABLE_COLUMN TABLE_CELL:0,DISPLAY_TABLE_CELL
TABLE_CAPTION:0,DISPLAY_TABLE_CAPTION NONE:0,DISPLAY_NONE FLEX:0,DISPLAY_FLEX
INLINE_FLEX:0,DISPLAY_INLINE_FLEX GRID:0,DISPLAY_GRID
INLINE_GRID:0,DISPLAY_INLINE_GRID IDENT:)
empty_cells:CSS_PROP_EMPTY_CELLS IDENT:( INHERIT: INITIAL: REVERT: UNSET:
SHOW:0,EMPTY_CELLS_SHOW HIDE:0,EMPTY_CELLS_HIDE IDENT:)
diff --git a/src/parse/propstrings.c b/src/parse/propstrings.c
index dd579f1..2cac65f 100644
--- a/src/parse/propstrings.c
+++ b/src/parse/propstrings.c
@@ -486,6 +486,8 @@ const stringmap_entry stringmap[LAST_KNOWN] = {
SMAP("or"),
SMAP("only"),
SMAP("infinite"),
+ SMAP("grid"),
+ SMAP("inline-grid"),
SMAP("aliceblue"),
SMAP("antiquewhite"),
diff --git a/src/parse/propstrings.h b/src/parse/propstrings.h
index df3bcf1..6c84f71 100644
--- a/src/parse/propstrings.h
+++ b/src/parse/propstrings.h
@@ -109,6 +109,7 @@ enum {
VERTICAL_LR, CONTENT_BOX, BORDER_BOX, STRETCH, INLINE_FLEX, FLEX_START,
FLEX_END, SPACE_BETWEEN, SPACE_AROUND, SPACE_EVENLY, ROW, ROW_REVERSE,
COLUMN_REVERSE, WRAP_STRING, WRAP_REVERSE, AND, OR, ONLY, INFINITE,
+ GRID, INLINE_GRID,
/* Named colours */
FIRST_COLOUR,
diff --git a/src/select/computed.c b/src/select/computed.c
index 89d6efb..c257f17 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -926,6 +926,8 @@ uint8_t css_computed_display(const css_computed_style
*style,
return CSS_DISPLAY_TABLE;
} else if (display == CSS_DISPLAY_INLINE_FLEX) {
return CSS_DISPLAY_FLEX;
+ } else if (display == CSS_DISPLAY_INLINE_GRID) {
+ return CSS_DISPLAY_GRID;
} else if (display == CSS_DISPLAY_INLINE ||
display == CSS_DISPLAY_RUN_IN ||
display == CSS_DISPLAY_TABLE_ROW_GROUP ||
diff --git a/src/select/properties/display.c b/src/select/properties/display.c
index bfe0a5f..5455d20 100644
--- a/src/select/properties/display.c
+++ b/src/select/properties/display.c
@@ -77,6 +77,12 @@ css_error css__cascade_display(uint32_t opv, css_style
*style,
case DISPLAY_INLINE_FLEX:
value = CSS_DISPLAY_INLINE_FLEX;
break;
+ case DISPLAY_GRID:
+ value = CSS_DISPLAY_GRID;
+ break;
+ case DISPLAY_INLINE_GRID:
+ value = CSS_DISPLAY_INLINE_GRID;
+ break;
}
}
commitdiff
http://git.netsurf-browser.org/libcss.git/commit/?id=3b0f34bccc44e8ea81cfad57a5f6a3f50d8917ef
commit 3b0f34bccc44e8ea81cfad57a5f6a3f50d8917ef
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
docs: bytecode: Add display grid values
diff --git a/docs/Bytecode b/docs/Bytecode
index 02ef8f0..e547b17 100644
--- a/docs/Bytecode
+++ b/docs/Bytecode
@@ -491,6 +491,8 @@ Opcodes
f => none,
10 => flex,
11 => inline-flex,
+ 12 => grid,
+ 13 => inline-grid
other => Reserved for future expansion.
21 - elevation
-----------------------------------------------------------------------
Summary of changes:
docs/Bytecode | 2 +
include/libcss/properties.h | 4 +-
src/bytecode/opcodes.h | 4 +-
src/parse/properties/properties.gen | 2 +-
src/parse/propstrings.c | 2 +
src/parse/propstrings.h | 1 +
src/select/computed.c | 2 +
src/select/properties/display.c | 6 ++
test/data/select/tests1.dat | 111 +++++++++++++++++++++++++++++++++++
test/dump_computed.h | 6 ++
10 files changed, 137 insertions(+), 3 deletions(-)
diff --git a/docs/Bytecode b/docs/Bytecode
index 02ef8f0..e547b17 100644
--- a/docs/Bytecode
+++ b/docs/Bytecode
@@ -491,6 +491,8 @@ Opcodes
f => none,
10 => flex,
11 => inline-flex,
+ 12 => grid,
+ 13 => inline-grid
other => Reserved for future expansion.
21 - elevation
diff --git a/include/libcss/properties.h b/include/libcss/properties.h
index ae00551..e056a75 100644
--- a/include/libcss/properties.h
+++ b/include/libcss/properties.h
@@ -440,7 +440,9 @@ enum css_display_e {
CSS_DISPLAY_TABLE_CAPTION = 0x0f,
CSS_DISPLAY_NONE = 0x10,
CSS_DISPLAY_FLEX = 0x11,
- CSS_DISPLAY_INLINE_FLEX = 0x12
+ CSS_DISPLAY_INLINE_FLEX = 0x12,
+ CSS_DISPLAY_GRID = 0x13,
+ CSS_DISPLAY_INLINE_GRID = 0x14
};
enum css_empty_cells_e {
diff --git a/src/bytecode/opcodes.h b/src/bytecode/opcodes.h
index 01ea25a..52886b9 100644
--- a/src/bytecode/opcodes.h
+++ b/src/bytecode/opcodes.h
@@ -332,7 +332,9 @@ enum op_display {
DISPLAY_TABLE_CAPTION = 0x000e,
DISPLAY_NONE = 0x000f,
DISPLAY_FLEX = 0x0010,
- DISPLAY_INLINE_FLEX = 0x0011
+ DISPLAY_INLINE_FLEX = 0x0011,
+ DISPLAY_GRID = 0x0012,
+ DISPLAY_INLINE_GRID = 0x0013
};
enum op_elevation {
diff --git a/src/parse/properties/properties.gen
b/src/parse/properties/properties.gen
index 4fd8ba0..a001370 100644
--- a/src/parse/properties/properties.gen
+++ b/src/parse/properties/properties.gen
@@ -16,7 +16,7 @@ cue_before:CSS_PROP_CUE_BEFORE IDENT:( INHERIT: INITIAL:
REVERT: UNSET: NONE:0,C
direction:CSS_PROP_DIRECTION IDENT:( INHERIT: INITIAL: REVERT: UNSET:
LTR:0,DIRECTION_LTR RTL:0,DIRECTION_RTL IDENT:)
-display:CSS_PROP_DISPLAY IDENT:( INHERIT: INITIAL: REVERT: UNSET:
INLINE:0,DISPLAY_INLINE BLOCK:0,DISPLAY_BLOCK LIST_ITEM:0,DISPLAY_LIST_ITEM
RUN_IN:0,DISPLAY_RUN_IN INLINE_BLOCK:0,DISPLAY_INLINE_BLOCK
TABLE:0,DISPLAY_TABLE INLINE_TABLE:0,DISPLAY_INLINE_TABLE
TABLE_ROW_GROUP:0,DISPLAY_TABLE_ROW_GROUP
TABLE_HEADER_GROUP:0,DISPLAY_TABLE_HEADER_GROUP
TABLE_FOOTER_GROUP:0,DISPLAY_TABLE_FOOTER_GROUP TABLE_ROW:0,DISPLAY_TABLE_ROW
TABLE_COLUMN_GROUP:0,DISPLAY_TABLE_COLUMN_GROUP
TABLE_COLUMN:0,DISPLAY_TABLE_COLUMN TABLE_CELL:0,DISPLAY_TABLE_CELL
TABLE_CAPTION:0,DISPLAY_TABLE_CAPTION NONE:0,DISPLAY_NONE FLEX:0,DISPLAY_FLEX
INLINE_FLEX:0,DISPLAY_INLINE_FLEX IDENT:)
+display:CSS_PROP_DISPLAY IDENT:( INHERIT: INITIAL: REVERT: UNSET:
INLINE:0,DISPLAY_INLINE BLOCK:0,DISPLAY_BLOCK LIST_ITEM:0,DISPLAY_LIST_ITEM
RUN_IN:0,DISPLAY_RUN_IN INLINE_BLOCK:0,DISPLAY_INLINE_BLOCK
TABLE:0,DISPLAY_TABLE INLINE_TABLE:0,DISPLAY_INLINE_TABLE
TABLE_ROW_GROUP:0,DISPLAY_TABLE_ROW_GROUP
TABLE_HEADER_GROUP:0,DISPLAY_TABLE_HEADER_GROUP
TABLE_FOOTER_GROUP:0,DISPLAY_TABLE_FOOTER_GROUP TABLE_ROW:0,DISPLAY_TABLE_ROW
TABLE_COLUMN_GROUP:0,DISPLAY_TABLE_COLUMN_GROUP
TABLE_COLUMN:0,DISPLAY_TABLE_COLUMN TABLE_CELL:0,DISPLAY_TABLE_CELL
TABLE_CAPTION:0,DISPLAY_TABLE_CAPTION NONE:0,DISPLAY_NONE FLEX:0,DISPLAY_FLEX
INLINE_FLEX:0,DISPLAY_INLINE_FLEX GRID:0,DISPLAY_GRID
INLINE_GRID:0,DISPLAY_INLINE_GRID IDENT:)
empty_cells:CSS_PROP_EMPTY_CELLS IDENT:( INHERIT: INITIAL: REVERT: UNSET:
SHOW:0,EMPTY_CELLS_SHOW HIDE:0,EMPTY_CELLS_HIDE IDENT:)
diff --git a/src/parse/propstrings.c b/src/parse/propstrings.c
index dd579f1..2cac65f 100644
--- a/src/parse/propstrings.c
+++ b/src/parse/propstrings.c
@@ -486,6 +486,8 @@ const stringmap_entry stringmap[LAST_KNOWN] = {
SMAP("or"),
SMAP("only"),
SMAP("infinite"),
+ SMAP("grid"),
+ SMAP("inline-grid"),
SMAP("aliceblue"),
SMAP("antiquewhite"),
diff --git a/src/parse/propstrings.h b/src/parse/propstrings.h
index df3bcf1..6c84f71 100644
--- a/src/parse/propstrings.h
+++ b/src/parse/propstrings.h
@@ -109,6 +109,7 @@ enum {
VERTICAL_LR, CONTENT_BOX, BORDER_BOX, STRETCH, INLINE_FLEX, FLEX_START,
FLEX_END, SPACE_BETWEEN, SPACE_AROUND, SPACE_EVENLY, ROW, ROW_REVERSE,
COLUMN_REVERSE, WRAP_STRING, WRAP_REVERSE, AND, OR, ONLY, INFINITE,
+ GRID, INLINE_GRID,
/* Named colours */
FIRST_COLOUR,
diff --git a/src/select/computed.c b/src/select/computed.c
index 89d6efb..c257f17 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -926,6 +926,8 @@ uint8_t css_computed_display(const css_computed_style
*style,
return CSS_DISPLAY_TABLE;
} else if (display == CSS_DISPLAY_INLINE_FLEX) {
return CSS_DISPLAY_FLEX;
+ } else if (display == CSS_DISPLAY_INLINE_GRID) {
+ return CSS_DISPLAY_GRID;
} else if (display == CSS_DISPLAY_INLINE ||
display == CSS_DISPLAY_RUN_IN ||
display == CSS_DISPLAY_TABLE_ROW_GROUP ||
diff --git a/src/select/properties/display.c b/src/select/properties/display.c
index bfe0a5f..5455d20 100644
--- a/src/select/properties/display.c
+++ b/src/select/properties/display.c
@@ -77,6 +77,12 @@ css_error css__cascade_display(uint32_t opv, css_style
*style,
case DISPLAY_INLINE_FLEX:
value = CSS_DISPLAY_INLINE_FLEX;
break;
+ case DISPLAY_GRID:
+ value = CSS_DISPLAY_GRID;
+ break;
+ case DISPLAY_INLINE_GRID:
+ value = CSS_DISPLAY_INLINE_GRID;
+ break;
}
}
diff --git a/test/data/select/tests1.dat b/test/data/select/tests1.dat
index 295ab2e..67a8364 100644
--- a/test/data/select/tests1.dat
+++ b/test/data/select/tests1.dat
@@ -109,6 +109,117 @@ writing-mode: horizontal-tb
z-index: auto
#reset
+#tree screen
+| div*
+#ua
+div { display: grid; }
+#user
+div { display: inline-grid; }
+#errors
+#expected
+align-content: stretch
+align-items: stretch
+align-self: auto
+background-attachment: scroll
+background-color: #00000000
+background-image: none
+background-position: 0% 0%
+background-repeat: repeat
+border-collapse: separate
+border-spacing: 0px 0px
+border-top-color: #ff000000
+border-right-color: #ff000000
+border-bottom-color: #ff000000
+border-left-color: #ff000000
+border-top-style: none
+border-right-style: none
+border-bottom-style: none
+border-left-style: none
+border-top-width: 2px
+border-right-width: 2px
+border-bottom-width: 2px
+border-left-width: 2px
+bottom: auto
+box-sizing: content-box
+break-after: auto
+break-before: auto
+break-inside: auto
+caption-side: top
+clear: none
+clip: auto
+color: #ff000000
+column-count: auto
+column-fill: balance
+column-gap: normal
+column-rule-color: #ff000000
+column-rule-style: none
+column-rule-width: 2px
+column-span: none
+column-width: auto
+content: normal
+counter-increment: none
+counter-reset: none
+cursor: auto
+direction: ltr
+display: inline-grid
+empty-cells: show
+flex-basis: auto
+flex-direction: row
+flex-grow: 0.000
+flex-shrink: 1.000
+flex-wrap: nowrap
+float: none
+font-family: sans-serif
+font-size: 16px
+font-style: normal
+font-variant: normal
+font-weight: normal
+height: auto
+justify-content: flex-start
+left: auto
+letter-spacing: normal
+line-height: normal
+list-style-image: none
+list-style-position: outside
+list-style-type: disc
+margin-top: 0px
+margin-right: 0px
+margin-bottom: 0px
+margin-left: 0px
+max-height: none
+max-width: none
+min-height: 0px
+min-width: 0px
+opacity: 1.000
+order: 0
+outline-color: invert
+outline-style: none
+outline-width: 2px
+overflow-x: visible
+overflow-y: visible
+padding-top: 0px
+padding-right: 0px
+padding-bottom: 0px
+padding-left: 0px
+position: static
+quotes: none
+right: auto
+table-layout: auto
+text-align: default
+text-decoration: none
+text-indent: 0px
+text-transform: none
+top: auto
+unicode-bidi: normal
+vertical-align: baseline
+visibility: visible
+white-space: normal
+width: auto
+word-spacing: normal
+writing-mode: horizontal-tb
+z-index: auto
+#reset
+
#tree
| div
| id=foo
diff --git a/test/dump_computed.h b/test/dump_computed.h
index 8ac6424..a5c4f13 100644
--- a/test/dump_computed.h
+++ b/test/dump_computed.h
@@ -1603,6 +1603,12 @@ static void dump_computed_style(const css_computed_style
*style, char *buf,
case CSS_DISPLAY_INLINE_FLEX:
wrote = snprintf(ptr, *len, "display: inline-flex\n");
break;
+ case CSS_DISPLAY_GRID:
+ wrote = snprintf(ptr, *len, "display: grid\n");
+ break;
+ case CSS_DISPLAY_INLINE_GRID:
+ wrote = snprintf(ptr, *len, "display: inline-grid\n");
+ break;
default:
wrote = 0;
break;
--
Cascading Style Sheets library
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]