Commit Graph

963 Commits

Author SHA1 Message Date
Markus Stange
6e4e723923 Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
This makes the color matrix and component transfer Moz2D filters generate
an infinite output, which is then cropped to the primitive's filter
primitive subregion by a subsequent crop filter node. This still gives us
different behavior than other browser when the primitive subregion is
overridden using the x/y/width/height attributes - other browsers either
ignore those completely (IE) or only let them crop the default subregion
(which is defined to be the same as the input subregion) and not enlargen
it - but I'll fix that in a separate bug.
2015-02-09 14:04:11 -05:00
Jonathan Watt
295a3bb098 Bug 1127507 - Get transforms on the children of SVG <mask> working. r=dholbert
--HG--
extra : rebase_source : 1569a6e4e5f72f71fb47486cdc99f9c64d15b689
2015-01-29 23:58:42 +00:00
Seth Fowler
69721661c6 Bug 850197 - Mark layout/reftests/svg/as-image/list-simple-1.html random everywhere. r=me 2015-01-22 21:37:22 -08:00
Robert Longson
54c4d3acf3 Bug 1123194 - make textPath work with a path that is display:none r=heycam 2015-01-20 14:07:26 +00:00
Jonathan Watt
be5ad9913e Bug 1122578, part 2 - Test start point and direction of dashed stroking on SVG rect. r=longsonr
--HG--
rename : layout/reftests/svg/stroke-dasharray-02.svg => layout/reftests/svg/stroke-dasharray-03.svg
2015-01-18 11:43:29 +00:00
Seth Fowler
3f1298938c Bug 850197 - Mark layout/reftests/svg/as-image/list-simple-1.html random on Windows and OS X on a CLOSED TREE. a=KWierso
--HG--
extra : amend_source : dc810842bccef821869ed676b6c216f0bb78e4f0
2015-01-16 16:34:06 -08:00
L. David Baron
eb5285b396 Bug 1121327 patch 2 - Update reftest and crashtest manifests for new OSX variable in condition sandbox. r=ted.mielczarek 2015-01-15 15:07:50 -08:00
Robert Longson
5f570eddfa Bug 1117514 - lines with zero length dashes are not rendered. r=jwatt 2015-01-10 22:17:57 +00:00
Ethan Lin
4138e739cb Bug 1116070 - Use neon to speed up the mask creation. r=longsonr 2015-01-06 02:44:00 -05:00
Markus Stange
cf9273c036 Bug 1101635 - Adjust reftest fuzzing for tiling on 10.6. r=jrmuizel 2014-12-19 14:48:33 -05:00
Seth Fowler
3872008abd Bug 1106602 (Part 2) - Add tests for nonuniform scaling of SVG-as-image. r=dholbert 2014-12-15 15:44:16 -08:00
Wes Kocher
92049c1863 Backed out changeset 41ecbb9a5fac (bug 1092634) for reftest bustage 2014-11-18 17:21:08 -08:00
Markus Stange
cacfe982d9 Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
This makes the color matrix and component transfer Moz2D filters generate an infinite output, which is then cropped to the primitive's filter primitive subregion by a subsequent crop filter node. This still gives us different behavior than other browser when the primitive subregion is overridden using the x/y/width/height attributes - other browsers either ignore those completely (IE) or only let them crop the default subregion (which is defined to be the same as the input subregion) and not enlargen it - but I'll fix that in a separate bug.
2014-11-18 17:21:19 -05:00
Seth Fowler
552b8dfc85 Bug 1091229 - Make nsBulletFrame block onload when it loads images. r=tn
--HG--
extra : rebase_source : e6b4ed67cab9d0d674a6a5f194c14c7362723440
2014-11-10 13:37:49 -08:00
Robert Longson
6e7cf817ac Bug 1093327 - Correct marker orientation of polygon and polylines. r=cam 2014-11-10 14:40:43 +00:00
Chris Lord
4dad620994 Bug 1084321 - Remove b2g app meta viewport work-around. r=kats,roc 2014-11-04 17:15:30 +00:00
Robert Longson
4a07c5065f Bug 975757 - changes to transforms in patterns do not cause an update. r=jwatt 2014-11-04 14:52:27 +00:00
Jonathan Watt
a9f6a0c700 Bug 1074161 follow-up to fuzz non-scaling-stroke-01.svg for max-diff=1 on some stroke edge pixels. 2014-10-22 16:39:51 +01:00
Jonathan Watt
1332c4fb22 Bug 1074161 follow-up to fuzz non-scaling-stroke-01.svg for max-diff=1 on some stroke edge pixels. 2014-10-22 14:59:24 +01:00
Jonathan Watt
5b66e21f11 Bug 1085092 - Fix stroking of SVG polygon elements. r=longsonr 2014-10-22 10:48:37 +01:00
Robert Longson
45c6ebc582 Bug 1077993 - make changes to clip-rule work. r=jwatt 2014-10-06 14:19:14 +01:00
Jonathan Watt
2c5b4e5e64 Bug 932762, part 2 - Make SVG elements cache their Moz2D path data to speed up rendering, hit-testing, clipPath clipping, bbox calculations and animation/text along a path. r=longsonr 2014-10-04 12:13:30 +01:00
Jonathan Watt
aca1052ad2 Bug 1075399 - Temporary follow-up to disable test while I get fuzzing right. r=orange CLOSED TREE 2014-10-03 11:02:23 +01:00
Jonathan Watt
16d9ba973d Bug 1075399, part 4 - Don't make an exception for arcs when simulating zero length SVG subpaths. r=longsonr 2014-10-03 09:50:43 +01:00
Jonathan Watt
6ca2a09abe Bug 1075399, part 2 - Add more reftests for zero-length SVG subpaths. r=longsonr 2014-10-03 09:50:43 +01:00
Jonathan Watt
3cc35be779 Bug 1075399, part 1 - Simulate zero length SVG subpath for stroke-linecap=round. r=longsonr 2014-10-03 09:50:42 +01:00
Jonathan Watt
2a246892c9 Bug 1074294, part 2 - Convert nsSVGPathGeometryFrame::Render() to render directly using the Moz2D DrawTarget. r=longsonr 2014-09-30 18:08:13 +01:00
Jonathan Watt
86873ad352 Bug 1071774 - Restore the current transform in a couple of places that fail to do so. r=seth 2014-09-29 18:26:31 +01:00
Jonathan Watt
628963b5f2 Bug 1073984 - Make SVG geometry painting use a Moz2D Path object directly. r=longsonr 2014-09-29 14:26:15 +01:00
Max Vujovic
96f61369bf Bug 1066818 - Fix incorrect equation in hue-rotate matrix. r=mstange 2014-09-15 10:10:13 -07:00
Rik Cabanier
91998dcf59 Bug 1047477 - "Add support for all blend mode to feBlend". r=longsonr r=bz 2014-09-12 16:32:00 +02:00
Jonathan Watt
90cf8326aa Bug 1054838, part 5 - Mark some tests as now passing and add/change the fuzz on others post-mattwoodrow's Moz2Dification of gfxPattern 2014-09-14 10:59:54 +01:00
Max Vujovic
e87ece8d18 Bug 1065606 - Use unclipped primitive subregion to calculate image transform in SVGFEImageElement::GetPrimitiveDescription. r=mstange 2014-09-12 10:44:14 -07:00
Max Vujovic
147268076d Bug 1058776 - Add a test that invalid CSS filter functions don't change the rendering of the target element. r=mstange 2014-09-12 10:44:13 -07:00
Max Vujovic
173b798c02 Bug 1058779 - Add a test for CSS Filters + -moz-element. r=mstange 2014-09-10 10:26:50 -07:00
Max Vujovic
12bb58804b Bug 1058765 - Add a test for chaining different CSS filter functions together. r=mstange 2014-09-10 10:26:50 -07:00
Max Vujovic
20fd398d1e Bug 1058783 - Add rendering tests for blur radius in ems and rems. r=mstange 2014-09-10 10:26:50 -07:00
Cameron McCormack
424406e1b8 Bug 1042860 - Handle animated attribute changes on descendants of SVG <text> elements. r=dholbert 2014-09-08 12:34:20 +10:00
Jonathan Watt
593ba8b912 Bug 1063987 - Mark layout/reftests/svg/svg-integration/filter-html-01-extref.xhtml as intermittently failing on B2G 2014-09-07 00:29:18 +01:00
Max Vujovic
b42698322b Bug 1058753 - Cap CSS/SVG blur radii to smaller value when rendering in software. r=mstange 2014-09-03 13:31:55 -07:00
Matt Woodrow
53aabaa213 Bug 1059622 - Follow-up to correctly mark fuzz for 10.6 2014-09-03 13:12:17 +12:00
Matt Woodrow
dcb0587996 Bug 1059622 - Fuzz some gradient tests that fail with CG tiling. r=Bas 2014-09-01 15:24:11 +12:00
Masatoshi Kimura
2e9ca256a2 Bug 1028288: Add two reftests for globalAlpha. One just tests globalAlpha, and one tests scaling and globalAlpha. r=roc 2014-08-29 23:04:35 +09:00
Max Vujovic
2782960f7a Bug 1057900 - Resolve calc values for CSS blur() in nsRuleNode instead of storing them. r=dbaron,mstange 2014-08-26 11:11:45 -07:00
Max Vujovic
f2d76f0477 Bug 948265 - Add CSS opacity filter to nsCSSFilterInstance. r=mstange 2014-08-25 12:23:22 -07:00
Max Vujovic
c870efb559 Bug 948265 - Add CSS contrast filter to nsCSSFilterInstance. r=mstange 2014-08-25 12:23:21 -07:00
Max Vujovic
5e832dfb35 Bug 948265 - Add CSS brightness filter to nsCSSFilterInstance. r=mstange 2014-08-25 12:23:20 -07:00
Max Vujovic
8f2b88b966 Bug 948265 - Add CSS invert filter to nsCSSFilterInstance. r=mstange 2014-08-25 12:23:19 -07:00
Wes Kocher
a8d80abaf6 Merge m-c to inbound a=merge 2014-08-22 17:05:17 -07:00
Seth Fowler
4cd9e3e8e6 Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
C.J. Ku
43e140b6ce Bug 974242 - Enable B2G zoom-out test cases. r=ahal
--HG--
extra : rebase_source : d41b6bf70cd6e1ecc636aff6a147b2e73f2d5c70
2014-08-18 10:52:00 -04:00
Max Vujovic
83273ef37c Bug 948265 - Add CSS sepia filter to nsCSSFilterInstance. r=mstange 2014-08-21 10:17:12 -07:00
Max Vujovic
bb851682eb Bug 948265 - Add CSS grayscale filter to nsCSSFilterInstance. r=mstange 2014-08-21 10:17:09 -07:00
Max Vujovic
4c4ed2fc92 Bug 948265 - Add CSS saturate filter to nsCSSFilterInstance. r=mstange,dbaron 2014-08-20 17:52:28 -07:00
Max Vujovic
891ddf7cb3 Bug 948265 - Add CSS hue-rotate filter to nsCSSFilterInstance. r=mstange,dbaron 2014-08-20 15:46:59 -07:00
Daniel Holbert
195a8c2e3c Bug 981640: increase fuzziness threshold for reftest paced-1.svg on Windows.
DONTBUILD because just increasing some fuzziness numbers, which can't conceivably cause bustage/test-failures
2014-08-14 13:15:22 -07:00
Max Vujovic
f797e1291f Bug 948265 - Add CSS drop-shadow filter to nsCSSFilterInstance. r=mstange 2014-08-14 11:29:56 -07:00
Wes Kocher
914924e971 Backed out changesets 950a3afc2b15 and dfb5303af6f9 (bug 1028288) for being incorrect 2014-08-06 15:43:25 -07:00
Max Vujovic
ccfb7c4ac1 Bug 948265 - Add nsCSSFilterInstance with support for adding CSS blur filters to filter graphs. r=mstange 2014-08-06 10:48:47 -07:00
James Kolb
13663ca53d Bug 1028288: Add two reftests for globalAlpha. One just tests globalAlpha, and one tests scaling and globalAlpha. r=roc 2014-08-02 16:14:55 +09:00
Max Vujovic
26438b6e9c Bug 948265 - Keep track of the filter region for each FilterPrimitiveDescription. r=mstange 2014-07-29 09:48:16 -07:00
Max Vujovic
482f418214 Bug 948265 - Add public domain copyright notice to SVG filter chain tests. r=longsonr 2014-07-15 11:41:00 +02:00
Max Vujovic
2e1fdfe132 Bug 948265 - Support SourceAlpha keyword in SVG filter chains. r=mstange 2014-07-15 11:37:00 +02:00
cku@mozilla.com
87e5ace295 Bug 974242 - enable test cases which are passed on B2G. r=ahal 2014-07-23 04:27:00 +02:00
L. David Baron
76273a1316 Bug 1030604 - Use nsChangeHint_UpdateOverflow for clip-path and mask changes so we update the PreEffectsBBoxProperty and run the effect on the correct area. r=roc
The testcase is a slight simplification of dholbert's testcase 2
(attachment 8456312) in the bug.  It fails in the reftest harness
without the patch, and passes in the reftest harness with the patch.
2014-07-15 22:27:12 -07:00
Ryan VanderMeulen
812e29d7a2 Bug 877661 - Mark mask-html-01-extref-02.xhtml as random on all platforms. 2014-07-11 13:24:23 -04:00
Max Vujovic
3e460b1524 Bug 948265 - Clip filter primitives to their filter's filter region. r=mstange 2014-06-25 14:14:00 -04:00
Carsten "Tomcat" Book
ff26ea326c merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Wes Kocher
c0dc2887cb Merge m-c to b2g-inbound a=merge 2014-06-24 18:47:03 -07:00
CJKu
9691cf3136 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-24 10:20:00 -04:00
Max Vujovic
bf0ec1282a Bug 948265 - Move SVG filter chain tests into their own folder to make their filenames more readable. r=mstange
--HG--
rename : layout/reftests/svg/filters/multiple-svg-filters-long-chain.svg => layout/reftests/svg/filters/svg-filter-chains/long-chain.svg
rename : layout/reftests/svg/filters/multiple-svg-filters-with-multiple-primitives.svg => layout/reftests/svg/filters/svg-filter-chains/multiple-primitives-per-filter.svg
rename : layout/reftests/svg/filters/multiple-svg-filters-second-uses-SourceGraphic.svg => layout/reftests/svg/filters/svg-filter-chains/second-filter-uses-SourceGraphic.svg
rename : layout/reftests/svg/filters/multiple-svg-filters-ref.svg => layout/reftests/svg/filters/svg-filter-chains/simple-chain-ref.svg
rename : layout/reftests/svg/filters/multiple-svg-filters.svg => layout/reftests/svg/filters/svg-filter-chains/simple-chain.svg
2014-06-23 13:18:00 -04:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
David Major
c4c4858714 Bug 1024271 - Allow more fuzziness for the win64 test machines. r=dholbert
--HG--
extra : rebase_source : 33df3eb88126637f444ab79e34599882d412f954
2014-06-23 16:45:57 +12:00
Andrew Halberstadt
2aa6a20e6b Bug 981477 - Adjust wrongfully annotated b2g oop reftests from fails to random, r=edmorley 2014-06-13 10:05:52 -04:00
Jonathan Watt
c01ce807e8 Bug 989230 follow-up to increase fuzziness for reftest on Windows. r=orange 2014-06-11 12:14:19 +01:00
Jonathan Watt
c175ad5281 Bug 989230 reftest - Test that gradient spreadMethod=reflect works. r=longsonr 2014-06-11 10:38:44 +01:00
Kartikaya Gupta
38429c97b7 Bug 1016222 - Fuzz a few tests for progressive painting. r=jwatt 2014-05-29 12:47:42 -04:00
Vincent Chen
c53b5f77a8 Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal 2014-05-23 15:56:15 -04:00
Robert Longson
06fbeaf02f Bug 995813 - Mask and pattern elements should map more attributes to styles. r=dholbert
--HG--
rename : layout/reftests/svg/mask-basic-03.svg => layout/reftests/svg/mask-basic-04.svg
rename : layout/reftests/svg/mask-basic-03.svg => layout/reftests/svg/pattern-basic-01.svg
2014-04-15 11:48:02 +01:00
Geoff Brown
8b4092834b Bug 967704 - Update reftest manifests for Android 2.3; r=me 2014-04-09 08:38:45 -06:00
Timothy Nikkel
66defc41fb Bug 987680. Change a reftest to expect scrollbars on top of non-positioned sibling content. Mark some other reftests as passing now. r=roc 2014-04-09 07:12:22 -05:00
Timothy Nikkel
eedc9da1f1 Backout 389ff4b5612c and d234394e0147 (bug 987680) for reftest failuires. 2014-04-07 04:52:36 -05:00
Timothy Nikkel
a19ac3d7fb Bug 987680. Change a reftest to expect scrollbars on top of non-positioned sibling content. Mark some other reftests as passing now. r=roc 2014-04-07 03:15:47 -05:00
Max Vujovic
b79c737e9a Bug 948265 - Rename intermediate space to filter space and change filter space origin to user space origin. r=mstange, r=longsonr 2014-03-26 16:21:48 -07:00
L. David Baron
930083ccf9 Bug 986404 - Mark test as failing due to scrollbars showing up. 2014-03-22 22:07:15 -07:00
Daniel Holbert
4ea9bf2d5e Bug 981640: Mark reftest svg/smil/transform/paced-1.svg as fuzzy on Windows. 2014-03-19 08:46:34 +08:00
Max Vujovic
c6f43612b0 Bug 948265 - Fix user space to filter space transformation and example in nsSVGFilterInstance. r=mstange 2014-03-15 17:08:04 -04:00
Daniel Holbert
8b117bc62d Bug 983671: Add back (more restricted) 'fuzzy' annotation for reftest svg/smil/transform/skew-1.svg. (no review, test-manifest only) 2014-03-14 12:17:46 -07:00
Vincent Chen
186171453a Bug 922680 - triage reftests which fail oop, r=ahal 2014-03-12 09:25:23 -04:00
Ryan VanderMeulen
95184620a9 Backed out changeset 1bcd1fea2e73 (bug 922680) for B2G reftest crashes.
CLOSED TREE
2014-03-11 14:29:34 -04:00
Vincent Chen
427d4f169a Bug 922680 - triage reftests which fail oop, r=ahal 2014-03-11 12:12:10 -04:00
Daniel Holbert
c1e70cc26c Bug 981640: Mark reftest svg/smil/transform/paced-1.svg as fuzzy on Mac. rs=RyanVM 2014-03-10 15:46:31 -07:00
Max Vujovic
92f3fc518b Bug 948265 - Remove deprecated filterRes attribute from SVG filters. r=roc, r=hsivonen 2014-03-10 08:55:25 -04:00
Daniel Holbert
2e6a644695 Bug 981110 part 2: Remove a bunch of 'skip-if' annotations for B2G, in SMIL reftests. r=jwatt 2014-03-09 17:45:56 -07:00
Daniel Holbert
336da341a7 Bug 981110 part 1: Remove some random, skip, and fuzzy annotations in SVG / SMIL reftests. r=jwatt 2014-03-09 17:45:55 -07:00
Daniel Holbert
52b2cfba1d Bug 980783: Make reftest scale-1.svg use MozReftestInvalidate for dynamic tweak, and make its reftest.list annotations more strict. r=jwatt 2014-03-07 09:48:56 -08:00
Markus Stange
bbba5bf0c3 Bug 960178 - Fix lighting filter PowCache. r=Bas 2014-03-05 18:41:38 +01:00
Wes Kocher
2a7ee60945 Backed out changeset c14980a16210 (bug 948265) so it can address review comments first, despite the CLOSED TREE 2014-02-28 14:48:31 -08:00
Max Vujovic
5292d9035a Bug 948265 - Remove deprecated filterRes attribute from SVG filters. r=roc 2014-02-28 16:40:14 -05:00
Max Vujovic
4ea33adaa9 Bug 948265 - Connect the filter graphs of chained SVG filters. r=roc 2014-02-28 16:40:00 -05:00