зеркало из https://github.com/mozilla/gecko-dev.git
Preemptive reftest for bug 379178.
This commit is contained in:
Родитель
c3f133e322
Коммит
e7c044701f
|
@ -18,6 +18,7 @@ skip-if(MOZ_WIDGET_TOOLKIT=="gtk2") == pseudo-classes-02.svg pseudo-classes-02-r
|
||||||
== rect-with-rx-or-ry-01.svg rect-with-rx-or-ry-01-ref.svg
|
== rect-with-rx-or-ry-01.svg rect-with-rx-or-ry-01-ref.svg
|
||||||
== rootElement-null-01.svg pass.svg
|
== rootElement-null-01.svg pass.svg
|
||||||
== stroke-width-percentage-01.svg pass.svg
|
== stroke-width-percentage-01.svg pass.svg
|
||||||
|
fails == style-property-not-on-script-element-01.svg pass.svg
|
||||||
fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") == text-font-weight-01.svg text-font-weight-01-ref.svg # bug 386713
|
fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") == text-font-weight-01.svg text-font-weight-01-ref.svg # bug 386713
|
||||||
skip-if(MOZ_WIDGET_TOOLKIT=="gtk2") == text-in-link-01.svg text-in-link-01-ref.svg # bug 379600 (crashes linux)
|
skip-if(MOZ_WIDGET_TOOLKIT=="gtk2") == text-in-link-01.svg text-in-link-01-ref.svg # bug 379600 (crashes linux)
|
||||||
== viewport-percent-graphic-user-01.svg pass.svg
|
== viewport-percent-graphic-user-01.svg pass.svg
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
<!--
|
||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/licenses/publicdomain/
|
||||||
|
-->
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
|
||||||
|
<title>Testcase ensuring 'style' is not a property of SVGScriptElement</title>
|
||||||
|
|
||||||
|
<!-- For https://bugzilla.mozilla.org/show_bug.cgi?id=379178 -->
|
||||||
|
|
||||||
|
<rect id="rect" width="100%" height="100%" fill="red"/>
|
||||||
|
|
||||||
|
<script id="script" type="application/javascript">
|
||||||
|
|
||||||
|
if (typeof document.getElementById('script').style == 'undefined') {
|
||||||
|
document.getElementById('rect').setAttribute('fill', 'lime');
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 579 B |
Загрузка…
Ссылка в новой задаче