libcss
Loading...
Searching...
No Matches
computed.h
Go to the documentation of this file.
1/*
2 * This file is part of LibCSS
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 * Copyright 2009 John-Mark Bell <jmb@netsurf-browser.org>
6 */
7
8#ifndef css_select_computed_h_
9#define css_select_computed_h_
10
11#include <libcss/computed.h>
12#include <libcss/hint.h>
13#include <libcss/unit.h>
14
16#include "calc.h"
17
24static inline css_computed_style * css__computed_style_ref(
25 css_computed_style *style)
26{
27 if (style == NULL)
28 return NULL;
29
30 style->count++;
31 return style;
32}
33
35
37 struct css_select_handler *handler, void *pw);
38
40 const css_computed_style *orig,
41 css_computed_style **clone_out);
42
44 css_computed_style *style,
45 const css_unit_ctx *unit_ctx);
46
47#endif
css_error
Definition errors.h:18
dict style
Definition select_config.py:26
css_error css__computed_style_create(css_computed_style **result, css_calculator *calc)
Definition computed.c:76
css_error css__compute_absolute_values(const css_computed_style *parent, css_computed_style *style, const css_unit_ctx *unit_ctx)
Definition computed.c:1206
css_error css__computed_style_initialise(css_computed_style *style, struct css_select_handler *handler, void *pw)
Definition computed.c:216
css_error css__computed_style_clone(const css_computed_style *orig, css_computed_style **clone_out)
Definition computed.c:253
Definition calc.h:22
Definition autogenerated_computed.h:282
Definition select.h:51
Definition unit.h:39