Mounir Lamouri
4c0a532e43
Merge mozilla-inbound into mozilla-central.
2011-07-11 16:18:03 +02:00
Masayuki Nakano
fe2a10ba62
Bug 670058 part.2 Add regression test r=smaug
2011-07-11 23:13:36 +09:00
Neil Deakin
4bf3881ba3
Bug 670148, remove nsIBoxLayout, r=roc
2011-07-11 10:05:10 -04:00
Neil Deakin
f6bd0911ea
Bug 670148, remove nsIScrollbarFrame, r=roc
2011-07-11 10:05:09 -04:00
Robert O'Callahan
26c67a621c
Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas
2011-07-08 22:42:21 +12:00
Masayuki Nakano
dc5b552abb
Bug 670058 Stop drag handling for selection when the dragging frame selection detaches presShell r=smaug
2011-07-11 13:20:46 +09:00
Daniel Holbert
55e87ce52f
Fix typo in comment within nsFrame.cpp (no bug) rs=dbaron DONTBUILD
2011-07-07 17:57:55 -07:00
L. David Baron
dbb636b97e
Only apply overflow area reported by native theme to the visual overflow, and not to the scrollable overflow. (Bug 669284) r=bzbarsky
2011-07-06 12:03:23 +02:00
Masayuki Nakano
180918ceb1
Bug 552707 While we're expanding selection by dragging, the selection root element should capture mouse events and all scrollable elements should be scrollable r=roc+smaug, ui=faaborg
2011-07-06 11:16:18 +09:00
Simon Montagu
ae37ce037d
Undefine caret bidi level during reflow instead of on text entry. Bug 664087, r=roc
2011-07-05 08:42:32 +03:00
Marco Bonardo
e88b205b60
Merge last green changeset from mozilla-inbound to mozilla-central
2011-07-04 20:26:29 +02:00
Neil Deakin
eb070d343a
Bug 666927, clean up nsBoxFrame::GetLayoutManager to return value, r=roc
2011-07-04 10:39:10 -04:00
Mats Palmgren
cff2b748ef
Bug 668919 - The ellipsis with text-overflow: ellipsis is sometimes one pixel too low. r=roc
2011-07-04 07:47:59 +02:00
Mats Palmgren
1a4bff05e9
Bug 667010 - "ASSERTION: unexpected block frame" with text-overflow: ellipsis, <fieldset>. r=roc
2011-07-04 07:47:59 +02:00
Marco Bonardo
d6c4314155
Merge last green changeset from mozilla-central to mozilla-inbound
2011-07-01 23:56:44 +02:00
Michael Ventnor
5b88cf2c15
Implement text-shadow for the text-overflow marker text (ellipsis) r=roc
2011-07-01 16:43:11 +10:00
Benoit Girard
474b757db7
Bug 663259 - Part 2: Restore Synchronous plugin rendering, with preference for async rendering. r=smichaud
2011-06-30 12:46:26 -04:00
Benoit Girard
2655767197
Bug 663259 - Part 1: Mac Async rendering fixes. r=josh
2011-06-30 12:46:25 -04:00
Olli Pettay
209c56c874
Bug 666604 - Allow untrusted events to trigger a link, r=bz
...
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Masayuki Nakano
7d481573dc
Bug 671319 Should abort drag for selection at resetting capture r=smaug
2011-07-21 09:29:32 +09:00
Joel Maher
be5ce7dc85
Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only.
2011-10-06 10:51:03 -04:00
Ehsan Akhgari
b48411171f
Bug 692109 - The intended crash in nsIFrame::GetOffsetToCrossDoc won't actually crash with some compilers; r=tn
...
--HG--
extra : rebase_source : 47ddd0eb634c25ff84a49ea9a0a856e0a3ffbec8
2011-10-05 19:55:02 -04:00
Ehsan Akhgari
4d7d5788b7
Bug 692105 - Useless null check in nsFrame::IsSelectable; r=roc
...
--HG--
extra : rebase_source : 645624b1738073fc6b4192c08af514ec517036ab
2011-10-05 19:49:15 -04:00
Matt Brubeck
4e7caa789f
Merge mozilla-central and mozilla-inbound
2011-08-12 07:08:33 -07:00
Jeff Muizelaar
cb92f6ff06
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04:00
Mats Palmgren
ba50f9565f
Bug 667653 - Make NS_FRAME_SELECTED_CONTENT on text frames less sticky. r=roc
2011-06-30 02:56:50 +02:00
Mats Palmgren
817e5a24da
Bug 666669 - Restrict selection painting to the nsCharClipDisplayItem edges (same as for non-selected text). r=roc
2011-06-30 02:56:49 +02:00
L. David Baron
c09bb2ecf4
Remove NS_STYLE_LIST_STYLE_OLD_* constants to fix computed list-style-type style resulting from type attribute on lists. (Bug 665857) r=bzbarsky
2011-06-29 14:39:21 -07:00
Ehsan Akhgari
c4436101c8
Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
...
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Jonas Sicking
f31ca46f1c
Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug
2011-06-28 10:59:14 -07:00
Simon Montagu
ca0b6c0240
Check for null frame selection. Bug 666225, r=roc
2011-06-27 19:33:28 +03:00
Simon Montagu
cc65555d9f
Mochitest for bug 666225
2011-06-27 19:32:41 +03:00
Mounir Lamouri
d8b025aad8
Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression.
2011-06-27 14:52:57 +02:00
Benoit Girard
6455de56ad
Enabled Mac Async plugin by default + Fixes. b=663259 r=josh
2011-06-25 15:12:59 -04:00
Craig Topper
43c8429d0c
Bug 654369 - Part 9: Remove OOM checks from layout/generic r=bz
...
--HG--
extra : rebase_source : b828e73151ceb8cb59e1d8f7c0671dc88397057c
2011-04-28 22:02:16 -07:00
Craig Topper
7a1b417e0b
Bug 654369 - Part 10: Make nsFloatManager::StoreRegionFor return void r=bz
...
--HG--
extra : rebase_source : dcf1babec6d26cfaee2e050e1fbd8abca941c8eb
2011-05-08 01:00:29 -07:00
Craig Topper
9e5af74e62
Bug 654369 - Part 7: Remove OOM checks from nsTextFrameThebes r=bz
...
--HG--
extra : rebase_source : 2cb5ce4d3f3a6d8d0e3a50c40303f8c1c098dbdf
2011-05-02 00:11:34 -07:00
Craig Topper
74ac9a3f68
Bug 654369 - Part 5: Make nsFrameList::Init return void r=bz
...
--HG--
extra : rebase_source : 8e9aafbc53c9b7e6be24a15707c32f19d67b7c06
2011-05-01 23:32:59 -07:00
Craig Topper
8cc35672fe
Bug 654369 - Part 4: Make nsContainerFrame::SetOverflowFrames return void
...
--HG--
extra : rebase_source : c75b4fd0a730a6d2804287847be735261aef92f0
2011-05-01 23:17:32 -07:00
Joel Maher
d368d3ddbf
Bug 663844 - move layout/generic/test/*.xul to mochitest-chrome. r=ted, a=test-only
2011-06-25 13:42:23 -04:00
Ed Morley
af1d9c6c2b
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Jesse Ruderman
80232adac5
Bug 667025 - crash test.
2011-06-25 04:21:27 +02:00
Mats Palmgren
ec63cdec11
Backout cset 3e54c496db92 (bug 654002) for causing bug 667025.
2011-06-25 04:21:27 +02:00
Mats Palmgren
ebe2e85837
Bug 666751 - Crash tests. r=roc
2011-06-24 21:12:52 +02:00
Mats Palmgren
a8d68ebc51
Bug 666751 - Add a null-check in case the item's frame is not a descendent of the text-overflow block. r=roc
2011-06-24 21:12:52 +02:00
Mats Palmgren
f205bc0de5
Bug 654002 - Remove frame continuations iteratively, not recursively. r=roc
2011-06-23 01:16:00 +02:00
Mats Palmgren
fb9132ab57
Bug 312156 - Tests for CSS3 text-overflow. r=roc
2011-06-22 20:11:48 +02:00
Mats Palmgren
b19080bd1f
Bug 312156 - Implement CSS3 text-overflow. r=roc
2011-06-22 20:11:48 +02:00
Robert O'Callahan
a0cb0b9295
Bug 637852. Part 20: Allow fast scrolling within transformed content. r=tnikkel
...
This lets us easily test scrolling with non-identity resolution.
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
55a9350095
Bug 637852. Part 13: Allow snapping of text baselines to occur when there's a scale in the current transform. r=tnikkel
...
This allows baselines to be snapped properly when drawing into high-resolution ThebesLayers.
2011-06-23 00:11:28 +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
Ed Morley
7bd9e7ed4a
Bug 665723 - Fix unused variable warnings in layout/generic/; r=roc
2011-06-21 17:37:47 +02:00
Cameron McCormack
1b56814d74
Bug 642175 - Part 3: Make existing plugin crash mochitests clean up after themselves. r=ted
2011-06-21 12:12:15 +12:00
Mounir Lamouri
38dbd10996
Merging mozilla-central with mozilla-inbound.
2011-06-17 15:26:17 +02:00
Dão Gottwald
a3d8b786ca
Bug 654411 - Use text color at 50% opacity instead of graytext to de-emphasize text in the location bar. r=roc ui-r=faaborg
2011-06-17 08:07:03 +02:00
Jonathan Kew
0bc82a4ba2
bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
2011-06-16 07:31:37 +01:00
Benjamin Stover
608b301129
Bug 656041 Some parts of page scroll at different rates in Fennec r=roc
2011-06-14 09:20:29 -07: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
Matt Brubeck
830f102cc9
Bug 663959 - Mark crashtests as asserting intermittently [r=ehsan]
2011-06-13 14:24:04 -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
L. David Baron
81e96fe621
Change IsPercentageAware (which tests whether an inline box's width depends on the width of its container) to check the correct general statement of when the width of a replaced element depends on its container's width, and in doing so avoid depending on the notion of percentage intrinsic size. (Bug 611099) r=dholbert
...
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
Masayuki Nakano
f96e0ef619
Bug 663041 layout should use mozilla::Preferences r=roc
2011-06-12 11:30:16 +09:00
Randell Jesup
98b0626e03
Bug 505108: Don't leak strings on early returns from Area::ParseCoords(), fix how CString is freed. r=roc
2011-06-11 16:40:39 -04:00
Steven Michaud
efe681f006
Bug 661636 - [10.7 SDK] QuickDraw APIs undefined when doing 32-bit builds using the OS X 10.7 SDK. r=bgirard
2011-06-11 09:12:58 +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
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
Ehsan Akhgari
c29fd423ea
Merge cedar into mozilla-central
2011-06-08 17:46:13 -04:00
Sebastian Kromp
1052ad8280
Bug 578564. Remove nsIFrameSetElement and just use nsHTMLFrameSetElement instead. r=bzbarsky
...
--HG--
rename : content/html/content/public/nsIFrameSetElement.h => content/html/content/src/nsHTMLFrameSetElement.h
2011-06-08 12:04:10 -07:00
Mounir Lamouri
dbc8f56eea
Merging cedar with mozilla-central.
2011-06-07 11:06:50 +02:00
Masayuki Nakano
4f6c245f00
Bug 661101 backout a part of 9014863a7e2a which was included to the mq file unexpectedly
2011-06-07 16:44:56 +09:00
Masayuki Nakano
b0bca8f976
Bug 661101 widget should use mozilla::Preferences r=roc
2011-06-07 16:38:00 +09:00
Benjamin Stover
4d6860feb1
Bug 658076 nsSubDocumentFrame uses content to get docshell r=bz
2011-06-08 09:04:16 -07:00
Benoit Girard
468e5acf13
Asynchronous layer-based plugin painting on Mac b=598425 r=roc,josh
2011-05-19 17:08:14 -04:00
Mounir Lamouri
af81ce3c72
Merging cedar with mozilla-central.
2011-06-03 12:06:08 +02:00
Masayuki Nakano
a1fdb33535
Bug 660568 nsImageFrame::IconLoad must call Preferences::RemoveObservers() r=roc
2011-06-03 15:07:10 +09:00
Matheus Kerschbaum
7406ce377f
Bug 660762 - Remove --disable-mathml support. r=roc
2011-06-02 13:11:33 +02:00
Mounir Lamouri
0c784be5a4
Merging cedar with mozilla-central.
2011-06-01 10:06:55 +02:00
Boris Zbarsky
76f757828a
Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir
2011-05-31 21:46:57 -04:00
Boris Zbarsky
7867f56859
Bug 598833 part 7. Make IntrinsicState protected. r=smaug
2011-05-31 21:46:57 -04:00
Boris Zbarsky
142a55fcd8
Bug 598833 part 1. Move IntrinsicState from nsIContent to Element. r=smaug
2011-05-31 21:46:56 -04:00
Timothy Nikkel
85cdf3236a
Bug 621551. If someone is trying to get the offset between frames in different document hierarchies just crash right away so we get useful stacks. r=roc
2011-05-31 17:53:21 -05:00
Josh Aas
aceea2590e
Bug 660721: Move nsPluginInstanceOwner to its own files. r=roc
...
--HG--
rename : layout/generic/nsObjectFrame.cpp => dom/plugins/base/nsPluginInstanceOwner.cpp
2011-06-01 00:37:54 -04:00
Mounir Lamouri
454f172816
Merging cedar with mozilla-central.
2011-05-31 12:17:48 +02:00
Simon Montagu
55461dc596
Don't adjust the horizontal position for text-indent on right-to-left lines. Bug 641444, r=dbaron
2011-05-31 11:03:27 +03:00
Robert O'Callahan
e59d6c5b6a
Bug 646757. Don't construct useless nsDisplayOwnLayers. r=tnikkel
2011-05-31 11:12:06 +12:00
Simon Montagu
dc7e814c0b
Don't use cached inflow length for empty frames. Bug 660416, r=roc
2011-05-30 18:19:13 +03:00
Ms2ger
1bad80a509
Bug 659743 - Part c: Reduce QIing in nsImageMap; r=smaug
2011-05-30 13:35:45 +02:00
Ms2ger
e18ad59abc
Bug 659743 - Part b: Remove nsImageMapUtils; r=smaug
2011-05-30 13:00:00 +02: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
Masayuki Nakano
a28bd9e01f
Bug 659913 part.3 Use AddObservers and RemoveObservers if the caller uses these methods of Preferences two or more times r=roc
2011-05-29 08:39:27 +09:00
Masayuki Nakano
1593568b21
Bug 659913 part.1 Remove nsContentUtils::GetPrefBranch() r=roc
2011-05-29 08:39:27 +09:00
Ms2ger
35e44f908f
Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz
2011-05-28 09:43:57 +02:00
Ms2ger
bfe60518ca
Bug 659990 - Remove nsIDOMNSHTMLHRElement; r=peterv
2011-05-28 09:43:44 +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
Josh Aas
ad51d92173
Bug 653116: Sort plugins from most to least recently modified. Search them in this order for MIME/extension matches. They should also appear in this order in about:plugins. r=jst r=bent
2011-05-28 00:08:26 -04:00
Daniel Holbert
8e2fd7a748
Bug 662089: Make text after #endif in nsObjectFrame.cpp into a comment, to fix build warning. r=roc
2011-06-06 11:02:28 -07:00
Ehsan Akhgari
13d84f740f
Backout bug 467669 and bug 660088
2011-06-15 16:52:48 -04:00
Jonathan Kew
eacb2d87b0
bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
...
--HG--
extra : rebase_source : 89e65a1d612dcee7872a18a5e4bb9b3591c3a63d
2011-06-15 20:17:51 +01: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
Josh Aas
7e100ff63c
Bug 606641: When creating a plugin from a stream, use the same creation path for both embedded and full screen plugins. r=jst
2011-05-26 21:49:56 -04:00
Oleg Romashin
d0ac388d68
Bug 624165 Cleanup plugins code, remove kill MOZ_COMPOSITED_PLUGINS and MOZ_USE_IMAGE_EXPOSE r=dougt
2011-05-25 16:54:30 -04: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
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
Daniel Holbert
8c907e0dba
Back out 0a3b9d088e3d (Bug 658750) on suspicion of causing crashtest leaks
2011-05-22 22:24:54 -07:00
Daniel Holbert
68a7d012da
Back out 693717fddd93 (Bug 658750) on suspicion of causing crashtest leaks
2011-05-22 22:24:52 -07:00
Craig Topper
72ae398738
Bug 658750 - Part 2: Make nsFrameSelection not inherit from nsISupports. r=roc
2011-05-21 16:31:39 -07:00
Craig Topper
77cbb43e22
Bug 658750 - Part 1: Make nsFrameSelection methods non-virtual. r=roc
2011-05-21 00:17:16 -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
Daniel Holbert
052c758a4a
Merging cedar with mozilla-central.
2011-05-22 16:13:23 -07:00
Daniel Holbert
98ad7c6ba1
Bug 658834: Remove unused variable 'sc' from nsTextFrameThebes.cpp r=jfkthame
2011-05-22 09:53:46 -07:00
Doug Turner
7ae2a4a388
Bug 653201: Remove expose image / maemo specific npapi support. r=blassey r=josh
2011-05-21 11:21:49 -04:00
Josh Aas
998050c725
Bug 657952: Minimize methods in nsIPluginHost. r=jst
2011-05-21 09:28:54 -04:00
Craig Topper
3897308906
Bug 658143 - Part 3: Remove nsFrameSelection QI and createInstance support. r=roc
2011-05-18 22:28:54 -07:00
Craig Topper
4e38ca20a7
Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc
2011-05-18 20:10:49 -07:00
Simon Montagu
104d732e9a
Cache in-flow content length. Bug 566066, r=roc
2011-05-22 11:20:29 +03:00
Mounir Lamouri
3614c727b5
Merging cedar with mozilla-central.
2011-05-18 11:42:37 +02:00
Ed Morley
d260544670
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Mounir Lamouri
cffb492c94
Backout bug 656749.
2011-05-17 13:43:10 +02:00
Robert O'Callahan
9f2fc5b8e2
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-17 11:05:46 +12:00
Ehsan Akhgari
5aaebed294
Bug 656875 - Use the transformed dirty rectngle when building display list items for stacking context; r=roc
2011-05-16 13:27:24 -04:00
Josh Aas
f6eb4c8df6
Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg
2011-05-17 21:48:34 -04:00
Bobby Holley
3fa8eba250
Bug 653930 - Setting marginWidth and marginHeight on an iframe should trigger a reflow.r=bz
2011-05-13 10:41:00 -07: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
84f36b4efc
Bug 648277. Ensure we request a plugin geometry update for a new windowless plugin that may need its visibilty state updated. r=tnikkel
2011-05-13 02:59:21 +12:00
Robert O'Callahan
6b388015a4
Bug 650228. Invalidate ThebesLayers when a linebox is moved. r=dbaron
2011-05-13 02:59:15 +12:00
Masayuki Nakano
6a43b8a387
Bug 651694 Sort out NS_PLUGIN_EVENT r=roc
2011-05-11 13:52:44 +09:00
Ed Morley
e53a8d52b6
Bug 545261 - Remove the debug "yikes! spinning on a line over 1000 times!" abort; r=roc
2011-05-10 20:24:48 +02: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
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
Mounir Lamouri
dc2475b233
Bug 567872 - Layout part of the progress element. r=roc,dbaron
2011-05-07 10:15:14 +02:00
Jonathan Kew
5d30b8b8b8
bug 655207 - don't read an uninitialized entry in the hyphenation array. r=roc
2011-05-09 10:55:19 +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
Jonathan Kew
916e9b8b24
bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc
2011-05-04 12:29:56 +01:00
Dão Gottwald
ca1f9f0f94
Bug 451833 - Highlight the domain name in the address bar. r=roc,sdwilsh ui-r=faaborg
...
--HG--
extra : rebase_source : 1010ad246e94e271a0efaaca13356aff5d4b3bc3
2011-05-02 19:50:18 +02:00
Chris Leary
55f7c6409e
Merge mozilla-central to tracemonkey. (CLOSED TREE)
2011-05-02 10:55:34 -07:00
Chris Jones
a61c26e2c0
Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke
2011-04-28 17:48:52 -05:00
Chris Jones
6fd4cbff2d
Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke
2011-04-28 17:48:51 -05:00
Benjamin Stover
1c80f2b928
Bug 640048 Crash fix: build nsDisplayScrollLayer with a non-null frame r=roc
2011-05-01 18:53:58 -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
Craig Topper
424eee8dac
Bug 648885 - Part 2: Remove nsIImageFrame. r=roc
...
--HG--
extra : rebase_source : 3097ee732ab2ba3b7a79253f7f71c09eed22d033
2011-04-25 23:52:19 -07:00
Craig Topper
bdc6150c3c
Bug 648885 - Part 1: Remove 'using namespace' from nsImageFrame.h. r=roc
...
--HG--
extra : rebase_source : a05f252ff6efb2069d4f8096ebb70eb3ad9cc4c7
2011-04-25 23:04:18 -07: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
Benjamin Smedberg
d3a66ed55a
Bug 649558 - Move modules/plugin/base to dom/plugins/base, r=josh
...
--HG--
rename : modules/plugin/base/src/Makefile.in => dom/plugins/base/Makefile.in
rename : modules/plugin/base/src/PluginPRLibrary.cpp => dom/plugins/base/PluginPRLibrary.cpp
rename : modules/plugin/base/src/PluginPRLibrary.h => dom/plugins/base/PluginPRLibrary.h
rename : modules/plugin/base/public/npapi.h => dom/plugins/base/npapi.h
rename : modules/plugin/base/public/npfunctions.h => dom/plugins/base/npfunctions.h
rename : modules/plugin/base/public/npruntime.h => dom/plugins/base/npruntime.h
rename : modules/plugin/base/public/nptypes.h => dom/plugins/base/nptypes.h
rename : modules/plugin/base/public/nsIHTTPHeaderListener.idl => dom/plugins/base/nsIHTTPHeaderListener.idl
rename : modules/plugin/base/public/nsIPlugin.idl => dom/plugins/base/nsIPlugin.idl
rename : modules/plugin/base/public/nsIPluginDocument.idl => dom/plugins/base/nsIPluginDocument.idl
rename : modules/plugin/base/public/nsIPluginHost.idl => dom/plugins/base/nsIPluginHost.idl
rename : modules/plugin/base/public/nsIPluginInputStream.idl => dom/plugins/base/nsIPluginInputStream.idl
rename : modules/plugin/base/public/nsIPluginInstance.idl => dom/plugins/base/nsIPluginInstance.idl
rename : modules/plugin/base/public/nsIPluginInstanceOwner.idl => dom/plugins/base/nsIPluginInstanceOwner.idl
rename : modules/plugin/base/public/nsIPluginStreamInfo.idl => dom/plugins/base/nsIPluginStreamInfo.idl
rename : modules/plugin/base/public/nsIPluginStreamListener.idl => dom/plugins/base/nsIPluginStreamListener.idl
rename : modules/plugin/base/public/nsIPluginTag.idl => dom/plugins/base/nsIPluginTag.idl
rename : modules/plugin/base/public/nsIPluginTagInfo.idl => dom/plugins/base/nsIPluginTagInfo.idl
rename : modules/plugin/base/src/nsJSNPRuntime.cpp => dom/plugins/base/nsJSNPRuntime.cpp
rename : modules/plugin/base/src/nsJSNPRuntime.h => dom/plugins/base/nsJSNPRuntime.h
rename : modules/plugin/base/src/nsNPAPIPlugin.cpp => dom/plugins/base/nsNPAPIPlugin.cpp
rename : modules/plugin/base/src/nsNPAPIPlugin.h => dom/plugins/base/nsNPAPIPlugin.h
rename : modules/plugin/base/src/nsNPAPIPluginInstance.cpp => dom/plugins/base/nsNPAPIPluginInstance.cpp
rename : modules/plugin/base/src/nsNPAPIPluginInstance.h => dom/plugins/base/nsNPAPIPluginInstance.h
rename : modules/plugin/base/src/nsNPAPIPluginStreamListener.cpp => dom/plugins/base/nsNPAPIPluginStreamListener.cpp
rename : modules/plugin/base/src/nsNPAPIPluginStreamListener.h => dom/plugins/base/nsNPAPIPluginStreamListener.h
rename : modules/plugin/base/src/nsPluginDirServiceProvider.cpp => dom/plugins/base/nsPluginDirServiceProvider.cpp
rename : modules/plugin/base/src/nsPluginDirServiceProvider.h => dom/plugins/base/nsPluginDirServiceProvider.h
rename : modules/plugin/base/public/nsPluginError.h => dom/plugins/base/nsPluginError.h
rename : modules/plugin/base/src/nsPluginHost.cpp => dom/plugins/base/nsPluginHost.cpp
rename : modules/plugin/base/src/nsPluginHost.h => dom/plugins/base/nsPluginHost.h
rename : modules/plugin/base/public/nsPluginLogging.h => dom/plugins/base/nsPluginLogging.h
rename : modules/plugin/base/src/nsPluginManifestLineReader.h => dom/plugins/base/nsPluginManifestLineReader.h
rename : modules/plugin/base/src/nsPluginModule.cpp => dom/plugins/base/nsPluginModule.cpp
rename : modules/plugin/base/src/nsPluginNativeWindow.cpp => dom/plugins/base/nsPluginNativeWindow.cpp
rename : modules/plugin/base/public/nsPluginNativeWindow.h => dom/plugins/base/nsPluginNativeWindow.h
rename : modules/plugin/base/src/nsPluginNativeWindowGtk2.cpp => dom/plugins/base/nsPluginNativeWindowGtk2.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowOS2.cpp => dom/plugins/base/nsPluginNativeWindowOS2.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowQt.cpp => dom/plugins/base/nsPluginNativeWindowQt.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowWin.cpp => dom/plugins/base/nsPluginNativeWindowWin.cpp
rename : modules/plugin/base/src/nsPluginSafety.h => dom/plugins/base/nsPluginSafety.h
rename : modules/plugin/base/src/nsPluginStreamListenerPeer.cpp => dom/plugins/base/nsPluginStreamListenerPeer.cpp
rename : modules/plugin/base/src/nsPluginStreamListenerPeer.h => dom/plugins/base/nsPluginStreamListenerPeer.h
rename : modules/plugin/base/src/nsPluginTags.cpp => dom/plugins/base/nsPluginTags.cpp
rename : modules/plugin/base/src/nsPluginTags.h => dom/plugins/base/nsPluginTags.h
rename : modules/plugin/base/public/nsPluginsCID.h => dom/plugins/base/nsPluginsCID.h
rename : modules/plugin/base/src/nsPluginsDir.h => dom/plugins/base/nsPluginsDir.h
rename : modules/plugin/base/src/nsPluginsDirDarwin.cpp => dom/plugins/base/nsPluginsDirDarwin.cpp
rename : modules/plugin/base/src/nsPluginsDirOS2.cpp => dom/plugins/base/nsPluginsDirOS2.cpp
rename : modules/plugin/base/src/nsPluginsDirUnix.cpp => dom/plugins/base/nsPluginsDirUnix.cpp
rename : modules/plugin/base/src/nsPluginsDirUtils.h => dom/plugins/base/nsPluginsDirUtils.h
rename : modules/plugin/base/src/nsPluginsDirWin.cpp => dom/plugins/base/nsPluginsDirWin.cpp
rename : modules/plugin/base/public/nspluginroot.idl => dom/plugins/base/nspluginroot.idl
2011-04-26 17:38:43 -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
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
Josh Aas
1593af8e53
Bug 606641: Cleanup for plugin initialization. r=bz
2011-04-28 16:08:33 -04:00
L. David Baron
8d8f01f096
Fix comment describing nsHTMLReflowState::availableWidth. (Bug 653356) r=bzbarsky
2011-04-28 10:21:37 -07:00
L. David Baron
f4345b013d
When we know a block can't fit, end ReflowBlockFrame early, in case a zero-height block tries to. (Bug 652178) r=roc
2011-04-28 10:21:36 -07:00
Walter Meinl
2eaf11b614
Bug 652361 - [OS/2] build break in nsObjectFrame after checkin for bug 266236
2011-04-25 10:59:07 -07: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
Masayuki Nakano
2bb6c01918
Bug 648299 -moz-text-decoration-style: -moz-none doesn't work r=dbaron
2011-04-23 14:13:09 +09:00
L. David Baron
e0c41c779b
Fix broken nsLineList::swap implementation. (Bug 652053) r=roc
2011-04-22 18:36:23 -07:00
Mounir Lamouri
db44db0ebe
Merge cedar with mozilla-central.
2011-04-22 15:25:11 +02:00
Timothy Nikkel
f1dbe7df75
Bug 646799. Clip the contents of iframes to border-radius. r=roc
2011-04-22 10:38:38 +02:00
Timothy Nikkel
d2660233c6
Bug 646799. Clip the contents of iframes to border-radius. r=roc
2011-04-22 01:15:44 +02:00
Daniel Holbert
3fbf68de0a
Bug 583608: add #ifdef guards around mac-only static functions in nsObjectFrame.cpp. r=josh
2011-04-21 14:52:26 -07:00
David Zbarsky
5ecf0a2bd3
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Masayuki Nakano
816d0ec482
Bug 347185 Adding automated tests r=roc
2011-04-21 08:54:43 +09:00
Daniel Holbert
e142472f0a
Bug 651229: Remove unused variable from nsLineBox. r=smontagu
2011-04-21 10:08:05 -07:00
Steven Michaud
889122621e
Bug 651177 - [Mac] Crashes [@ nsObjectFrame::GetLayerState ]. r=bsmedberg
2011-04-19 14:13:58 -05:00
Zack Weinberg
668fa81e1d
Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 82489fb47226260871993f37d337439005250c29
2011-04-16 18:22:44 -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
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
Jonathan Kew
219392ecf2
bug 650499 - add testcase. r=roc
2011-04-19 08:51:35 +01:00
Jonathan Kew
e7b2b9924c
bug 650499 - limit length covered by PropertyProvider to the text actually included in the textRun. r=roc
2011-04-19 08:51:31 +01: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
75ad705b3b
Bug 641426. Part 3.5: Remove usage of nsMargin::TopLeft and nsMargin::IsZero. r=dbaron
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
Dão Gottwald
4ac8291c1d
Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg
2011-04-17 21:53:25 +02:00
Ed Morley
2e55e1cc34
Bug 634936 - Add null-check for nsContentUtils::GetPrefBranch() to prevent Crash [@ nsFocusManager::Init ]; r=jst
2011-04-16 11:14:09 +02: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
d6425e8bd1
Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics.
2011-04-07 18:05:25 -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
Zack Weinberg
5a4a96e54e
Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b2911406bbe1b5995d1a501c59e02b5fffefa390
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
Ehsan Akhgari
3b68afadb4
Merge cedar into mozilla-central
2011-04-13 14:00:55 -04:00
Benjamin Stover
0b354a3d72
Bug 649666 Do not create container layers for scrollboxes with (0, 0) scrollRange r=roc
2011-04-13 10:45:00 -07:00
Oleg Romashin
fee82d5cf6
Bug 647462 - Video layer should not be ARGB by default; r=chris.double
2011-04-12 15:39:50 -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
Benjamin Smedberg
6620f620d9
Bug 617539 - Remove nsIPluginHost_MOZILLA_2_0_BRANCH, nsIPluginInstanceOwner_MOZILLA_2_0_BRANCH, and nsIPluginInstance_MOZILLA_2_0_BRANCH; r=jst
2011-04-11 16:00:30 -04: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
f62ed62de0
Bug 644428 - (Alternative approach) Clamp the baseline for every case to the context box height for inline frames; r=roc
2011-04-09 09:13:16 -07:00
Simon Montagu
8ade1e195e
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
Masatoshi Kimura
474a6690fc
Bug 651113 - Remove windows-936 converter. r=smontagu
...
--HG--
extra : rebase_source : 4b0d09d815e2b7cfc008f8b5b987e597ceea9bbe
2011-04-27 10:37:00 +02:00
Timothy Nikkel
61fc3d6728
Bug 652821. Remove views from positioned inline frames. r=roc
...
--HG--
extra : rebase_source : 25f0ff5c614d75c3b9676c0c41762a5ab3541410
2011-04-27 10:35:46 +02: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
Josh Aas
70a155c558
Bug 636872: Allow CSS cursor property to be used for plugins. r=bz
2011-04-08 12:58:04 -07:00
Jonathan Kew
05b8ef4302
bug 646983 - set the correct text length for the PropertyProvider. r=roc
2011-04-08 11:18:47 -07:00
Jonathan Kew
46ca3e4f06
add testcases from bug 646983, bug 647332. r=roc
2011-04-08 11:18:44 -07:00
Ehsan Akhgari
96d750195b
Merge cedar into mozilla-central
2011-04-08 02:27:03 -07:00
Ms2ger
8abef9c63c
Bug 647554 - Uninitialized variable oldSize in nsPluginInstanceOwner::InvalidateRect; r=mats
2011-04-07 21:56:13 -07:00
Matheus Kerschbaum matjk7@gmail.com
83489c2891
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now
...
--HG--
extra : rebase_source : bd8d7491d0fee17e0319ce130bd2988fefe82e93
2011-04-06 21:59:25 -07:00
Benoit Girard
c8e9583cc3
Bug 647710: Fixed color profile leak. r=josh
2011-04-06 16:00:45 -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
Mats Palmgren
73a0c83824
Bug 614969 - Use the primary frame for the display style test. r=bzbarsky
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
8fd77f670c
Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel
2011-04-01 10:33:46 +13:00
Ehsan Akhgari
41f6aee99f
Merge cedar into mozilla-central
2011-03-31 14:11:37 -04: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
5199d98d91
Bug 645914 - Do not eat the white-space when doing word selection if the eaten whitespace is a newline character and we have been instructed not to jump between lines; r=roc
...
This fixes a bug in selecting words at the end of lines in textarea's for Windows.
2011-03-30 11:56:48 -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
Jonathan Kew
1095b2347e
bug 418975 - support ­ when calculating min width for table and fieldset. r=roc. landing on the CLOSED TREE after dbaron went to bed :)
2011-03-24 15:22:37 +00:00
Jonathan Kew
df641cb631
additional crashtest for bug 645072
2011-03-30 07:39:11 +01:00
Simon Montagu
c1998d7c2c
Change x-gbk to gbk in charset titles. Bug 369403, r=emk
2011-03-30 08:35:36 +02:00
Jonathan Kew
58ef27c608
bug 646561 - testcase.
2011-03-31 09:47:01 +01:00
Jonathan Kew
687c9f81ff
bug 646561 - pass correct length to PropertyProvider in bidi case. r=roc
2011-03-31 09:47:01 +01: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
David Bolter
8756e3e643
Bug 616594 - overflow:auto causes DIV to get tab focus, r=bz
2011-03-29 13:43:59 +09:00
Chen Liu
86a955132e
Use PL_strncpyz in DR_FrameTypeInfo. (Bug 639220) r=dbaron
2011-03-28 16:07:27 -07:00
Ehsan Akhgari
db0e06d061
Merge cedar into mozilla-central
2011-03-28 13:28:13 -04:00
Alexander Surkov
8eec39795c
Bug 629114 - crash on add comment link in review board [@ nsBulletFrame::GetListItemText ] [@ nsBulletFrame::GetListItemText(nsStyleList const&, nsString&) ], r=davidb, marcoz, sr=bz, a=blocking2.x+
2011-03-28 22:59:54 +09:00
Simon Montagu
092b78d138
Make mRestorePos a logical position and convert to physical position when scrolling. Bug 638753, r=dbaron
2011-03-28 08:37:57 +02: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
ea752bfc4b
Bug 59109 Part 3: Implement text-decoration-color and text-decoration-style rendering r=dbaron
2011-03-31 21:27:03 +09:00
Masayuki Nakano
a08a3877b3
Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron
2011-03-31 21:26:49 +09:00