Commit Graph

88 Commits

Author SHA1 Message Date
Cameron McCormack
2ff40915ff 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
227db4073f Bug 890782 - Reflow SVG text inserted into non-display containers. r=jwatt 2013-07-12 17:13:07 +10:00
Cameron McCormack
cc69f69b39 Bug 890782 - Part 3: Inherit NS_FRAME_IS_NONDISPLAY by default. r=jwatt 2013-07-12 17:13:07 +10:00
Cameron McCormack
e57c8ad0ef 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
6aa59ecec4 Bug 890782 - Part 1: Return early in UpdateGlyphPositioning if frames are dirty. r=longsonr 2013-07-12 17:13:06 +10:00
Cameron McCormack
4308bf4c66 Bug 890756 - Remove nsSVGTextFrame2::AutoCanvasTMForMarker. r=longsonr 2013-07-08 17:39:50 +10:00
Cameron McCormack
d30b090356 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
c0e2bb6765 Bug 569722 - Implement textLength and lengthAdjust on SVG text elements. r=longsonr 2013-07-07 17:27:51 +10:00
Cameron McCormack
6e9bd2754f 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
88a08f15a2 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
bf8e851cd1 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
739e644f3b Bug 842181 - Prevent text zoom from affecting SVG text. r=dbaron 2013-06-29 13:28:50 +10:00
Cameron McCormack
e2a3c28b46 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
02d459330d 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
9d41eb15f3 Bug 886611 part 2: Rename the nsSVGUtils function SetupCairoStrokeHitGeometry() to SetupCairoStrokeGeometry() . r=longsonr 2013-06-24 23:05:32 -07:00
Cameron McCormack
e5f75898fc 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
3029aab7d0 Bug 865901 - make nsSVGTextFrame2::mPositioningDirty and mPositioningUsesPercentages SVG frame state bits. r=cam 2013-06-24 12:20:38 +01:00
Cameron McCormack
b026e38fb7 Bug 885642 - Avoid iterating SVG text frames when they are dirty. r=longsonr 2013-06-22 20:57:13 +10:00
Cameron McCormack
3f4c0a587f 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
9002dd84b5 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
Cameron McCormack
71195d88d1 Bug 877429 - Remove GlyphMetricsUpdater. r=longsonr 2013-06-12 13:19:52 +10:00
Cameron McCormack
6653c9cf7e Bug 872353 - Remove nsSVGTextFrame2::Reflow(), which is currently unused. r=longsonr 2013-06-05 17:15:31 +10:00
Cameron McCormack
4a5fb8a9b7 Bug 876186 - Don't do anything with fill-rule on SVG text. r=longsonr 2013-06-04 10:18:21 +10:00
Cameron McCormack
74241f8a2b 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
fc0c97f294 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
840c220491 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
b3ed03c550 Comment tweak for clarity; no bug. (DONTBUILD) 2013-06-02 21:47:48 +10:00
Cameron McCormack
a8d15f795f Bug 877575 - Don't force mPositions to be recomputed inside nsSVGTextFrame2::ReflowSVG. r=jwatt 2013-05-30 18:34:59 +10:00
Cameron McCormack
5e8ff9b6ea 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
109e949fe7 Bug 876323 - Avoid recomputing mPositions when COORD_CONTEXT_CHANGED unless percentages were used. r=jwatt 2013-05-30 10:44:55 +10:00
Jonathan Watt
b34211cc84 Bug 874846 - Stop calling NotifySVGChanged(TRANSFORM_CHANGED) in nsSVGTextFrame2::AttributeChanged. r=longsonr 2013-05-23 08:09:15 +01:00
Jonathan Watt
d1f5d8d8d3 Bug 874854 - Stop calling SchedulePaint for SVG transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Jonathan Watt
becef9b68a Bug 867596 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGTextFrame2, and use DLBI instead. r=longsonr 2013-05-22 12:30:20 +01:00
Cameron McCormack
20244c26c8 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
0e56963ada Backout d00f9ead1848 (bug 839958) for Windows reftest failure on pattern-content.svg. 2013-05-19 12:50:30 +10:00
Cameron McCormack
e7c198552c 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
Phil Ringnalda
5ad98aed12 Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures 2013-05-15 20:53:30 -07:00
Edwin Flores
a4c230a033 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
fe4c1f5f33 Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Andrea Marchesini
031eb2e92c Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger 2013-05-09 13:42:12 -04:00
Cameron McCormack
eb98cff2f3 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
fb71ffd4ce 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
Cameron McCormack
c309f38e81 Backout 66c01cdf30d2 (bug 862158) for text-layout-08.svg failure. (CLOSED TREE) 2013-04-16 18:28:21 +10:00
Cameron McCormack
cd8836d173 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
1445eb2a89 Bug 843917 - Don't call InvalidateBounds() in nsSVGTextFrame2; leave invalidation to DLBI. r=jwatt 2013-04-15 17:16:07 +10:00
Cameron McCormack
7b7c156b74 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
Cameron McCormack
32a375aae4 Bug 860378 - Reconstruct SVG text frames sooner on DOM mutations. r=longsonr 2013-04-11 18:38:40 +10:00
Cameron McCormack
1235a3318a Bug 839957 - Followup for review comment. 2013-04-10 23:04:28 +10:00
Cameron McCormack
1362a0afcf 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
b493ede929 Bug 839957 - Avoid inaccuracies when computing SVG glyph positions. r=longsonr 2013-04-10 22:58:55 +10:00