- From: Hugo Haas via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 22 Mar 2006 15:17:38 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/wsdl20 In directory homer:/tmp/cvs-serv19357 Modified Files: xmlspec-wsdl.xsl Log Message: Added color when one hovers over a test assertion Index: xmlspec-wsdl.xsl =================================================================== RCS file: /sources/public/2002/ws/desc/wsdl20/xmlspec-wsdl.xsl,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** xmlspec-wsdl.xsl 9 Feb 2006 13:40:26 -0000 1.17 --- xmlspec-wsdl.xsl 22 Mar 2006 15:17:36 -0000 1.18 *************** *** 30,33 **** --- 30,34 ---- th { color: #000000; background-color: #CCCC99; } span.test-assertion { background-color: pink; } + span.test-assertion-tr:hover { background-color: pink; } </xsl:param> *************** *** 41,59 **** <xsl:choose> <xsl:when test="$showAssertions='true'"> ! <a name="{@id}" /> <xsl:choose> ! <xsl:when test="/spec/@role='editors-copy'"> ! <span class="test-assertion"> ! <xsl:apply-templates select="*|text()" /> ! </span> ! </xsl:when> ! <xsl:otherwise> ! <xsl:apply-templates select="*|text()" /> ! </xsl:otherwise> </xsl:choose> <sup><a href="#{@id}-summary" title="Link to assertion {@id} summary"> <xsl:text>†</xsl:text> </a></sup> </xsl:when> <xsl:otherwise> --- 42,62 ---- <xsl:choose> <xsl:when test="$showAssertions='true'"> ! <xsl:variable name="classname"> <xsl:choose> ! <xsl:when test="/spec/@role='editors-copy'"> ! <xsl:text>test-assertion</xsl:text> ! </xsl:when> ! <xsl:otherwise> ! <xsl:text>test-assertion-tr</xsl:text> ! </xsl:otherwise> </xsl:choose> + </xsl:variable> + <span id="{@id}" class="{$classname}"> + <xsl:apply-templates select="*|text()" /> <sup><a href="#{@id}-summary" title="Link to assertion {@id} summary"> <xsl:text>†</xsl:text> </a></sup> + </span> </xsl:when> <xsl:otherwise>
Received on Wednesday, 22 March 2006 15:17:40 UTC