Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / webgl / src / extensions / standards.xsl
index c697eb9..519c39c 100644 (file)
@@ -3,7 +3,7 @@
 <xsl:stylesheet version="1.0"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
-  <xsl:template match="api">
+  <xsl:template match="api|core|removed">
     <a href="http://www.khronos.org/registry/webgl/specs/{@version}/">WebGL API <xsl:value-of select="@version"/></a>
   </xsl:template>
 
 
   <xsl:template match="glsl">
     <xsl:choose>
+      <xsl:when test="@flavor='ES 3.0'">
+        <a href="http://www.khronos.org/registry/gles/specs/3.0/GLSL_ES_Specification_{@version}.{@revision}.pdf">
+        GLSL ES 3.0 (<xsl:value-of select="@version"/>.<xsl:value-of select="@revision"/>)</a>
+      </xsl:when>
       <xsl:when test="@flavor='ES 2.0'">
         <a href="http://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_{@version}.{@revision}.pdf">
         GLSL ES 2.0 (<xsl:value-of select="@version"/>.<xsl:value-of select="@revision"/>)</a>