Cameron McCormack
56c88d861c
Back out bug 928798 (f532e4f26307).
2013-11-01 14:01:34 +11:00
Cameron McCormack
b292cb1b00
Bug 928798 - Check nsSVGTextFrame2 for dirtiness when gettings it bounding box contribution. r=roc
...
--HG--
extra : rebase_source : e9173104309e532e9e6773132b9a867e47c3ea11
2013-11-01 13:44:52 +11:00
Jonathan Watt
c3d8e2ffd8
Fix one line comment in nsISVGChildFrame.h. r=me, no bug
2013-10-29 08:14:40 +00:00
Jonathan Watt
2d9d4c1ac1
Bug 931769, part 3 - Move MaxExpansion() from nsSVGUtils to nsSVGPatternFrame, and convert it to Moz2D. r=dholbert
2013-10-29 08:14:40 +00:00
Jonathan Kew
82c129d909
bug 930420 - respect any transform on the glyph element itself when calculating SVG glyph extents. r=heycam
2013-10-25 10:09:30 +02:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Markus Stange
2ac1f04804
Bug 703872 - Use different scale factors for X and Y when determining the resolution for transformed filter rendering. r=jwatt
2013-10-24 10:09:09 +02:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Jonathan Watt
dbcd24e213
Bug 929441 - Stop unnecessarily setting a transform between emitting a path and stroking it. r=Bas
2013-10-22 23:45:51 +02:00
Jonathan Watt
a09d59ea9d
Bug 929364 - Avoid changing the current transform between emitting the path and clipping using that path in the SVGAutoRenderState::CLIP case. r=heycam
2013-10-22 23:45:51 +02:00
Seth Fowler
5e6d1f8386
Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert
2013-10-22 13:37:57 +02:00
Kannan Vijayan
809746b013
Backout 5a0801040b54, 5bedd82346b4, 4d8068fd3271, and bc31e05eddb8 for b2g build breakage. CLOSED TREE.
2013-10-21 14:39:33 -04:00
Seth Fowler
c10fe9ad6f
Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert
2013-10-21 18:10:40 +02:00
Jonathan Watt
f93ec99ddd
Bug 928879 - Move SVGTextContextPaint to nsSVGTextFrame2.h/.cpp. r=heycam
2013-10-21 13:54:28 +02:00
Robert O'Callahan
e4edd353f5
Bug 923193. Make transform-origin on SVG elements use the SVG bbox as the reference rectangle. r=heycam
...
--HG--
extra : rebase_source : f4f620acc51e14625f45b8022385d8a1112fd086
2013-10-03 08:34:24 -04:00
Matt Woodrow
806a534a20
Bug 926258 - Remove gfxFlattenedPath as it doesn't match the abstraction we want for Moz2D. r=roc
2013-10-15 16:23:21 +13:00
Robert Longson
12a368ec52
Bug 919371 - Make sure marker frames get the right parent. r=cam
2013-10-13 10:15:53 +01:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Seth Fowler
d94fd4cecc
Bug 920621 (Part 1) - Correct for full page zoom in nsSVGImageFrame. (Partial revert of bug 600207.) r=dholbert
2013-10-02 19:04:28 -07:00
Ehsan Akhgari
fa0f489466
Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Ehsan Akhgari
44cb2c6702
Bug 921753 - Part 3: Avoid #including nsStyleStructInlines.h in nsHTMLReflowState.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1362 to 1268.
2013-10-01 17:01:49 -04:00
Ehsan Akhgari
b155782d0a
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Ehsan Akhgari
290feb1ade
Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
...
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
places which require it implicitly.
2013-09-30 17:26:04 -04:00
Robert Longson
a9cb23d3ec
Bug 919900 - Correct bounding box calculations for empty text elements with svg.text.css-frames.enabled. r=heycam
2013-09-26 13:42:15 +01:00
Mats Palmgren
4974add798
Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert
2013-09-25 11:42:34 +00:00
Cameron McCormack
3e9878463d
Bug 916704 - Always initialize SVGTextContentPaint::Paint and check SetupCairoState return value in nsSVGTextFrame2::PaintSVG. r=longsonr
2013-09-25 17:18:41 +10:00
Benoit Jacob
55d6cf1e20
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Cameron McCormack
633b59f1ac
Bug 874507 - Make clip-path, filter, mask and opacity work on <marker> elements. r=longsonr
2013-09-16 15:06:29 +10:00
Rik Cabanier
fc566afdce
Bug 902525 - Part 3: create a layer for content that stores the blend mode r=roc
2013-09-14 20:40:11 -07:00
Timothy Nikkel
f538f22d78
Bug 847223. Part 10. Make the new code work when we have the image visibility analysis prefed off. r=mats
2013-09-14 19:05:06 -05:00
Timothy Nikkel
84c603d990
Bug 847223. Part 6. Use the first reflow of relevant image frames to add/remove them from the visible list. r=mats
2013-09-14 19:05:05 -05:00
Jonathan Kew
fa21bde76e
bug 798843 followup - update property values in the default svg stylesheet. r=roc
2013-09-14 12:40:49 +01:00
Jonathan Kew
90fcad5f64
Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
...
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00
Edwin Flores
43e0322c30
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00
Ryan VanderMeulen
f6f2b44c8f
Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures.
2013-09-13 11:15:54 -04:00
Jonathan Kew
fd01c609d8
Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
...
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00
Edwin Flores
b10976f9b2
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00
Jonathan Kew
f59dc0b880
bug 915093 - don't ignore the context matrix when getting stroke pattern for SVG glyphs. r=roc
2013-09-12 09:18:54 +01:00
Jonathan Kew
eb19dbaccf
bug 875329 - don't ignore transforms when rendering SVG-in-OT glyphs. r=heycam
2013-09-11 08:27:45 +01:00
Benoit Jacob
4dbb3d0ca3
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Markus Stange
40b411feaf
Bug 912953 - Protect against empty rects causing invalidation due to rounding in nsSVGFilterFrame.cpp. r=roc
2013-09-06 11:31:17 +02:00
Markus Stange
d87622fb09
Bug 912953 - Protect against empty rects causing invalidation due to rounding in nsSVGIntegrationUtils::AdjustInvalidAreaForSVGEffects. r=roc
2013-09-06 11:30:27 +02:00
Robert O'Callahan
03e7828db2
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Brian O'Keefe
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Robert O'Callahan
c1efe90c49
Bug 906521. Part 7: Handle cases where an SVG glyph has no frame or a non-SVG frame without crashing in debug builds. r=jfkthame
...
--HG--
extra : rebase_source : 52c4c01e8f2530f44f2799cd1958008979e4fc2e
2013-08-20 01:08:43 +12:00
Ms2ger
47f9af7214
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Ms2ger
137da0f245
Backed out changesets e6a3b0532422:f37447f59817 (bug 908880, bug 879682) for Windows assertion failures.
2013-08-24 10:27:21 +02:00
Markus Stange
86e41a563d
Bug 879682 - Call nsSVGEffects::UpdateEffects on the first reflow even if we've cleared our own firstreflow flag in order to propagate the information to our children. r=jwatt
2013-08-24 08:18:12 +02:00
Ehsan Akhgari
2c35f715fe
Bug 908778 - Don't #include nsRegion.h in nsIFrame.h; r=mats
2013-08-23 18:16:38 -04:00
Ms2ger
49f603cd4d
Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted
2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ehsan Akhgari
2621b190f1
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Jonathan Watt
de06458c91
Bug 901955 - Get 'opacity' property changes on SVG working again. r=roc
2013-08-14 10:51:00 +01:00
Robert Longson
f329519406
Bug 903732 - Stop leaking gfxPattern objects when using CSS text frames. r=dholbert
2013-08-12 19:39:08 +01:00
Trevor Saunders
99d8dc50c9
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Timothy Nikkel
838822fcb6
Bug 900662. Pass sync decode flags through moz-element painting so images inside moz-element work correctly with reftests. r=mstange
2013-08-01 15:42:34 -05:00
Cameron McCormack
5a0e1504b3
Bug 897887 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt
2013-07-31 10:39:04 +10:00
Cameron McCormack
6fe54e2046
Bug 898909 - Reflow non-display SVG text under non-display outer <svg> frames. r=jwatt
2013-07-30 09:47:30 +10:00
Cameron McCormack
8b994a132e
Bug 898951 - Ignore undisplayed characters when getting partial glyph advances. r=jwatt
...
--HG--
extra : rebase_source : 535f6cf6b159b964cf47ca54f718b60656e3ca48
2013-07-30 09:44:48 +10:00
Max Vujovic
0bd2b965c3
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-22 15:08:33 -07:00
Xidorn Quan
b4cc4e0631
Bug 786254 - SVG effects rendering doesn't pixel snap, causing faint vertical lines appear on some tabs. r=roc
2013-07-24 09:03:11 -04:00
Cameron McCormack
5ced2fb4ac
Bug 897342 - Don't try to adjust text for textLength="" when there is no opportunity to do so. r=jwatt
2013-07-24 21:47:07 +10:00
Cameron McCormack
30c78e5711
Bug 895311 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt
2013-07-24 15:13:54 +10:00
Ed Morley
ef5715c092
Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE
2013-07-23 16:36:45 +01:00
Max Vujovic
0117d6e2f8
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-23 10:47:16 -04:00
L. David Baron
a7c8d44db9
Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
...
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.
This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
David Zbarsky
25658dc89f
Bug 892853 - Remove some xpidl for SVG r=Ms2ger
2013-07-17 23:54:09 -07:00
Mike Hommey
b97d1767fc
Bug 892904 - Remove useless includes of config.mk. r=gps
2013-07-15 18:48:40 +09:00
Cameron McCormack
370da54970
Bug 893510 - Don't schedule reflow of non-display SVG text when a child text content frame was just created. r=jwatt
2013-07-15 18:15:49 +10:00
Cameron McCormack
b4c9952c8a
Bug 893500 - Don't check for SVG text context scale changes when non-display. r=longsonr
2013-07-15 17:09:27 +10:00
Cameron McCormack
1f60b6d37b
Bug 890783 - Reflow non-display SVG text when a child text frame is restyled. r=roc
2013-07-12 17:13:07 +10:00
Cameron McCormack
d644792953
Bug 890782 - Reflow SVG text inserted into non-display containers. r=jwatt
2013-07-12 17:13:07 +10:00
Cameron McCormack
2a8880f043
Bug 890782 - Part 3: Inherit NS_FRAME_IS_NONDISPLAY by default. r=jwatt
2013-07-12 17:13:07 +10:00
Cameron McCormack
aab2e6c2f0
Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt
2013-07-12 17:13:07 +10:00
Cameron McCormack
a2bae61d8b
Bug 890782 - Part 1: Return early in UpdateGlyphPositioning if frames are dirty. r=longsonr
2013-07-12 17:13:06 +10:00
Cameron McCormack
e5b78f3048
Bug 879659 - Part 3: Implement <marker orient="auto-start-reverse">. r=longsonr
2013-07-12 16:39:38 +10:00
Cameron McCormack
646cffaae0
Bug 879659 - Part 2: Refactor SVG marker handling to support more types of markers in the future. r=longsonr
2013-07-12 16:39:38 +10:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Daniel Holbert
7e1eec97eb
Bug 892108: Simplify a SVG check to use HasViewBoxOrSyntheticViewBox(). r=jwatt
2013-07-10 16:20:54 -07:00
Ryan VanderMeulen
03e73d9988
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
Trevor Saunders
63ed0e9589
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Cameron McCormack
70d281a874
Bug 890756 - Remove nsSVGTextFrame2::AutoCanvasTMForMarker. r=longsonr
2013-07-08 17:39:50 +10:00
Cameron McCormack
bd26c63b26
Bug 877957 - Don't use the context scale when determining the font size scale factor for non-display SVG text. r=longsonr
2013-07-08 10:38:16 +10:00
Cameron McCormack
7145c3dd08
Bug 569722 - Implement textLength and lengthAdjust on SVG text elements. r=longsonr
2013-07-07 17:27:51 +10:00
Cameron McCormack
ae3ec48da0
Bug 890196 - Remove unnecessary code to fill out nsSVGTextFrame2::mPositions when more characters are specified than positions. r=longsonr
2013-07-04 18:31:24 +10:00
Cameron McCormack
5cbf995666
Bug 889221 - Record dominant-baseline values correctly when traversing SVG text frames. r=roc
...
--HG--
extra : rebase_source : 0cd8bdd1d140f8991913355988ff26afdd65df2b
2013-07-03 15:31:44 +10:00
Cameron McCormack
fa93c01012
Bug 884718 - Inflate mRect of SVG text by a device pixel to paper over some rounding issues. r=roc
2013-06-29 22:59:35 +10:00
Cameron McCormack
07c9631694
Bug 842181 - Prevent text zoom from affecting SVG text. r=dbaron
2013-06-29 13:28:50 +10:00
Robert Longson
35db2a3e66
Bug 829085 - Fix hit testing when vector-effect=non-scaling-stroke is used. r=dholbert
2013-06-26 13:31:06 +01:00
Cameron McCormack
a091acd9d2
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
Ed Morley
702726731f
Backed out changeset d7c237784ce9 (bug 886230) for B2G mochitest-9 failures in test_bug582181-1.html
2013-06-25 13:45:09 +01:00
Daniel Holbert
b1ae895bb4
Bug 886611 part 2: Rename the nsSVGUtils function SetupCairoStrokeHitGeometry() to SetupCairoStrokeGeometry() . r=longsonr
2013-06-24 23:05:32 -07:00
Daniel Holbert
3b03878100
Bug 886611 part 1: Rename the nsSVGUtils function SetupCairoStrokeGeometry() to SetupCairoStrokeBBoxGeometry() . r=longsonr
2013-06-24 23:05:31 -07:00
Cameron McCormack
994ad89b82
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
Robert Longson
00d1add813
Bug 865901 - make nsSVGTextFrame2::mPositioningDirty and mPositioningUsesPercentages SVG frame state bits. r=cam
2013-06-24 12:20:38 +01:00
Cameron McCormack
3518fb909e
Bug 885642 - Avoid iterating SVG text frames when they are dirty. r=longsonr
2013-06-22 20:57:13 +10:00
Cameron McCormack
fd8d65a5e8
Bug 885608 - Call ScheduleReflowSVGNonDisplayText on character data mutations in a non-display <text>. r=longsonr
...
--HG--
extra : rebase_source : c6332ac1146dc71812c802a1160ee79ad266467e
2013-06-22 12:38:57 +10:00
Robert Longson
e6783d5436
Bug 876450 - non-scaling-stroke doesn't work with svg.text.css-frames.enabled. r=heycam
...
--HG--
rename : layout/reftests/svg/non-scaling-stroke-03-ref.svg => layout/reftests/svg/text/dynamic-non-scaling-stroke-ref.svg
rename : layout/reftests/svg/non-scaling-stroke-03.svg => layout/reftests/svg/text/dynamic-non-scaling-stroke.svg
2013-06-16 12:05:39 +01:00
Seth Fowler
72967380f0
Bug 600207 (Part 1) - Avoid fuzzy SVGs on the tiling path by matrix twiddling. r=dholbert
2013-06-13 00:47:26 -07:00
Ed Morley
c95b79e78d
Merge mozilla-central and inbound
2013-06-12 08:41:06 +01:00
Ms2ger
b699af7e4e
Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz
2013-06-12 09:00:09 +02:00
Cameron McCormack
bfd397de2a
Bug 880925 - Flush layout when caretPositionFromPoint is called. r=bz
2013-06-12 13:20:19 +10:00
Cameron McCormack
9f0b04bf17
Bug 877429 - Remove GlyphMetricsUpdater. r=longsonr
2013-06-12 13:19:52 +10:00
Matt Woodrow
98c7bb8978
Bug 871917 - Schedule a paint when an nsSVGImageFrame gets an image changed notification. r=roc
2013-06-10 12:14:01 +12:00
Cameron McCormack
4f10a0f5fe
Bug 872353 - Remove nsSVGTextFrame2::Reflow(), which is currently unused. r=longsonr
2013-06-05 17:15:31 +10:00
Cameron McCormack
18fe21cda0
Bug 876186 - Don't do anything with fill-rule on SVG text. r=longsonr
2013-06-04 10:18:21 +10:00
Cameron McCormack
b8ecd886bc
Bug 876831 - Only reflow nsSVGTextFrame2's anonymous block frame under ReflowSVG. r=bzbarsky,longsonr f=jwatt
2013-06-04 00:15:29 +10:00
Cameron McCormack
7135d9040a
Bug 873806 - Part 2: Make descendants of non-display nsSVGForeignObjectFrame also non-display. r=longsonr
2013-06-04 00:15:29 +10:00
Cameron McCormack
40d810ea69
Bug 873806 - Part 1: Ensure non-display SVG text frames get reflowed. r=longsonr f=jwatt
...
--HG--
rename : layout/reftests/svg/text/clipPath-content.svg => layout/reftests/svg/text/clipPath-content-2.svg
rename : layout/reftests/svg/text/mask-content.svg => layout/reftests/svg/text/mask-content-2.svg
2013-06-04 00:15:29 +10:00
Cameron McCormack
b2ab5e0662
Comment tweak for clarity; no bug. (DONTBUILD)
2013-06-02 21:47:48 +10:00
Cameron McCormack
32dbb9fed3
Bug 877575 - Don't force mPositions to be recomputed inside nsSVGTextFrame2::ReflowSVG. r=jwatt
2013-05-30 18:34:59 +10:00
Jonathan Watt
8d3718d460
Bug 827915 - Get rid of SVG's own invalidation mechanisms and rely on DLBI instead. r=dholbert
2013-05-30 09:28:13 +01:00
Cameron McCormack
fded050873
Bug 877035 - Remove nsSVGTextFrame2::UpdateGlyphPositioning's aForceGlobalTransform argument and look at mGetCanvasTMForFlag instead. r=longsonr
2013-05-30 17:53:07 +10:00
Cameron McCormack
cdcfb5650b
Bug 877029 - Add a crashtest for calling nsSVGMarkerFrame::GetCanvasTM() inappropriately. r=longsonr
2013-05-30 17:48:15 +10:00
Cameron McCormack
10f689b742
Bug 876323 - Avoid recomputing mPositions when COORD_CONTEXT_CHANGED unless percentages were used. r=jwatt
2013-05-30 10:44:55 +10:00
Arnaud Sourioux
c6d0c9ac5d
Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert
2013-05-29 12:37:49 -07:00
Mike Shal
5169c0a913
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jonathan Watt
812121dca8
Bug 876175 - Fix O(n^2) behavior and other perf issues with nsSVGGradientFrame::GetPaintServerPattern. r=roc
2013-05-27 08:34:01 +01:00
Jonathan Watt
fc4e140ee3
Bug 876157 - Avoid expensive nsSVGGradientFrame::GetGradientTransform calls when gradients paint only a single color. r=roc
2013-05-27 08:31:39 +01:00
Jonathan Watt
527254d968
Bug 854765 - Get rid of the DidSetStyleContext overrides in SVG frame code to avoid some major perf hits. r=roc
2013-05-24 18:32:33 +01:00
Ehsan Akhgari
a9e782559f
Backed out changeset e3e70237a47a (bug 854765) because of mochitest-1 assertions
2013-05-24 16:02:48 -04:00
Jonathan Watt
cc76ea785a
Bug 854765 - Get rid of the DidSetStyleContext overrides in SVG frame code to avoid some major perf hits. r=roc
2013-05-24 18:32:33 +01:00
Jonathan Watt
c616fe5064
Bug 378923 - Make non-root outer-<svg> respect |overflow:visible| (overflow="visible"). r=roc
2013-05-24 17:56:26 +01:00
Jonathan Watt
95b5af7754
Bug 875175 - Stop continuous reflow and invalidation of entire SVG when an element that is partially/wholly outside the viewport is subject to a transform animation. r=dbaron
2013-05-24 14:51:50 +01:00
Jonathan Watt
b1e4b6c4c4
Bug 875069 - nsSVGPathGeometryFrame::NotifySVGChanged needs to take account of stroke-width and non-scaling-stroke. r=dholbert
2013-05-23 15:30:14 +01:00
Jonathan Watt
9899276072
Bug 874865 - Stop nsSVGOuterSVGFrame::AttributeChanged from calling ChildrenOnlyTransformChanged for transform attribute changes. r=longsonr
2013-05-23 08:04:21 +01:00
Jonathan Watt
a0753e99f6
Bug 874846 - Stop calling NotifySVGChanged(TRANSFORM_CHANGED) in nsSVGTextFrame2::AttributeChanged. r=longsonr
2013-05-23 08:09:15 +01:00
Jonathan Watt
c41c964383
Bug 874854 - Stop calling SchedulePaint for SVG transform attribute changes. r=longsonr
2013-05-23 08:04:21 +01:00
Bobby Holley
cdde50556c
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Jonathan Watt
0f54c786a4
Bug 867596 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGTextFrame2, and use DLBI instead. r=longsonr
2013-05-22 12:30:20 +01:00
Jonathan Watt
405906cf2b
Bug 874487 - Have nsSVGUseFrame notify any rendering observers when the referenced element is re-cloned. r=roc
2013-05-21 18:24:05 +01:00
Cameron McCormack
a70fc32507
Bug 839958 - Prevent infinite invalidation loops when using SVG text inside a mask or pattern. r=jwatt
2013-05-19 11:11:16 +10:00
Cameron McCormack
952be382d1
Backout d00f9ead1848 (bug 839958) for Windows reftest failure on pattern-content.svg.
2013-05-19 12:50:30 +10:00
Cameron McCormack
94f41d9b27
Bug 839958 - Prevent infinite invalidation loops when using SVG text inside a mask or pattern. r=jwatt
2013-05-19 11:11:16 +10:00
Ehsan Akhgari
0b00dc2f2d
Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium
2013-05-16 11:16:30 -04:00
Phil Ringnalda
95ddec5edc
Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures
2013-05-15 20:53:30 -07:00
Edwin Flores
8a4ca2262b
Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
2013-05-16 14:35:15 +12:00
Edwin Flores
9e3a28f874
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00
Arnaud Sourioux
623d2ed378
Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert
2013-05-14 09:33:23 -07:00
Andrea Marchesini
da5e259b0e
Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger
2013-05-09 13:42:12 -04:00
Jonathan Watt
27d86f8e64
Bug 869611 - Stop reflowing in nsSVGPathGeometryFrame::NotifySVGChanged for ancestor transform changes. r=dholbert
2013-05-08 18:13:11 +01:00
Jonathan Watt
612f292926
Bug 869781 - Make nsSVGOuterSVGFrame::Reflow update the overflow rects of its children if it has a viewBox. r=dholbert
2013-05-08 18:11:42 +01:00
Robert Longson
056b56c939
Bug 868904 - Fix infinite recursion with outer SVG transform animation r=dholbert
2013-05-06 07:33:20 +01:00
Robert Longson
cbd86d7158
Bug 863994 - Support transform attribute on <svg> elements. r=dholbert
...
--HG--
rename : layout/reftests/svg/svg-transform-01.svg => layout/reftests/svg/svg-transform-02.svg
2013-05-05 08:20:25 +01:00
Robert Longson
804040c9b5
Bug 865958 - Text in clipPath does not update correctly when changed. r=heycam,jwatt
2013-04-28 11:53:58 +01:00
Jonathan Watt
c3e9fc6d26
Bug 839865 - Stop calling nsSVGUtils::InvalidateBounds for SVG transform changes, and use DLBI instead. r=mattwoodrow.
2013-02-11 23:25:56 +00:00
Timothy Nikkel
6542a83d06
Bug 865945. Increment the visible count before calling FrameCreated so that the image for an SVGFEImage element is actually considered visible. r=mats
2013-04-26 14:58:15 -05:00
Aryeh Gregor
f0404a303a
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Cameron McCormack
e9cf626ba5
Bug 864000 - Document nsSVGTextFrame2::mPositioningDirty better. (DONTBUILD) rs=jwatt
2013-04-26 09:05:34 +10:00
Seth Fowler
fa19988b4c
Bug 859377 (Part 2) - Make SVGImageContext more flexible. r=dholbert
...
--HG--
extra : rebase_source : 79a4380691426c128f334ba066167a5c5b8ee801
2013-04-25 15:58:27 -07:00
Jonathan Watt
bf434b13f3
Bug 864832 - Get rid of the majority of the remaining nsSVGUtils::InvalidateBounds calls, except for those related to transforms and nsSVGTextFrame2. r=mattwoodrow
2013-04-25 10:18:42 +01:00
Jonathan Watt
1f0ee6eacb
Bug 864772 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGDisplayContainerFrame::RemoveFrame, and use DLBI instead. r=mattwoodrow
2013-04-24 10:13:28 +01:00
Jonathan Watt
0455b0f597
Bug 864770 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGEffects code, and use DLBI instead. r=mattwoodrow
2013-04-24 10:13:28 +01:00
Cameron McCormack
069bc62622
No bug - Minor comment tweak. (DONTBUILD)
2013-04-20 21:24:34 +10:00
Andrea Marchesini
1b1855494c
Bug 855412 - Change the signature of NS_NewSVGRect to not use the outparam. r=Ms2ger
2013-04-18 07:40:09 -04:00
Matt Woodrow
4b9c22e2f6
Backout d6b34be6fb4c for causing reftest failures on a CLOSED TREE
2013-04-18 14:21:25 +12:00
Matt Woodrow
ec2f166ceb
Bug 837335 - Don't build an nsDisplayTransform for nsSVGPathGeometryFrame if the transform is only a translation. r=jwatt
2013-04-18 12:42:08 +12:00
Robert Longson
df55253a6e
Bug 862817 - Fix animateMotion on foreignObject elements. r=dholbert
2013-04-17 21:28:59 +01:00
Cameron McCormack
5f2b7f2d84
Bug 862158 - Propagate implied SVG text rotate="" values over the top of inherited values. r=longsonr
2013-04-16 16:43:28 +10:00
Cameron McCormack
8a180291b2
Bug 842224 - Make getCharNumAtPosition (a) return addressable character indices, and (b) heed full page zoom. r=longsonr
2013-04-17 09:18:24 +10:00
Mike Shal
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Cameron McCormack
15a1a5b1e0
Backout 66c01cdf30d2 (bug 862158) for text-layout-08.svg failure. (CLOSED TREE)
2013-04-16 18:28:21 +10:00
Cameron McCormack
e60f7ec363
Bug 862158 - Propagate implied SVG text rotate="" values over the top of inherited implied values. r=longsonr
2013-04-16 16:43:28 +10:00
Cameron McCormack
d602676c91
Bug 843917 - Test.
2013-04-15 19:50:57 +10:00
Cameron McCormack
a16a8c0d77
Bug 843917 - Don't call InvalidateBounds() in nsSVGTextFrame2; leave invalidation to DLBI. r=jwatt
2013-04-15 17:16:07 +10:00
David Zbarsky
eeb5fc7207
Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
...
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-04-14 18:56:34 -04:00
Robert Longson
20c65bf5c1
Bug 861188 - Fix empty transforms on svg elements. r=dholbert
2013-04-14 08:17:36 +01:00
Cameron McCormack
86a6c2bb6c
Bug 860653 - Make paint-order work on SVG text with layout.svg.css-frames.enabled. r=longsonr
2013-04-12 17:58:03 +10:00
Joshua Cranmer
1f24ef2b5e
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
Cameron McCormack
942cf09a9d
Bug 860378 - Reconstruct SVG text frames sooner on DOM mutations. r=longsonr
2013-04-11 18:38:40 +10:00
Cameron McCormack
ab44f481ad
Bug 839957 - Followup for review comment.
2013-04-10 23:04:28 +10:00
Cameron McCormack
e87c79516e
Bug 839956 - Choose SVG text font size scale factor without regard to devPixelsPerPx. r=longsonr
2013-04-10 22:58:56 +10:00
Cameron McCormack
9bede9c397
Bug 839957 - Avoid inaccuracies when computing SVG glyph positions. r=longsonr
2013-04-10 22:58:55 +10:00
Masatoshi Kimura
2550eb2430
Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert
2013-04-07 13:45:34 +09:00
Robert O'Callahan
613ea8adbd
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Robert Longson
37e5af5fac
Bug 398825 - Implement selectSubString. r=heycam
...
--HG--
rename : content/svg/content/test/test_getSubStringLength.xhtml => content/svg/content/test/test_selectSubString.xhtml
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString.svg
2013-04-01 10:43:38 +01:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Cameron McCormack
9e9a56db86
Bug 850655 - Make CharIterator::Next() not crash when at the end of text. r=longsonr
...
--HG--
extra : rebase_source : 830fa0fda257401a77c1aae8686aa5ab6db18d86
2013-03-28 14:31:31 +11:00
David Zbarsky
9ac66bb66f
Bug 840417 Part 1: Move nsIDOMSVGElement up to nsSVGElement r=Ms2ger
2013-03-27 21:23:09 -04:00
Cameron McCormack
0631178d96
Bug 855183 - Reflow SVG text sooner on full page zoom. r=longsonr
2013-03-28 10:55:55 +11:00
Robert Longson
dfd5800223
Bug 842630 - Fix out of bounds in nsSVGTextFrame2::ResolvePositions. r=heycam
2013-03-27 10:19:02 +00:00
Andrea Marchesini
64e6da38ab
Bug 852620 - Convert SVGRect to WebIDL, r=Ms2ger
2013-03-26 16:53:13 +01:00
Andrea Marchesini
b611899f62
Bug 852620 - Rename nsSVGRect to SVGRect, r=Ms2ger
...
--HG--
rename : content/svg/content/src/nsSVGRect.cpp => content/svg/content/src/SVGRect.cpp
rename : content/svg/content/src/nsSVGRect.h => content/svg/content/src/SVGRect.h
2013-03-26 16:52:41 +01:00
Daniel Holbert
32511651c4
Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD
2013-03-25 17:01:35 -07:00
Robert Longson
f486ff53a0
Bug 847139 - Crash with caretPositionFromPoint. r=heycam
2013-03-25 19:03:44 +00:00
Robert Longson
b7021f1391
Bug 849606 r=jwatt
2013-03-22 10:25:58 +00:00
Robert Longson
4eac70e2f5
Bug 852270 - use transform rather than -moz-transform in svg.css r=dbaron
2013-03-20 18:59:11 +00:00
Daniel Holbert
5e4d2ed81a
Bug 852769: Remove unnecessary \n characters from NS_ASSERTION messages in layout/svg. r=longsonr
2013-03-20 09:50:36 -07:00
Phil Ringnalda
3b7e0c1622
Back out 26f0d590a021, d92e88a18263, 5a2d12a34466 (bug 846995) for not building
...
CLOSED TREE
2013-03-19 20:20:38 -07:00
David Zbarsky
557f87694f
Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
...
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-03-19 22:31:44 -04:00
Boris Zbarsky
7f102d7f2d
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Daniel Holbert
4baaea9821
Bug 850539 - Make nsSVGTextFrame2.cpp include its own header first. r=jwatt
2013-03-13 10:49:40 -07:00
Robert Longson
63e1a3e1f6
Bug 849688 - Crash with getStartPositionOfChar when argument is out of range. r=dholbert
2013-03-13 14:22:46 +00:00
David Zbarsky
bc34e2ce7d
Bug 847120: Convert SVGFEImageElement to WebIDL r=Ms2ger
2013-03-07 04:15:23 -05:00
David Zbarsky
d6b766e205
Bug 847116: WebIDL bindings for SVGFEBlendElement r=Ms2ger
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.h
2013-03-07 02:17:00 -05:00
David Zbarsky
63f9fd9256
Backed out changeset 3710f0b135b8 for wrong commit message
2013-03-07 02:16:30 -05:00