COMMIT_MESSAGE

 1SpotLight
 2

LayoutTests/ChangeLog

 12010-08-03 Zoltan Herczeg <zherczeg@webkit.org>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 SVGFilterElement & SVGFE*Element don't support dynamic invalidation, when attributes change
 6 https://bugs.webkit.org/show_bug.cgi?id=42244
 7
 8 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.checksum: Added.
 9 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.png: Added.
 10 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.checksum: Added.
 11 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.png: Added.
 12 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.checksum: Added.
 13 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.png: Added.
 14 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.checksum: Added.
 15 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.png: Added.
 16 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.checksum: Added.
 17 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.png: Added.
 18 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.checksum: Added.
 19 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.png: Added.
 20 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.checksum: Added.
 21 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.png: Added.
 22 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.checksum: Added.
 23 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.png: Added.
 24 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.checksum: Added.
 25 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.png: Added.
 26 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.checksum: Added.
 27 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.png: Added.
 28 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.checksum: Added.
 29 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.png: Added.
 30 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.checksum: Added.
 31 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.png: Added.
 32 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.checksum: Added.
 33 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.png: Added.
 34 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.checksum: Added.
 35 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.png: Added.
 36 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.checksum: Added.
 37 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.png: Added.
 38 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.checksum: Added.
 39 * platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.png: Added.
 40 * svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.txt: Added.
 41 * svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr.html: Added.
 42 * svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.txt: Added.
 43 * svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr.html: Added.
 44 * svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.txt: Added.
 45 * svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr.html: Added.
 46 * svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.txt: Added.
 47 * svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr.html: Added.
 48 * svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.txt: Added.
 49 * svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr.html: Added.
 50 * svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.txt: Added.
 51 * svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr.html: Added.
 52 * svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.txt: Added.
 53 * svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr.html: Added.
 54 * svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.txt: Added.
 55 * svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr.html: Added.
 56 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.txt: Added.
 57 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop.html: Added.
 58 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.txt: Added.
 59 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop.html: Added.
 60 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.txt: Added.
 61 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop.html: Added.
 62 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.txt: Added.
 63 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop.html: Added.
 64 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.txt: Added.
 65 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop.html: Added.
 66 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.txt: Added.
 67 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop.html: Added.
 68 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.txt: Added.
 69 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop.html: Added.
 70 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.txt: Added.
 71 * svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop.html: Added.
 72 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-limitingConeAngle-attr.js: Added.
 73 (executeTest):
 74 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtX-attr.js: Added.
 75 (executeTest):
 76 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtY-attr.js: Added.
 77 (executeTest):
 78 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtZ-attr.js: Added.
 79 (executeTest):
 80 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-specularExponent-attr.js: Added.
 81 (executeTest):
 82 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-x-attr.js: Added.
 83 (executeTest):
 84 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-y-attr.js: Added.
 85 (executeTest):
 86 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-z-attr.js: Added.
 87 (executeTest):
 88 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-limitingConeAngle-prop.js: Added.
 89 (executeTest):
 90 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-pointsAtX-prop.js: Added.
 91 (executeTest):
 92 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-pointsAtY-prop.js: Added.
 93 (executeTest):
 94 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-pointsAtZ-prop.js: Added.
 95 (executeTest):
 96 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-specularExponent-prop.js: Added.
 97 (executeTest):
 98 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-x-prop.js: Added.
 99 (executeTest):
 100 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-y-prop.js: Added.
 101 (executeTest):
 102 * svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-z-prop.js: Added.
 103 (executeTest):
 104
11052010-08-02 Kent Tamura <tkent@chromium.org>
2106
3107 Unreviewed, test expectation update.

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.checksum

 14984227c26da9025a88294ca0527e774
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-1kbdbxb.bin b/PrettyPatch20260325-3184-1kbdbxb.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-1kbdbxb.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.checksum

 114de67809c44b02114c007f6c22281c5
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-lepass.bin b/PrettyPatch20260325-3184-lepass.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-lepass.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.checksum

 14207ef8631b2a0cb9f9db6bb94f29bf6
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-1c7ih0y.bin b/PrettyPatch20260325-3184-1c7ih0y.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-1c7ih0y.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.checksum

 1363cff2b12fa0e0f24d3dfa5b9d163c4
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-132poe5.bin b/PrettyPatch20260325-3184-132poe5.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-132poe5.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.checksum

 1e729d017577d3c882cde54e95ad858ae
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-dxy39u.bin b/PrettyPatch20260325-3184-dxy39u.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-dxy39u.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.checksum

 14befc807b441011afa97b87644e2c5d1
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-qq26og.bin b/PrettyPatch20260325-3184-qq26og.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-qq26og.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.checksum

 17b524cf2773d9eae2750c8dbed205049
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-10dhwz0.bin b/PrettyPatch20260325-3184-10dhwz0.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-10dhwz0.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.checksum

 12864024d8097e3141bb8dab53ea1a65f
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-vp4vqs.bin b/PrettyPatch20260325-3184-vp4vqs.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-vp4vqs.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.checksum

 139fdca3937a5e85765df7525f763e2e4
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-xvg9uk.bin b/PrettyPatch20260325-3184-xvg9uk.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-xvg9uk.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.checksum

 17ee6157edd5d15162c61741e7c7c2136
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-15116th.bin b/PrettyPatch20260325-3184-15116th.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-15116th.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.checksum

 1b9a9a4bb118115d7571abf41c4f6191f
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-p0cd9r.bin b/PrettyPatch20260325-3184-p0cd9r.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-p0cd9r.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.checksum

 17ced8c063c08b00cfe366c902eec7bda
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-1rgu5bx.bin b/PrettyPatch20260325-3184-1rgu5bx.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-1rgu5bx.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.checksum

 1d7ef9e284c5799c58e3e0138c6aada9b
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-1hfkoaf.bin b/PrettyPatch20260325-3184-1hfkoaf.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-1hfkoaf.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.checksum

 11fe0d99da6bc5638e93a25702bbdee8b
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-8mq8f2.bin b/PrettyPatch20260325-3184-8mq8f2.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-8mq8f2.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.checksum

 17340b740cce9cec956b843bc1399ad8a
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-u6aane.bin b/PrettyPatch20260325-3184-u6aane.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-u6aane.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.checksum

 185f22a06d94c696b35790ee6993c2206
02\ No newline at end of file

LayoutTests/platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3184-q2linw.bin b/PrettyPatch20260325-3184-q2linw.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3184-q2linw.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'limitingConeAngle' attribute of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.getAttribute('limitingConeAngle') is "45"
 9PASS spotLightElement.getAttribute('limitingConeAngle') is "15"
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-dom-limitingConeAngle-attr.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'pointsAtX' attribute of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.getAttribute('pointsAtX') is "0"
 9PASS spotLightElement.getAttribute('pointsAtX') is "113"
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-dom-pointsAtX-attr.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'pointsAtY' attribute of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.getAttribute('pointsAtY') is "0"
 9PASS spotLightElement.getAttribute('pointsAtY') is "100"
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-dom-pointsAtY-attr.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'pointsAtZ' attribute of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.getAttribute('pointsAtZ') is "100"
 9PASS spotLightElement.getAttribute('pointsAtZ') is "0"
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-dom-pointsAtZ-attr.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'specularExponent' attribute of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.getAttribute('specularExponent') is "20"
 9PASS spotLightElement.getAttribute('specularExponent') is "1"
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-dom-specularExponent-attr.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'x' attribute of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.getAttribute('x') is "0"
 9PASS spotLightElement.getAttribute('x') is "113"
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-dom-x-attr.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'y' attribute of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.getAttribute('y') is "100"
 9PASS spotLightElement.getAttribute('y') is "0"
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-dom-y-attr.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'z' attribute of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.getAttribute('z') is "0"
 9PASS spotLightElement.getAttribute('z') is "100"
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-dom-z-attr.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'limitingConeAngle' property of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.limitingConeAngle.baseVal is 45
 9PASS spotLightElement.limitingConeAngle.baseVal is 15
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-svgdom-limitingConeAngle-prop.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'pointsAtX' property of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.pointsAtX.baseVal is 0
 9PASS spotLightElement.pointsAtX.baseVal is 113
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-svgdom-pointsAtX-prop.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'pointsAtY' property of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.pointsAtY.baseVal is 0
 9PASS spotLightElement.pointsAtY.baseVal is 100
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-svgdom-pointsAtY-prop.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'pointsAtZ' property of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.pointsAtZ.baseVal is 100
 9PASS spotLightElement.pointsAtZ.baseVal is 0
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-svgdom-pointsAtZ-prop.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'specularExponent' property of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.specularExponent.baseVal is 20
 9PASS spotLightElement.specularExponent.baseVal is 1
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-svgdom-specularExponent-prop.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'x' property of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.x.baseVal is 0
 9PASS spotLightElement.x.baseVal is 113
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-svgdom-x-prop.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'y' property of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.y.baseVal is 100
 9PASS spotLightElement.y.baseVal is 0
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-svgdom-y-prop.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.txt

 1SVG 1.1 dynamic update tests
 2
 3Tests dynamic updates of the 'z' property of the SVGFESpotLightElement object
 4
 5On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 6
 7
 8PASS spotLightElement.z.baseVal is 0
 9PASS spotLightElement.z.baseVal is 100
 10PASS successfullyParsed is true
 11
 12TEST COMPLETE
 13

LayoutTests/svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 5<script src="resources/SVGTestCase.js"></script>
 6<script src="../../fast/js/resources/js-test-pre.js"></script>
 7</head>
 8<body>
 9<h1>SVG 1.1 dynamic update tests</h1>
 10<p id="description"></p>
 11<div id="console"></div>
 12<script src="script-tests/SVGFESpotLightElement-svgdom-z-prop.js"></script>
 13</body>
 14</html>

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-limitingConeAngle-attr.js

 1// [Name] SVGFESpotLightElement-dom-limitingConeAngle-attr.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'limitingConeAngle' attribute of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "45");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBeEqualToString("spotLightElement.getAttribute('limitingConeAngle')", "45");
 42
 43function executeTest() {
 44 spotLightElement.setAttribute("limitingConeAngle", "15");
 45 shouldBeEqualToString("spotLightElement.getAttribute('limitingConeAngle')", "15");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtX-attr.js

 1// [Name] SVGFESpotLightElement-dom-pointsAtX-attr.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'pointsAtX' attribute of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "0");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBeEqualToString("spotLightElement.getAttribute('pointsAtX')", "0");
 42
 43function executeTest() {
 44 spotLightElement.setAttribute("pointsAtX", "113");
 45 shouldBeEqualToString("spotLightElement.getAttribute('pointsAtX')", "113");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtY-attr.js

 1// [Name] SVGFESpotLightElement-dom-pointsAtY-attr.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'pointsAtY' attribute of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "0");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBeEqualToString("spotLightElement.getAttribute('pointsAtY')", "0");
 42
 43function executeTest() {
 44 spotLightElement.setAttribute("pointsAtY", "100");
 45 shouldBeEqualToString("spotLightElement.getAttribute('pointsAtY')", "100");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtZ-attr.js

 1// [Name] SVGFESpotLightElement-dom-pointsAtZ-attr.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'pointsAtZ' attribute of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "100");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBeEqualToString("spotLightElement.getAttribute('pointsAtZ')", "100");
 42
 43function executeTest() {
 44 spotLightElement.setAttribute("pointsAtZ", "0");
 45 shouldBeEqualToString("spotLightElement.getAttribute('pointsAtZ')", "0");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-specularExponent-attr.js

 1// [Name] SVGFESpotLightElement-dom-specularExponent-attr.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'specularExponent' attribute of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "20");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBeEqualToString("spotLightElement.getAttribute('specularExponent')", "20");
 42
 43function executeTest() {
 44 spotLightElement.setAttribute("specularExponent", "1");
 45 shouldBeEqualToString("spotLightElement.getAttribute('specularExponent')", "1");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-x-attr.js

 1// [Name] SVGFESpotLightElement-dom-x-attr.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'x' attribute of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "0");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBeEqualToString("spotLightElement.getAttribute('x')", "0");
 42
 43function executeTest() {
 44 spotLightElement.setAttribute("x", "113");
 45 shouldBeEqualToString("spotLightElement.getAttribute('x')", "113");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-y-attr.js

 1// [Name] SVGFESpotLightElement-dom-y-attr.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'y' attribute of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "100");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBeEqualToString("spotLightElement.getAttribute('y')", "100");
 42
 43function executeTest() {
 44 spotLightElement.setAttribute("y", "0");
 45 shouldBeEqualToString("spotLightElement.getAttribute('y')", "0");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-z-attr.js

 1// [Name] SVGFESpotLightElement-dom-z-attr.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'z' attribute of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "0");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBeEqualToString("spotLightElement.getAttribute('z')", "0");
 42
 43function executeTest() {
 44 spotLightElement.setAttribute("z", "100");
 45 shouldBeEqualToString("spotLightElement.getAttribute('z')", "100");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-limitingConeAngle-prop.js

 1// [Name] SVGFESpotLightElement-svgdom-limitingConeAngle-prop.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'limitingConeAngle' property of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "45");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBe("spotLightElement.limitingConeAngle.baseVal", "45");
 42
 43function executeTest() {
 44 spotLightElement.limitingConeAngle.baseVal = 15;
 45 shouldBe("spotLightElement.limitingConeAngle.baseVal", "15");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-pointsAtX-prop.js

 1// [Name] SVGFESpotLightElement-svgdom-pointsAtX-prop.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'pointsAtX' property of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "0");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBe("spotLightElement.pointsAtX.baseVal", "0");
 42
 43function executeTest() {
 44 spotLightElement.pointsAtX.baseVal = 113;
 45 shouldBe("spotLightElement.pointsAtX.baseVal", "113");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-pointsAtY-prop.js

 1// [Name] SVGFESpotLightElement-svgdom-pointsAtY-prop.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'pointsAtY' property of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "0");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBe("spotLightElement.pointsAtY.baseVal", "0");
 42
 43function executeTest() {
 44 spotLightElement.pointsAtY.baseVal = 100;
 45 shouldBe("spotLightElement.pointsAtY.baseVal", "100");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-pointsAtZ-prop.js

 1// [Name] SVGFESpotLightElement-svgdom-pointsAtZ-prop.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'pointsAtZ' property of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "100");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBe("spotLightElement.pointsAtZ.baseVal", "100");
 42
 43function executeTest() {
 44 spotLightElement.pointsAtZ.baseVal = 0;
 45 shouldBe("spotLightElement.pointsAtZ.baseVal", "0");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-specularExponent-prop.js

 1// [Name] SVGFESpotLightElement-svgdom-specularExponent-prop.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'specularExponent' property of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "20");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBe("spotLightElement.specularExponent.baseVal", "20");
 42
 43function executeTest() {
 44 spotLightElement.specularExponent.baseVal = 1;
 45 shouldBe("spotLightElement.specularExponent.baseVal", "1");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-x-prop.js

 1// [Name] SVGFESpotLightElement-svgdom-x-prop.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'x' property of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "0");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBe("spotLightElement.x.baseVal", "0");
 42
 43function executeTest() {
 44 spotLightElement.x.baseVal = 113;
 45 shouldBe("spotLightElement.x.baseVal", "113");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-y-prop.js

 1// [Name] SVGFESpotLightElement-svgdom-y-prop.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'y' property of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "100");
 10spotLightElement.setAttribute("z", "100");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBe("spotLightElement.y.baseVal", "100");
 42
 43function executeTest() {
 44 spotLightElement.y.baseVal = 0;
 45 shouldBe("spotLightElement.y.baseVal", "0");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-z-prop.js

 1// [Name] SVGFESpotLightElement-svgdom-z-prop.js
 2// [Expected rendering result] A shining cone (performed by diffuse lighting) - and a series of PASS messages
 3
 4description("Tests dynamic updates of the 'z' property of the SVGFESpotLightElement object")
 5createSVGTestCase();
 6
 7var spotLightElement = createSVGElement("feSpotLight");
 8spotLightElement.setAttribute("x", "113");
 9spotLightElement.setAttribute("y", "0");
 10spotLightElement.setAttribute("z", "0");
 11spotLightElement.setAttribute("pointsAtX", "113");
 12spotLightElement.setAttribute("pointsAtY", "100");
 13spotLightElement.setAttribute("pointsAtZ", "0");
 14spotLightElement.setAttribute("specularExponent", "1");
 15spotLightElement.setAttribute("limitingConeAngle", "15");
 16
 17var gradientElement = createSVGElement("feDiffuseLighting");
 18gradientElement.setAttribute("surfaceScale", "1");
 19gradientElement.setAttribute("diffuseConstant", "1");
 20gradientElement.setAttribute("lighting-color", "aqua");
 21gradientElement.appendChild(spotLightElement);
 22
 23var filterElement = createSVGElement("filter");
 24filterElement.setAttribute("id", "myFilter");
 25filterElement.setAttribute("filterUnits", "userSpaceOnUse");
 26filterElement.setAttribute("width", "200");
 27filterElement.setAttribute("height", "200");
 28filterElement.appendChild(gradientElement);
 29
 30var defsElement = createSVGElement("defs");
 31defsElement.appendChild(filterElement);
 32
 33rootSVGElement.appendChild(defsElement);
 34
 35var rectElement = createSVGElement("rect");
 36rectElement.setAttribute("width", "200");
 37rectElement.setAttribute("height", "200");
 38rectElement.setAttribute("filter", "url(#myFilter)");
 39rootSVGElement.appendChild(rectElement);
 40
 41shouldBe("spotLightElement.z.baseVal", "0");
 42
 43function executeTest() {
 44 spotLightElement.z.baseVal = 100;
 45 shouldBe("spotLightElement.z.baseVal", "100");
 46
 47 completeTest();
 48}
 49
 50startTest(rectElement, 100, 100);
 51
 52var successfullyParsed = true;

WebCore/ChangeLog

 12010-08-03 Zoltan Herczeg <zherczeg@webkit.org>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 SVGFilterElement & SVGFE*Element don't support dynamic invalidation, when attributes change
 6 https://bugs.webkit.org/show_bug.cgi?id=42244
 7
 8 Implementing svgAttributeChanged for SVGFESpotLightElement object.
 9
 10 Tests: svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr.html
 11 svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr.html
 12 svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr.html
 13 svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr.html
 14 svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr.html
 15 svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr.html
 16 svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr.html
 17 svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr.html
 18 svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop.html
 19 svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop.html
 20 svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop.html
 21 svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop.html
 22 svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop.html
 23 svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop.html
 24 svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop.html
 25 svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop.html
 26
 27 * svg/SVGFEDiffuseLightingElement.cpp:
 28 * svg/SVGFELightElement.cpp:
 29 (WebCore::SVGFELightElement::svgAttributeChanged):
 30 (WebCore::SVGFELightElement::childrenChanged):
 31 * svg/SVGFELightElement.h:
 32 (WebCore::SVGFELightElement::invalidateFilter):
 33 * svg/SVGFESpecularLightingElement.cpp:
 34
1352010-08-02 Dan Bernstein <mitz@apple.com>
236
337 Rubber-stamped by Sam Weinig.

WebCore/svg/SVGFEDiffuseLightingElement.cpp

2323#include "SVGFEDiffuseLightingElement.h"
2424
2525#include "Attr.h"
26 #include "RenderObject.h"
2726#include "SVGColor.h"
2827#include "SVGFEDiffuseLighting.h"
2928#include "SVGFELightElement.h"

WebCore/svg/SVGFELightElement.cpp

@@void SVGFELightElement::parseMappedAttribute(Attribute* attr)
6666 SVGElement::parseMappedAttribute(attr);
6767}
6868
 69void SVGFELightElement::svgAttributeChanged(const QualifiedName& attrName)
 70{
 71 SVGElement::svgAttributeChanged(attrName);
 72
 73 if (attrName == SVGNames::azimuthAttr
 74 || attrName == SVGNames::elevationAttr
 75 || attrName == SVGNames::xAttr
 76 || attrName == SVGNames::yAttr
 77 || attrName == SVGNames::zAttr
 78 || attrName == SVGNames::pointsAtXAttr
 79 || attrName == SVGNames::pointsAtYAttr
 80 || attrName == SVGNames::pointsAtZAttr
 81 || attrName == SVGNames::specularExponentAttr
 82 || attrName == SVGNames::limitingConeAngleAttr)
 83 invalidateFilter();
 84}
 85
6986void SVGFELightElement::synchronizeProperty(const QualifiedName& attrName)
7087{
7188 SVGElement::synchronizeProperty(attrName);

@@void SVGFELightElement::synchronizeProperty(const QualifiedName& attrName)
106123 synchronizeLimitingConeAngle();
107124}
108125
 126void SVGFELightElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
 127{
 128 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
 129
 130 if (!changedByParser)
 131 invalidateFilter();
 132}
 133
109134}
110135
111136#endif // ENABLE(SVG)

WebCore/svg/SVGFELightElement.h

2323#define SVGFELightElement_h
2424
2525#if ENABLE(SVG) && ENABLE(FILTERS)
 26#include "RenderObject.h"
2627#include "SVGElement.h"
2728#include "SVGLightSource.h"
2829#include "SVGNames.h"
2930
3031namespace WebCore {
3132
32  class SVGFELightElement : public SVGElement {
33  public:
34  SVGFELightElement(const QualifiedName&, Document*);
35  virtual ~SVGFELightElement();
 33class SVGFELightElement : public SVGElement {
 34public:
 35 SVGFELightElement(const QualifiedName&, Document*);
 36 virtual ~SVGFELightElement();
3637
37  virtual PassRefPtr<LightSource> lightSource() const = 0;
38  virtual void parseMappedAttribute(Attribute*);
39  virtual void synchronizeProperty(const QualifiedName&);
40 
41  private:
42  DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::azimuthAttr, float, Azimuth, azimuth)
43  DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::elevationAttr, float, Elevation, elevation)
44  DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::xAttr, float, X, x)
45  DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::yAttr, float, Y, y)
46  DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::zAttr, float, Z, z)
47  DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::pointsAtXAttr, float, PointsAtX, pointsAtX)
48  DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::pointsAtYAttr, float, PointsAtY, pointsAtY)
49  DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::pointsAtZAttr, float, PointsAtZ, pointsAtZ)
50  DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::specularExponentAttr, float, SpecularExponent, specularExponent)
51  DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::limitingConeAngleAttr, float, LimitingConeAngle, limitingConeAngle)
52  };
 38 virtual PassRefPtr<LightSource> lightSource() const = 0;
 39 virtual void parseMappedAttribute(Attribute*);
 40 virtual void svgAttributeChanged(const QualifiedName&);
 41 virtual void synchronizeProperty(const QualifiedName&);
 42 virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0);
 43
 44protected:
 45 void invalidateFilter()
 46 {
 47 if (!inDocument() || !parentNode())
 48 return;
 49 Node* filter = parentNode()->parentNode();
 50 if (!filter || !filter->hasTagName(SVGNames::filterTag))
 51 return;
 52 if (RenderObject* object = filter->renderer())
 53 object->setNeedsLayout(true);
 54 }
 55
 56private:
 57 DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::azimuthAttr, float, Azimuth, azimuth)
 58 DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::elevationAttr, float, Elevation, elevation)
 59 DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::xAttr, float, X, x)
 60 DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::yAttr, float, Y, y)
 61 DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::zAttr, float, Z, z)
 62 DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::pointsAtXAttr, float, PointsAtX, pointsAtX)
 63 DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::pointsAtYAttr, float, PointsAtY, pointsAtY)
 64 DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::pointsAtZAttr, float, PointsAtZ, pointsAtZ)
 65 DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::specularExponentAttr, float, SpecularExponent, specularExponent)
 66 DECLARE_ANIMATED_PROPERTY(SVGFELightElement, SVGNames::limitingConeAngleAttr, float, LimitingConeAngle, limitingConeAngle)
 67};
5368
5469} // namespace WebCore
5570

WebCore/svg/SVGFESpecularLightingElement.cpp

2525#include "SVGFESpecularLightingElement.h"
2626
2727#include "Attribute.h"
28 #include "RenderObject.h"
2928#include "SVGColor.h"
3029#include "SVGFELightElement.h"
3130#include "SVGNames.h"