From 7955f779344953ea99a7cf0cb3a7982e06709364 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Thu, 15 Oct 2015 11:30:51 +0200 Subject: Add 'transform-box' to CSS properties. (bzr r14415) --- share/attributes/css_defaults | 2 ++ share/attributes/cssprops | 2 ++ share/attributes/genMapDataCSS.pl | 5 +++++ share/attributes/svgprops | 2 ++ 4 files changed, 11 insertions(+) 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" -- cgit v1.2.3