Arpad Borsos
6db605f5b3
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
Zack Weinberg
f8316340e0
Bug 455364. Part 1: Create nsLayoutUtils::Draw*Image variants that take nsIImage*. r+sr=roc
...
--HG--
extra : rebase_source : f12e5f2f1b23d82d8df40b9a279871c5ecdb46a8
2009-01-30 20:33:57 +13:00
Nickolay Ponomarev
92b042e283
Bug 472189. Delay attribute changes for progressmeter updates via script-runnables. r=enn,sr=roc
2009-01-19 22:29:48 +13:00
L. David Baron
24ca9bf60c
Don't suppress use of overridden virtual destructors, so we fix the appearance of a leak in the leak statistics. (Bug 473548) r+sr=roc
2009-01-16 13:32:09 -08:00
Jeremy Lea
1b7e1f21f0
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
c0b8dd79be
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
507daffc50
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
b0f322f21c
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
Olli Pettay
89b7cee249
Bug 471883 - Gesture events should be dispatched to the element under mouse, not to document. r+sr=roc
2009-01-03 14:40:26 +02:00
L. David Baron
862576fc7a
Fix nsLayoutUtils::IsReallyFixedPos to work right in paginated mode. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:37 -05:00
Markus Stange
b7499a79eb
Bug 391984 - [10.5] Add roundness to context menus, r=josh sr=roc
2008-12-11 15:37:38 +01:00
L. David Baron
5ecdb26ff8
Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+
2008-12-04 08:09:53 -08:00
Robert O'Callahan
0eb43545b6
Bustage fix for bug 463307
2008-12-03 15:02:29 +13:00
Robert O'Callahan
6eeaa0e17e
Bug 463307. Convert to float a bit earlier to avoid integer overflow. r+sr=dbaron
2008-12-03 14:32:18 +13:00
Robert O'Callahan
a8f2841d96
Bug 467283. Ignore dirty rect when doing any image resampling --- it will lead to artifacts. r+sr=dbaron,r=vlad
2008-12-03 09:46:44 +13:00
Gavin Sharp
a1bc82e9c2
Bug 462887: document ignoreScrollFrame argument in nsLayoutUtils, rename it to ignoreRootScrollFrame, r=roc, sr=bzbarsky, a=beltzner
2008-11-28 14:53:33 -05:00
Robert O'Callahan
60725446bc
Bug 460012. When recreating frames for a generated content node, reframe the nearest non-generated-content ancestor. r+sr=bzbarsky
2008-11-26 11:15:41 +13:00
L. David Baron
6bcccb2f16
Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
Robert O'Callahan
99b48e74cc
Bug 464811. Snap the anchor point to pixels using a method that guarantees the source rect and the subimage rect intersect. r+sr=dbaron
2008-11-18 20:48:46 +13:00
Robert O'Callahan
89f688ab4b
Backed out changeset 0ced86fbf8ed (reftest failures)
2008-11-18 10:13:55 +13:00
Robert O'Callahan
0dfe03d1a8
Bug 464811. Tweak the anchor point snapping algorithm again. This time we have a proof that the resulting snapping algorithm guarantees the subimage rectangle intersects the logical source rectangle. r+sr=dbaron
2008-11-18 09:32:11 +13:00
Robert O'Callahan
b64222c1fc
Bug 463217. Don't let nsLayoutUtils::DrawSingleImage/DrawSingleUnscaledImage do any tiling, restrict their drawing to the single tile. r+sr=dbaron
2008-11-10 20:24:21 +13:00
Robert O'Callahan
5a88d06e85
Bug 463204. Be more careful about snapping the anchor point. We must transform the anchor point to match the snapping of the fill rect before we actually snap it to device pixels. r+sr=dbaron
2008-11-07 13:58:42 +13:00
Robert O'Callahan
bdeeace995
Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron
2008-11-04 14:01:21 -08:00
Gavin Sharp
cdb24f48bb
Bug 459604: add an optional parameter to SendMouseEvent to ignore the scroll frame, r+sr=roc
2008-10-27 16:16:23 -04:00
Taras Glek
8d3ffd0416
Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst
2008-10-09 16:23:07 -07:00
Zack Weinberg
7ea359fd75
Bug 450652 – Style system changes to support CSS3 border-radius – data structures for elliptical borders (part 1) [r+sr=dbaron]
2008-10-01 00:50:52 -05:00
John Daggett
d3e7ca5b3c
Bug 441473. Implement user font set object. r+sr=roc
2008-10-01 12:01:53 +09:00
Robert O'Callahan
9dbcb66b3f
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
f36f058bb9
Backing out bug 455984 to see if it fixed Tp crashes
2008-10-01 00:28:20 +13:00
Robert O'Callahan
bee53c87f9
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 O'Callahan
9617ccbc59
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
b971d67ca6
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc
2008-09-28 20:38:34 +13:00
Robert O'Callahan
933a4085b6
Backing out bug 448830
2008-09-26 13:10:26 +12:00
Jeremy Lea
9848d4cb07
Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc
2008-09-26 10:42:19 +12:00
Arpad Borsos
ba63ac8756
Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc
2008-09-20 15:42:03 +02:00
Keith Schwarz
728bf55458
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
L. David Baron
3f9161d33a
Convert text-shadow and box-shadow storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky
2008-09-12 20:45:37 -07:00
Zack Weinberg
10b58f92ef
Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron
2008-09-12 08:35:53 -07:00
Robert O'Callahan
6674938af5
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
Robert O'Callahan
2a98fad6e1
Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky
2008-09-04 09:35:52 +12:00
Neil Deakin
3bc01da920
Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc
2008-08-27 08:07:27 -04:00
Boris Zbarsky
c0d734f153
Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux
2008-08-25 11:08:28 -04:00
Neil Deakin
92b66a1337
Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc
2008-08-25 21:56:29 +12:00
Jeremy Lea
6241707b19
Bug 379616. The mRect for SVG frames should be in appunits. r+sr=tor
2008-08-25 21:23:54 +12:00
Robert O'Callahan
fabdf48e72
Bug 451028. Don't offset the exclusion region, it's in non-moving coordinates. r+sr=dbaron
2008-08-25 20:54:24 +12:00
Dave Camp
9434a19b68
Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295)
2008-08-19 17:55:30 -07:00
Neil Deakin
9c0c4f8ec8
Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc
2008-08-20 10:31:45 +12:00
Benjamin Smedberg
3b11f55604
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
27ccb5df10
Bug 379616 - Switch SVG's frame mRect to app units, r+sr=tor
2008-08-19 10:14:01 -04:00