diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/html.h | 6 | ||||
-rw-r--r-- | render/html_redraw.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/render/html.h b/render/html.h index b8429fd17..30219a3bd 100644 --- a/render/html.h +++ b/render/html.h @@ -88,7 +88,7 @@ struct html_script { }; -/** An object (<img>, <object>, etc.) in a CONTENT_HTML document. */ +/** An object (img, object, etc. tag) in a CONTENT_HTML document. */ struct content_html_object { struct content *parent; /**< Parent document */ struct content_html_object *next; /**< Next in chain */ @@ -105,7 +105,7 @@ struct html_scrollbar_data { struct box *box; }; -/** Frame tree (<frameset>, <frame>) */ +/** Frame tree (frameset or frame tag) */ struct content_html_frames { int cols; /** number of columns in frameset */ int rows; /** number of rows in frameset */ @@ -126,7 +126,7 @@ struct content_html_frames { struct content_html_frames *children; /** [cols * rows] children */ }; -/** Inline frame list (<iframe>) */ +/** Inline frame list (iframe tag) */ struct content_html_iframe { struct box *box; diff --git a/render/html_redraw.c b/render/html_redraw.c index 598e613ca..2f8730634 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -567,6 +567,10 @@ static bool html_redraw_file(int x, int y, int width, int height, /** * Plot background images. * + * The reason for the presence of \a background is the backwards compatibility + * mess that is backgrounds on <body>. The background will be drawn relative + * to \a box, using the background information contained within \a background. + * * \param x coordinate of box * \param y coordinate of box * \param box box to draw background image of @@ -576,10 +580,6 @@ static bool html_redraw_file(int x, int y, int width, int height, * \param background box containing background details (usually \a box) * \param ctx current redraw context * \return true if successful, false otherwise - * - * The reason for the presence of ::background is the backwards compatibility - * mess that is backgrounds on <body>. The background will be drawn relative - * to \a box, using the background information contained within \a background. */ static bool html_redraw_background(int x, int y, struct box *box, float scale, |