import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
2
dom/tests/reftest/xml-stylesheet/css_relative_href.xml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?xml-stylesheet type="text/css" href="passer.css"?>
|
||||
<element/>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<?xml-stylesheet type="text/css" href="passer.css"?>
|
||||
<element/>
|
||||
|
|
@ -0,0 +1 @@
|
|||
Link: <failer.css>;rel="stylesheet";type="text/css"
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<?xml-stylesheet type="text/css" href="failer.css"?>
|
||||
<element/>
|
||||
|
|
@ -0,0 +1 @@
|
|||
Link: <passer_override.css>;rel="stylesheet";type="text/css"
|
||||
20
dom/tests/reftest/xml-stylesheet/embedded_dtd_id.svg
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE svg:svg [<!ATTLIST transform id ID #IMPLIED>]>
|
||||
<?xml-stylesheet type="application/xml" href="#transform"?>
|
||||
<svg:svg xmlns="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<svg:defs>
|
||||
<transform id="transform" version="1.0">
|
||||
<template match="node()|@*">
|
||||
<copy>
|
||||
<apply-templates select="@*"/>
|
||||
<apply-templates/>
|
||||
</copy>
|
||||
</template>
|
||||
<template match="svg:defs"/>
|
||||
<template match="@fill">
|
||||
<attribute name="fill">lime</attribute>
|
||||
</template>
|
||||
</transform>
|
||||
</svg:defs>
|
||||
<svg:rect width="100%" height="100%" fill="red"/>
|
||||
</svg:svg>
|
||||
|
After Width: | Height: | Size: 607 B |
8
dom/tests/reftest/xml-stylesheet/error_no_href.svg
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml-stylesheet type="application/xml"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
|
||||
xslt:version="1.0">
|
||||
<rect width="100%" height="100%" fill="lime">
|
||||
<xslt:attribute name="fill">red</xslt:attribute>
|
||||
</rect>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 270 B |
4
dom/tests/reftest/xml-stylesheet/fail.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<desc>Fail</desc>
|
||||
<rect width="100%" height="100%" fill="red"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 114 B |
1
dom/tests/reftest/xml-stylesheet/failer.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
:root { background: red; }
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE svg [<!ATTLIST svg id ID #IMPLIED>]>
|
||||
<?xml-stylesheet type="application/xml" href="#transform"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
|
||||
id="transform" xslt:version="1.0">
|
||||
<rect width="100%" height="100%" fill="red">
|
||||
<xslt:attribute name="fill">lime</xslt:attribute>
|
||||
</rect>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 350 B |
|
|
@ -0,0 +1,8 @@
|
|||
<?xml-stylesheet type="application/xml" href=""?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
|
||||
xslt:version="1.0">
|
||||
<rect width="100%" height="100%" fill="red">
|
||||
<xslt:attribute name="fill">lime</xslt:attribute>
|
||||
</rect>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 278 B |
|
|
@ -0,0 +1,9 @@
|
|||
<?xml-stylesheet type="application/xml"
|
||||
href="lreas_selflink_relative_href.svg"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
|
||||
xslt:version="1.0">
|
||||
<rect width="100%" height="100%" fill="red">
|
||||
<xslt:attribute name="fill">lime</xslt:attribute>
|
||||
</rect>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 312 B |
4
dom/tests/reftest/xml-stylesheet/pass.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<desc>Pass</desc>
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 115 B |
1
dom/tests/reftest/xml-stylesheet/passer.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
:root { background: lime; }
|
||||
1
dom/tests/reftest/xml-stylesheet/passer_override.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
:root { background: lime !important; }
|
||||
13
dom/tests/reftest/xml-stylesheet/reftest-stylo.list
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
|
||||
== css_relative_href.xml css_relative_href.xml
|
||||
HTTP == css_relative_href_also_external.xml css_relative_href_also_external.xml
|
||||
HTTP == css_relative_href_also_external_override.xml css_relative_href_also_external_override.xml
|
||||
== embedded_dtd_id.svg embedded_dtd_id.svg
|
||||
== error_no_href.svg error_no_href.svg
|
||||
== lreas_selflink_dtd_id.svg lreas_selflink_dtd_id.svg
|
||||
== lreas_selflink_empty_href.svg lreas_selflink_empty_href.svg
|
||||
== lreas_selflink_relative_href.svg lreas_selflink_relative_href.svg
|
||||
== xslt_relative_href.svg xslt_relative_href.svg
|
||||
== xslt_selflink_dtd_id.xml xslt_selflink_dtd_id.xml
|
||||
== xslt_selflink_empty_href.xml xslt_selflink_empty_href.xml
|
||||
== xslt_selflink_relative_href.xml xslt_selflink_relative_href.xml
|
||||
12
dom/tests/reftest/xml-stylesheet/reftest.list
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
== css_relative_href.xml pass.svg
|
||||
HTTP == css_relative_href_also_external.xml pass.svg
|
||||
HTTP == css_relative_href_also_external_override.xml pass.svg
|
||||
== embedded_dtd_id.svg pass.svg
|
||||
!= error_no_href.svg fail.svg
|
||||
fails == lreas_selflink_dtd_id.svg pass.svg
|
||||
== lreas_selflink_empty_href.svg pass.svg
|
||||
== lreas_selflink_relative_href.svg pass.svg
|
||||
== xslt_relative_href.svg pass.svg
|
||||
== xslt_selflink_dtd_id.xml pass.svg
|
||||
== xslt_selflink_empty_href.xml pass.svg
|
||||
== xslt_selflink_relative_href.xml pass.svg
|
||||
11
dom/tests/reftest/xml-stylesheet/svg_passer.xslt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<transform xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<template match="node()|@*">
|
||||
<copy>
|
||||
<apply-templates select="@*"/>
|
||||
<apply-templates/>
|
||||
</copy>
|
||||
</template>
|
||||
<template match="@fill">
|
||||
<attribute name="fill">lime</attribute>
|
||||
</template>
|
||||
</transform>
|
||||
4
dom/tests/reftest/xml-stylesheet/xslt_relative_href.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml-stylesheet type="application/xml" href="svg_passer.xslt"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="100%" height="100%" fill="red"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 160 B |
11
dom/tests/reftest/xml-stylesheet/xslt_selflink_dtd_id.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE xslt:transform [<!ATTLIST xslt:transform id ID #IMPLIED>]>
|
||||
<?xml-stylesheet type="application/xml" href="#transform"?>
|
||||
<xslt:transform xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
id="transform" version="1.0">
|
||||
<xslt:template match="/xslt:transform">
|
||||
<svg>
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
</svg>
|
||||
</xslt:template>
|
||||
</xslt:transform>
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
<?xml-stylesheet type="application/xml" href=""?>
|
||||
<xslt:transform xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
version="1.0">
|
||||
<xslt:template match="/xslt:transform">
|
||||
<svg>
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
</svg>
|
||||
</xslt:template>
|
||||
</xslt:transform>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<?xml-stylesheet type="application/xml"
|
||||
href="xslt_selflink_relative_href.xml"?>
|
||||
<xslt:transform xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
version="1.0">
|
||||
<xslt:template match="/xslt:transform">
|
||||
<svg>
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
</svg>
|
||||
</xslt:template>
|
||||
</xslt:transform>
|
||||