Add 'buffered-rendering' property.
authorErik Dahlström <ed@opera.com>
Thu, 24 May 2012 22:43:50 +0200
changeset 147 89fbe624a719
parent 146 e3c7ae0b5d2b
child 148 340c7c2b6bce
Add 'buffered-rendering' property.
master/definitions.xml
master/feature.html
master/painting.html
master/propidx.html
--- a/master/definitions.xml	Thu May 24 17:26:40 2012 +1000
+++ b/master/definitions.xml	Thu May 24 22:43:50 2012 +0200
@@ -1271,6 +1271,7 @@
 
   <property name='alignment-baseline' href='text.html#AlignmentBaselineProperty'/>
   <property name='baseline-shift' href='text.html#BaselineShiftProperty'/>
+  <property name='buffered-rendering' href='painting.html#BufferedRenderingProperty'/>
   <property name='clip' href='masking.html#ClipProperty'/>
   <property name='clip-path' href='masking.html#ClipPathProperty'/>
   <property name='clip-rule' href='masking.html#ClipRuleProperty'/>
--- a/master/feature.html	Thu May 24 17:26:40 2012 +1000
+++ b/master/feature.html	Thu May 24 22:43:50 2012 +0200
@@ -36,6 +36,17 @@
 should support all listed feature strings for compatibility reasons. However,
 the SVG 1.0 feature strings can be considered deprecated.</p>
 
+<h2 id="SVG2FeatureStrings">SVG 2.0 feature strings</h2>
+
+<dl id="GraphicsAttribute">
+  <dt>Feature String:</dt>
+  <dd>http://www.w3.org/TR/SVG2/feature#GraphicsAttribute</dd>
+  <dt>User Agent Supports:</dt>
+  <dd>
+    the <a>'buffered-rendering'</a>, <a>'display'</a>, <a>'image-rendering'</a>, <a>'pointer-events'</a>, <a>'shape-rendering'</a>, <a>'text-rendering'</a> and <a>'visibility'</a> properties</dd>
+</dl>
+
+
 <h2 id="SVG11FeatureStrings">SVG 1.1 feature strings</h2>
 
 <dl id="SVG">
--- a/master/painting.html	Thu May 24 17:26:40 2012 +1000
+++ b/master/painting.html	Thu May 24 22:43:50 2012 +0200
@@ -2724,6 +2724,58 @@
  <p>Purpose: For caching rendered results for faster display.</p>
  <p>Owner: Erik</p>
 </div>
+<p>The creator of SVG content might want to provide a hint to the implementation about how often an element is modified to make speed vs. memory tradeoffs as it performs rendering. The <a>'buffered-rendering'</a> property provides a hint to the SVG user agent about how to buffer the rendering of elements:</p>
+
+<table class="propdef">
+  <tr>
+    <th>Name:</th>
+    <td><dfn id="BufferedRenderingProperty">buffered-rendering</dfn></td>
+  </tr>
+  <tr>
+    <th>Value:</th>
+    <td>auto | dynamic | static</td>
+  </tr>
+  <tr>
+    <th>Initial:</th>
+    <td>auto</td>
+  </tr>
+  <tr>
+    <th>Applies to:</th>
+    <td><a>container elements</a> and <a>graphics elements</a></td>
+  </tr>
+  <tr>
+    <th>Inherited:</th>
+    <td>no</td>
+  </tr>
+  <tr>
+    <th>Percentages:</th>
+    <td>N/A</td>
+  </tr>
+  <tr>
+    <th>Media:</th>
+    <td>visual</td>
+  </tr>
+  <tr>
+    <th>Computed&#160;value:</th>
+    <td>as specified</td>
+  </tr>
+  <tr>
+    <th><a href="animate.html#Animatable">Animatable</a>:</th>
+    <td>yes</td>
+  </tr>
+</table>
+
+<dl>
+  <dt><span class='prop-value'>auto</span></dt>
+  <dd>Indicates that the user agent is expected to use a reasonable compromise between speed of update and resource allocation.</dd>
+
+  <dt><span class='prop-value'>dynamic</span></dt>
+  <dd>Indicates that the element is expected to be modified often.</dd>
+
+  <dt><span class='prop-value'>static</span></dt>
+  <dd>Indicates that the element is not expected to be modified often. This suggests that user agent may be able to allocate resources, such as an offscreen buffer, that would allow increased performance in redraw. It does not mean that the element will never change. If an element is modified when the value is <span class='prop-value'>'static'</span>, then redraw might have reduced performance.</dd>
+</dl>
+
 
 <div class="ready-for-wg-review">
 <h2 id="InheritanceOfPaintingProperties">Inheritance of painting properties</h2>
--- a/master/propidx.html	Thu May 24 17:26:40 2012 +1000
+++ b/master/propidx.html	Thu May 24 22:43:50 2012 +0200
@@ -73,6 +73,21 @@
           <td>yes</td>
         </tr>
         <tr>
+          <td><a>'buffered-rendering'</a></td>
+          <td>auto | dynamic | static | <a class="noxref"
+          href="http://www.w3.org/TR/2008/REC-CSS2-20080411/cascade.html#value-def-inherit">
+          <span
+          class="value-inst-inherit noxref">inherit</span></a></td>
+          <td>auto</td>
+          <td><a>container elements</a> and <a>graphics elements</a></td>
+          <td>no</td>
+          <td>N/A</td>
+          <td><a
+          href="http://www.w3.org/TR/2008/REC-CSS2-20080411/media.html#visual-media-group">
+          visual</a></td>
+          <td>yes</td>
+        </tr>
+        <tr>
           <td><a>'clip'</a></td>
           <td><a class="noxref"
           href="http://www.w3.org/TR/2008/REC-CSS2-20080411/visufx.html#value-def-shape">