mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-08 00:01:41 +03:00
Add switch case fallthrough comments.
This commit is contained in:
parent
d0334c35e9
commit
f5be1eb413
@ -1523,18 +1523,22 @@ css_error node_presentational_hint(void *pw, void *node,
|
||||
case DOM_HTML_ELEMENT_TYPE_TD:
|
||||
css_hint_width(pw, node);
|
||||
css_hint_table_cell_border_padding(pw, node);
|
||||
/* fallthrough */
|
||||
case DOM_HTML_ELEMENT_TYPE_TR:
|
||||
css_hint_height(pw, node);
|
||||
/* fallthrough */
|
||||
case DOM_HTML_ELEMENT_TYPE_THEAD:
|
||||
case DOM_HTML_ELEMENT_TYPE_TBODY:
|
||||
case DOM_HTML_ELEMENT_TYPE_TFOOT:
|
||||
css_hint_text_align_special(pw, node);
|
||||
/* fallthrough */
|
||||
case DOM_HTML_ELEMENT_TYPE_COL:
|
||||
css_hint_vertical_align_table_cells(pw, node);
|
||||
break;
|
||||
case DOM_HTML_ELEMENT_TYPE_APPLET:
|
||||
case DOM_HTML_ELEMENT_TYPE_IMG:
|
||||
css_hint_margin_hspace_vspace(pw, node);
|
||||
/* fallthrough */
|
||||
case DOM_HTML_ELEMENT_TYPE_EMBED:
|
||||
case DOM_HTML_ELEMENT_TYPE_IFRAME:
|
||||
case DOM_HTML_ELEMENT_TYPE_OBJECT:
|
||||
@ -1557,6 +1561,7 @@ css_error node_presentational_hint(void *pw, void *node,
|
||||
break;
|
||||
case DOM_HTML_ELEMENT_TYPE_CAPTION:
|
||||
css_hint_caption_side(pw, node);
|
||||
/* fallthrough */
|
||||
case DOM_HTML_ELEMENT_TYPE_DIV:
|
||||
css_hint_text_align_special(pw, node);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user