Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-04-b.svg

Issue 62083002: Remove support for the externalResourcesRequired attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline test Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-04-b.svg
diff --git a/LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-04-b.svg b/LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-04-b.svg
index 6e40550d16b19030f93874e693fea050afca2a51..b6ab6bdaaa5d46360ce4d9bb3cc2cd1d9f6c22ae 100644
--- a/LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-04-b.svg
+++ b/LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-04-b.svg
@@ -88,9 +88,12 @@
<text id='text' rotate='0 20 40' x='10 20' lengthAdjust='spacing'>abc</text>
<circle id='circle' r='50' transform='scale(1) scale(2)' class='one'/>
<marker id='marker' orient='30'/>
- <svg id='svg' viewBox='10 20 30 40' preserveAspectRatio='none' externalResourcesRequired='false'/>
+ <svg id='svg' viewBox='10 20 30 40' preserveAspectRatio='none'/>
<filter>
<feTurbulence id='feTurbulence' baseFrequency='2 3' numOctaves='2'/>
+ <feConvolveMatrix id='feConvolveMatrix' kernelMatrix='1 1 1
+ 1 1 1
+ 1 1 1' preserveAlpha='false'/>
</filter>
</g>
@@ -101,7 +104,8 @@
circle = $('circle'),
marker = $('marker'),
svg = $('svg'),
- feTurbulence = $('feTurbulence');
+ feTurbulence = $('feTurbulence'),
+ feConvolveMatrix = $('feConvolveMatrix');
function expect_exception(id, fn, code) {
try {
@@ -189,12 +193,12 @@
},
true);
- // SVGAnimatedBoolean: externalResourcesRequired on svg
+ // SVGAnimatedBoolean: preserveAlpha on feConvolveMatrix
expect_value
('r8',
function() {
- return !svg.externalResourcesRequired.baseVal
- && (svg.setAttribute('externalResourcesRequired', 'true'), svg.externalResourcesRequired.baseVal);
+ return !feConvolveMatrix.preserveAlpha.baseVal
+ && (feConvolveMatrix.setAttribute('preserveAlpha', 'true'), feConvolveMatrix.preserveAlpha.baseVal);
},
true);
« no previous file with comments | « LayoutTests/http/tests/svg/svgload-vs-load-expected.txt ('k') | LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698