Skip to content

Commit 59e6d96

Browse files
committed
select: comments: Fix typos and alignment
1 parent f1c3e3d commit 59e6d96

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/select/select.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ static css_error css__select_ctx_create_default_style(css_select_ctx *ctx,
496496

497497

498498
/**
499-
* Get a default style, e.g. for an implied element's anonamous box
499+
* Get a default style, e.g. for an implied element's anonymous box
500500
*
501501
* \param ctx Selection context (used to avoid recreating default)
502502
* \param handler Dispatch table of handler functions
@@ -532,11 +532,11 @@ css_error css_select_default_style(css_select_ctx *ctx,
532532
/**
533533
* Get a bloom filter for the parent node
534534
*
535-
* \param parent Parent node to get bloom filter for
536-
* \param handler Dispatch table of handler functions
537-
* \param pw Client-specific private data for handler functions
538-
* \param parent_bloom Updated to parent bloom to use.
539-
* Note: if there's no parent, the caller must free
535+
* \param parent Parent node to get bloom filter for
536+
* \param handler Dispatch table of handler functions
537+
* \param pw Client-specific private data for handler functions
538+
* \param parent_bloom Updated to parent bloom to use.
539+
* Note: if there's no parent, the caller must free
540540
* the returned parent bloom, since it has no node to
541541
* own it.
542542
* \return CSS_OK on success, appropriate error otherwise.
@@ -575,7 +575,7 @@ static css_error css__get_parent_bloom(void *parent,
575575
* Build & set the parent node's bloom properly.
576576
* This will speed up the case where DOM change
577577
* has caused bloom to get deleted. For now we
578-
* fall back to a fully satruated bloom filter,
578+
* fall back to a fully saturated bloom filter,
579579
* which is slower but perfectly valid.
580580
*/
581581
bloom = malloc(sizeof(css_bloom) * CSS_BLOOM_SIZE);
@@ -1065,9 +1065,9 @@ static void css_select__finalise_selection_state(
10651065
* \param[in] node The node we are selecting for.
10661066
* \param[in] parent The node's parent node, or NULL.
10671067
* \param[in] media The media specification we're selecting for.
1068-
* \param[in] unit_ctx Unit conversion context.
1068+
* \param[in] unit_ctx Unit conversion context.
10691069
* \param[in] handler The client selection callback table.
1070-
* \param[in] pw The client private data, passsed out to callbacks.
1070+
* \param[in] pw The client private data, passed out to callbacks.
10711071
* \return CSS_OK or appropriate error otherwise.
10721072
*/
10731073
static css_error css_select__initialise_selection_state(

0 commit comments

Comments
 (0)