mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-28 15:40:12 +01:00
Add link with a negative coordinate to testcase.
This commit is contained in:
parent
b7d67433b7
commit
a8238adc5a
1 changed files with 4 additions and 0 deletions
|
|
@ -385,6 +385,10 @@ create_document (cairo_surface_t *surface, cairo_t *cr)
|
|||
cairo_tag_end (cr, CAIRO_TAG_LINK);
|
||||
cairo_restore (cr);
|
||||
|
||||
/* An annotation whose rect has a negative coordinate. */
|
||||
cairo_tag_begin (cr, CAIRO_TAG_LINK, "uri='http://127.0.0.1/' rect=[10.0 -10.0 100.0 100.0]");
|
||||
cairo_tag_end (cr, CAIRO_TAG_LINK);
|
||||
|
||||
cairo_show_page (cr);
|
||||
|
||||
page_num = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue