Scott Johnson
007805b37d
Backout cset a476b7988f63 from bug 666446 while we sort out regressions
2011-10-07 00:25:48 -07:00
Scott Johnson
639273b6cc
Bug 666446, Part 3/18 - Create hook functions in nsLayoutUtils to coalesce some of the new code for frame-like objects and avoid code duplication. [r=roc]
2011-10-03 13:39:05 -07:00
Ehsan Akhgari
de3e3fd8ee
Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky
2011-05-12 00:04:30 -04: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
Boris Zbarsky
88ac1e818d
Bug 444641 part 4. Remove the data: special-casing for images in canvas, since we now set the right principal for data: images. r=roc
2011-09-20 17:00:42 -04:00
Boris Zbarsky
d8fa13275b
Bug 685518 part 1. Look at the image CORS mode for drawImage into a canvas 2d context. r=roc
2011-09-09 17:58:35 -04:00
Robert O'Callahan
3ebb8ae6a6
Bug 685404. Make callers of nsDisplayList::HitTest use nsAutoTArrays to reduce allocations. r=tnikkel
2011-09-08 17:29:54 -04:00
Matt Woodrow
ad6e83d2d4
Bug 681858 - Improve performance of gfx3DMatrix multiplication by reverting to 2d operations where possible. r=derf
2011-08-27 12:07:05 +12:00
Mats Palmgren
4e2a044a66
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
1bfd788e19
Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
...
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
L. David Baron
8edbaa2d41
Fix nsLayoutUtils::ComputeSizeWithIntrinsicDimensions to produce correct results when one of the tentative height/width (i.e., the intrinsic height/width) is 0. (Bug 677091) r=roc
...
When either the intrinsic width or the intrinsic height is 0, the
element does not have an intrinsic ratio, and thus the table that
ComputeAutoSizeWithIntrinsicDimensions is implementing technically
doesn't apply. However, it can quite straightforwardly produce the
correct results despite that, if we correctly apply the
min/max-width/height properties.
2011-08-17 17:54:59 -07:00
L. David Baron
d6fd817fc7
Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
...
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
Mats Palmgren
589e36e849
Bug 663375 - When text color is darkened, darken text-decoration color too. r=dbaron
2011-08-09 17:14:36 +02:00
Jeff Walden
e79cfda6d9
Bug 609714 - Properly compute background image size for vector background images lacking intrinsic sizes or an intrinsic aspect ratio. r=dholbert, r=dbaron
2011-01-13 04:40:12 -06:00
Neil Deakin
072983f3c3
Bug 585069, support ratio scaling for xul images, r=dbaron
2011-08-05 15:24:24 -04:00
Matt Woodrow
db1c6d56f3
Bug 505115 - Part 11b - Layout changes to use a z component for -moz-transform-origin. r=roc
2011-08-03 15:04:23 +12:00
Matt Woodrow
efeba44259
Bug 505115 - Part 8c - Use ray tracing to untransform 2d points on a 3d plane. r=roc
2011-08-03 15:04:21 +12:00
Matt Woodrow
5c2965a418
Bug 505115 - Part 6 - Implement the 3d -moz-transform functions. r=dbaron
2011-08-03 15:04:19 +12:00
Chris Lord
816e0b537c
Bug 669851 - Use bilinear image scaling on all ARM devices, even without NEON [r=mbrubeck,jmuizelaar]
2011-07-07 03:08:00 -07:00
Matt Woodrow
eedad1949e
Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc
2011-07-23 10:28:51 +12:00
Simon Montagu
1f18554f1f
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
Mats Palmgren
6407f856db
Bug 668919 - The ellipsis with text-overflow: ellipsis is sometimes one pixel too low. r=roc
2011-07-04 07:47:59 +02:00
Michael Ventnor
e8aab70d53
Previous checkin was for Bug 666689
2011-07-01 16:48:30 +10:00
Michael Ventnor
d50e0e7799
Implement text-shadow for the text-overflow marker text (ellipsis) r=roc
2011-07-01 16:43:11 +10:00
Craig Topper
d1acc42088
Bug 654369 - Part 11: Remove OOM checks from layout/base r=bz
2011-04-28 22:02:40 -07:00
Mats Palmgren
c12d6a33ea
Bug 312156 - Implement CSS3 text-overflow. r=roc
2011-06-22 20:11:48 +02:00
Robert O'Callahan
923e237a78
Bug 637852. Part 12: Dump layer trees and display lists to stdout instead of stderr so that they stay in order with window.dump() and other output. r=tnikkel
2011-06-23 00:11:28 +12:00
Jonathan Kew
0b57decfa0
bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc
2011-06-16 07:31:36 +01:00
Jonathan Kew
8262321e2b
bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky
2011-06-16 07:31:36 +01:00
Ehsan Akhgari
b7ef4a3b6f
Backout bug 467669 and bug 660088
2011-06-15 16:52:48 -04:00
Jonathan Kew
fecb89b377
bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc
2011-06-15 20:17:51 +01:00
Jonathan Kew
10e9574efa
bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky
2011-06-15 20:17:50 +01:00
L. David Baron
810fdf11a6
Remove notion of percentage of intrinsic size: remove code that handles percentages (which are no longer set thanks to the previous patch) and make them invalid. (Bug 611099) r=dholbert
...
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
Ed Morley
6e443492c7
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Matt Brubeck
c2fb56752b
Bug 598736 - Use bilinear image scaling when NEON is available [r=jrmuizel]
2011-04-08 10:15:37 -07:00
Jim Mathies
83143d8607
Bug 633282 - Accumulate exclude glass regions during painting and update the widget opaque region info. r=roc.
2011-05-13 11:40:46 -05:00
Tatiana Meshkova
4a73a82d7d
Bug 653133 - Fennec crashes when loading a page with huge background-attachment:fixed background r=roc
2011-05-09 11:40:09 +03:00
Simon Montagu
b5f2348b59
Back out bug 263359 and bug 624798 because of performance regressions (bug 650189)
2011-04-27 11:47:18 +03:00
Zack Weinberg
0797b06d99
Bug 651017, part 5: mechanical changes.
2011-04-16 18:22:44 -07:00
Robert O'Callahan
9373026789
Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones
2011-04-19 15:07:48 +12:00
Robert O'Callahan
fdc41c7a5a
Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
Robert O'Callahan
ffd5268cd1
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Zack Weinberg
12c96408b6
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
63aa6196ff
Bug 174055, part 5: prune unused and unimplemented methods.
2011-04-07 20:07:27 -07:00
Zack Weinberg
2da91ac5cb
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Zack Weinberg
e93c385aef
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Zack Weinberg
c6e8ebe0e0
Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
2011-04-07 18:04:40 -07:00
Zack Weinberg
fc6685866d
Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
2011-04-07 18:04:40 -07:00
Jan Küchler
8774547613
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
2011-04-07 18:04:40 -07:00
Jan Küchler
ed48629385
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
2011-04-07 18:04:39 -07:00