Commit Graph

30 Commits

Author SHA1 Message Date
Robert Longson
6edacb6a3f Bug 942451 - preserveApectRatio changes on SVG images do not cause a repaint. r=jwatt 2013-11-24 19:50:45 +00:00
Seth Fowler
f1daf2ae0e Bug 933057 (Part 2) - Add tests for scaling explicitly sized svg:image elements in inline SVGs. r=dholbert 2013-11-08 15:14:58 -08:00
Seth Fowler
1728f0da97 Bug 920621 (Part 2) - Tests for zoom with the svg:image element. r=dholbert
--HG--
rename : layout/reftests/svg/pass.svg => layout/reftests/svg/image/lime-no-dimensions.svg
2013-10-02 19:04:33 -07:00
Andrew Halberstadt
4a18b30019 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Jonathan Watt
e2dc3881d0 Bug 779514 - Mark reftests/svg/image/image-opacity-01.svg as fuzzy on Android XUL due to slight color diffenence when SVG display lists are enabled. r=me.
--HG--
extra : rebase_source : b04d57e8d521e39b36b3464e931f48aad1b3e2d7
2012-08-01 23:41:21 +01:00
Jonathan Watt
77a641125d Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Watt
b423e77002 Bug 407495 - Make SVG documents with percentage width/height respond to page zoom. r=roc.
--HG--
extra : rebase_source : c4c139693bb5d3b9086f7571dc3363c1c8b27ed5
2012-05-03 17:05:24 +01:00
Robert Longson
b15078098b Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Boris Zbarsky
0747c80b9c Bug 692506. Make sure that SVG animated strings keep track of whether the base value is set correctly. r=longsonr 2011-10-06 16:53:23 -04:00
Jonathan Watt
0102820a83 Bug 665009 - In SVG reftests, replace the link to Creative Commons' retired Public Domain Dedication with a link to the replacement, CC0. r=longsonr,gerv. 2011-06-21 13:19:35 +01:00
Jonas Sicking
0e17979856 Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Daniel Holbert
046dbe6c85 (no bug) Fix end-of-line whitespace in SVG-as-an-image code & tests. r+a=whitespace-only DONTBUILD 2011-02-02 22:36:09 -08:00
Daniel Holbert
4a7a8b4937 Bug 272288 Patch 5: Add some more <svg:image> reftests. r=roc a=tests
--HG--
rename : layout/reftests/svg/image/blueRect10x10-viewBox.svg => layout/reftests/svg/image/blueRect10x10-viewBox-animPAR.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02-ref.svg => layout/reftests/svg/image/image-preserveAspectRatio-03-ref.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg => layout/reftests/svg/image/image-preserveAspectRatio-03.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02-ref.svg => layout/reftests/svg/image/image-preserveAspectRatio-04-ref.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg => layout/reftests/svg/image/image-preserveAspectRatio-04.svg
2010-12-19 16:45:29 -08:00
Daniel Holbert
ebf2a2f077 Bug 272288 Patch 2: Store override preserveAspectRatio values in property table on image document's root node, when painting <svg> image element. r=roc a=roc
--HG--
rename : layout/reftests/svg/image/blueRect10x10.svg => layout/reftests/svg/image/blueRect10x10-viewBox.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-svg.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg
2010-12-19 16:45:29 -08:00
Daniel Holbert
0664856568 Bug 598798: Remove no-longer-functional reftest snapshot lines missed by prev. patch, in image-preserveAspectRatio-* reftests. a=tests-only DONTBUILD 2010-12-09 09:58:21 -08:00
Daniel Holbert
05a6499c58 Bug 598798 followup: remove unnecessary reftest-wait in SVG <image> tests. r=roc a=tests-only 2010-12-09 00:46:12 -08:00
Daniel Holbert
a313214d9f Bug 606360: Don't double-count full-page-zoom factor when drawing SVG <image> element. r=longsonr a=blocking-final+ 2010-10-22 15:55:04 -07:00
Daniel Holbert
0cba8fe605 Bug 605420: Adjust dirtyRect to the right coordinate system when drawing for the SVG <image> element. r=longsonr a=blocking-final 2010-10-22 09:52:41 -07:00
Daniel Holbert
27e28e68bf Bug 604723: Multiply onto (instead of replacing) our gfxContext matrix when painting SVG images. r=longsonr a=blocking 2010-10-19 13:48:02 -07:00
Daniel Holbert
588878ab46 Bug 598798 patch 2: Create reftest directory for <svg:image> with more thorough tests. r=jwatt a=tests-only
--HG--
rename : layout/reftests/svg/image-fill-01.svg => layout/reftests/svg/image/image-fill-01.svg
rename : layout/reftests/svg/image-scaling-01.svg => layout/reftests/svg/image/image-scaling-01.svg
rename : layout/reftests/svg/image-scaling-02.svg => layout/reftests/svg/image/image-scaling-02.svg
2010-10-06 08:37:12 -07:00
Daniel Holbert
78ff1412b1 Bug 598798 patch 1: Rename SVG-as-an-image reftest directory. r=jwatt a=tests-only
--HG--
rename : layout/reftests/svg/image/background-image-rect-1png.html => layout/reftests/svg/as-image/background-image-rect-1png.html
rename : layout/reftests/svg/image/background-image-rect-1svg.html => layout/reftests/svg/as-image/background-image-rect-1svg.html
rename : layout/reftests/svg/image/background-image-rect-2.html => layout/reftests/svg/as-image/background-image-rect-2.html
rename : layout/reftests/svg/image/background-simple-1.html => layout/reftests/svg/as-image/background-simple-1.html
rename : layout/reftests/svg/image/background-simple-2.html => layout/reftests/svg/as-image/background-simple-2.html
rename : layout/reftests/svg/image/background-viewBox-1.html => layout/reftests/svg/as-image/background-viewBox-1.html
rename : layout/reftests/svg/image/border-image-simple-1.html => layout/reftests/svg/as-image/border-image-simple-1.html
rename : layout/reftests/svg/image/border-image-simple-2.html => layout/reftests/svg/as-image/border-image-simple-2.html
rename : layout/reftests/svg/image/content-outside-viewBox-1-helper.svg => layout/reftests/svg/as-image/content-outside-viewBox-1-helper.svg
rename : layout/reftests/svg/image/img-content-outside-viewBox-1-ref.html => layout/reftests/svg/as-image/img-content-outside-viewBox-1-ref.html
rename : layout/reftests/svg/image/img-content-outside-viewBox-1.html => layout/reftests/svg/as-image/img-content-outside-viewBox-1.html
rename : layout/reftests/svg/image/img-dyn-1-ref.html => layout/reftests/svg/as-image/img-dyn-1-ref.html
rename : layout/reftests/svg/image/img-dyn-1.html => layout/reftests/svg/as-image/img-dyn-1.html
rename : layout/reftests/svg/image/img-height-meet-1-ref.html => layout/reftests/svg/as-image/img-height-meet-1-ref.html
rename : layout/reftests/svg/image/img-height-meet-1.html => layout/reftests/svg/as-image/img-height-meet-1.html
rename : layout/reftests/svg/image/img-height-meet-2-ref.html => layout/reftests/svg/as-image/img-height-meet-2-ref.html
rename : layout/reftests/svg/image/img-height-meet-2.html => layout/reftests/svg/as-image/img-height-meet-2.html
rename : layout/reftests/svg/image/img-height-slice-1-ref.html => layout/reftests/svg/as-image/img-height-slice-1-ref.html
rename : layout/reftests/svg/image/img-height-slice-1.html => layout/reftests/svg/as-image/img-height-slice-1.html
rename : layout/reftests/svg/image/img-height-slice-2-ref.html => layout/reftests/svg/as-image/img-height-slice-2-ref.html
rename : layout/reftests/svg/image/img-height-slice-2.html => layout/reftests/svg/as-image/img-height-slice-2.html
rename : layout/reftests/svg/image/img-simple-1.html => layout/reftests/svg/as-image/img-simple-1.html
rename : layout/reftests/svg/image/img-simple-2.html => layout/reftests/svg/as-image/img-simple-2.html
rename : layout/reftests/svg/image/img-simple-3.html => layout/reftests/svg/as-image/img-simple-3.html
rename : layout/reftests/svg/image/img-simple-4.html => layout/reftests/svg/as-image/img-simple-4.html
rename : layout/reftests/svg/image/img-simple-5.html => layout/reftests/svg/as-image/img-simple-5.html
rename : layout/reftests/svg/image/img-simple-6.html => layout/reftests/svg/as-image/img-simple-6.html
rename : layout/reftests/svg/image/img-simple-7.html => layout/reftests/svg/as-image/img-simple-7.html
rename : layout/reftests/svg/image/img-width-meet-1-ref.html => layout/reftests/svg/as-image/img-width-meet-1-ref.html
rename : layout/reftests/svg/image/img-width-meet-1.html => layout/reftests/svg/as-image/img-width-meet-1.html
rename : layout/reftests/svg/image/img-width-meet-2-ref.html => layout/reftests/svg/as-image/img-width-meet-2-ref.html
rename : layout/reftests/svg/image/img-width-meet-2.html => layout/reftests/svg/as-image/img-width-meet-2.html
rename : layout/reftests/svg/image/img-width-slice-1-ref.html => layout/reftests/svg/as-image/img-width-slice-1-ref.html
rename : layout/reftests/svg/image/img-width-slice-1.html => layout/reftests/svg/as-image/img-width-slice-1.html
rename : layout/reftests/svg/image/img-width-slice-2-ref.html => layout/reftests/svg/as-image/img-width-slice-2-ref.html
rename : layout/reftests/svg/image/img-width-slice-2.html => layout/reftests/svg/as-image/img-width-slice-2.html
rename : layout/reftests/svg/image/img-widthAndHeight-meet-1-ref.html => layout/reftests/svg/as-image/img-widthAndHeight-meet-1-ref.html
rename : layout/reftests/svg/image/img-widthAndHeight-meet-1.html => layout/reftests/svg/as-image/img-widthAndHeight-meet-1.html
rename : layout/reftests/svg/image/img-widthAndHeight-meet-2-ref.html => layout/reftests/svg/as-image/img-widthAndHeight-meet-2-ref.html
rename : layout/reftests/svg/image/img-widthAndHeight-meet-2.html => layout/reftests/svg/as-image/img-widthAndHeight-meet-2.html
rename : layout/reftests/svg/image/img-widthAndHeight-slice-1-ref.html => layout/reftests/svg/as-image/img-widthAndHeight-slice-1-ref.html
rename : layout/reftests/svg/image/img-widthAndHeight-slice-1.html => layout/reftests/svg/as-image/img-widthAndHeight-slice-1.html
rename : layout/reftests/svg/image/img-widthAndHeight-slice-2-ref.html => layout/reftests/svg/as-image/img-widthAndHeight-slice-2-ref.html
rename : layout/reftests/svg/image/img-widthAndHeight-slice-2.html => layout/reftests/svg/as-image/img-widthAndHeight-slice-2.html
rename : layout/reftests/svg/image/lime100x100-noSVGDimensions.svg => layout/reftests/svg/as-image/lime100x100-noSVGDimensions.svg
rename : layout/reftests/svg/image/lime100x100-ref.html => layout/reftests/svg/as-image/lime100x100-ref.html
rename : layout/reftests/svg/image/lime100x100.png => layout/reftests/svg/as-image/lime100x100.png
rename : layout/reftests/svg/image/lime100x100.svg => layout/reftests/svg/as-image/lime100x100.svg
rename : layout/reftests/svg/image/lime200x100.svg => layout/reftests/svg/as-image/lime200x100.svg
rename : layout/reftests/svg/image/lime200x200.svg => layout/reftests/svg/as-image/lime200x200.svg
rename : layout/reftests/svg/image/limeInRed100x100-viewBox.svg => layout/reftests/svg/as-image/limeInRed100x100-viewBox.svg
rename : layout/reftests/svg/image/limeInRed100x100.png => layout/reftests/svg/as-image/limeInRed100x100.png
rename : layout/reftests/svg/image/limeInRed100x100.svg => layout/reftests/svg/as-image/limeInRed100x100.svg
rename : layout/reftests/svg/image/list-simple-1-ref.html => layout/reftests/svg/as-image/list-simple-1-ref.html
rename : layout/reftests/svg/image/list-simple-1.html => layout/reftests/svg/as-image/list-simple-1.html
rename : layout/reftests/svg/image/reftest.list => layout/reftests/svg/as-image/reftest.list
rename : layout/reftests/svg/image/squaredCircle-viewBox-noSize.svg => layout/reftests/svg/as-image/squaredCircle-viewBox-noSize.svg
rename : layout/reftests/svg/image/svg-image-util.css => layout/reftests/svg/as-image/svg-image-util.css
rename : layout/reftests/svg/image/svg-image-util.js => layout/reftests/svg/as-image/svg-image-util.js
rename : layout/reftests/svg/image/zoom/img-zoomIn-1.html => layout/reftests/svg/as-image/zoom/img-zoomIn-1.html
rename : layout/reftests/svg/image/zoom/img-zoomOut-1.html => layout/reftests/svg/as-image/zoom/img-zoomOut-1.html
rename : layout/reftests/svg/image/zoom/reftest.list => layout/reftests/svg/as-image/zoom/reftest.list
rename : layout/reftests/svg/image/zoom/squaredCircle-150x150-ref.html => layout/reftests/svg/as-image/zoom/squaredCircle-150x150-ref.html
rename : layout/reftests/svg/image/zoom/squaredCircle-50x50-ref.html => layout/reftests/svg/as-image/zoom/squaredCircle-50x50-ref.html
rename : layout/reftests/svg/image/zoom/squaredCircle.svg => layout/reftests/svg/as-image/zoom/squaredCircle.svg
2010-10-06 08:37:12 -07:00
Daniel Holbert
4595d7a562 Bug 596478: Revert non-fixes to randomorange test, & mark it as random for the time being to stop the orange. a=tests 2010-09-17 12:09:08 -07:00
Daniel Holbert
78e7155272 Bug 596478: randomorange in img-dyn-1.html - try delaying snapshot to see if it fixes this randomorange. a=tests-only 2010-09-16 16:56:06 -07:00
Daniel Holbert
426b459adc Bug 596478: Intermittent failure in reftests/svg/image/img-dyn-1.html - add 0-second setTimeout to hopefully work around randomorange. a=tests 2010-09-15 23:45:19 -07:00
Chris Pearce
bee12efb21 Bug 594617 - Disable img-dyn-1.html on windows due to random failure. a=test-fix 2010-09-14 16:24:47 -07:00
Daniel Holbert
ba3de9468d Bug 594617: Make nsImageFrame::GetIntrinsicSize return its actual intrinsic size, and teach IsPercentageAware about SVG images. r=roc a=blocking 2010-09-14 16:20:32 -04:00
Daniel Holbert
2aa15ae3ce Bug 594941: Handle imgIContainer::GetHeight/GetWidth failure in DrawBorderImage. r=roc a=roc 2010-09-10 10:42:57 -07:00
Daniel Holbert
c55d1116a4 Mark some of bug 276431's tests as random-on-windows, since they fail on win7, pending investigation. a=orange 2010-09-08 19:49:31 -07:00
Daniel Holbert
ef5baeebc0 Bug 276431 Patch 15: Reftests for svg-as-an-image. r=roc a=blocking 2010-09-08 13:40:40 -07:00