Commit Graph

1536 Commits

Author SHA1 Message Date
Robert O'Callahan
b26bf31d5e Bug 467914. GetOverflowRectRelativeToSelf shouldn't always expect a preEffectsBBox. r=dbaron
--HG--
extra : rebase_source : cc6cd0bf3f4b11785b85baeaf74bd9ef7725c42f
2009-07-30 14:48:13 +12:00
Timothy Nikkel
6788e65ce3 Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky 2009-07-29 18:10:50 -04:00
Boris Zbarsky
209e31bf48 Relanding bug 496823 in the hopes that it's not causing the XP Txul issue.
--HG--
extra : rebase_source : 593d43b5c229e077e4454d848dba59265dee6b58
2009-07-29 08:53:27 -04:00
Boris Zbarsky
b4eb9b7084 Backed out changeset 622a29736f33 to see whether bug 496823 causes the WinXP Txul regression.
--HG--
extra : rebase_source : 450a2a83442a2326e303f97ad82d8213fbe11490
2009-07-28 14:35:28 -04:00
Boris Zbarsky
cc46915a25 Followup for bug 504221 to fix debug orange. Have to hold on to an object, not a reference, if the thing passed in might be a temporary. 2009-07-28 11:04:45 -04:00
Boris Zbarsky
a2aaeadc49 Bug 504972. Remove some redundant code. r=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
5fefb45a48 Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
9d47a166af Bug 504221 part 11. Switch the {ib}-split list munging to nsFrameList. r=fantasai,roc 2009-07-28 08:53:19 -04:00
Boris Zbarsky
cddaf1831c Bug 504221 part 10. Switch the first-line frame list munging to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:19 -04:00
Boris Zbarsky
dca83c78dc Bug 504221 part 9. Get rid of a silly LengthOf function. r+sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky
b5d9390d06 Bug 504221 part 7. Make nsFrameItems inherit from nsFrameList. rfantasai, r+sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky
31d4329c40 Bug 504221 part 6. Switch nsBlockFrame::AddFrames to nsFrameList. r=fantasai,roc 2009-07-28 08:51:10 -04:00
Boris Zbarsky
db6ff446ab Bug 504221 part 5. Switch from GetFirstChild to GetChildList (returning an nsFrameList). For now, keep a GetFirstChild shim so callers don't have to be updated. r=fantasai, r+sr=roc 2009-07-28 08:51:09 -04:00
Boris Zbarsky
b0259fd19b Bug 504221 part 3. Switch overflowFrames storage to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:51:09 -04:00
Boris Zbarsky
14796e6173 Bug 504221 part 2. Switch ReparentFrameViewList to nsFrameList. r+sr=roc 2009-07-28 08:51:09 -04:00
Boris Zbarsky
58ab0561e4 Bug 504221 part 1. Introduce framelist slice and enumerator classes and make the framelist versions of nsFrameList::AppendFrames/InsertFrames return a slice for the new frames. r=fantasai, r+sr=roc 2009-07-28 08:51:08 -04:00
Chris Pearce
01dab2e3fe Backout bug 502259 2009-07-28 16:30:11 +12:00
liucougar@gmail.com
642e174ae6 Bug 502259 - Make delete at end of paragraph work r+cpearce,sr+peterv 2009-07-28 14:04:36 +12:00
Michael Kohler
404670f1f3 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Boris Zbarsky
34df7918a4 Bug 496823. Blocks can implement GetLastChild() much faster than by just getting first child and iterating its siblings. r=roc 2009-07-26 21:27:32 -04:00
Robert O'Callahan
4ef62fb0ed Bug 371839. Remove ParentDisablesSelection, which is effectively unused. r=bzbarsky
--HG--
extra : rebase_source : 920c501f033e026709ec15792cadbb2f24462a0a
2009-07-27 10:06:30 +12:00
Robert O'Callahan
14dbcb0874 Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +12:00
Robert O'Callahan
fb7ad45e60 Bug 371839. Remove useless SetSelected implementations. r=bzbarsky
--HG--
extra : rebase_source : 57629a43328f3dbc97a5d0595186a32150722db4
2009-07-27 10:03:16 +12:00
Robert O'Callahan
520e8ceae9 Bug 505743. Fix nsHTMLScrollFrame::InvalidateInternal to not take the 'invalidation in scrollbar' path when there is no scrollbar. r=dbaron
--HG--
extra : rebase_source : 8709cdba8ea6f9776b61ff935c1c850573caff3a
2009-07-27 09:29:01 +12:00
Robert O'Callahan
274e556b1d Bug 505667. Don't need to check INVALIDATE_NOTIFY_ONLY in nsHTMLScrollFrame::InvalidateInternal. r=dbaron
--HG--
extra : rebase_source : fa04db29e722a9aea7aaf54c783d07c432d79cad
2009-07-27 09:27:54 +12:00
Robert O'Callahan
c95fd3cf9a Bug 505912. Trust the widget visibility in UpdateWidgetArea. r=dbaron
--HG--
extra : rebase_source : 4c6e1b2366b430763cce546ab0e26576705a0ca3
2009-07-27 09:17:43 +12:00
Boris Zbarsky
fa8b53c57c Bug 505482. Make sure to not leave frames on overflow lists when we interrupt reflow. Also fixes bug 478527 and bug 496742. r=roc 2009-07-24 09:32:32 -04:00
Zack Weinberg
7f97ecf2df Bug 486065. Hack nsCSSOffsetState::InitOffsets to zero out computed padding and borders when the scrollbar size is zero. r=dbaron
--HG--
extra : rebase_source : 92bcaee46ded00722e3fc86b4ca538e5f90f16ef
2009-07-30 15:43:22 +12:00
Robert O'Callahan
82ace80f84 Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Robert O'Callahan
feb5fde3fc Bug 506304. Walk all the way up to the nearest widget when computing event coordinates for windowless plugins. r=bz
--HG--
extra : rebase_source : be25ce5ffbae7c90cf0b211ae818046873b6e09a
2009-07-30 14:56:52 +12:00
Robert O'Callahan
1384727485 Remove accidentally commited .rej files 2009-07-22 17:06:12 +12:00
Robert O'Callahan
efcac1ea7f Bug 339548. Part 15: test overlaying an opaque-background table over a plugin. 2009-07-22 12:45:16 +12:00
Robert O'Callahan
edefa6fb61 Bug 339548. Part 14: hide windowed plugins in CSS transforms and SVG foreignObject contexts; we can't display them properly, so let's not display them at all. r=dbaron 2009-07-22 12:45:14 +12:00
Robert O'Callahan
5fa812e479 Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies 2009-07-22 12:45:13 +12:00
Robert O'Callahan
a00da77ddf Bug 352093. Part 14: Make content IFRAMEs windowless. r=bzbarsky 2009-07-22 12:45:11 +12:00
Robert O'Callahan
d520aa9f3f Bug 352093. Part 12: Teach nsDocShell/nsDocumentViewer to deal with not having a widget 2009-07-22 12:45:10 +12:00
Robert O'Callahan
2ebc95776b Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Robert O'Callahan
97b9409ae1 Bug 352093. Part 6: make GetScreenRect work when appunits-per-dev-pixel varies up the frame tree. r=dbaron 2009-07-22 12:45:06 +12:00
Robert O'Callahan
723b519262 Bug 339548. Part 11: tests for complex plugin clipping. 2009-07-22 12:45:02 +12:00
Robert O'Callahan
25b5199778 Bug 339548. Part 10.5: Eagerly fix up Mac plugin clip rect to be consistent with other platforms. 2009-07-22 12:45:02 +12:00
Robert O'Callahan
41b0dc9d84 Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Robert O'Callahan
d523d1c325 Bug 339548. Part 6: Uninline IsMovingFrame so nsDisplayList.h doesn't have to include nsLayoutUtils.h. r=dbaron 2009-07-22 12:44:57 +12:00
Robert O'Callahan
c1e47bdb51 Bug 505184. Expose nsFrame::DisplayBackgroundUnconditional so we can easily create an nsDisplayBackground elsewhere. r=dbaron 2009-07-22 12:44:51 +12:00
Robert O'Callahan
b47de0a11e Bug 500632. Suppress invalidation caused by parts inside collapsed scrollbars. r=dbaron 2009-07-22 12:44:49 +12:00
Joe Drew
6c441f55f7 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Steven Michaud
8bc55f5541 [OSX] Embedded plugins don't print - NPP_Print not called. b=191046 r=josh,kinetic 2009-07-20 17:10:36 -05:00
Ehsan Akhgari
501c1de9a4 Fix the build bustage from bug 499377 2009-07-15 12:10:26 +04:30
fantasai
1a4e383ad9 Bug 499377 - Store float region on frame r+sr=roc 2009-07-14 22:19:31 -07:00
Peter Van der Beken
ed0899f1ce Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
fantasai
678c355f17 Bug 503183 - Use Overflow Containers for float continuations beyond end of containing block r=roc 2009-07-13 09:50:54 -07:00
Benjamin Smedberg
7f34fe29a0 nsIPluginInstance.getMIMEType should be a [shared, const] parameter... it doesn't follow the normal XPCOM rules about allocating memory. r=josh sr=jst 2009-07-13 12:27:46 -04:00
Simon Montagu
650af63626 Check alt text for right-to-left characters and enable bidi processing if they are found. Bug 503269, r+sr=roc 2009-07-12 06:32:48 -07:00
Josh Aas
908cd606b2 Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc 2009-07-10 20:20:32 -04:00
Robert O'Callahan
301eb1e0b2 Bug 371839. Assertions that scan all continuations should bail out if the continuation chain is too long, so they don't add O(N) to algorithmic complexity. r=bzbarsky 2009-07-10 14:03:03 +12:00
Robert O'Callahan
8ce8b649b2 Bug 501295. pluginGetEdge should return coordinates relative to the window frame in the Win32 test plugin. Then we can enable test_plugin_position on Windows. r=jmathies 2009-07-10 14:03:00 +12:00
Josh Aas
c88c69078b Get rid of nsMIMEType type. b=503025 r/sr=jst 2009-07-08 23:25:20 -04:00
L. David Baron
82e676a77f Turn assertion into warning since we can hit it in large coordinate cases. (Bug 494237) r+sr=roc 2009-07-08 18:10:29 -07:00
Chris Pearce
a5c4a947e8 Bug 501535 - Don't update poster attribute on <audio> elements, only on <video>. r+/sr+ roc. 2009-07-07 14:02:06 +12:00
fantasai
be518814d7 Bug 389462 - columns don't reflow on resize r=roc 2009-07-06 18:23:24 -07:00
Robert O'Callahan
faf74419aa Bug 488620. GTK2 test plugin should not assume that ancestor X windows have associated GTK widgets. r=karlt 2009-07-04 21:47:15 +12:00
Timothy Nikkel
b21de22a53 Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc 2009-07-04 21:30:59 +12:00
Graeme McCutcheon
1dae21f7e8 Add a mochitest-based reftest and remove the previously disabled reftest for bug 263683. r=roc 2009-07-03 21:12:06 +01:00
Josh Aas
d5e66a3fb6 Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst 2009-07-01 20:54:18 -04:00
Josh Aas
73eb23eeb9 Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Masayuki Nakano
adfdc27a90 Bug 486778 Spell checker's wavy line is sometimes drawn through misspelled words r+sr=roc 2009-07-01 01:52:16 +09:00
Josh Aas
4a7715939e Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
Josh Aas
11468250a3 Windows bustage fix for bug 500889. 2009-06-29 15:38:09 -04:00
Josh Aas
c81455d12a Remove plugin instance peers (nsIPluginInstancePeer, nsPIPluginInstancePeer). Second and final part of bug 500889. r/sr=jst 2009-06-29 14:53:52 -04:00
David Bolter
281b227c46 Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Daniel Holbert
3589586c5b Bug 465651: Move ReflowOverflowContainerChildren earlier in nsBlockFrame::Reflow. r+sr=roc 2009-06-28 20:56:13 -07:00
Robert O'Callahan
a3da1d433e Bug 500630. Clip Cocoa plugins to theheir bounds, so an errant plugin won't draw outside its bounds and leave artifacts. r=josh
--HG--
extra : rebase_source : 551f8124ba9afb8576106f38e7916cf8fd6f7111
2009-06-29 10:52:11 +12:00
Robert O'Callahan
62129c7d37 Bug 500556. Split FRAMETREE_DEPENDS_ON_CHARS bit into NS_CREATE_FRAME_IF_NON_WHITESPACE and NS_REFRAME_IF_WHITESPACE so we don't need to reframe for every data change. r+sr=bzbarsky
--HG--
extra : rebase_source : 580aed3273c16e8402434a6f32d18dca542f29c0
2009-06-29 10:48:24 +12:00
Josh Aas
4e45156e64 Bug 500889 - Remove nsIPluginInstancePeer2 and nsIPluginInstancePeer3, part 1 for removing plugin instance peers. b=500889 r/sr=jst 2009-06-28 19:43:19 -04:00
Johnny Stenback
c773b6331b Fixing bug 484744. Revert an IID change that broke the old Java plugin. r+sr=mrbkap@gmail.com 2009-06-26 07:57:26 -07:00
Josh Aas
8e7850a5bd Bustage fix for bug 500593. 2009-06-26 10:54:51 -04:00
Chris Pearce
1a65d280a9 Bug 449156 - Implement HTMLVideoElement.poster, with correct reftests. r+=doublec,jst, sr+=roc 2009-06-26 19:25:17 +12:00
Chris Pearce
55076f0d9d Backout bug 449156 due to test-poster-9 failure. 2009-06-26 18:25:03 +12:00
Chris Pearce
7bb427a394 Bug 449156 - Implement HTMLVideoElement.poster r+=doublec,jst sr+=roc 2009-06-26 16:23:14 +12:00
Josh Aas
4734a09527 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Timothy Nikkel
1a1fb2ac05 Bug 458651. Text hidden with 'blink' should still receive events. r+sr=roc
--HG--
extra : rebase_source : cfde922d71be51795c3d3fa398faead1d00e2e55
2009-06-24 21:09:26 +12:00
Boris Zbarsky
4f8205dfe2 Bug 478465. Don't clobber our NS_FRAME_IN_REFLOW flag by scrolling. r+sr=roc 2009-06-23 21:35:00 -04:00
Karl Tomlinson
7fac57d2e7 b=495959 set NS_FRAME_CONTAINS_RELATIVE_HEIGHT for relative line-heights r=bz,dbaron 2009-06-20 13:39:40 +12:00
Josh Aas
ed0da293be Minor Mac OS X plugin related cleanup, no bug. r=smichaud 2009-06-19 12:15:23 -04:00
Jesse Ruderman
296a1a61cd Add a bunch of -moz-column crashtests 2009-06-18 19:17:24 -07:00
Robert Longson
1973deec58 Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
Jesse Ruderman
6dfecd1f57 Add crashtest for bug 479938 2009-06-16 12:11:04 -07:00
L. David Baron
0d06184f97 Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
L. David Baron
5cd3ba5141 Don't reduce the height we're checking while we reflow for floats. (Bug 494332) r+sr=roc 2009-06-16 08:00:20 -07:00
Josh Aas
ad98ea63ad Fix some whitespace issues in nsObjectFrame.cpp. no bug, r/sr=sparky 2009-06-15 17:36:11 -04:00
Jesse Ruderman
8d01006bd7 Add crashtests 2009-06-12 19:21:09 -07:00
Timothy Nikkel
358f2be59b Bug 491700 - "hang while resizing windows (CPU hits 100%, no interaction is possible)." r+sr=bzbarsky 2009-06-12 21:28:41 -04:00
Neil Rashbrook
9805c029f6 Bug 458231 Frame overflow plays havoc with size of <label> or <description> r+sr=roc r=dao for backout of workaround for bug 69710 2009-06-12 08:33:51 +01:00
Robert O'Callahan
430c7bf0dc Bug 492837. If a scrollframe's reflow is interrupted, don't clamp the scroll position to the new size. r=bzbarsky
--HG--
extra : rebase_source : f0def3a670f208e5894cdbd650d395d991441c34
2009-06-12 13:46:33 +12:00
Boris Zbarsky
e0d84788ef Bug 493649. Make sure that we never end up incomplete when our available height is unconstrained. r+sr=roc 2009-06-11 13:09:35 -04:00
Boris Zbarsky
da7a0478e4 Bug 493863. We might have stopped the loop right after reflowing a column, so put off the CheckForInterrupt on the column-set until after the loop. r+sr=roc 2009-06-11 10:35:08 -04:00
Arpad Borsos
be212f351c Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc 2009-05-29 12:15:40 +02:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Henri Sivonen
2b33dab370 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Ben Newman
009d7b155b Bug 487750 - test_plugin_clipping.xhtml fails randomly. r+sr=bz 2009-06-04 14:46:13 -07:00
Robert O'Callahan
8c7da0cfb7 Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner 2009-05-28 17:01:42 +12:00