Robert O'Callahan
36d533de88
Bug 637852. Part 24: Fix scale/translate order in DrawThebesLayer. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
2c76301582
Bug 637852. Part 23: Fix incorrect call to 'abs'. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
432a81c01e
Bug 637852. Part 22: Detect when the contents of a ThebesLayer have shifted by a subpixel amount and repaint the entire layer when that happens. r=tnikkel
...
This fixes artifacts when we're scrolling inside scaled content, and includes a test for that (which fails without
this code change).
2011-06-23 00:11:28 +12:00
Robert O'Callahan
779fca303f
Bug 637852. Part 21: Skip invalidation if aRegionToInvalidateIsEmpty (note that ScaleRoundOut on an empty bounds rect can return a non-empty rect). r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
0c48fabd49
Bug 637852. Part 18: Support computing the "residual transform" for a ThebesLayer --- the difference between its snapped transform and the ideal transform --- and use it to align ThebesLayer drawing for transforms that aren't changing. r=tnikkel
...
This fixes bug 637597 and probably other bugs.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
59cfc47b23
Bug 637852. Part 17: Tighten up AreLayersMarkedActive so we track exactly what properties are changing. Also, clamp resolution to power-of-2 only if the frame's transform has a scale. r=tnikkel
...
This lets us avoid clamping the scale in more situations. We should only clamp the scale when we think
the scale is changing due to a changing transform --- the goal of clamping is to not have to redraw the content
too often when the content is zooming in or out.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
c65d66ca40
Bug 637852. Part 15: Don't round mOuterRect/mInnerRect if there's a scale factor in the current transform. r=joe
...
This avoids losing information when we're drawing into a high-resolution ThebesLayer. It works well with the
previous patch; for identity scale, this rounding of the inner/outer rects ensures pixel alignment of the edges,
but with non-identity scale the rectangle snapping ensures pixel alignment of the edges. This fixes reftest failures.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
e90667f7e7
Bug 637852. Part 14: Try to use snappable rects to draw solid borders instead of using stroke, when a scaling transform is present. r=joe
...
The goal here is to avoid antialiased border edges when drawing into high-resolution ThebesLayers. This fixes test failures.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
8a76eeceb9
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
Robert O'Callahan
fcf2510a5d
Bug 637852. Part 6: Implement resolution scaling in FrameLayerBuilder. r=tnikkel
...
FrameLayerBuilder::BuildContainerLayerFor takes responsibility for resolution scaling. The ContainerParameters
passed in are added to any transform requested. Then we extract the scale part of the transform, round the scale
up to the nearest power of two if the transform may be actively animated (so we don't have to redraw layer contents
constantly), pass that scale down to be applied by each child and set the residual transform on the ContainerLayer.
For child layers built via BuildLayer, we just pass the requested scale factor in via the ContainerParameters.
If the returned layer is a ContainerLayer then BuildLayer is guaranteed to have already done necessary scaling.
If the returned layer is not a ContainerLayer then we apply the scale ourselves by adding the scale to the
child layer's transform.
For child ThebesLayers containing non-layer display items, we scale the drawing of those display items so that
the child ThebesLayers are simply larger or smaller (larger or smaller visible regions).
We have to scale all visible rects, clip rects etc that are in the coordinates of ThebesLayers or the parent
ContainerLayer. To keep things simple we do this whenever we convert from appunits to integer layer coordinates.
When a ThebesLayer's resolution changes we need to rerender the whole thing.
nsDisplayList::PaintForFrame needs to respect the presshell's resolution setting. We do that by building a layer tree
with a ContainerParameters requesting a scale up by the presshell resolution; once that layer tree is built, we
adjust the root layer transform to scale back down by the resolution.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
93793566d0
Bug 637852: Part 5: Create ContainerParameters structure to carry resolution scale factors through layer creation. r=tnikkel
...
This patch shouldn't change any behavior. It just passes the ContainerParameters around, which will contain scale factors that should have been
applied when BuildLayer returns a ContainerLayer.
This patch also adds an aTransform parameter to BuildContainerLayerFor, which nsDisplayTransform uses to set the
transform for the ContainerLayer. This way BuildContainerLayerFor knows what the container's transform is going to be
before constructing the children, which in the next patch will let us construct the children with the right resolution.
2011-06-23 00:11:27 +12:00
Ehsan Akhgari
d71311ff57
Merge mozilla-central into mozilla-inbound
2011-06-20 23:42:45 -04:00
Jesse Ruderman
61fa0ff0dc
Add crashtest from bug 468563
2011-06-20 11:42:05 -07:00
Jesse Ruderman
dcb67c9321
Add crashtest from bug 576649
2011-06-20 11:42:05 -07:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6469811981
Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron
2011-06-20 16:47:09 -07:00
Jan Varga
6976400f8a
Bug 617528 Part 1 - Dispatch shift right click (contextmenu event) only to chrome. r=smaug
2011-06-19 11:23:12 +02:00
Mounir Lamouri
38dbd10996
Merging mozilla-central with mozilla-inbound.
2011-06-17 15:26:17 +02:00
Olli Pettay
4cf87abbdd
Bug 664434 - Make sure to Destroy the old document when setting a new print document, r=roc
...
--HG--
extra : rebase_source : b75688d5320d9dcaf59468bd5def2fa7f2e0bbc0
2011-06-16 21:20:13 +03:00
Jonathan Watt
7180e71d16
Bug 664130 - Document what GetFrameBoundsForTransform is about. r=roc.
2011-06-16 12:06:05 +01:00
Jonathan Watt
ca1a7d021c
Bug 664130 - Document what GetOpaqueRegion is useful for. r=roc.
2011-06-16 12:06:05 +01:00
Simon Montagu
89980a75a5
Don't overshoot the last sibling when iterating frames. Bug 663295 (whitespace change with correct bug number)
2011-06-15 10:51:36 +03:00
Simon Montagu
6ed0b74316
Force newlines only at 0xa, not 0xd. Bug 663662, r=roc
2011-06-15 10:45:57 +03:00
Simon Montagu
47b3950db7
Include continuations of frames with no newline. Bug 582181, r=roc
2011-06-15 10:45:57 +03:00
Simon Montagu
a72fe31c09
Tests for bug 582181, r=roc
2011-06-15 10:45:57 +03:00
Simon Montagu
f54e10d007
Don't overshoot the last sibling when iterating frames. Bug 66329, r=roc
2011-06-15 10:45:57 +03:00
Jonathan Watt
eb919c62a6
Bug 664130 - Document what GetFrameBoundsForTransform is about. r=roc.
...
--HG--
extra : rebase_source : dd1843b385b0976bd318dff6cc7c59ef15970f32
2011-06-16 12:06:05 +01:00
Jonathan Watt
5ca642d50a
Bug 664130 - Document what GetOpaqueRegion is useful for. r=roc.
...
--HG--
extra : rebase_source : abde1fd28975506a58068725e5cbb660620760f8
2011-06-16 12:06:05 +01:00
Jonathan Kew
a1f20e4fc8
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
57533f6cff
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
Jonas Sicking
e82dadd3d8
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Jonas Sicking
cc4977777e
Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv
2011-06-14 00:56:48 -07:00
Ms2ger
c665a4e4c0
Bug 664123 - Backout bugs 659053 and 659539 (changesets 9c49f69d8bab-1b11c64ffcdf)
2011-06-14 16:25:51 +02:00
Jonas Sicking
5f95458332
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Jonas Sicking
17ec46a39a
Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv
2011-06-14 00:56:48 -07:00
L. David Baron
21f6d8d9c6
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
Ms2ger
a2b407958f
Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv
2011-06-11 09:52:24 +02:00
Michael Ventnor
383f357ec8
Bug 663028 - Make Print Preview themable with CSS, and modernize its look r=roc
2011-06-10 20:07:26 +10:00
Josh Matthews
ca55b62a74
Bug 662795 - Remove flaky timeout from 331883-1.html. Also remove identical test 331883-2.html. r=roc
2011-06-09 18:11:13 -04:00
Robert O'Callahan
44dafb791e
Bug 661471. Part 6.2: Handle dynamic changes to Cleartype enabled/disabled. r=jfkthame
2011-06-09 08:13:05 +01:00
Simon Montagu
5f837e067e
Bug 263359 part 4: resolve paragraph on encountering line breaks in preformatted elements. r=roc
2011-04-11 11:00:28 +03:00
Simon Montagu
d98c8e53c9
Crash test for bug 645193 by Jesse Ruderman
2011-06-09 09:29:09 +03:00
Simon Montagu
a9abba06f6
Tests for bug 263359
2011-04-11 10:59:30 +03:00
Simon Montagu
d6c4e27ab0
Bug 263359/Bug 229367: resolve paragraph on encountering <br> or embedded block elements. r=roc
2011-04-11 10:59:30 +03:00
Simon Montagu
850bca2f79
Test for bug 650489 by Jesse Ruderman
2011-06-09 09:29:09 +03:00
Simon Montagu
f4ee5d6a7d
Bug 263359 part 2.5: cache lines per frame in TraverseFrames. r=roc
2011-06-09 09:29:08 +03:00
Simon Montagu
5b26bf5ace
Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc
2011-04-11 10:59:30 +03:00
Simon Montagu
b202223ff2
Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc
2011-04-11 10:59:30 +03:00
Simon Montagu
a156186d20
Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc
2011-04-11 10:59:30 +03:00
Tatiana Meshkova
f6e4538720
Bug 653133 - Crashtest for huge background-attachment:fixed background [r=cjones]
2011-05-13 17:00:01 +03:00
Tatiana Meshkova
a65e2eeb90
Bug 653133 - Recover PRPackedBools order [r=roc]
2011-05-13 15:23:19 +03:00
Mounir Lamouri
af81ce3c72
Merging cedar with mozilla-central.
2011-06-03 12:06:08 +02:00
Matheus Kerschbaum
7406ce377f
Bug 660762 - Remove --disable-mathml support. r=roc
2011-06-02 13:11:33 +02:00
Boris Zbarsky
b63424b026
Bug 655549 and bug 645768. Rejigger the quirk table color rule to work more reliably. r=dbaron
2011-06-01 07:43:31 -04:00
Mounir Lamouri
0c784be5a4
Merging cedar with mozilla-central.
2011-06-01 10:06:55 +02:00
Boris Zbarsky
7867f56859
Bug 598833 part 7. Make IntrinsicState protected. r=smaug
2011-05-31 21:46:57 -04:00
Jonathan Protzenko
f8876b89e0
Bug 659666 - PSM passes uninitialized value for inout checkValue argument of promptPassword r=jdm
2011-05-31 20:17:57 +02:00
Robert O'Callahan
177089e111
Bug 646757. Don't snap display item bounds during hit-testing. r=tnikkel
2011-05-31 09:44:10 +12:00
Ed Morley
ba1cdb5896
Bug 617539 - Integrate nsIMarkupDocumentViewer_MOZILLA_2_0_BRANCH back into the main interface; r=smontagu
2011-05-30 18:36:23 +02:00
Dominic Fandrey
0ab2f46136
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Ms2ger
d2ff8b2932
Bug 660657 - Make nsCSSRendering::Init return void; r=roc
2011-06-02 14:56:46 +02:00
Ms2ger
e97c66dfd4
Bug 660604 - Remove nsIHTMLDocument::GetBodyContentExternal; r=jst
2011-06-02 14:56:46 +02:00
Ehsan Akhgari
13d84f740f
Backout bug 467669 and bug 660088
2011-06-15 16:52:48 -04:00
Jonathan Kew
15913e950c
bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc
...
--HG--
extra : rebase_source : 97bab01d80e49e179e8f675ca1ec1e067d7b56ec
2011-06-15 20:17:51 +01:00
Jonathan Kew
e4e073884b
bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky
...
--HG--
extra : rebase_source : 3d7699c4a201bafdfa1d97ba97117a497303c1b5
2011-06-15 20:17:50 +01:00
Ed Morley
9e71e5b9ac
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Masayuki Nakano
85c451e309
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Ms2ger
35e44f908f
Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz
2011-05-28 09:43:57 +02:00
Masayuki Nakano
2b6aea130f
Bug 660401 Re-land the previous backed out patch
2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235
Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression
2011-05-28 13:50:19 +09:00
Masayuki Nakano
387ea6f111
Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc
2011-05-27 13:53:03 +09:00
Masayuki Nakano
1f171993d1
Bug 659820 part.4 Replace nsContentUtils::Get(Char|String)Pref() with Preferences::GetC?String() r=roc
2011-05-27 13:53:03 +09:00
Ehsan Akhgari
01360016f7
Bug 634406 - Don't select past the trailing BR node in text fields when performing the SelectAll operation; r=roc
2011-05-25 16:30:14 -04:00
Oleg Romashin
d3b5094cab
Bug 657844 - SynthesizeMouseMove calls should be disabled in fennec r=bzbarsky
2011-05-22 09:55:55 -07:00
Mounir Lamouri
dc834941e6
Merging cedar with mozilla-central.
2011-05-25 10:03:25 +02:00
Jonathan Watt
47f6a46ada
Bug 614732 part 2 - Doc changes (clarify why nsDisplayTransform requires a bounds rect, and correctly associate nsStyleTransformMatrix's doxygen comment with it). r=roc.
2011-05-25 09:01:11 +01:00
Boris Zbarsky
b9d0413149
Bug 631529. Pass a TreeMatchContext into ReResolveStyleContext so that we can share the nth-index cache across the entire reresolution. r=dbaron
2011-05-24 20:19:09 -04:00
Matt Brubeck
ec953fc5a6
Merge cedar to mozilla-central
2011-05-24 14:55:37 -07:00
Masayuki Nakano
49814a538d
Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc
2011-05-25 15:32:00 +09:00
Masayuki Nakano
060287addd
Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc
2011-05-25 15:31:59 +09:00
Daniel Holbert
14e26f45d3
Bug 646180: Reorder nsPresContext init list to fix build warning. r=roc
2011-05-24 03:36:21 -07:00
Steven Michaud
3c38967408
Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff
2011-05-24 01:54:23 -05:00
Igor Bazarny
b829003e22
bug 570341 - Initial implementation of web timing specification
...
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Jim Mathies
4327e25f5e
Backout of bug 570341 (cset:1a645ea075fc) due to test failure.
2011-05-23 19:55:36 -05:00
Igor Bazarny
dbf49a1d09
bug 570341 - Initial implementation of web timing specification
...
r=smaug sr=biesi
--HG--
extra : rebase_source : e8b233ebcf1065ea5e6df61446cfd013262a61d0
2011-05-23 14:19:36 -07:00
Matheus Kerschbaum
35f86c76ad
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Ms2ger
fb6f5dd0ca
Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug
2011-05-23 18:46:36 +02:00
Matt Brubeck
9eb38101c8
Merge cedar and mozilla-central
2011-05-23 07:39:21 -07:00
Robert O'Callahan
e9b914654e
Bug 656749. Only optimize away zero-opacity elements when we're painting, not for any other kind of display list construction such as plugin geometry. r=tnikkel
2011-05-23 12:28:47 +12:00
Robert O'Callahan
2ab1694655
Bug 628901. Ensure a MozAfterPaint event is fired after 'load'. r=ehsan
2011-05-23 12:25:56 +12:00
Daniel Holbert
969cc938e2
Backed out changeset dfeab223be6d (Bug 657844) on suspicion of causing perma-orange in test_hover.html
2011-05-22 13:25:33 -07:00
Oleg Romashin
d70ca96b06
Bug 657844 - SynthesizeMouseMove calls should be disabled in fennec r=bzbarsky
2011-05-22 09:55:55 -07:00
Craig Topper
52d9de655d
Bug 658143 - Part 2: Don't use createInstance for nsFrameSelection. r=roc
2011-05-18 22:26:45 -07:00
Craig Topper
4e38ca20a7
Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc
2011-05-18 20:10:49 -07:00
Benjamin Stover
a86e639dce
Bug 655864 Password field is not masked immediately and shows artifacts, when typing past the end of the field r=roc
2011-05-18 15:54:31 -07:00
Mounir Lamouri
3614c727b5
Merging cedar with mozilla-central.
2011-05-18 11:42:37 +02:00
Robert O'Callahan
23bf97f80c
Bug 657780. Silence pldhash warnings by shrinking ThebesLayerItemsEntry. r=tnikkel
2011-05-18 17:48:43 +12:00
Mounir Lamouri
64a8d3688b
Merging cedar with mozilla-central.
2011-05-17 15:32:32 +02:00
Robert O'Callahan
ebb22db890
Bug 648483. Record the transform used when we last painted a layer and use that to control what needs to be invalidated in the layer. r=tnikkel
2011-05-17 11:05:56 +12:00
Robert O'Callahan
eec1211b36
Bug 640899. Have test_leaf_layers_partition_browser_window.xul test maximized windows as well as normal windows; on Windows XP, don't test normal windows because we know the resizer overlaps there. r=tnikkel
2011-05-17 11:04:53 +12:00
Markus Stange
9b2334a690
Bug 596600 - Start generating window-level mouse out events at the root EventStateManager. r=smaug
...
--HG--
rename : widget/tests/test_native_mouse_mac.xul => widget/tests/test_bug596600.xul
2011-05-16 15:15:43 +02:00
Mounir Lamouri
5a2ef13b8f
Bug 655065 - Add a -moz-orient CSS property. r=bz
2011-05-10 15:47:46 +02:00
Tatiana Meshkova
7542ad5654
Bug 656167 - Temporarily disable or back out fixed layers. Visibility part. r=roc
2011-05-13 16:21:59 +03:00
Ms2ger
3388f3994d
Bug 657160 - Remove NS_NewCaret; r=ehsan,roc
2011-05-15 12:17:09 +02:00
Matt Brubeck
d4397cc6d1
Bug 598736 - Use bilinear image scaling when NEON is available [r=jrmuizel]
2011-04-08 10:15:37 -07:00
Nicholas Nethercote
30e92c3349
Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc.
2011-05-22 19:49:56 -07:00
Josh Aas
f6eb4c8df6
Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg
2011-05-17 21:48:34 -04:00
Robert O'Callahan
4c7ec4c28c
Bug 640889. Have test_leaf_layers_partition_browser_window.xul test maximized windows as well as normal windows; on Windows XP, don't test normal windows because we know the resizer overlaps there. r=tnikkel
2011-05-17 15:45:19 +02:00
Mounir Lamouri
69108eb545
Backout c0f9a84ffb2d (bug 640889) because it has been pushed with the incorrect bug number.
2011-05-17 15:43:59 +02:00
Olli Pettay
132add9eb2
Bug 307258 - Support beforeprint and afterprint events, r=mats, sr=roc
...
--HG--
extra : rebase_source : f14da5d6e282fe6ab4813c121d3366844dd89af6
2011-05-14 15:03:58 +03:00
Chris Leary
4d1fba5db8
Merge mozilla-central and tracemonkey.
2011-05-13 15:06:53 -07:00
Jim Mathies
4dc93bdb14
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
Jim Mathies
02f8ccf86e
Bug 633282 - Add support for -moz-appearance: -moz-win-exclude-glass. r=roc.
2011-05-13 11:40:46 -05:00
Jim Mathies
9b7daaeb53
Bug 633282 - manual backout of 'fixup UpdatePossiblyTransparentRegion v.3' in bug 622328 due to merge conflicts. r=tn
2011-05-13 11:40:46 -05:00
Mounir Lamouri
a497a31e83
Merging cedar with mozilla-central.
2011-05-13 10:59:05 +02:00
Robert O'Callahan
d70f70f234
Bug 654641. Make nsDisplaySolidColor::GetBounds reflect any snapping that's going on. r=tnikkel
2011-05-13 02:59:09 +12:00
Timothy Nikkel
88a07ae5c6
Bug 655267. Move the synth mouse move handling from the view manager to the pres shell. r=roc
...
I also snuck in some minor cleanup.
2011-05-11 10:49:16 -05:00
Boris Zbarsky
6ae99aa202
Bug 597291. Create nsIURI objects lazily for nsCSSValue::URL, so that we don't pay the cost of creating the ones we don't actually need. r=dbaron
...
In the new setup, the mURL member of nsCSSValue::URL stores either the actual URI pointed to or the base URI; a boolean flag keeps track of which is stored. Consumers use GetURI() to get the URI instead of raw access to mURI, and GetURI calls NS_NewURI as needed.
2011-05-11 11:28:53 -04:00
Masayuki Nakano
6a43b8a387
Bug 651694 Sort out NS_PLUGIN_EVENT r=roc
2011-05-11 13:52:44 +09:00
Ed Morley
082d53f39b
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Edmund Wong
9d6d399f4f
Bug 366774 - Removed unused preference bidi.characterset. r=smontagu
2011-05-10 20:24:43 +02:00
Tatiana Meshkova
52765d2b7e
Bug 653133 - Fennec crashes when loading a page with huge background-attachment:fixed background r=roc
2011-05-09 11:40:09 +03:00
Ehsan Akhgari
15252ef290
Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc
2011-05-12 09:52:38 -04:00
Mounir Lamouri
f412df2050
Bug 567872 - Layout part of the progress element. r=roc,dbaron
2011-05-10 14:59:07 +02:00
Olli Pettay
2731bfdf92
Bug 649170, use the same nsIWeakReference in DocumentViewer and nsPrintEngine, r=roc
2011-05-10 15:55:26 +03:00
Shawn Wilsher
f8feb2aafd
Merge for back out tracked by bug 655860. Also backs out bug 654990 because it depends on bugs in the back out range.
2011-05-09 15:52:44 -07:00
Shawn Wilsher
259bae0699
Back out bug 514437, bug 567872, bug 568825, bug 633209, bug 633913, bug 634086, bug 634088, bug 634549, bug 634551, bug 638176, bug 641517, bug 641905, bug 641942, bug 642127, and bug 642667 to undo the performance regression tracked by bug 655860.
2011-05-09 15:48:39 -07:00
Jonas Sicking
48d490b63b
Bug 650493 Part 3: Back out patch from bug 645572 as we should now always end up with correct update counts. r=ehsan
2011-05-09 12:33:03 -07:00
Jonas Sicking
0e17979856
Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv
2011-05-09 12:33:03 -07:00
Ed Morley
0c709c06be
Bug 655493 - Remove WinCE code from layout; r=roc
2011-05-09 09:56:09 -07:00
Mounir Lamouri
dc2475b233
Bug 567872 - Layout part of the progress element. r=roc,dbaron
2011-05-07 10:15:14 +02:00
Jonathan Kew
fbe1a561e7
bug 655198 - don't parse 'all' as a value for -moz-hyphens. r=dbaron
2011-05-07 16:01:01 +01:00
Boris Zbarsky
ae3f14f1ba
Merge cedar with mozilla-central
2011-05-06 20:39:36 -04:00
Ehsan Akhgari
e4c89e2e5d
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
Ehsan Akhgari
ce02059ba9
Bug 10209 - Part 1: Add an API for absolute container support for all frame types; r=roc
2011-04-27 19:41:43 -04:00
Boris Zbarsky
21d5563d9b
Bug 652401. Make sure to not have straggling JSContexts on the stack when notifying in the refresh driver. r=smaug
2011-05-05 12:26:32 -04:00
Boris Zbarsky
885c07dc20
Merge cedar with mozilla-central
2011-05-04 13:58:26 -04:00
Boris Zbarsky
be77dcd0ad
Bug 654167. Fix drawing of thin 'border-style: double' border-collapsed borders. r=roc
2011-05-04 13:57:01 -04:00
Jonathan Kew
420b112716
bug 253317 - part 1 - implement -moz-hyphens property in CSS. r=dbaron
2011-05-04 12:14:50 +01:00
Nicholas Nethercote
6ef173ddbb
Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin.
2011-05-03 17:12:58 -07:00
Zack Weinberg
bfba1f66e2
Bug 653179: fix a call to nsRenderingContext::GetWidth(). r=dholbert
2011-05-02 12:27:36 -07:00
Benjamin Stover
5eedd38c01
Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc
2011-05-01 18:53:01 -07:00
Craig Topper
0c783e4943
Bug 648885 - Part 3: Remove nsIImageMap. r=roc
...
--HG--
extra : rebase_source : 179eb2e28f555d2a6159f92aa5ccd6d0af900b2b
2011-04-26 22:51:13 -07:00
Timothy Nikkel
45cc226593
Bug 653839. Don't call DidPaint on hidden documents. This just does for DidPaint what bug 594267 did for WillPaint. r=roc
2011-05-01 20:59:15 +02:00
Mark Finkle
03e5a556ee
Backed out changeset c7f62d818af2. Causes content crashes Bug 653889
2011-04-30 00:01:29 -04:00
Benjamin Stover
95028ef26c
Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc
2011-04-29 10:15:44 -07:00
Mounir Lamouri
6a301536c7
Merge cedar with mozilla-central.
2011-04-29 16:19:07 +00:00
Kevin Gadd
f1147ca3b6
bug 632102 - Don't assert that mozAfterPaint and mozPaintCount are in sync, since that's not reliable. r=roc
2011-04-29 12:26:46 +00:00
Timothy Nikkel
baa16dc247
Bug 653125. Remove misc SVG views. r=roc
2011-04-29 12:36:02 +02:00
Boris Zbarsky
dd94d998a3
Bug 650379. Add a new XPCOM timer type that is like TYPE_REPEATING_PRECISE but does not swamp the event queue if the callback takes longer than the timer interval to run. r=cjones, sr=brendan
...
This implements proposal 3 from bug 650379 comment 13. The main difference
between TYPE_REPEATING_PRECISE and TYPE_REPEATING_PRECISE_CAN_SKIP is to not
AddTimer the REPEATING_PRECISE_CAN_SKIP timer until after the callback has run;
this guarantees that no more timer events will be posted until after the
callback finishes executing. A secondary change is to make
REPEATING_PRECISE_CAN_SKIP timers advance their firing time to mDelay from when
PostTimerEvent is called, not mDelay from the old mTimeout. While this arguably
makes them less precise, the alternative is that if a timer is significantly
delayed for some reason (e.g. because the user puts the computer to sleep for a
while) it will then fire a whole bunch of times to "catch up" to where it's
supposed to be, advancing its firing time by mDelay at a time. That seems
undesirable.
An alternate approach would have been to readd the timer from inside
PostTimerEvent, but only if we're not in the middle of firing the timer. That
would allow more precise timers in the case when the callback is not taking too
long, but still handle gracefully the case when the callback is
slow. Unfortunately this falls down if something _else_ is hogging the main
thread event loop (e.g. some other timer has a slow callback, or whatever); in
that case we would post multiple events for the one precise timer while the
event-loop-hogging operation is running. So I don't think we should do that.
2011-04-28 19:33:52 -04:00
Boris Zbarsky
b0ef240309
Bug 654989 part 2. Use the nsStyleContext handed back from CreateAnonymousContent. r=roc
...
This asserts the parts of AddFrameConstructionItems that should never matter for anonymous content and then just copies the one-line style context get if it's needed.
2011-05-06 16:04:44 -04:00
Boris Zbarsky
447ee74d8c
Bug 654989 part 1. Allow handing out both an nsIContent and an nsStyleContext from CreateAnonymousContent. r=roc
2011-05-06 16:04:44 -04:00
Timothy Nikkel
f739336f73
Bug 653129. Remove useless CreateViewForFrame calls that don't do anything anymore. r=roc
2011-04-29 15:51:09 +02:00
Blake Kaplan
a3b8fcc68e
Fixing bustage from bug 641342.
...
--HG--
extra : rebase_source : 4d0dc461bb21028b4f0dba4de8c1f925a3c85a47
2011-05-12 17:12:00 -07:00
Blake Kaplan
6f695315f5
Bug 641342 - Treat chrome DOM objects like DOM objects. r=gal/jst
2011-05-10 14:41:25 -07:00
Simon Montagu
ece92e21ce
Back out bug 263359 and bug 624798 because of performance regressions (bug 650189)
2011-04-27 11:47:18 +03:00
Philip Chee
c45f8c9efc
Backed out changeset: baf7456adc98
2011-04-25 02:19:05 +08:00
Edmund Wong
a3b03e1bec
Bug 366774 - Removed unused preference bidi.characterset.(p2) r=smontagu
2011-04-25 01:56:09 +08:00
L. David Baron
fd5f6010e1
Push a context on the stack when notifying a MediaQueryListListener. (Bug 652317) r=smaug
2011-04-23 13:19:01 -07:00
Mike Hommey
526af0ab3f
Bug 652139 - Use an integer type in DocumentViewerImpl::SetMinFontSize, instead of float. r=dbaron
...
At the same time, replace a couple (void*) casts with NS_INT32_TO_PTR.
2011-04-23 08:48:50 +02:00
Masayuki Nakano
cc0623b6e3
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
L. David Baron
f31f11de17
Should check link-related bits before reusing style context for root element. (Bug 652268) r=bzbarsky
2011-04-22 18:36:24 -07:00
L. David Baron
8d027dddb3
Don't construct image loaders for null border-image. (Bug 652052) r=bzbarsky
2011-04-22 18:36:23 -07:00
Mounir Lamouri
db44db0ebe
Merge cedar with mozilla-central.
2011-04-22 15:25:11 +02:00
L. David Baron
63862391a2
Ensure nsRefreshDriver::MostRecentRefresh tells the truth even when we stop and restart timers. (Bug 650469) r=bzbarsky
2011-04-21 20:17:32 -07:00
L. David Baron
3f90844e3c
Implement window.matchMedia for matching of media queries and notification of media query changes. (Bug 542058, patch 3) r=bzbarsky
...
This is specified at:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
2011-04-21 20:17:31 -07:00
David Zbarsky
5ecf0a2bd3
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Doug Turner
a454a2e53c
Bug 649089 - test_after_paint_pref.html should use SpecialPowers. r=jmaher, a=test-only
2011-04-20 08:52:18 -04:00
Joel Maher
2901b56356
Bug 651013 - a couple of layout/base mochitests should be moved to mochitest-chrome tests. r=roc, a=test-only
...
--HG--
rename : layout/base/tests/test_bug370436.html => layout/base/tests/chrome/test_bug370436.html
rename : layout/base/tests/test_bug420499.xul => layout/base/tests/chrome/test_bug420499.xul
2011-04-20 08:52:15 -04:00
Justin Dolske
bfd240a0f9
Bug 637160 - window-modal prompts used instead of tab-modal prompts when reentering a page using back/forward. r=bz
2011-04-19 14:18:17 -07:00
Zack Weinberg
647b7a0bfe
Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 6be7fe432488dcf2fb5b2faa0e178dccab480285
2011-04-16 21:08:22 -07:00
Zack Weinberg
dd67585463
Bug 651017, part 5: mechanical changes.
...
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
d5e47757d8
Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Zack Weinberg
51864c09d8
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Jonathan Watt
ab5a30f802
Bug 649726 - Move nsHTMLContainerFrame static view methods to nsContainerFrame. r=bz.
2011-04-19 12:55:11 +01:00
Robert O'Callahan
d4c414cf18
Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel
2011-04-19 15:07:51 +12:00
Robert O'Callahan
c9b3d6063b
Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones
2011-04-19 15:07:48 +12:00
Robert O'Callahan
72627bced2
Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
c957ae039e
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
763a5f47a7
Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones
2011-04-19 15:07:22 +12:00
Robert O'Callahan
307547d062
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
73b97e72c4
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af
Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
Ehsan Akhgari
6d0857c194
Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
...
--HG--
extra : rebase_source : 88fc16ca38ded79ca87bb861dc4cef92a69dd548
2011-04-16 19:39:34 -04:00
Zack Weinberg
2c3c349dad
Bug 174055, part 7: remove unnecessary members from nsFontMetrics.
2011-04-08 08:32:29 -07:00
Zack Weinberg
52c99aabb7
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5
Bug 174055, part 5: prune unused and unimplemented methods.
2011-04-07 20:07:27 -07:00
Zack Weinberg
42ead75834
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Zack Weinberg
299386f14c
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Zack Weinberg
f5a0843ac7
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
d8db59d068
Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 36dd32d715cb75e99cd3a69e460c000c1777d6a6
2011-04-07 18:04:40 -07:00
Zack Weinberg
c3400ef3c4
Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Zack Weinberg
9d6cdac2b1
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.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 0511852e51c2ad4d4833d6f8f2f61d46130a7151
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
0e92a9d34a
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
...
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Benjamin Stover
f31a56057f
Bug 649583 Panning regression on google reader in 2011-04-12 nightly r=roc
2011-04-13 14:12:22 -07:00
Simon Montagu
8ade1e195e
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
Jonathan Kew
99d0c392b8
bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron
2011-04-12 11:53:20 +01:00
Ms2ger
bb2faf4a3d
Bug 619996, part a: Remove unnecessary inclusions of and references to nsISelectElement.h; r=bz
2011-04-12 14:31:59 +02:00
Ms2ger
4c894d44d4
Backed out changeset 3f82f25d7334
2011-04-12 14:28:53 +02:00
Jonathan Kew
d9c320b9df
bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron
2011-04-12 11:53:20 +01:00
L. David Baron
7e86462271
ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
6f2e43e63d
Fire animation events at the correct times. (Bug 435442, patch 14) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
d1dba7e001
Implement and test animation of css3-animations. (Bug 435442, patch 11) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
f8dfd07160
Add interface for taking over the refresh driver in a test (i.e., mocking time). (Bug 435442, patch 9) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
46a3aba4b3
Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky
2011-04-11 23:18:42 -07:00
L. David Baron
9f841c864a
Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky
2011-04-11 23:18:42 -07:00
Ehsan Akhgari
81d44d11f4
Merge cedar into mozilla-central
2011-04-11 20:24:12 -04:00
Robert O'Callahan
a633551d9a
Bug 641599. Completely flush all ThebesLayers whenever the appunits-per-dev-pixel ratio changes. r=tnikkel
2011-04-11 16:57:29 -04:00
Benjamin Stover
3dc5b1f7a2
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-11 13:53:01 -07:00
Ehsan Akhgari
8e2d030028
Merge mozilla-central into cedar
2011-04-11 13:11:47 -04:00
Robert O'Callahan
35b34b5ecc
Backout for bug 279629.
2011-04-11 09:41:27 -07:00
Robert O'Callahan
79cd41dfd7
Backed out changeset 082a9df5c6f7
2011-04-11 09:39:49 -07:00
Doug Turner
bb9cf72cbb
Backing out Bug 598736 - Use bilinear image scaling on mobile. Perf regression caused. r=me
2011-04-11 09:25:59 -07:00
Ehsan Akhgari
86c2f731ab
Merge cedar into mozilla-central
2011-04-11 11:53:07 -04:00
Robert O'Callahan
6209cb624a
Bug 279629. Allow scrolling to anchors to use smooth scrolling. r=mats
2011-04-11 08:44:09 -07:00
Robert O'Callahan
acc00bd703
Bug 598854. We no longer have cases where the view to paint is not a displayroot, so remove the code that handles that. r=tnikkel
2011-04-11 08:41:18 -07:00
Simon Montagu
dab4d5a4f6
Tweak to the patch for bug 263359 to prevent regressing bug 644768, r=roc
2011-04-11 11:00:33 +03:00
Simon Montagu
26da0c0e0f
Regression test for bug 644768. r=roc
2011-04-11 11:00:33 +03:00
Simon Montagu
fb48125607
Bug 263359 part 4: resolve paragraph on encountering line breaks in preformatted elements. r=roc
2011-04-11 11:00:28 +03:00
Simon Montagu
3ddf717988
Bug 263359/Bug 229367: resolve paragraph on encountering <br> or embedded block elements. r=roc
2011-04-11 10:59:30 +03:00
Simon Montagu
6c1e539305
Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc
2011-04-11 10:59:30 +03:00
Simon Montagu
d34ed4f099
Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc
2011-04-11 10:59:30 +03:00
Simon Montagu
1eecb4f103
Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc
2011-04-11 10:59:30 +03:00
Simon Montagu
1b5ecfe658
Debugging code for Bidi resolution. NPOTDB
2011-04-11 10:59:29 +03:00
L. David Baron
ad4318958b
Back out 1edfae12015b (Bug 642246) due to mobile unittest orange.
2011-04-09 18:21:27 -07:00
Benjamin Stover
3270dd31cd
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-09 12:38:28 -07:00
Ehsan Akhgari
63da2aa651
Bug 646382 - Position the caret correctly for empty BR frames; r=roc
2011-04-08 00:35:49 -07:00
Ehsan Akhgari
02c72c47b5
Bug 645572 - Don't let the frame constructor's update count to become negative. r=sicking
...
--HG--
extra : rebase_source : 78cbdf15ff2d9bdd706db66176f65a3e4dc84c14
2011-04-08 14:29:34 -07:00
Tatiana Meshkova
29ab414108
Bug 607417 - Part 3: Visibility tricks for fixed items r=roc
...
--HG--
extra : rebase_source : 7545070d6af5ef10dd4d1504f0d456ece4fd8edb
2011-04-08 09:35:16 -07:00
Oleg Romashin
631800dfd2
Bug 607417 - Part1: position:fixed frames mark layers r=roc
...
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Jeff Muizelaar
1f284ac061
Bug 646731. Avoid float-to-double promotion in Is(Margin|Pading)Zero. r=dbaron
...
Caught with -Wdouble-promotion. This may not impact codegen but it's more
correct.
--HG--
extra : rebase_source : ca32e02b763a4bf5bbf367fdb79eb3ad3a886683
2011-04-08 10:59:52 -07:00
Matt Brubeck
170c710ac7
Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel
2011-04-08 10:15:37 -07:00
Boris Zbarsky
a63405c419
Bug 581177 part 7. Make 'may have contenteditable attr' into a boolean flag. r=sicking
2011-04-07 19:29:50 -07:00
Matheus Kerschbaum
93480c6366
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Timothy Nikkel
6a72c8927e
Bug 642977. Don't suppress painting if the document isn't loading; r=bz
2011-04-06 11:00:35 -07:00
Timothy Nikkel
8e035ecec6
Bug 643678. When documents go in the bfcache remove them from any schedule plugin geometry updates. r=roc
2011-04-06 11:00:02 -07:00
Mats Palmgren
7288597be1
Bug 640272 - Check load status for border images before trying to render them. r=bzbarsky
2011-04-04 13:41:02 +02:00
Mats Palmgren
5e7c4e1182
Bug 645423 - Initialize the poison value also for DEBUG_TRACEMALLOC_PRESARENA builds. r=dbaron
2011-04-04 13:41:02 +02:00
Robert O'Callahan
c6e4498a20
Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
...
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.
The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).
This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
Robert O'Callahan
77ab860b5c
Bug 644832. Windowless plugins inside CSS transforms should be rendered. r=tnikkel
2011-04-01 10:33:46 +13:00
Robert O'Callahan
d13eeaf01c
Bug 641770. Apply correct clip rect to a layerized image. r=tnikkel
2011-04-01 10:33:46 +13:00
Robert O'Callahan
8fd77f670c
Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel
2011-04-01 10:33:46 +13:00
Kyle Huey
e169e16015
Back out Bug 639754.
2011-03-31 09:12:20 -04:00
Kyle Huey
61ff9410c4
Backed out changeset a5dbece71e4a due to test failures
2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
1f81122982
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg
2011-03-31 07:22:55 -04:00
Ehsan Akhgari
a0f4acae30
Merge cedar into mozilla-central
2011-03-30 13:53:35 -04:00
Ehsan Akhgari
6c4d70e8f0
Bug 644428 - Position the caret correctly for empty inline frames; r=roc
2011-03-28 20:17:16 -04:00
Simon Montagu
be96a9dc94
Remove UTF-32 encoder and decoder. Bug 604317, r=emk
2011-03-30 08:35:34 +02:00
L. David Baron
ea97bc0b82
Go through the normal restyling codepath in RebuildAllStyleData so that we handle in-progress transitions correctly. (Bug 583219) r=bzbarsky
2011-03-29 20:46:13 -07:00
Florian Quèze
20b0b008d5
Bug 591341 - Add color keywords for default text and background colors. r=dbaron
2011-03-30 11:28:05 +02:00
Ms2ger
3aac8958f3
Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz
2011-03-29 22:24:54 -04:00
Ehsan Akhgari
ca0a27ab24
Merge cedar into mozilla-central
2011-03-29 10:39:07 -04:00
Boris Zbarsky
16ac67c451
Bug 645943. Initialize mLastTimerInterval correctly. r=dbaron
2011-03-29 00:41:01 -04:00
Boris Zbarsky
0a7e20bbec
Bug 313351. ContentStatesChanged should take only one argument. r=dbaron
2011-03-28 23:32:11 -04:00
Ehsan Akhgari
db0e06d061
Merge cedar into mozilla-central
2011-03-28 13:28:13 -04:00
Boris Zbarsky
c964785dea
Bug 642717. Hold strong references to our MozBeforePaint event targets. r=roc
2011-03-28 10:49:48 -04:00
Robert O'Callahan
4ca813ae6e
Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
...
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.
The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).
This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
Masayuki Nakano
a08a3877b3
Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron
2011-03-31 21:26:49 +09:00
Masayuki Nakano
264109812b
Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky
2011-03-31 21:26:35 +09:00
Ms2ger
cbadb28698
Bug 637178 - Unused variable warning in GetContentMap; r=ben
2011-02-27 10:46:00 -05:00
Boris Zbarsky
5621236360
Bug 607529. Don't trigger animation callbacks on documents that have gone away. r=roc,smaug
2011-03-25 21:05:56 -04:00
Ehsan Akhgari
9fd7693897
Merge backout of bug 263359
2011-03-25 18:16:31 -04:00
Ehsan Akhgari
ec23591598
Back out bug 263359 because it has caused bug 645119
2011-03-25 18:15:29 -04:00
Simon Montagu
cf14bed018
Bug 263359 part 5: optimization -- don't do bidi resolution if the text is monodirectional. r=roc
2011-03-24 11:28:45 +02:00
Simon Montagu
278dfd1e65
Bug 263359 part 4: resolve paragraph on encountering line breaks in preformatted elements
2011-03-24 11:28:45 +02:00
Simon Montagu
5e24d64c4b
Bug 263359 part 3: resolve paragraph on encountering <br> or embedded block elements
2011-03-24 11:28:44 +02:00
Simon Montagu
e0953392b0
Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc
2011-03-24 11:28:44 +02:00
Simon Montagu
9914a030ec
Bug 263359 part 1.5: remove nsDirectionalFrame.
2011-03-24 11:28:44 +02:00
Simon Montagu
5250ed8a4a
Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc
2011-03-24 11:28:44 +02:00
Simon Montagu
01aa874a4e
Debugging code for Bidi resolution. NPOTDB
2011-03-24 11:28:44 +02:00
Benjamin Smedberg
4f1ecb131c
Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm
2011-03-25 11:03:35 -04:00
Benjamin Smedberg
51ecdf79a2
Bug 617539 - Fold nsIContentViewer_MOZILLA_2_0_BRANCH, r=sicking
2011-03-25 11:03:34 -04:00
Benjamin Smedberg
d758fb0d7e
Bug 617539 - Fold in nsIDOMWindowUtils_MOZILLA_2_0_BRANCH, r=bz
2011-03-25 11:03:33 -04:00
L. David Baron
802da587ae
Merge layout work from projects/birch, part 2.
2011-03-23 17:39:29 -07:00
Craig Topper
72d7c1f754
Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
...
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Boris Zbarsky
be00decfac
Bug 630127. Use a precise timer when we have animation frame callbacks. r=dbaron
2011-03-07 11:58:48 -05:00
L. David Baron
be4c804463
Disable parsing of 'marker', 'run-in', and 'compact' in a less hacky way. (Bug 636029) r=bzbarsky
...
This simply removes all the code for the values. This removes a
special-case that would otherwise need to become more complicated in a
later patch in this series.
2011-03-05 09:58:33 -08:00
Boris Zbarsky
1782b07550
Bug 632907. Use Element more in the frame constructor. r=roc
2011-03-04 10:27:02 -05:00
Boris Zbarsky
f784386f4b
Bug 614733. Do exponential backoff on throttled refresh drivers. r=dbaron
2011-03-04 10:27:02 -05:00
L. David Baron
18e788b1a1
Correctly handle non-repeating radial gradients in which all stops are at the same position. (Bug 635222) r=roc
2011-03-03 13:18:42 -08:00
Alexander Surkov
34f2d0cb46
Bug 612872 - HAL/Supernova needs tweaks to our window emulation, r=davidb, sr=roc, a=davidb
2011-03-02 22:41:42 +08:00
Jonas Sicking
9adba11f73
Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst
2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298
Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner
2011-02-28 23:08:56 -08:00
Matt Woodrow
5a9d39c5e9
Bug 629857 - When invalidating transformed items, round the original area out to the nearest pixel. r=roc a=roc
2011-02-25 11:55:23 +13:00
Robert O'Callahan
20b9397753
Bug 630835. Make BuildLayer responsible for setting a visible region on the layer, and let FrameLayerBuilder only reduce it. r=tnikkel,a=blocking
...
This avoids problems with FrameLayerBuilder making the visible region bigger than we expected, invalidating CONTENT_OPAQUE flags set on the layer.
In particular, we had been using TransformBounds to compute the new visible region, and for non-axis-aligned transforms this gives us a visible
region which contains areas not actually painted by the layer contents.
2011-02-23 18:38:09 +13:00
Robert O'Callahan
f1081fb688
Bug 634232. Call WillEndTransaction/DidEndTransaction notifications for FrameLayerBuilder's temporary layer managers. r=tnikkel a=hardblocker
2011-02-20 19:28:00 -08:00
Olli Pettay
0ee7b9841d
Bug 635434, dispatch to gKeyDownTarget using the right presshell, r=enn, f=masayuki, a=hardblocker
2011-02-21 18:39:21 +02:00
Simon Montagu
f3795dcd86
Don't create or delete frames when nsTextFrame::SetLength is called from bidi resolution. Bug 635329, r+a=roc
2011-02-21 10:02:23 +02:00
Peter Van der Beken
2552abd64a
Fix for bug 633738 (quora.com bloats out of control (part 3)) - mark some known assertions caused by bug 439258. r=bz, a=jst.
2011-02-17 12:19:13 +01:00
Daniel Holbert
e110c6b795
Bug 596765, patch 3: Skip chunk of nsLayoutUtils::PaintFrame that's intended for root frames but gets triggered for foreignObjects in SVG-as-an-image. r+a=roc
2011-02-17 16:33:31 -08:00
Matt Woodrow
4b549c1faf
Backed out changeset 0d91127645a1 - Pushed wrong patch
2011-02-18 12:18:53 +13:00
Matt Woodrow
6fbaf9974d
Bug 634366 - Remove broken CreateForNativePixmapSurface usage from CairoImageOGL. r=joe a=blocking2.0
2011-02-18 11:49:50 +13:00
Jim Mathies
d03eff2194
Bug 628949 - Update visible region / glass regions after we paint. r=roc a=2.0.
2011-02-17 15:42:39 -06:00
Olli Pettay
dede0b4d96
Bug 634291, use faster inline method for global object check, r=bz, a=beltzner
2011-02-17 11:50:23 +02:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778
Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst
2011-02-14 13:15:29 -08:00
Andreas Gal
867ed02473
Fix GC/CC scheduling (bug 630932, patch by gal/smaug, r=mrbkap). a=blocker
2011-02-16 15:47:12 -08:00
Robert O'Callahan
7344c3c89b
Bug 626602. Part 4: Make the display items behind a plugin that needs readback be as visible as we can. r=tnikkel
2011-02-16 16:43:30 -06:00
Robert O'Callahan
354fb935c8
Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones
2011-02-16 16:43:30 -06:00
Neil Rashbrook
a72ae3b0a1
Bug 616812 Remove extraneous CRs r+a=dbaron
2011-02-16 21:39:52 +00:00
Ehsan Akhgari
dbd378e898
Bug 633044 - Special case empty text frames to position the caret at the correct position; r=roc a=blocking-final+
2011-02-15 01:11:18 -05:00