| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Clients now provide viewport dimensions in pixels.
LibCSS can now convert the units from the stylesheet to pixels.
Client must also provide default font size and line height for
handling viewport and root element relative sizes.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently we just look at:
- width
- height
TODO:
- Unit conversion
- Use interned string comparison
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The API changes are:
1. When building a selection context, stylesheets added with
`css_select_ctx_{append|insert}_sheet()` now have to have
media strings associcated with them. Previously they took
a simple bitfield for CSS media type.
2. When selecting for an element, the client needs to specify
the current media requirements. Previously it only had to
provide the bitfield for CSS media type.
3. Same for the css_select_font_faces API.
The selection handling has been updated to handle the new
API, however it is currently only looking at the media type
when performing selection.
Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
|
|
|
|
| |
Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
|
|
|
|
| |
Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
|
|
|
|
|
| |
Doesn't currently match media query conditions, only the
media type.
|
|
|