L. David Baron
7762e7cea3
Honor inflation during intrinsic width computation when needed. (Bug 706609, patch 6) r=roc
...
This is the second of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
c6e45feee7
Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
...
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
Jonathan Watt
8072160118
Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron.
2012-01-24 13:09:55 +00:00
Jonathan Kew
53966e2d5b
bug 715471 - use fallible allocation for potentially large buffers in nsTextFrameThebes.cpp. r=roc
2012-01-14 22:19:51 +00:00
Ed Morley
8596bb8693
Backout 148044813372 (bug 715471) for multiple test failures
2012-01-13 11:26:13 +00:00
Jonathan Kew
9b223bab6c
bug 715471 - use fallible allocation for potentially large buffers in nsTextFrameThebes.cpp. r=roc
2012-01-13 10:35:02 +00:00
Josh Matthews
92015cd1a3
Bug 454790 - Allow programmatic selection of -moz-user-select: none frames. r=roc
2012-01-12 15:59:19 -05:00
Simon Montagu
05a473db9b
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 19:52:21 +02:00
Ed Morley
43419f9fe4
Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange
2012-01-12 15:33:00 +00:00
Simon Montagu
b3670a6ae6
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 16:29:20 +02:00
Jonathan Kew
08330b4926
bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
6163793bb9
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Ehsan Akhgari
3f42f8f971
Bug 713856 - Dynamic change of DOM in lists before block element creates blank line; r=roc
2011-12-30 17:22:47 -05:00
Mats Palmgren
dd309f6c66
Bug 700031 - "ASSERTION: Can only call this on frames that have been reflowed" with too-deep frame tree. r=roc
2011-12-29 14:21:00 +01:00
Nicholas Nethercote
c8d93dc02b
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Mats Palmgren
8f89cccd9c
Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug
2011-12-20 10:15:41 +01:00
Matt Brubeck
e08921e659
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Edwin Flores
7c994a9d4a
Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc
2011-12-18 21:53:03 +13:00
Alexander Surkov
a9a2be1a62
Bug 706335 - Remove text accesible getting no text inside a preformatted area, r=marcoz, bz
2011-12-02 16:52:56 +08:00
L. David Baron
9c95c3d00a
Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
...
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets): see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
L. David Baron
e34405d957
Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
...
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
L. David Baron
97629a87c3
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
31b2fc485d
Apply font size inflation to text. (Bug 627842, patch 9) r=roc
...
This applies the font size inflation to reflow and painting of text
frames. However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-23 18:48:23 -08:00
L. David Baron
e6642f6c52
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
40974741eb
Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc
2011-11-23 18:48:23 -08:00
Matt Woodrow
725c6f1c6e
Bug 700240 - Print contents of TextFrames. r=mats
2011-11-17 16:44:16 +13:00
Phil Ringnalda
ca35acf2cc
Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
2011-11-14 22:12:31 -08:00
L. David Baron
1f62bc4f5b
Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
...
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets): see all the callers of GetFontMetricsFor*
in those directories.
2011-11-15 17:02:01 +13:00
L. David Baron
f3b743c49f
Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
...
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-15 17:02:01 +13:00
L. David Baron
d167275b04
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
16729c8883
Apply font size inflation to text. (Bug 627842, patch 9) r=roc
...
This applies the font size inflation to reflow and painting of text
frames. However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-15 17:02:01 +13:00
L. David Baron
1498e5b64d
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
e347334250
Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc
2011-11-15 17:02:01 +13:00
Timothy Nikkel
6cad36e530
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-21 12:45:32 -05:00
Timothy Nikkel
7db17f1e77
Backout 18f70ede04b0 (bug 694213).
2011-10-20 20:59:47 -05:00
Timothy Nikkel
268868270b
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-20 12:44:28 -05:00
David Bolter
277860211d
Bug 680085 - Don't traverse dirty text frames when computing rendered text. r=roc
...
We now bail in GetRenderedText when we encounter dirty text frames. This should be okay since dirty text frames should be reflowed at some point and we'll refresh our accessible text cache. (relanding)
2011-10-19 09:05:18 -04:00
David Bolter
d3466588f2
Backout 783daf190579 (Bug 680085). Could be causing talos deviation.
2011-10-18 15:04:46 -04:00
Timothy Nikkel
fadca8018f
Backout 8db8c9ce92c5 (bug 694213).
2011-10-18 00:41:10 -05:00
Timothy Nikkel
05e9a9beec
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-17 19:56:03 -05:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
David Bolter
ca54ee6a48
Bug 680085 - Don't traverse dirty text frames when computing rendered text. r=roc
...
We now bail in GetRenderedText when we encounter dirty text frames. This shouldm be okay since dirty text frames should be reflowed at some point and we'll refresh our accessible text cache.
2011-10-17 10:30:33 -04:00
Jeff Walden
7d613942b0
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
2011-10-10 22:50:08 -07:00
Jonathan Kew
0708bfc214
Bug 692752 - paint text-shadow after selection highlight background. r=roc
2011-10-08 17:27:14 +01:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Jonathan Kew
92578ba35f
bug 686497 - avoid passing excessively long wavy-underline path to cairo for stroking. r=roc
2011-09-16 20:23:29 +01:00
Masayuki Nakano
249d3a0682
Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
Ed Morley
e65a9506e5
Merge last green changeset of m-c to m-i
2011-08-26 10:26:46 +01:00