[librsvg] test case for bug #615701.
- From: Hiroyuki Ikezoe <hiikezoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] test case for bug #615701.
- Date: Tue, 20 Apr 2010 10:59:10 +0000 (UTC)
commit 3ccfa9b28f7548621372fee2b20bb24b67b7b22c
Author: Hiroyuki Ikezoe <hiikezoe gnome org>
Date: Tue Apr 20 19:58:47 2010 +0900
test case for bug #615701.
tests/fixtures/styles/svg-class.svg | 2 +-
tests/styles.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/fixtures/styles/svg-class.svg b/tests/fixtures/styles/svg-class.svg
index e28a6b3..dc3f6b4 100644
--- a/tests/fixtures/styles/svg-class.svg
+++ b/tests/fixtures/styles/svg-class.svg
@@ -2,7 +2,7 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="200" height="200"
- xmlns="http://www.w3.org/2000/svg" version="1.1" class="svg">
+ xmlns="http://www.w3.org/2000/svg" version="1.1" id="svg" class="svg">
<style type="text/css">
<![CDATA[
.svg {
diff --git a/tests/styles.c b/tests/styles.c
index e103a8d..b7380ac 100644
--- a/tests/styles.c
+++ b/tests/styles.c
@@ -88,6 +88,7 @@ static const FixtureData fixtures[] =
{"/styles/override presentation attribute", "614704", "fixtures/styles/bug614704.svg", "#blue-rect", "fill", .expected.color = 0x0000ff},
{"/styles/selectors/2 or more selectors (fill)", "592207", "fixtures/styles/bug592207.svg", "#target", "fill", .expected.color = 0xff0000},
{"/styles/selectors/2 or more selectors (stroke)", "592207", "fixtures/styles/bug592207.svg", "#target", "stroke", .expected.color = 0x0000ff},
+ {"/styles/svg-element-style", "615701", "fixtures/styles/svg-class.svg", "#svg", "fill", .expected.color = 0x0000ff},
{"/styles/!important", "379629", "fixtures/styles/bug379629.svg", "#base_shadow", "stroke", .expected.color = 0xffc0cb /* pink */},
{"/styles/!important", "379629", "fixtures/styles/bug379629.svg", "#base_shadow", "stroke-width", .expected.length = {POINTS_LENGTH(5.), 'i'}},
{"/styles/!important/class", "614606", "fixtures/styles/bug614606.svg", "#path6306", "fill", .expected.color = 0xff0000 /* red */ },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]