| 176 body = webkit_dom_document_get_body(doc); |
176 body = webkit_dom_document_get_body(doc); |
| 177 start = webkit_dom_node_get_last_child(WEBKIT_DOM_NODE(body)); |
177 start = webkit_dom_node_get_last_child(WEBKIT_DOM_NODE(body)); |
| 178 |
178 |
| 179 if (priv->autoscroll) { |
179 if (priv->autoscroll) { |
| 180 require_scroll = (gtk_adjustment_get_value(priv->vadj) |
180 require_scroll = (gtk_adjustment_get_value(priv->vadj) |
| 181 >= (gtk_adjustment_get_upper(priv->vadj) - |
181 >= (gtk_adjustment_get_upper(priv->vadj) - |
| 182 gtk_adjustment_get_page_size(priv->vadj))); |
182 1.5*gtk_adjustment_get_page_size(priv->vadj))); |
| 183 } |
183 } |
| 184 |
184 |
| 185 webkit_dom_html_element_insert_adjacent_html(body, "beforeend", |
185 webkit_dom_html_element_insert_adjacent_html(body, "beforeend", |
| 186 str, NULL); |
186 str, NULL); |
| 187 |
187 |