Commit Graph

2070 Commits

Author SHA1 Message Date
Jim Mathies
d4cc6d9831 Backout bug 555133 to fix bug 555950. 2010-03-31 12:55:41 -05:00
Josh Aas
c12f7f8878 Fix comment. 2010-03-31 13:51:25 -04:00
Masayuki Nakano
313a3bd180 Bug 554822 backout the previous patch 2010-04-01 02:31:06 +09:00
Masayuki Nakano
55bbbc0a73 Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc 2010-04-01 02:12:43 +09:00
Rob Arnold
9ffd5134c3 Bug 555133 - Attempt to infer whether or not theme parts are transparent r=roc sr=vlad 2010-03-29 15:24:40 -04:00
Craig Topper
1921815643 Bug 253889: DeCOMtaminate nsIPresShell - IsPaintingSuppressed(). r=roc
--HG--
extra : rebase_source : 9ee8283e8bce33402893ae5316f89c9f699a1236
2010-03-31 08:43:49 -04:00
Craig Topper
7b89b159bb Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Robert O'Callahan
c745b6c7bc Bug 551463. Don't clamp scroll positions during reflow, do it during a post-reflow callback so that temporary frame size changes don't clamp when they shouldn't. r=mats 2010-03-29 14:46:59 +13:00
Robert O'Callahan
8dedebd2e4 Bug 551635. Don't crash if we focus the root element and there's no root scroll frame. r=mats 2010-03-11 18:37:27 +13:00
Robert O'Callahan
51aea0b3ed Bug 545049. Capture the pre-transform overflow area of a frame and use it in InvalidateOverflowArea. r=mats 2010-03-29 14:46:58 +13:00
Robert O'Callahan
60dacfeed1 Bug 545049. When the overflow area of a transformed frame changes, we need to repaint the whole thing. r=mats 2010-03-29 14:46:58 +13:00
Robert O'Callahan
9a2ed61b34 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Robert O'Callahan
65a544dade Bug 551632. endsInDiacritic frame property is set but never used. r=smontagu 2010-03-29 14:46:13 +13:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Masayuki Nakano
9de2f77373 Bug 553975 Caret is painted under textframe in input/textarea element r=roc 2010-03-27 13:33:17 +09:00
Josh Aas
24d5968b30 Send repeat key events to Cocoa NPAPI plugins. b=554753 r=smichaud r=roc 2010-03-25 20:14:56 -04:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Kyle Huey
53dc79a0f8 Backing out Bug 253889 to fix Bug 555727. 2010-03-30 19:57:12 -04:00
Kyle Huey
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Boris Zbarsky
ce67bf7350 Bug 550882. Make sure to create scrollbars for the viewport even if it's currently overflow:hidden, since various changes to <body> and the like can change the propagated overflow. r=roc 2010-03-08 19:30:02 -05:00
Benoit Girard
03c1f7cf9c Add support for the NPAPI Core Animation drawing model. b=497225 r=josh sr=roc 2010-03-23 20:51:11 -04:00
Neil Deakin
6906a92fd4 BBug 554092, resizer overlaps content window scrollbar, r=roc 2010-03-23 14:55:35 -04:00
Neil Deakin
613aeb8685 Bug 553760, two resizers appear in textarea, hide the one for the placeholder scrollframe, r=dbaron 2010-03-23 13:14:47 -04:00
liucougar@gmail.com
08a58993f1 Bug 507936 - Should join node when deleting at end of paragraph. r=peterv 2010-03-23 09:23:23 +01:00
Jesse Ruderman
a343278e6b Add crashtest for bug 461294 2010-03-21 16:27:11 -07:00
Craig Topper
a956b85435 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Neil Deakin
79c932638a Bug 442228, support resizers in scrollable areas and enable them by default for textareas, r=roc,sr=dbaron 2010-03-19 07:49:34 -04:00
Neil Deakin
b5207640b3 Bug 544472, eliminate duplicate calls to AddCSS*** methods, plus some minor related code cleanup, r=dbaron 2010-03-18 15:58:15 -04:00
Peter Van der Beken
e5d87ec5bb Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Zack Weinberg
2621981f69 Bug 403526: Do not propagate text-decoration to floats. r=dbaron 2010-03-17 11:18:06 -07:00
Timothy Nikkel
7350d337c4 Bug 534768. Also special case creation of continuations inside of floating first letter frames while reflowing them. r=roc,smontagu 2010-03-17 12:30:30 -05:00
Robert O'Callahan
59f17b52c3 Bug 538323. Part 2: use ImageLayers to render video. r=kinetik 2010-03-02 12:41:49 +13:00
Justin Wood
3659e4a8ef Backout Bug 507936, Due to test failures. roc claimed to have done it already but I don't see it 2010-03-15 01:15:27 -04:00
liucougar
a571e0a828 Bug 507936. Join nodes when deleting at end of paragraph. r=peterv
--HG--
extra : rebase_source : cf90db83f439a33643daf98662f36b98a18649c7
2010-03-15 14:37:23 +13:00
Robert O'Callahan
84aaebcc5c Bug 549184. Track 'has nonempty content been placed on this line yet' separately from 'has nonempty, non-span content been placed on this line yet'. r=dbaron
--HG--
extra : rebase_source : fe9318ed5143fe42107a55dfdcb6c0c8fee3dae6
2010-03-10 13:14:14 +13:00
Robert O'Callahan
69610b8d43 Bug 546071. Compute view-to-widget offset for plugin views. r=mats
--HG--
extra : rebase_source : 483afc3b0d00f5fd6685f760b6ad358a94a7c9ba
2010-02-24 00:33:41 -08:00
Mats Palmgren
2fbad415be Add SimpleTest.waitForFocus to fix [orange]. 2010-03-15 02:04:13 +01:00
Mats Palmgren
549893b6d7 Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc 2010-03-14 23:52:07 +01:00
Boris Zbarsky
b97993f078 Backed out changeset f0239b3789d9 (bug 550882) because it causes a Tsspider regression.
--HG--
extra : rebase_source : ce7b9a047e91e3011d02c9807fdaba51e70f2b64
2010-03-11 00:59:47 -05:00
Doug Turner
e342d43d13 Bug 550545 - The NPAPI ImageExpose event should be disabled when building for Qt. r=vlad
--HG--
extra : rebase_source : b66a81ba5a019e7da387eb81d4fd2454be196fe7
2010-03-10 15:01:46 -08:00
Boris Zbarsky
4b5ee3b9bd Bug 550882. Make sure to create scrollbars for the viewport even if it's currently overflow:hidden, since various changes to <body> and the like can change the propagated overflow. r=roc 2010-03-08 19:30:02 -05:00
Boris Zbarsky
65a4e7e6d2 Backed out changeset c7c0db9074c7 (bug 550882) on suspicion of causing a Tsspider regression.
--HG--
extra : rebase_source : 7a3274280e4dfeebd779ec728bc6b8aa65e9cf61
2010-03-09 09:34:18 -05:00
Henri Sivonen
7ca64dc3a9 Bug 546398 - Replace bogus </head> tag with </title> in test_bug263683.html. r=graememcc.
--HG--
extra : rebase_source : ae501b06b15153a06402c109b0a566b1f44b96aa
2010-03-09 15:03:29 +02:00
Boris Zbarsky
58827ef725 Bug 550882. Make sure to create scrollbars for the viewport even if it's currently overflow:hidden, since various changes to <body> and the like can change the propagated overflow. r=roc 2010-03-08 19:30:02 -05:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Robert O'Callahan
6a95e8500e Backed out changeset 78318b260f18 2010-03-05 20:05:33 +13:00
Robert O'Callahan
b752207ff1 Bug 546071. Compute view-to-widget offset for plugin views. r=mats 2010-02-24 00:33:41 -08:00
Robert O'Callahan
6f9f70fb08 Bug 546033. AddScrollPositionListener lazily in nsCanvasFrame to ensure that it's not added during frame construction when the root scroll frame might not be set up yet. r=enndeakin 2010-03-05 13:10:41 +13:00
Robert O'Callahan
f07ee1400d Bug 539323. Position the caret at the content-edge of its container frame, not the border-edge. r=mats 2010-03-05 11:52:59 +13:00
Robert O'Callahan
481b4ae05c Bug 499862. Need to flush out linebreaker stuff even if there are no mapped flows. r=smontagu 2010-02-23 23:23:45 -08:00
Mike Kristoffersen
abdb2aa82c Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Boris Zbarsky
3f25246245 Bug 522632. Make cellContent blocks returns false from IsContainingBlock. r=dbaron 2010-03-03 18:53:18 -05:00
Boris Zbarsky
7b3f749b05 Bug 527977 followup. Fix build bustage. 2010-03-02 19:04:44 -05:00
Steven Michaud
64dbfdb0b6 Bug 542068 - Wrong coordinates set on synthesized plugin events. r=josh 2010-03-02 10:59:01 -06:00
Michael Ventnor
25bc9c7d85 Bug 542361 - Fix and remove the GetUsedX assertions r=roc
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Jeff Muizelaar
ccc8a476f6 Bug 549331. Use ThebesContext() instead of GetNativeGraphicData() in nsVideoFrame. r=doublec
GetNativeGraphicData() is deprecated and less type safe. This was
also the only user that used nsIRenderingContext::NATIVE_THEBES_CONTEXT.
2010-03-01 17:18:01 -05:00
Jesse Ruderman
7ee60fba5d Add crashtests 2010-02-27 13:04:34 -08:00
Henri Sivonen
7257fa4c52 Bug 546604 - Replace bogus </head> tag with </title> in test_bug348681.html. r=roc.
--HG--
extra : rebase_source : b0677964c2e6027d92745fceecbc9f520f610534
2010-02-23 16:05:43 +02:00
Jonas Sicking
28396b7d9c Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Jonas Sicking
51fbd0da83 Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Robert O'Callahan
ae45815e53 Bug 545581. Stop checking view visibility at content/chrome boundary. r=mats
--HG--
extra : rebase_source : 57383fcc5138b4b4ff27619adaaec33fba38a3a2
2010-02-24 11:37:58 -08:00
Robert O'Callahan
ec27a13556 Bug 546530. Bound search for previous cluster start. r=smontagu
--HG--
extra : rebase_source : 5b7bca2777b5cfc5495fc9d339eaf0fbe1ff9a64
2010-02-19 14:30:43 +13:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Alexander Surkov
be2b5e3966 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
L. David Baron
3a70c2f304 Ensure square list bullets are always square. (Bug 376690) r=roc 2010-02-18 12:26:54 -05:00
Jonathan Kew
a36f66c45b Bug 545989 - don't throw an exception if unable to allocate storage for gfxTextRun creation. r=roc 2010-02-18 11:52:34 +00:00
L. David Baron
7cae68056e Fix spelling of 'horizontal' to cause another round of builds (and talos runs). CLOSED TREE 2010-02-17 10:43:39 -05:00
Jesse Ruderman
b9f3d2c96e Disable test that hangs sometimes (tracked by bug 511234) 2010-02-11 14:14:28 -08:00
Alexander Surkov
73e251f02b Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Oleg Romashin
afd6f98795 bug 544193 - Qt version for plugins embedding functionality required. r=mozbugz. 2010-02-10 22:48:20 +02:00
Zack Weinberg
7fd5fe000b Bug 345681: Remove the vestigial nsICheckboxControlFrame and nsIRadioControlFrame interfaces. r=roc 2010-02-09 14:06:37 -08:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Makoto Kato
256f2577f8 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst 2010-02-08 11:49:18 +09:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Serge Gautherie
271756558e Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
55ebf80987 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Dão Gottwald
5bf54b4622 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Michael Ventnor
2b0c157e9a Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Timothy Nikkel
5ab231bfb9 Bug 517737. Special case event targeting for area element's that are capturing the mouse due to their misuse of primary frame pointers. r=smaug
--HG--
extra : rebase_source : ae74bfd8ccec6e0e7605be33a99cc3e1b3a85420
2010-02-02 20:07:19 -06:00
Timothy Nikkel
582541daec Bug 542900. nsPluginInstanceOwner::Init should be calling AddScrollPositionListener. r=roc
--HG--
extra : rebase_source : 403e7ed117c743643d92bf67f1c15e8678c3458d
2010-01-28 18:03:52 -06:00
Timothy Nikkel
375930c3f5 Bug 488771. Stop nsIScrollPositionListener from inheriting from nsISupports. r=roc
--HG--
extra : rebase_source : bb93c56b3347bc8df7fd843f08e2d5dfc4f3071b
2010-01-28 18:03:42 -06:00
Timothy Nikkel
fda05ac7f9 Bug 542136. If we are going to stop reflowing the children of a line, split the line even if we just finished a first letter or placeholder. r=roc
--HG--
extra : rebase_source : 3c3d54119f839c412a85930190f247bae07b10c7
2010-01-27 22:12:45 -06:00
Timothy Nikkel
876990d359 Bug 540247. If we change the size of the scrolled frame for a XUL scroll make sure to invalidate the changed area. r=roc
--HG--
extra : rebase_source : 81bf0e8490ec47249e7cb9a868652ff5317a5424
2010-01-27 22:12:42 -06:00
Timothy Nikkel
5784631b01 Bug 537645. When pulling frames try the overflow list before going to the next in flow. r=bzbarsky
--HG--
extra : rebase_source : 9fb2098251970e60c8f24da58519b62af7b051d1
2010-01-27 22:12:37 -06:00
Timothy Nikkel
7901388e0d Bug 536926. If the subdocument view doesn't have a frame for painting, try looking for the old page's view to draw. r=roc
--HG--
extra : rebase_source : da372c7c69b82979ae3a52cbf05672b9b9c37b4d
2010-01-27 22:12:31 -06:00
Benjamin Smedberg
6db43fb19a revert changeset f61e06c31086 (bug 542971) since it caused bug 543376. 2010-02-02 17:18:37 -08:00
Karl Tomlinson
95f0d08d20 b=540910 missed a timeout between parent and child X server communication 2010-02-02 18:59:08 +13:00
Karl Tomlinson
4618b955ae backout ebca6061298f as an immediate flush should not be necessary b=540910 2010-02-02 18:29:32 +13:00
Robert O'Callahan
abe4078562 Bug 538935. A span should be considered non-empty (for the purposes of deciding whether stuff after it is 'at the beginning of the line') only if it contains non-empty content. r=dbaron
--HG--
extra : rebase_source : 70e158527ef017ed5d5271e861a775aa85986645
2010-02-02 12:18:57 +13:00
Robert O'Callahan
c4012b90b5 Bug 539720. Initialize cachedNewlineOffset. r=bz
--HG--
extra : rebase_source : 09b3b720d054061b7879225c747f8565a8e3ba20
2010-02-02 12:17:17 +13:00
Josh Aas
46d060dccd Get rid of nsPluginInstanceTag. Clarifies the plugin object hierarchy and makes it easier to get from one object to another. We avoid unnecessary null checks and strong references due to clarified lifetimes dependencies between objects. Makes all of this code less error-prone. b=542971 r=jst 2010-01-29 14:42:54 -05:00
Mats Palmgren
2b3d68789b Register the frame also when the widget already existed (re-instantiating a stopped plugin). b=542608 r=roc 2010-01-28 21:58:04 +01:00
Ben Turner
453fbad6ed Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml' r=jimm. 2010-01-28 11:32:41 -08:00
Benjamin Smedberg
5e3615dc38 Work around bug 542337 by making the testplugin not call IPDL methods to paint. 2010-01-26 17:50:01 -05:00
Karl Tomlinson
4ab92db462 b=540910 restore flushing of Xlib requests from the parent to the server before testing from the OOP plugin
--HG--
extra : transplant_source : %BEAD%FFw%90zZ.GY%0D%DB%A6%5Ct%E4%8E%BA%5B
2010-01-26 13:48:16 +13:00
Benjamin Smedberg
36a3ab1393 Add a timeout for test_plugin_focus in order for events to be delievered to asynchronous event loops, r=jimm
--HG--
extra : rebase_source : e69cfae5589da8e47585bbd003b6bb8052543712
2010-01-26 17:50:41 -05:00
Jonathan Kew
35b54beeb5 Bug 541277: correct boundary handling in character/glyph clump processing. r=roc 2010-01-27 07:46:31 +00:00
Simon Montagu
03a690bc2e Allow justification space to be added after non-breaking-spaces. Bug 541189, r=roc 2010-01-26 23:30:13 -08:00
L. David Baron
8b216807b8 Make scrolling work inside iframe inside transformed svg:foreignObject by using GetCrossDocParentFrame for loop in check for whether we can blit. (Bug 403443) r=roc 2010-01-26 12:39:02 -08:00
Mats Palmgren
fa91c35561 Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc 2010-01-26 14:10:12 +01:00
Karl Tomlinson
d98b7387e7 b=540910 use timeouts in plugin_clipping_helper2 so that the X server processes Xlib requests from the parent before testing requests from the OOP plugin
--HG--
extra : transplant_source : %1Dy%5D%FF%C9%3ED%98%8B%BE%A8%7B%09m%5Cl%0F%9E%E3%FF
2010-01-22 23:41:07 +13:00
L. David Baron
8e8816457e Ensure intrinsic size is always initialized. (Bug 541028) r=bzbarsky 2010-01-24 12:06:19 -08:00
Josh Aas
4347f70d5b Pointer to NP_CGContext should be NULL in Cocoa NPAPI event model. b=541018 r=smichaud 2010-01-24 01:00:39 -05:00
Steven Michaud
22d7ec9de0 Bug 525078 - Make plugin mouse up/down/dragging behavior conform to OS X practice and Cocoa NPAPI spec clarifications. r=josh 2010-01-22 14:57:04 -06:00
Doug Turner
a560ee17ef Bug 541259 - Kung Fu Death Grip Hildon specific methods. r=jst 2010-01-21 20:51:46 -08:00
Karl Tomlinson
aeb93f86c9 b=540910 flush Xlib requests from the parent to the server before testing from the OOP plugin, and increase the timeout so that GTK's idle timer gets run for XEmbed plug sizing
--HG--
extra : transplant_source : SE%0Dzc%AE%F6%03%B2%D1j%F7%AA%E9%25n%EF%08%97%09
2010-01-21 23:32:17 +13:00
Brad Lassey
f2c24e00f5 Bug 540795 - NotifyPluginEventObservers crashes. r=jst 2010-01-21 07:17:52 -08:00
Ms2ger
fb74cd34c3 Bug 538882 - plugin_focus_helper.html window not closed when running mochitest on Linux. r=roc 2010-01-21 13:17:43 +01:00
Doug Turner
8818752309 Bug 540843 - Do not cache dom element in nsObjectFrame shm code. r=olli. Maemo only 2010-01-20 14:08:50 -08:00
Benjamin Smedberg
670f099b02 Bug 539726 - Increase the timeout for plugin positioning due to delays in XEmbed process compared with in-process (which only requires delaying out to the event loop), as suggested by karlt
--HG--
extra : transplant_source : %EFP%F06%A1%88%04l%01k%3C%DC%3C%FA%20G%7E%0D%91K
2010-01-19 15:25:18 -05:00
Masayuki Nakano
798021118b Bug 539531 - Crash when I click-and-drag on a "Gordon" flash emulation [@ nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree(nsIFrame*, nsPoint&, nsIFrame**, nsPoint&) ]. r=bz 2010-01-20 11:22:09 +01:00
Jim Mathies
c816891a55 Bug 539955 - [OOPP] unit test failure in test_plugin_mouse_coords.html. r=bsmedberg.
--HG--
extra : transplant_source : o%008%29%A0%96%60%E1W%7D%1A%C7e%BDJ%B2D%EE%1D%E2
2010-01-15 16:02:01 -06:00
Ben Turner
e0c2098adf Bug 535036 - '[OOPP] Flash hangs Firefox with IPC enabled when video is paused and process loses focus'. r=masayuki+jst, sr=jst. 2010-01-15 12:36:00 -08:00
Robert O'Callahan
f737648d27 Bug 539331 - browser_sanitizeDialog.js is failing part 2, r=matspal 2010-01-13 04:57:00 -08:00
Robert O'Callahan
6787212ae4 Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Robert O'Callahan
7d5ddf93b2 Bug 539226. Ensure that when a scrollbar is added or removed the invalidation is not swallowed by the code that suppresses invalidation of hidden scrollbars. r=mats 2010-01-14 15:30:06 +13:00
Robert O'Callahan
df694cae49 Bug 534433. Destroy all nsImageLoaders when the prescontext is torn down. r=mats 2010-01-14 15:30:05 +13:00
Robert O'Callahan
10ea3b4154 Backing out fix for bug 539331 due to test failures 2010-01-14 15:29:27 +13:00
Robert O'Callahan
9e07c024bc Backed out changeset a3af8424d938 2010-01-14 15:29:05 +13:00
Jim Mathies
3960d009a6 Bug 536369 - OOPP: Fix for mouse event serialization errors. r=bsmedberg. 2010-01-13 19:46:44 -06:00
Robert O'Callahan
c0402ee315 Bug 539331 - browser_sanitizeDialog.js is failing [r=mats] 2010-01-13 04:57:00 -08:00
Robert O'Callahan
68f4784a75 Bug 526394. Part 36: Store the overflow area explicitly whenever it's not exactly equal to the border-box; if they're both empty but with different dimensions or position, we should still store the explicit overflow area. Also fix test_offsets to compute the expected scrolled area correctly. r=mats 2010-01-12 10:45:21 +13:00
Robert O'Callahan
8d3cbbd5d2 Bug 526394. Part 35: Prevent event dispatch and script execution during UpdateViewAfterScroll, even in the presence of malign Win32 reentrant APIs. r=mats 2010-01-12 10:45:20 +13:00
Robert O'Callahan
b5f5b11c36 Bug 526394. Part 33: Remove nsScrollPortView etc. r=mats 2010-01-12 10:45:20 +13:00
Robert O'Callahan
dd085808e4 Bug 526394. Part 32: Remove code that only existed so that scrollframes could have views. r=mats 2010-01-12 10:45:19 +13:00
Robert O'Callahan
e845917d4e Bug 526394. Part 31.5: Cleanup ScrolledAreaEvent stuff to be simpler. In particular we don't need to store the scrolled area, we can just compute it when we fire the event. r=mats 2010-01-12 10:45:19 +13:00
Robert O'Callahan
04a613495c Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats 2009-10-08 16:01:15 +13:00
Robert O'Callahan
a8cbf01d74 Bug 526394. Part 30: Change the scroll state in nsPresState to a point. r=mats 2010-01-12 10:45:18 +13:00
Robert O'Callahan
88521a102c Bug 526394. Part 29: Create new nsLayoutUtils methods and remove useless code from nsListControlFrame::CaptureMouseEvents. r=mats 2010-01-12 10:45:18 +13:00
Robert O'Callahan
792994ddb4 Bug 526394. Part 28: Remove nsIScrollableFrame::GetScrollableView. r=mats 2009-09-16 12:11:40 +12:00
Robert O'Callahan
c814462e8a Bug 526394. Part 26: Rework nsSelection to use frames only. r=mats 2009-09-10 17:16:18 +12:00
Robert O'Callahan
5326dfa81a Bug 526394. Part 19: Remove view paramters from nsIScrollPositionListener. r=mats 2009-09-09 17:40:01 +12:00
Robert O'Callahan
a923083da5 Bug 526394. Part 18: Remove nsIScrollableViewProvider and its implementations, now that we've removed all its users. r=mats 2009-09-09 17:40:01 +12:00
Robert O'Callahan
7eb8b6c4d7 Bug 526394. Part 17: Convert some selection-related code in nsTextControlFrame and nsSelection. r=mats 2009-09-03 17:23:47 +12:00
Robert O'Callahan
4adad50c20 Bug 526394. Part 15: Convert various random chunks of layout code. r=mats 2009-09-03 16:26:00 +12:00
Robert O'Callahan
e8d0eff1f3 Bug 526394. Part 13: Convert nsCanvasFrame. r=mats 2009-09-03 16:10:13 +12:00
Robert O'Callahan
9324676397 Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats 2009-09-01 23:29:27 +12:00
Robert O'Callahan
13ac1c2c83 Bug 526394. Part 4: Obsolete nsIScrollableViewProvider by adding nsIFrame::GetScrollTargetFrame. r=mats,sr=dbaron 2009-09-01 23:22:31 +12:00
Robert O'Callahan
3c94fecdb3 Bug 526394. Part 3: Add all necessary new APIs to nsIScrollableFrame. r=mats,sr=dbaron 2009-09-01 16:11:11 +12:00
Mats Palmgren
7fae53e76f Simplify PullFrame()/PullFrameFrom(). b=538525 r=roc 2010-01-11 15:08:23 +01:00
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Bernd
f4a1800dfb bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky 2010-01-09 16:33:03 +01:00
Daniel Holbert
2d9d5efe4f comment-only typo fix: s/its/it's/ for contractions in nsBlockReflowState.cpp 2010-01-08 16:38:08 -08:00
Daniel Holbert
2f7a34b75a Bug 538431: Rename nsVideoFrame::GetIntrinsicSize to 'GetVideoIntrinsicSize', so it doesn't hide inherited method. r=roc 2010-01-08 16:37:30 -08:00
Robert O'Callahan
2a230d1af5 Bug 537309. Synthesize WM_*DBLCLK on NS_MOUSE_BUTTON_DOWN, not NS_MOUSE_DOUBLECLICK (since the latter fires on mouse-up). r=jmathies 2010-01-07 13:55:09 +13:00
Robert O'Callahan
064c199276 Bug 532998. Cache the offset of the next newline character in preformatted text. r=smontagu 2010-01-07 13:55:09 +13:00
Timothy Nikkel
5f6a955352 Bug 499841. Pass the block frame that contains the first letter style to RemoveFirstLetterFrames so that the NS_BLOCK_HAS_FIRST_LETTER_CHILD bit can be unset on it. Always set the NS_BLOCK_HAS_FIRST_LETTER_CHILD bit on the first continuation only. r=bzbarsky
--HG--
extra : rebase_source : 411297490d6d18244fa7caa3194facfedc28ea86
2009-12-22 17:44:35 -06:00
Timothy Nikkel
01699b9589 Bug 287088. Stop first-line styling from leaking into second and subsequent lines when a single element is split between first and second lines. r=roc
--HG--
extra : rebase_source : 0dcf9009a73d5f8082c09172f4ce6840be5e6c98
2009-12-22 17:42:45 -06:00
Boris Zbarsky
b22600af13 Bug 537419. mContent might be null here. r=dbaron 2009-12-31 20:37:57 -05:00
Karl Tomlinson
e970532a99 b=526797 move expose event origin when possible to workaround Flash bug r=roc
--HG--
extra : rebase_source : 6d90440764dd906dabe2555defa5797d3f0cb9a4
2009-12-31 16:16:23 +13:00
Michael Wu
27fd1e717b Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst] 2009-12-27 14:26:00 -06:00
moz_poro@porotal.org
01814a3b84 Bug 507811 - "NS_KEY_PRESS not handled by windowless plugins" [r=karlt] 2009-12-30 20:56:55 -06:00
Boris Zbarsky
c3626d1503 Bug 536718. Clean up NotifyDestroyingFrame. r=roc 2009-12-29 15:13:54 -05:00
L. David Baron
11b799dbbe Set iterators to valid position after deleting overflow lines. (Bug 534082) r=tnikkel 2009-12-25 08:59:08 -05:00
Boris Zbarsky
b3883855ac Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
Boris Zbarsky
df21dcfefd Bug 500882 part 3. Switch accessibility module to using the new GetPrimaryFrame API. r=surkov, sr=roc 2009-12-24 16:20:05 -05:00
Boris Zbarsky
b2e4054198 Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc 2009-12-24 16:20:05 -05:00
fantasai
1ffb0c06ef Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc 2009-12-24 00:21:15 -05:00
fantasai
1e880721fb Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc 2009-12-24 00:20:41 -05:00
fantasai
714c1668f7 Bug 508473 Part I: Remove nsIFrame::RemovedAsPrimary r=bz sr=roc 2009-12-24 00:20:20 -05:00
Mark Finkle
143fe184f9 Bug 536199 - Crash Yahoo! frontpage with 12/21 1.9.2 nightly build [r=dougt] 2009-12-22 16:59:34 -05:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Simon Montagu
545c0b5a6f Update data files and tests to Unicode 5.2. Bug 528359, r=Masatoshi Kimura <YV03354@nifty.ne.jp> 2009-12-21 01:20:35 -08:00
Mats Palmgren
e1c5862ad0 Tests for bug 533379, bug 520340. 2009-12-18 10:02:33 +01:00
Mats Palmgren
f24b74cefd Drain overflow frames when the last frame from principal child list is pulled. b=533379 r=bzbarsky 2009-12-18 10:02:26 +01:00
Mats Palmgren
b4284c9cc0 Don't try to get a nsLineBox* from an empty line list, it aborts a debug build. b=533379 r=bzbarsky 2009-12-18 10:02:10 +01:00
Roy Frostig
5e05d545a8 bug 514732. Additional tests for bug 514732 followup that fires MozScrolledAreaChanged on restore from bfcache. r=smaug 2009-12-17 09:38:00 -08:00
Josh Aas
cdb8c45c2e Scroll position updates shouldn't start the Carbon plugin idle event timer. b=535630 r=smichaud 2009-12-17 15:41:13 -05:00
Robert O'Callahan
a0eeb78969 Bug 526216 - mochitest-browser-chrome: crash in nsObjectFrame::IsOpaque while running browser_pluginnotification.js and test_crashing.html, r=josh
--HG--
extra : rebase_source : 3f5677e9af8e5b9d54ac394d62cf8528487efa94
2009-12-17 09:56:24 -05:00
Benjamin Smedberg
0177a8612f Merge plugin changes from electrolysis to mozilla-central. 2009-12-16 19:06:54 -05:00
Benjamin Smedberg
211d3738cb Merge mozilla-central to electrolysis. 2009-12-16 19:02:20 -05:00
Doug Turner
54346be057 Bug 535338 - UpdateVisibility should call VisibilityFullyObscured when clip is zero. r=roc 2009-12-16 14:08:14 -08:00
Benjamin Smedberg
2efe22a0e4 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Josh Aas
514a6c5e9d Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05:00
Jim Mathies
1ea63e49c6 Bug 534027 - input event coords incorrect for oop windowless plugins. r=jmuizelaar. 2009-12-14 18:28:51 -06:00
Jim Mathies
23118539a9 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Robert O'Callahan
b228105b93 Bug 534366. Make nsFirstLineFrame set InlineReflowState::mLineLayout correctly. r=dbaron 2009-12-16 09:08:59 +13:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Masayuki Nakano
13ffca5258 Bug 42676 Can't drag to extend selection out of blocks with overflow:hidden/auto/scroll r=Olli 2009-12-12 13:25:21 +09:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Jim Mathies
0ffd1b2e75 Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Timothy Nikkel
d16beb2417 Bug 525751. When using a subdocument frame as a fallback for drawing canvas background color override the canvas frame check. r=roc a=roc
--HG--
extra : rebase_source : 6719372b7404a598a4ce1c1f5190a4f86d0d896b
2009-12-01 02:49:53 -06:00
Benjamin Smedberg
9911c2f99d Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Doug Turner
fced4ec129 Bug 530652 - Some sites not render flash. Fixing mistake introduced in last push r=biesinger 2009-11-30 09:09:26 -08:00
Roy Frostig
dd2838505e Bug 527872. Fix tests for bug 514732 from going randomorange. 2009-12-14 21:39:03 -08:00
Benjamin Smedberg
a819191110 End the electrolysis-plugins-only branch: merge in the remaining changes from electrolysis head in preparation for pushing to mozilla-central. 2009-12-14 09:56:08 -05:00
Benjamin Smedberg
b55b15dccf Merge additional changes from electrolysis and mozilla-central into the electrolysis-plugins-only tracking branch.
--HG--
branch : electrolysis-plugins-only
2009-12-04 11:42:28 -05:00
Benjamin Smedberg
b03c797675 Straight revert of layout/* to its mozilla-central state, and removal of testshell which depends on PContentProcess.
--HG--
branch : electrolysis-plugins-only
2009-11-30 14:15:30 -05:00
Doug Turner
81d6db5548 Bug 530739 - Intermittent Shutdown crash after visiting a page with flash video. r=jst 2009-11-25 18:38:22 -08:00
Benjamin Smedberg
7a581148bc Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Mats Palmgren
125c079acd Bug 526769. r=roc a1.9.2=dbaron 2009-11-24 20:29:48 +01:00
Doug Turner
387eed8493 Bug 530652 - Some sites not render flash. r=karlt
--HG--
extra : rebase_source : f0078705705e960fe148fd9d64847c38ff58a656
2009-11-24 05:57:58 -08:00
Doug Turner
dbc44dda9c Bug 530380 - Avoid slow path painting on Hildon. r=karlt. 2009-11-23 14:46:01 -08:00
Doug Turner
730075f7eb Bug 530378return early to avoid crashing
. r=karlt
2009-11-22 22:36:22 -08:00
Doug Turner
7f9938ce48 Bug 530381 - Cache X11 GC for NativeImageDraw. r=karlt 2009-11-22 15:46:42 -08:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Doug Turner
2fe6a6f5c2 Bug 529996 - Provide notification when embed/object elements are created/destroyed/resized. r=jst.
--HG--
extra : rebase_source : 44bf32345959402b591ba4763dcea26187cf7796
2009-11-20 14:59:27 -08:00