Simon Montagu
8ade1e195e
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
L. David Baron
4a7745e74d
Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett
2011-03-03 13:18:42 -08:00
timeless@mozdev.org
a602a2c382
Bug 617749 useless null check in nsSVGGlyphFrame::IsAbsolutelyPositioned
...
r=jwatt a=dbaron
2011-02-15 23:52:55 -08:00
Jonathan Watt
e9766e8961
Bug 619955. 'pointer-events' broken on SVG text. r=longsonr, a=roc.
...
--HG--
extra : rebase_source : 69ebfac4019f926014c957c9984cc6d6795016b3
2011-01-28 19:35:35 +13:00
Jonathan Kew
8bbc3bdd8a
bug 621918 - part 2 - make SVG text respect character clusters. r=roc a=roc
2011-01-11 11:17:00 +00:00
Jonathan Kew
13736eae4a
bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc
2011-01-11 11:17:00 +00:00
Simon Montagu
2d56d2efaf
Basic bidi support for SVG. Bug 620446, r=roc, a=roc
2011-01-04 00:52:17 -08:00
Robert Longson
619b5db75c
Bug 617737 - white space handling incorrect r+a=roc
2010-12-16 10:57:35 +00:00
Jonathan Watt
0265b48597
Bug 522308 - Add support for SMIL animation of the <polygon> and <polyline> element's 'points' attributes. r=longsonr,dholbert,roc a=roc
...
--HG--
extra : rebase_source : b5958bf2635db311c94191b4683d4b3f24d0232f
2010-12-08 12:15:53 +00:00
Jonathan Watt
aef4dd636f
Bug 589439. De-COMtaminate SVG number lists and support for SMIL animation of SVG number lists. a=roc r=roc,longsonr,dholbert.
...
--HG--
extra : rebase_source : eabed292053e9f63e025dc44b9f5a6c2017f626a
2010-12-03 16:40:23 +00:00
Robert Longson
41d05ab40a
Bug 611975 - text with gradient on stroke breaks when fill of any kind exists r=roc,a=blocking-final+
2010-11-27 09:24:32 +00:00
Ehsan Akhgari
f7d3bd395c
Backed out changeset 86c3a0e9fa87 because of the Windows optimize reftest failure
2010-11-23 14:26:31 -05:00
Robert Longson
4a68c2a358
Bug 611975 - text with gradient on stroke breaks when fill of any kind exists r=roc,a=blocking-final+
2010-11-22 22:59:03 +00:00
Robert Longson
86facd52c1
Bug 595209 patch 1 - stroke scales badly with positioned glyphs r=roc,a=blocking-final+
2010-10-29 08:18:03 +01:00
Robert Longson
0201c82775
Bug 484953 - speed up display of text that is both stroked and filled r+a=roc
2010-11-02 05:40:30 +00:00
Robert Longson
4212366871
Bug 468035 - turn off optional ligatures when drawing textPaths or positioned glyphs r+a=roc
2010-10-17 17:27:48 +01:00
Robert Longson
9be7915c59
Bug 599813 - nsSVGGlyphFrame::getCharacterData is expensive avoid calling it too many times. r+a=roc
2010-10-14 05:16:48 +01:00
KUROSAWA, Takeshi
6692b57dcc
Bug 333698 - Fix x and y positioning of nested tspans; r=longsonr; a=roc
2010-09-18 12:46:48 +09:00
Robert Longson
83b62023a0
Bug 590291. r=dholbert,a=blocking2.0
2010-09-10 20:58:48 +01:00
Robert O'Callahan
8cbf8e9f2a
Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt
2010-08-20 14:29:01 -05:00
Chris Jones
308355c7a0
Backed out changeset cebb111fbfc4
2010-08-19 19:03:56 -05:00
Robert O'Callahan
3ecd0a2a97
Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt
2010-08-19 13:49:35 -05:00
Jonathan Watt
fe8a477f84
Bug 515116. DeCOMify SVG length-list, and implement SMIL animation of length-list. r=longsonr, r=dholbert, sr=roc
2010-07-16 22:42:12 +01:00
Jonathan Kew
1341e3f276
bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron
2010-07-13 21:30:42 +01:00
timeless@mozdev.org
96aae71c09
Bug 562428 - comparison between signed and unsigned integer expressions in nsSVGGlyphFrame::GetCharNumAtPosition, r=roc
2010-04-28 12:46:00 -07:00
Robert Longson
865f529f51
Bug 521636 - A single rotate number should rotate all glyphs. r=roc
2010-03-31 09:57:28 +01:00
Robert Longson
11cc4a0089
Bug 388547 - initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc
2010-03-30 11:21:19 +01:00
Robert Longson
b14f3d12d5
Bug 550362 - Too much recursion through nsSVGEffects::InvalidateRenderingObservers with nested textPath. r=roc
2010-03-10 15:38:14 +00:00
Jonathan Kew
3d28b28018
Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats
2010-02-24 09:57:57 -08:00
Jonathan Kew
e9d0f828e0
Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats
2010-02-24 09:57:44 -08:00
Jonathan Kew
c3e4dd3c2e
Bug 546813 - honor the language in the frame's styleContext when selecting fonts in SVG. r=jwatt
2010-02-21 11:13:54 -08:00
Olli Pettay
2f4c5ea761
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Robert Longson
3813a31710
Bug 520506 - Incorrect text getBBox in SVG. r=jwatt
2009-11-18 20:59:24 +00:00
Jonathan Watt
6fd3e51824
Bug 523481. Restore the group opacity optimization that was broken by the patch for bug 455984. r=longsonr@gmail.com
2009-10-21 13:32:57 +02:00
Robert Longson
1507843db2
Backout Bug 388547 due to Mac test orange
2009-10-11 14:03:06 +01:00
Robert Longson
bbaa60b7ef
Bug 388547 - Initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc
2009-10-11 12:44:33 +01:00
Mats Palmgren
90fe0851f3
Bug 233463, patch 4 - Make nsIFrame::mNextSibling private. r=bzbarsky
2009-09-18 13:09:36 +02:00
Mats Palmgren
948203eb7d
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Zack Weinberg
17eb5a6efc
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Jonathan Watt
ed42a30cb8
Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron.
2009-08-26 20:53:35 -07:00
Robert O'Callahan
cba39f15c7
Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
...
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
Robert O'Callahan
14dbcb0874
Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
...
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +12:00
Robert Longson
04852f4c7a
Bug 500174 - pointer-events=all not registering on non-visible stroke. r=roc
2009-07-12 19:50:45 +01:00
timeless@mozdev.org
e6bce749e6
Bug 494690. Remove unused function UncompressIndex. r=jwatt
2009-06-18 13:40:13 +02:00
Robert Longson
7b3cd99d48
Bug 496989 - Simplify text/glyph interface. r=jwatt
2009-06-17 22:05:02 +01:00
Arpad Borsos
be212f351c
Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc
2009-05-29 12:15:40 +02:00
Jonathan Watt
f34d9fa3aa
Bug 488314. Kill SetMatrixPropagation, part 1. r=roc
2009-04-29 06:31:34 +02:00
Ryo Onodera
1f1ccaea82
Bug 489718 - image-rendering and text-rendering hints should operate when clipping. r=longsonr
2009-04-24 14:11:03 +01:00
Jonathan Watt
af735602d3
Bug 465996. Small objects that are scaled up don't get invalidated correctly. r=roc
2009-03-31 14:19:39 +02:00
Olli Pettay
17e799fb0a
Additional patch for Bug 425265, r+sr=bz
2009-03-30 22:03:42 +03:00
Olli Pettay
52a6331cea
Bug 482976 - Crash [@ nsTextFrame::Reflow] on print preview with quote, r+sr=roc
2009-03-18 12:45:00 +02:00
Robert Longson
cd32c05a9c
Bug 483439 - text with stroke and fill causes crashes. r+sr=roc
2009-03-16 11:59:23 +00:00
Olli Pettay
468b832900
Bug 425265, r=roc, sr=bz
2009-03-08 21:01:02 +02:00
Jonathan Kew
94391277aa
Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
...
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
Jonathan Kew
01ca4ad69e
Bug 478792 - prefer glyph advance rather than ink extent; r+sr=roc
2009-02-23 02:19:30 +01:00
L. David Baron
f8774a93ef
Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky
2009-01-29 12:39:18 -08:00
Boris Zbarsky
ea8c0a5865
Bug 473390 part 16. Move around SVG assertions so that they happen in frame init, not during frame creation. r=jwatt, sr=roc
2009-01-19 13:31:34 -05:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Martin Stránský
bbe42c7104
b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad
2008-12-17 16:17:50 +13:00
Karl Tomlinson
5286ba753b
backout b=403513 due to compile error in gfxFontSelectionTest.cpp
2008-12-17 13:57:40 +13:00
Martin Stránský
12cfd5e1c9
b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad
2008-12-17 13:44:32 +13:00
Robert Longson
2e6127ba6e
Bug 437704. Always union fill extents with stroke extents instead of just relying on stroke extents, in case they turn out to be empty. r+sr=roc
2008-12-03 14:35:42 +13:00
Robert Longson
beb1a27d17
Bug 463934 - text bounds do not account for position properly
...
Landing this to see if it fixes bug 465222 - tsvg regression November 3 2008
r=roc, sr=roc, a1.9.1=beltzner
2008-11-29 11:23:57 -08:00
Robert Longson
eb5eeff1a2
Bug 460946 - getBoundingClientRect on rotated svgElement with stroke is incorrect. r+sr=roc
2008-11-03 10:04:25 +00:00
Bernd
6777c42861
bug 258377, make border collapsed tables to listen for dynamic border style changes r/sr=bzbarsky
2008-10-26 11:11:34 +01:00
Robert Longson
b2d04fc41e
Bug 459758 - effects on outer svg frames only work accidentally. r+sr=roc
2008-10-20 09:42:03 +01:00
L. David Baron
9d7714304c
Make sure DidSetStyleContext methods call the base class DidSetStyleContext, and change the signature to return void. (Bug 459649) r+sr=bzbarsky
2008-10-13 18:03:28 -04:00
John Daggett
c5d2a8ddfd
Bug 441473. Implement user font set object. r+sr=roc
2008-10-01 12:01:53 +09:00
Robert O'Callahan
09cfc5fa8c
Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats
2008-10-01 13:51:05 +13:00
Robert O'Callahan
337c852320
Backing out bug 455984 to see if it fixed Tp crashes
2008-10-01 00:28:20 +13:00
Robert O'Callahan
0a5a34cbab
Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats
2008-09-30 21:47:20 +13:00
Robert Longson
e456d12fd3
Bug 456282 - getStartPositionOfChar calculates advances in incorrect coordinate system. r+sr=roc
2008-09-28 10:05:26 +01:00
Robert O'Callahan
539a029252
Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats
2008-09-11 12:24:16 +12:00
Graeme McCutcheon
b6ce570b3c
Bug 451252 - "Highlight All" find selection not visible in elements that have -moz-user-select: none set; r+sr=roc
2008-09-07 16:12:50 +02:00
Jeremy Lea
a543803324
Bug 379616. The mRect for SVG frames should be in appunits. r+sr=tor
2008-08-25 21:23:54 +12:00
Benjamin Smedberg
61d23845dc
Backed out changeset e92e18d52d71 due to the following test failures on Windows:
...
*** 31290 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect width - got 45, expected 0
*** 31291 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect height - got 20, expected 0
*** 31292 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect right - got 45, expected 0
*** 31293 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect bottom - got 20, expected 0
*** 31306 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect width - got 45, expected 0
*** 31307 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect height - got 20, expected 0
*** 31308 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect right - got 45, expected 0
*** 31309 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect bottom - got 20, expected 0
2008-08-19 12:20:16 -04:00
Jeremy Lea
9957840a6a
Bug 379616 - Switch SVG's frame mRect to app units, r+sr=tor
2008-08-19 10:14:01 -04:00
Robert Longson
991c773e4d
Bug 445685 - Improve performance with large numbers of text fragments. r=jwatt,sr=roc
2008-07-30 20:28:12 +01:00
Robert O'Callahan
bfe75b2156
Bug 445081. Refactor code to use ComputeNormalizedHypotenuse ... relanding with a fix so that we don't lose precision and break SVG text mochitests. r=longsonr,sr=mats
2008-07-15 20:46:54 +12:00
Robert O'Callahan
f90023250c
Backing out changeset 4624fef36355 (bug 445081) due to test failures on Windows and Mac
2008-07-15 16:36:19 +12:00
Robert O'Callahan
3f6b07d740
Bug 445081. Factor out code to create nsSVGUtils::ComputeNormalizedHypotenuse. r=longsonr,sr=mats
2008-07-15 15:12:40 +12:00
Robert Longson
85b5603e9c
Bug 434041 - text outline does not change thickness on zoom
2008-06-22 16:45:38 +01:00
longsonr@gmail.com
01b9637f7c
Bug 423998 - Fix repainting regression(s) and multiple invalidation bugs. r=jwatt,sr=roc,a1.9=blocking1.9+ and beltzner
2008-04-08 05:51:19 -07:00
longsonr@gmail.com
7703fc293b
Bug 426738 - SVG text in hyperlink appears to have incorrect length. r+sr=roc,a1.9=beltzner
2008-04-07 15:27:52 -07:00
longsonr@gmail.com
f3eedfbc5f
Bug 424586 - Gradients and Patterns on transformed text do not display correctly. r+sr=roc,a1.9=blocking1.9+
2008-03-31 06:40:18 -07:00
reed@reedloden.com
6248dff561
Bug 392233 - "Text kerning broken by scaling/viewBox (space between letters or letters above each other)" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=longsonr sr=vlad a=blocking1.9+]
2008-03-18 12:50:29 -07:00
roc+@cs.cmu.edu
acfc191b35
Backing out bug 392233 again
2008-03-18 01:37:48 -07:00
roc+@cs.cmu.edu
90ecd7d2cc
Bug 392233. Relanding ... make SVG text build textruns taking into account the current transform's scale. Also refactors code to simplify everything. r=longsonr,sr=vlad
2008-03-18 00:42:07 -07:00
roc+@cs.cmu.edu
52d11f6718
Backing out bug 392233.
2008-03-17 19:36:17 -07:00
roc+@cs.cmu.edu
146c08904d
Bug 392233. Take the current contxt scale into account when constructing textruns for SVG, and simplify the SVG text code. r=longsonr,sr=vlad
2008-03-17 18:45:05 -07:00
dholbert@cs.stanford.edu
ee909b17b6
Bug 422484: Add parens around macro if conditions. Patch by David Mandelin <dmandelin@mozilla.com> r=benjamin a1.9=dsicore
2008-03-12 14:47:11 -07:00
longsonr@gmail.com
25d677831d
Bug 377085 - line svg element getBBox() returns bad rect. r+sr=tor,a1.9=blocking1.9+
2008-01-27 06:55:53 -08:00
longsonr@gmail.com
0cf4994554
Bug 411555 - Text inside filter causing invalidation loop. r=jwat,sr=tor,a1.9=blocking1.9+
2008-01-25 01:27:03 -08:00
tor@cs.brown.edu
52c686c1e5
Bug 370006 - svg doesn't get scaled up on high resolution displays. r=jwatt, sr=roc
2007-12-03 20:40:52 -08:00
longsonr@gmail.com
33e3d4f7e7
Bug 399360 - Remove unused closure variable. r+sr=tor,a=roc
2007-10-21 02:05:41 -07:00
jwatt@jwatt.org
d8ce604db7
Re-checkin fix for bug 399863. We frequently call InitialUpdate() more than once on SVG frames. r=tor@acm.org, sr+a1.9=roc@ocallahan.org
2007-10-19 04:07:08 -07:00
reed@reedloden.com
a39d0b4b0a
Backout jwatt's patch for bug 399863 to help find Tp regression.
2007-10-16 17:18:11 -07:00
jwatt@jwatt.org
0b719633f9
Fixing bug 399863. We frequently call InitialUpdate() more than once on SVG frames. r=tor@acm.org, sr+a1.9=roc@ocallahan.org
2007-10-15 15:10:59 -07:00