summaryrefslogtreecommitdiff
path: root/render/box_normalise.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-01-05 19:36:05 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-01-05 19:36:05 +0000
commit08ed4c207f7f8688075c84e4b3cd5ab73470c246 (patch)
tree90f517c899a05a61c64fca95746505ed94539266 /render/box_normalise.c
parent027726c4324663f391f070a759b5c730fc04dfe7 (diff)
downloadnetsurf-08ed4c207f7f8688075c84e4b3cd5ab73470c246.tar.gz
netsurf-08ed4c207f7f8688075c84e4b3cd5ab73470c246.tar.bz2
Update to new libcss API for simultanious selection for base element and its pseudo elements.
svn path=/trunk/netsurf/; revision=11215
Diffstat (limited to 'render/box_normalise.c')
-rw-r--r--render/box_normalise.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/render/box_normalise.c b/render/box_normalise.c
index e082a9a6f..b4c005c8e 100644
--- a/render/box_normalise.c
+++ b/render/box_normalise.c
@@ -153,8 +153,8 @@ bool box_normalise_block(struct box *block, struct content *c)
if (style == NULL)
return false;
- table = box_create(style, true, block->href, block->target,
- NULL, NULL, c);
+ table = box_create(NULL, style, true, block->href,
+ block->target, NULL, NULL, c);
if (table == NULL) {
css_computed_style_destroy(style);
return false;
@@ -249,7 +249,7 @@ bool box_normalise_table(struct box *table, struct content * c)
return false;
}
- row_group = box_create(style, true, table->href,
+ row_group = box_create(NULL, style, true, table->href,
table->target, NULL, NULL, c);
if (row_group == NULL) {
css_computed_style_destroy(style);
@@ -329,7 +329,7 @@ bool box_normalise_table(struct box *table, struct content * c)
return false;
}
- row_group = box_create(style, true, table->href,
+ row_group = box_create(NULL, style, true, table->href,
table->target, NULL, NULL, c);
if (row_group == NULL) {
css_computed_style_destroy(style);
@@ -346,7 +346,7 @@ bool box_normalise_table(struct box *table, struct content * c)
return false;
}
- row = box_create(style, true, row_group->href,
+ row = box_create(NULL, style, true, row_group->href,
row_group->target, NULL, NULL, c);
if (row == NULL) {
css_computed_style_destroy(style);
@@ -455,7 +455,7 @@ bool box_normalise_table_spans(struct box *table, struct span_info *spans,
if (style == NULL)
return false;
- cell = box_create(style, true,
+ cell = box_create(NULL, style, true,
table_row->href,
table_row->target,
NULL, NULL, c);
@@ -556,7 +556,7 @@ bool box_normalise_table_row_group(struct box *row_group,
if (style == NULL)
return false;
- row = box_create(style, true, row_group->href,
+ row = box_create(NULL, style, true, row_group->href,
row_group->target, NULL, NULL, c);
if (row == NULL) {
css_computed_style_destroy(style);
@@ -625,7 +625,7 @@ bool box_normalise_table_row_group(struct box *row_group,
return false;
}
- row = box_create(style, true, row_group->href,
+ row = box_create(NULL, style, true, row_group->href,
row_group->target, NULL, NULL, c);
if (row == NULL) {
css_computed_style_destroy(style);
@@ -683,8 +683,8 @@ bool box_normalise_table_row(struct box *row,
if (style == NULL)
return false;
- cell = box_create(style, true, row->href, row->target,
- NULL, NULL, c);
+ cell = box_create(NULL, style, true, row->href,
+ row->target, NULL, NULL, c);
if (cell == NULL) {
css_computed_style_destroy(style);
return false;