mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 01:47:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
33
layout/reftests/svg/path-04.svg
Normal file
33
layout/reftests/svg/path-04.svg
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait">
|
||||
|
||||
<title>Test that selectors detect changes to the 'd' attribute</title>
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=610990 -->
|
||||
|
||||
<style>
|
||||
|
||||
path[d="M0,0 V100 H100 V0 Z"] {
|
||||
fill: lime;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script><![CDATA[
|
||||
|
||||
function run()
|
||||
{
|
||||
document.getElementById('path').setAttribute('d', 'M0,0 V100 H100 V0 Z');
|
||||
document.documentElement.removeAttribute('class');
|
||||
}
|
||||
|
||||
window.addEventListener('MozReftestInvalidate', run, false);
|
||||
|
||||
]]></script>
|
||||
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
<path id="path" fill="red" d="M0,0 H100 V100 H0 Z"/>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 755 B |
Loading…
Add table
Add a link
Reference in a new issue