summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-10-15 09:30:51 +0000
committertavmjong-free <tavmjong@free.fr>2015-10-15 09:30:51 +0000
commit7955f779344953ea99a7cf0cb3a7982e06709364 (patch)
tree9cee024f64f9b2904b360f600f21707273098982 /share
parentAdd a few new properties dealing with text and transforms. (diff)
downloadinkscape-7955f779344953ea99a7cf0cb3a7982e06709364.tar.gz
inkscape-7955f779344953ea99a7cf0cb3a7982e06709364.zip
Add 'transform-box' to CSS properties.
(bzr r14415)
Diffstat (limited to 'share')
-rw-r--r--share/attributes/css_defaults2
-rw-r--r--share/attributes/cssprops2
-rwxr-xr-xshare/attributes/genMapDataCSS.pl5
-rw-r--r--share/attributes/svgprops2
4 files changed, 11 insertions, 0 deletions
diff --git a/share/attributes/css_defaults b/share/attributes/css_defaults
index eecd2069b..05735a0f2 100644
--- a/share/attributes/css_defaults
+++ b/share/attributes/css_defaults
@@ -148,6 +148,8 @@
"transform" - "none" - "no"
+"transform-box" - "NO_DEFAULT" - "no"
+
"transform-origin" - "NO_DEFAULT" - "no"
"transform-style" - "flat" - "no"
diff --git a/share/attributes/cssprops b/share/attributes/cssprops
index 28552c632..3767200a4 100644
--- a/share/attributes/cssprops
+++ b/share/attributes/cssprops
@@ -148,6 +148,8 @@
"transform" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use"
+"transform-box" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use"
+
"transform-origin" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use"
"transform-style" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use"
diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl
index 380942794..0d6e5c13d 100755
--- a/share/attributes/genMapDataCSS.pl
+++ b/share/attributes/genMapDataCSS.pl
@@ -248,6 +248,11 @@ push @{$properties{ "transform" }->{elements}}, @graphics_elements;
$properties{ "transform" }->{default} = "none";
$properties{ "transform" }->{inherit} = "no";
+push @{$properties{ "transform-box" }->{elements}}, @container_elements;
+push @{$properties{ "transform-box" }->{elements}}, @graphics_elements;
+$properties{ "transform-box" }->{default} = "NO_DEFAULT"; # Default no 100% fixed.
+$properties{ "transform-box" }->{inherit} = "no";
+
push @{$properties{ "transform-origin" }->{elements}}, @container_elements;
push @{$properties{ "transform-origin" }->{elements}}, @graphics_elements;
$properties{ "transform-origin" }->{default} = "NO_DEFAULT"; # Default is complicated
diff --git a/share/attributes/svgprops b/share/attributes/svgprops
index 5474d94dd..4fbcb16b4 100644
--- a/share/attributes/svgprops
+++ b/share/attributes/svgprops
@@ -584,6 +584,8 @@
"transform" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use"
+"transform-box" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use"
+
"transform-origin" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use"
"transform-style" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use"