L. David Baron
a1538274bb
Stop reflowing the viewport with constrained height. (Bug 467881) r+sr=roc
2009-01-29 12:39:22 -08:00
L. David Baron
c3eeb84be5
Fix whitespace in DisplayReflowExit.
2009-01-29 12:39:22 -08:00
Boris Zbarsky
3574872d3a
Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc
2009-01-29 14:46:17 -05:00
Theppitak Karoonboonyanan
39fd2c6edd
Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv.
2009-01-27 13:50:32 +01:00
Robert O'Callahan
5e04905dff
Backed out accidentally committed 192d50641f83
...
--HG--
extra : rebase_source : 0a574802c654de30fc3c0dd68b3492a8d6cc4209
2009-01-26 20:46:56 +13:00
Robert O'Callahan
57feb73e0d
Bug 451958 ... reverting the content-policy part to see if it alone is responsible for weird random seek failures on Windows.
2009-01-26 20:44:15 +13:00
Johnny Stenback
b1945926a3
Fixing bug 474866. Make the plugin instance peer have a weak reference to its owner, and make the owner tell the peer once it's no longer its owner so we don't have reference cycles, yet the instance can hold on to its peer while being cached between pages. r+sr=mrbkap@gmail.com
2009-01-25 22:00:12 -08:00
Markus Stange
d93c06d57d
Bug 469613 - Page scrolling by clicking the scrollbar track can get stuck if the page is very long, r+sr=roc
2009-01-24 16:47:17 +01:00
Axel Hecht
8a52a20306
Backed out bug 462188, changeset 10dfe13222aa, due to mochitest hang.
...
--HG--
extra : rebase_source : 04df751be990ce4652f5a7d17579744ea6c64aa3
2009-01-24 13:41:12 +01:00
Theppitak Karoonboonyanan
569850469d
Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv
...
--HG--
extra : rebase_source : 3c393351939ad7c475604ed0bc5591e87e36b2ae
2009-01-24 22:01:05 +13:00
Jesse Ruderman
a4020920b6
Test for bug 445288.
2009-01-24 05:25:10 +01:00
Daniel Holbert
c04774b33f
whitespace-only: fix bad parameter-indentation in nsSubDocumentFrame::Reflow
2009-01-21 22:52:54 -08:00
Boris Zbarsky
ab5fa0c6e8
Bug 473390 part 3. Move some HTML frame construction assertions out of the frame constructor and into the relevant frame creation methods. r+sr=roc
2009-01-19 13:31:31 -05:00
Boris Zbarsky
c0de154bc2
Bug 473390 part 2. Call SetInitialChildList on HTML frames even if the child list is empty, to bring HTML in line with everything else. r+sr=roc
2009-01-19 13:31:31 -05:00
Peter Van der Beken
78527f8037
Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz.
2009-01-14 13:24:10 +01:00
Robert O'Callahan
ef41e78ff4
Bug 472909. Need to call FinishSettingProperties on nsTranformedTextRuns that we create as parts of other transformed textruns. r=smontagu
...
--HG--
extra : rebase_source : 38adef908b1ec8d6fcc97b1b6cb42690733ae752
2009-01-16 21:17:46 +13:00
Walter Meinl
ed775713d7
[OS/2] Bug 473906: follow-up to Bug 448830 - Split nsInt(Rect|Size|Point|Margin), r=weilbacher
2009-01-17 10:08:00 +01:00
L. David Baron
e11583f7ec
Backed out changeset 9b832d90d637 (bug 462188) due to 7 test failures on Linux and 1 on Windows (0 on Mac).
2009-01-16 15:00:40 -08:00
Theppitak Karoonboonyanan
4169a80855
Bug 462188: Fix deletion of words (Ctrl-Backspace/Option-Delete) in HTML editing. r+sr=peterv
2009-01-16 13:32:09 -08:00
Boris Zbarsky
1073781098
Adding test
2009-01-15 15:30:37 -05:00
Jeremy Lea
1800930122
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Peter Van der Beken
84d3eabc50
Back out changeset 9fd8740decb8 (Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles).) to try to fix orange.
2009-01-14 15:12:37 +01:00
Peter Van der Beken
4189af9d67
Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz.
2009-01-14 13:24:10 +01:00
Daniel Holbert
5b26d7d11e
Bug 465928 followup: correct typo in enum name - s/PERSERVE/PRESERVE/. No functional changes. r=roc
2009-01-13 12:28:28 -08:00
Benjamin Smedberg
469b7ca86d
Minor static-checking fixup: give a useful location for the "frame inherits from nsIFrame and nsISupports" warning, NPODB
2009-01-13 11:32:25 -05:00
Jesse Ruderman
118aad7d87
Add crashtest
2009-01-12 16:24:44 -08:00
Benjamin Smedberg
08c8aadf40
Add a static analysis pass to verify that for any do_QueryFrame<Interface> there is an Interface::kFrameIID declared. NPODB, static-checking only.
...
--HG--
extra : rebase_source : 0bcfa5b446d0c19610d9d61dd7e281d3923c8736
2009-01-12 14:21:11 -05:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Phil Ringnalda
b6fe1a7700
Builds are neccesary, even if you can spell necessary, and even in a CLOSED TREE
2009-01-11 00:46:35 -08:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Dave Townsend
0587e6973b
Backed out changeset fe759e3fd895 from bug 469613 due to mochitest failures
2009-01-09 13:46:45 +00:00
Markus Stange
061513f78b
Bug 469613 - Page scrolling by clicking the scrollbar track can get stuck if the page is very long, r+sr=roc
2009-01-09 10:05:24 +01:00
Michael Ventnor
318cfd2e10
Bug 472410. Don't adjust selection colors if the background is a -moz-appearance that we can't know anything about. r+sr=roc
2009-01-09 13:29:38 +13:00
Robert O'Callahan
cca5e6840b
Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu
2009-01-09 13:23:28 +13:00
Robert O'Callahan
ec55ad45cf
Bug 440149. Don't break after empty text at the start of the line, even if we're past the available width. r=smontagu
2009-01-09 13:13:45 +13:00
Mats Palmgren
6d4b0667d0
DEBUG: Make nsBlockFrame::List really print the overflow lines. b=472193 r+sr=roc
2009-01-08 22:17:53 +01:00
Uri Bernstein
def95c60da
Set mMaintainRange to null when there is no selection. b=470212 r=mats sr=roc
2009-01-08 22:17:49 +01:00
Jesse Ruderman
22cd32241d
Add five crashtests
2009-01-06 16:47:56 -08:00
Boris Zbarsky
709cd54c51
Bug 284320. Remove the contentParentFrame hack in subdocument frames, along with the no-longer-used arg it used to be used for. r+sr=roc
2009-01-06 17:29:50 -05:00
L. David Baron
ae71ba3f9c
Change code for handling out-of-nscoord-range values from NS_NOTREACHED to NS_WARNING. (Bug 472218) r+sr=roc
2009-01-06 15:21:00 -08:00
L. David Baron
56e0a57776
Fix tests to match what they should have been testing, and fix nsFloatManager behavior to match what the old code actually did as far as considering floats at the side that did not protrude into the containing block. (Bug 472252) r+sr=roc
2009-01-06 15:21:00 -08:00
L. David Baron
add2ce5a81
Add nsTArray<E>::TruncateLength, which is like SetLength, except only allows shortening of the array. (Bug 191448) r=bsmedberg
2009-01-06 15:21:00 -08:00
Benjamin Smedberg
720c4f5577
Bug 472348 - Some unused variables found by combing the warning database, rs=bz
2009-01-06 14:25:58 -05:00
Robert O'Callahan
0e5439fe27
Bug 429968. Handle situations where first-letter text detects first-letter style should not be applied, by creating a zero-length 'first letter'. r+sr=dbaron
...
--HG--
extra : rebase_source : 650611aec3adb1498dc5d8d6d38212ddf09e32fc
2009-01-05 13:36:56 +13:00
L. David Baron
8f4b3155dc
Give nsFloatManager::FloatInfo a copy constructor to avoid confusing refcount logging. (Bug 191448)
2009-01-04 20:25:58 -05:00
L. David Baron
eee42cfdd7
Replace space manager with a more limited float manager. (Bug 191448) r+sr=roc
...
--HG--
rename : layout/generic/nsSpaceManager.cpp => layout/generic/nsFloatManager.cpp
rename : layout/generic/nsSpaceManager.h => layout/generic/nsFloatManager.h
2009-01-04 19:39:54 -05:00
L. David Baron
57a8e776d8
Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc
2009-01-04 19:39:54 -05:00
L. David Baron
82d6666100
Remove the VerifyReflow code that checked the space manager state. (Bug 191448) r+sr=roc
2009-01-04 14:52:38 -05:00
L. David Baron
b3d748ba11
Fix some missed renames from bug 471356. r+sr=bzbarsky
2009-01-04 14:52:38 -05:00
Arpad Borsos
318ec6121d
Bug 471877 - Cleanup GTK includes; r+sr=roc
2009-01-03 08:37:52 +01:00
Jesse Ruderman
cf4b91bb09
Add 19 crashtests
2009-01-01 14:18:58 -08:00
Jonathan Kew
29eda950fd
Bug 470418 - Leak nsStyleContext with RTL, text-transform; r,sr=roc
2009-01-01 16:34:13 +03:30
L. David Baron
23d4f4d4b2
Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
...
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
L. David Baron
c48e8cee0e
Fix regression in CalcQuirkContainingBlockHeight from change from area frame to block frame in bug 243519. (Bug 471356) r+sr=roc
2008-12-29 10:07:38 -05:00
L. David Baron
d52dad5b98
Give nsPageBreakFrame a frame name for DEBUGging code. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
Robert O'Callahan
374cd3a20b
Bug 449142. Scale video so that it fits in the content-box of the element and has the same aspect ratio as the video source. Also adds some Ogg video reftests. r=doublec,sr=dbaron
2008-12-29 21:20:27 +13:00
Robert O'Callahan
0731a2c4f4
Bug 458296. When a block doesn't carry out the bottom-margin of its children, add that bottom-margin to its overflow area. Also, add the bottom-padding of a scrolled block to its overflow area. r+sr=dbaron
2008-12-29 21:18:40 +13:00
Robert O'Callahan
b817cb2bbf
Bug 469203. Don't try to make toplevel HTML documents transparent, it just doesn't work and the window can disappear in a mysterious way. r+sr=dbaron
2008-12-29 21:17:08 +13:00
L. David Baron
33efe12a98
Fix placement of video controls when top and right padding are different. (Bug 470596) r+sr=roc
2008-12-27 20:58:14 -05:00
L. David Baron
5a497c7cb3
Fix an off-by-border-and-padding error in nsVideoFrame::BuildDisplayList. (Bug 470596) r+sr=roc
2008-12-27 20:58:14 -05:00
L. David Baron
8458c5b6b6
Make 'word-spacing: normal' just compute to '0', since that's what CSS 2.1 says to do, and thus change nsStyleText::mWordSpacing from nsStyleCoord to nscoord. (Bug 470705) r+sr=roc
2008-12-27 20:58:14 -05:00
Jesse Ruderman
f4f6dd881a
Tests for bug 435529 and bug 436823.
2008-12-26 00:15:48 +01:00
L. David Baron
16aba7fd6b
Set up image loaders before reflow for border-image in XUL just like for HTML. (Bug 468473) r+sr=roc
2008-12-23 09:06:56 -05:00
Joe Drew
a29562512b
Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad
2008-12-19 17:35:50 -05:00
Ehsan Akhgari
0f987d9366
Bug 470376 - Compiler warnings from landing of bug 441782; r,sr=roc
2008-12-19 14:37:09 +03:30
Ehsan Akhgari
ca2a90bdee
Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc
2008-12-18 23:42:53 +03:30
Robert O'Callahan
9f318c485c
Backed out changeset dcd1ad7a918e
2008-12-18 16:05:16 +13:00
Robert O'Callahan
274f89ff0d
Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu
2008-12-18 14:13:23 +13:00
Robert O'Callahan
25641e6ca4
Bug 467487. Use a better and more explicit check for the case where a text frame's textrun doesn't map enough text for the frame. r=smontagu
...
--HG--
extra : rebase_source : d9f9f7f8d7b84622b3be4f951133074ef7f5846d
2008-12-17 15:14:33 +13:00
Robert O'Callahan
f7a310640f
Bug 467150. Don't clear textruns just because we destroy an empty nsContinuingTextFrame. r=smontagu
...
--HG--
extra : rebase_source : e8d17c0cf1d35f450e62a8b6a35340855395ef72
2008-12-17 15:12:47 +13:00
Robert O'Callahan
ed66190092
Bug 449149. Implement the 'controls' attribute for audio elements. r+sr=bzbarsky,r=dolske,r=enndeakin
...
--HG--
extra : rebase_source : 4d11b963d3082f98269069c68aae33eef365aacb
2008-12-17 13:27:46 +13:00
Markus Stange
c15f2b9d7f
Forgot to add the braces in changeset 58f409bbc149 (bug 391984)
2008-12-15 14:43:31 +01:00
Masayuki Nakano
229283883c
Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc
2008-12-15 12:54:54 +09:00
Graeme McCutcheon
4d0acd8eae
Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc
2008-12-12 14:25:22 -05:00
Robert O'Callahan
46299947fc
Backed out changeset 0cb24a4bcd9b
2008-12-13 00:09:56 +13:00
Robert O'Callahan
a6a68372fb
Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu
2008-12-12 21:37:59 +13:00
Markus Stange
975559338c
Bug 391984 - [10.5] Add roundness to context menus, r=josh sr=roc
2008-12-11 15:37:38 +01:00
Robert Sayre
58f4455a2a
Backout JOEDREW! patches for bug 89419 and bug 393936. Looks like they make mochitest leak.
2008-12-11 01:27:58 -08:00
Joe Drew
294499eab5
Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad
2008-12-10 16:25:34 -08:00
Neil Rashbrook
be9757b050
Bug 468421 Fix assertion to include other valid cases r+sr=roc (debug-only code)
2008-12-10 12:46:02 +00:00
Robert O'Callahan
088a6b0690
Bug 458898. Make sizeToContent work for HTML documents by ensuring CanvasFrame converts an UNCONSTRAINEDSIZE computed height into its actual desired height. r+sr=dbaron
2008-12-09 13:33:46 +13:00
Robert O'Callahan
bfa41e8f5e
Merged to trunk
2008-12-08 20:52:15 +13:00
Robert O'Callahan
a36f118655
Bug 463242. Ideographic spaces should not get CSS word-spacing, but nonbreaking spaces should. r+sr=dbaron
2008-12-08 14:11:38 +13:00
Mats Palmgren
dd7b00661b
Backing out the tests for bug 421839 to try to fix Tinderbox orange.
2008-12-08 01:58:48 +01:00
Robert O'Callahan
bbdc2a9552
Bug 465913. Don't need to call BreakFromPrevInFlow in nsContainerFrame::DeleteNextInFlowChild. r+sr=dbaron
2008-12-08 13:39:11 +13:00
Mats Palmgren
d6a5513492
Crash test for bug 421839.
2008-12-08 00:11:48 +01:00
Mats Palmgren
1dc0d756d8
Don't crash if views were destroyed while flushing notifications. b=421839 r+sr=roc
2008-12-08 00:11:37 +01:00
Mats Palmgren
d188234a59
Fix the parent pointer for ::first-letter child frame next-in-flows. b=401042 r+sr=roc
2008-12-07 19:21:40 +01:00
L. David Baron
b20fd8f22b
Add a test for bug 468167
2008-12-07 11:22:12 +01:00
Markus Stange
05944a7f56
Partial backout of changeset cfc553938038 (bug 463042) in order to fix bug 468167, "Deleting selected top of document (from below) no longer scrolls what remains into view".
2008-12-07 11:19:47 +01:00
Serge Gautherie
d6255d3171
Backed out changeset: d98cdb0cdd15
2008-12-05 19:26:52 +01:00
Mike Kaplinskiy
b51abf4b07
Bug 440614 - text entry field unable to take focus; r=(bzbarsky + jst + peterv) sr=peterv
2008-12-05 17:27:02 +01:00
L. David Baron
c95d61afc0
Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+
2008-12-04 08:09:53 -08:00
Markus Stange
76daa5a7da
Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc
2008-12-02 14:18:08 +01:00
Robert O'Callahan
4d8d186dd2
Backing out bug 455826 to try to fix Windows orange.
2008-12-04 15:32:15 +13:00
Robert O'Callahan
7b4bd93240
Backed out changeset aaeb20c61fca
2008-12-04 15:31:42 +13:00
Robert O'Callahan
d2399b84fa
Bug 455826. Don't reconstruct textruns just because we deleted an empty nsContinuingTextFrame. r=smontagu
2008-12-03 09:40:02 +13:00
Robert O'Callahan
70ba87beed
Backing out bug 458898 to try to fix Windows orange
2008-12-04 00:42:49 +13:00
Robert O'Callahan
5364eb1faf
Backed out changeset 357d1c01bde3
2008-12-04 00:42:02 +13:00
Olli Pettay
69276b94ff
Bug 465732 - Don't invalidate plugin after scrolling, r=smichaud, sr=roc
2008-12-03 11:59:33 +02:00
Olli Pettay
70ce07ded0
Bug 467295 - Plugin timer is re-created everytime the page is scrolled, r=josh,sr=roc
2008-12-03 11:30:40 +02:00
Simon Montagu
3ebc1e4e68
Update Unicode data files to Unicode version 5.1. Bug 427350, r=jdaggett
2008-12-03 10:11:01 +02:00
Simon Montagu
3363523acc
Delete all text frame continuations when deleting first letter frame. Bug 466763, r+sr=roc
2008-12-02 22:56:53 -08:00
Robert O'Callahan
7fa4d507b4
Followup comment change for bug 465928.
2008-12-03 14:50:22 +13:00
Robert O'Callahan
f9d2d59b5e
Bug 465928. Avoid SetInvalidateTextRuns being called by nsBlockFrame::DoRemoveFrame when we're just deleting empty continuation frames. r+sr=dbaron
2008-12-03 14:27:19 +13:00
Michael Ventnor
e02630a781
Bug 458031. Take dirty rect into account to limit box-shadow computation. r+sr=roc
2008-12-03 10:16:22 +13:00
Robert O'Callahan
c06c17a0c2
Bug 458898. Fix intrinsic sizing of windows by ensuring CanvasFrame converts an NS_UNCONSTRAINEDSIZE desired height to its actual desired height. r+sr=dbaron
2008-12-03 09:50:16 +13:00
Jesse Ruderman
050af4beec
Add bug 457375 crashtest using the crashtest.diff created by Mats
2008-11-29 19:04:37 -08:00
Jesse Ruderman
5293e9c546
Add bug 452157 crashtests (using the 'crashtests patch' created by dholbert)
2008-11-29 19:01:30 -08:00
Jesse Ruderman
24852c3aec
Add bug 443528 crashtest (based on the crashtest.diff created by Mats) to CLOSED TREE
2008-11-29 18:57:00 -08:00
Jesse Ruderman
d4f3757275
Add bug 345139 crashtest on CLOSED TREE
2008-11-29 18:27:26 -08:00
L. David Baron
16009115b3
Use larger values for no-minimum and no-maximum so that we don't cross them. (Bug 466395) r+sr=roc a191=beltzner
2008-11-27 20:08:32 -08:00
Robert O'Callahan
8ff4467f78
Bug 457398. Don't treat empty lines as the first line for text-indent or first-letter/first-line purposes. r+sr=dbaron
2008-11-27 10:44:47 -08:00
Robert O'Callahan
ab3854de4f
Bug 462968. Sanitize block height. r+sr=dbaron
2008-11-26 11:57:28 +13:00
Robert O'Callahan
e2d6438f48
Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron
2008-11-26 11:53:58 +13:00
Robert O'Callahan
0be9ec5c8d
Bug 455826. Look into overflow-lists of inlines to find text when we're building textruns. r=smontagu
2008-11-26 11:51:36 +13:00
Brad Lassey
ea8dd114d1
backing out changesets 026147c91538, fb2326fcfc36, ebf0c7cf17be, 57e6a1e9041e, 1f5d2c249f86 and d7a7824d6990 due to crash on linux talos machines durring tp.
2008-11-26 12:20:26 -05:00
Brad Lassey
9491b0201f
merge
2008-11-26 10:08:45 -05:00
L. David Baron
7372b5e796
Merge roc-1.bundle to land 5 patches for roc.
2008-11-25 20:41:38 -08:00
Boris Zbarsky
bad0b33175
Bug 437142. Be a little more careful with GetPrimaryFrameFor to work around the mess that <area> elements cause. r+sr=roc
2008-11-25 20:49:14 -05:00
L. David Baron
f0a1beced5
Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 15:22:39 -08:00
L. David Baron
f1b10ff551
Introduce two different definitions of the placeholder's containing block in InitAbsoluteConstraints, since we want to use a different one for the hypothetical box and for the direction. (Bug 462844) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 15:22:39 -08:00
Robert O'Callahan
3330d2adb7
Bug 462968. Sanitize block height. r+sr=dbaron
2008-11-26 11:57:28 +13:00
Robert O'Callahan
6dd228bfdc
Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron
2008-11-26 11:53:58 +13:00
Robert O'Callahan
19cdb639f2
Bug 455826. Look into overflow-lists of inlines to find text when we're building textruns. r=smontagu
2008-11-26 11:51:36 +13:00
Robert O'Callahan
6a37c5163c
Bug 430332. Lazily rebuild transformed-textruns, deferring rebuild until after the linebreaker has finished analysis. r=smontagu
2008-11-26 11:44:05 +13:00
L. David Baron
0977d8e545
Back out 5d6db13efa26534e3904b5afa5e6faf31c0c82f0 due to mac startup failures.
2008-11-25 14:38:28 -08:00
Robert O'Callahan
1dd1408b35
Bug 460012. When recreating frames for a generated content node, reframe the nearest non-generated-content ancestor. r+sr=bzbarsky
2008-11-26 11:15:41 +13:00
Robert O'Callahan
a2ca51eb94
Bug 444375. Take TEXT_HAS_TRAILING_BREAK into account when computing min-width for text which has entirely collapsed away. r=smontagu
2008-11-26 11:08:19 +13:00
L. David Baron
50244a3fdd
Introduce two different definitions of the placeholder's containing block in InitAbsoluteConstraints, since we want to use a different one for the hypothetical box and for the direction. (Bug 462844) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
L. David Baron
dc119e5622
Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
L. David Baron
cd219c1d22
Add test for slow performance in bug 438509, as suggested by dholbert, and based on a testcase he wrote. a=blocking1.9.1+
2008-11-25 13:27:53 -08:00
L. David Baron
3dbd3c34af
Avoid exponential growth of special height reflows. (Bug 438509) r=dholbert sr=roc a=blocking1.9.1+
2008-11-25 13:27:53 -08:00
L. David Baron
58064fc1f3
Remove nsHTMLReflowState::mPercentHeightReflowInitiator, which is write-only. (Bug 438509) r+sr=roc a=blocking1.9.1+
2008-11-25 13:27:53 -08:00
Jeff Walden
4180ce8eae
imported patch nsIFrame.patch
2008-11-19 20:42:55 -08:00
Jesse Ruderman
c093828228
Add crashtest for bug 451334
2008-11-09 19:18:22 -08:00
Joe Drew
a2b8f5356f
Backed out changeset 6bedb1e92dd0 due to refcount leaks
2008-11-07 15:01:35 -05:00
Joe Drew
8fd1536f32
Bug 393936 - Cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call CancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). r=bz, sr=pavlov, a=blocking1.9.1+
2008-11-07 14:35:22 -05:00
Robert O'Callahan
ba9c7fb6b5
Bug 418740. Make sure that mouse events are reported to windowless plugins relative to the widget we associated with the plugin. r+sr=jst
2008-11-07 14:00:42 +13:00
Robert O'Callahan
e2673b9d2a
Bug 462307 - 'Speed up columns case hit by HTML5 spec'. r+sr=dbaron
2008-11-04 14:01:27 -08:00
Robert O'Callahan
0d380f02a0
Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron
2008-11-04 14:01:21 -08:00
Vladimir Vukicevic
81d2b6f8e9
b=461813, crash in nsFrameSelection::HandleDrag; r+sr=roc
2008-11-04 11:29:13 -08:00
Markus Stange
7a9f82ce7e
Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc
2008-11-04 15:38:16 +01:00
Robert O'Callahan
cdd65555c6
Bug 458928. Reparenting hack to ensure plugins are fully painted to non-screen targets is evil and probably breaking things; back it out. r+sr=jst
2008-11-03 13:53:57 +13:00
Benjamin Smedberg
9696613a50
Relanding bug 461410 - nsILineIterator is never used outside of layout - set nsresults to replicate the existing code more correctly, which fixes the mochitest failures, r+sr=roc with nits noted by Mats Palmgren
2008-10-30 12:17:59 -07:00
Steven Michaud
515d560d00
Flash content duplicated, sometimes mirrored and in another tab. b=459530 r=josh,kinetik sr=roc
2008-10-30 10:40:53 -07:00
Benjamin Smedberg
4eb5e5d5a8
Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc
2008-10-30 10:15:22 -07:00
Zack Weinberg
2f1c365c3d
Bug 416907 - Crash [@ nsHTMLFramesetFrame::Reflow] with frameset in mroot; r+sr=roc
2008-10-30 18:10:19 +01:00
Robert O'Callahan
1693b53c02
Bug 458928. Render windowed Windows plugins using PrintWindow when necessary, and use gfxWindowsNativeDrawing for windowless plugins so we can draw them correctly under all circumstances. r=vlad,sr=jst
2008-10-29 22:28:25 -07:00
Daniel Holbert
d0fa1eee37
Trivial whitespace cleanup in 2 places in nsViewportFrame.cpp. (whitespace only; cleared in #developers)
2008-10-29 17:41:56 -07:00
L. David Baron
8878bc85e1
Merge backout of changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:36:44 -07:00
L. David Baron
65cadd7c29
Backed out changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:36:17 -07:00
L. David Baron
2015aefdfd
Merge backout of changeset 7f708623bf59 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:35:18 -07:00
L. David Baron
e7cd23e3ac
Backed out changeset 7f708623bf59 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
...
--HG--
rename : layout/base/nsImageLoadNotifier.cpp => layout/base/nsImageLoader.cpp
rename : layout/base/nsImageLoadNotifier.h => layout/base/nsImageLoader.h
2008-10-28 14:34:03 -07:00
L. David Baron
8124ab8fbc
Merge backout of changeset d7338fec7266 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:12:44 -07:00
L. David Baron
1736d9f550
Backed out changeset d7338fec7266 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:12:02 -07:00
Chris Double
b9fbf2e7c2
Bug 449518 - Video autostart after doing Back/Forward history button on browser - r+sr=roc
2008-10-29 07:48:39 +13:00
Benjamin Smedberg
05386c2561
Back out bugs 461410 and 461212 because I'm not sure which is causing the mochitest regression.
2008-10-28 02:51:50 -04:00
Benjamin Smedberg
dfbac6a0c3
Merge backout and typo fix of bug 461212
2008-10-28 02:50:20 -04:00
Benjamin Smedberg
4214b72dd5
Backed out changeset d4c9a0776667 (deCOM nsILineEnumerator) due to regression from it or bug 461212
2008-10-28 02:49:14 -04:00
Benjamin Smedberg
3a3f316c84
Backed out changeset affcc1c08bc0 (deCOM frame enumerator) due to regression from it or bug 461410.
2008-10-28 02:47:40 -04:00
Benjamin Smedberg
dd4c950cff
Bug 461410 - nsILineIterator is never used outside of layout, and doesn't need to be refcounted: the callers can just destroy it when they're done with it. We can't do this with a virtual destructor, however, because nsTableRowGroupFrame implements the interface directly, while nsLineIterator is a separately-allocated class. So clients are expected to call DisposeLineIterator when they're done with it.
...
Instead of accessing nsILineIterator using QueryInterface, we add a nsIFrame::GetLineIterator API, which is cleaner and more efficient all at the same time!
r+sr=roc
2008-10-28 00:47:19 -04:00
Benjamin Smedberg
d89e3c2841
Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc
2008-10-28 00:47:19 -04:00
Masayuki Nakano
2a195344de
Bug 461512 nsCSSColorUtils doesn't support alpha color (border color is always solid color if the border-style is groove, ridge, inset, outset) r+sr=roc
2008-10-28 11:05:38 +09:00
Bernd
082b4cffdb
2 try
2008-10-26 12:21:47 +01:00
Bernd
6777c42861
bug 258377, make border collapsed tables to listen for dynamic border style changes r/sr=bzbarsky
2008-10-26 11:11:34 +01:00
Jesse Ruderman
b0356cef11
Add crashtest for bug 225868. The setTimeout seems to be necessary to get the second onload to fire.
2008-10-21 20:50:14 -07:00
Uri Bernstein
db0583f94e
Now really removing the test.
2008-10-21 20:36:35 +02:00
Uri Bernstein
1dadb5e1c8
Back out mochitest for bug 459921 since it causing problems with other test.
2008-10-21 19:14:50 +02:00
Uri Bernstein
383ebb5ea2
Hack to work around bug 426195.
2008-10-21 15:54:10 +02:00
Uri Bernstein
0a951dcc4a
Fix typo in Makefile.
2008-10-21 12:07:07 +02:00
Uri Bernstein
f6d3f0ca80
Bug 459921 - Double-click-and-drag selects previous word when dragging to left half of first letter of a word. r+sr=roc.
2008-10-21 11:52:52 +02:00
Robert O'Callahan
85ea5a3965
Bug 460240. Need to repaint the overflow area if the overflow area changes, the frame has effects/outline/box-shadow, and the frame size has not changed. r+sr=bzbarsky
2008-10-21 20:42:28 +13:00
Uri Bernstein
13529e0b13
e-enable test for bug 460532 after fixing it.
2008-10-21 09:27:27 +02:00
Uri Bernstein
dc88b5dcaf
Merge.
...
Hg: user: Uri Bernstein <uriber@gmail.com>
2008-10-21 09:20:56 +02:00
Nick Thomas
d2c2e02b85
Disable test properly
2008-10-21 16:36:29 +13:00
Nick Thomas
da8a37ea98
Disable new test from bug 460532, which may be breaking subsequent tests. Should enable us to work out if it's the test or code change that is causing the mochitest red on win32 (suggestion from #developers)
2008-10-21 15:27:31 +13:00
Uri Bernstein
9d85c3e3b0
Attempt to fix breakage from test for bug 460532.
2008-10-21 01:30:29 +02:00
Uri Bernstein
9418630bcb
Bug 460532 - Firefox leaks SelectionDetails when clicking a point included in multiple selection ranges. r+sr=roc.
...
HGe changed layut/genericks SelectionDetails/test/Makefile.in
2008-10-20 22:53:40 +02:00
Steven Michaud
c491e15cc1
SetWindow called on every paint when supporting CoreGraphics. b=459244 r=josh,kinetik sr=roc
2008-10-17 17:22:10 -05:00
Asaf Romano
ea32ac412c
Bug 459323 - Drag and Drop in input controls is broken. r=smaug, sr=sicking.
2008-10-17 22:04:55 +02:00
Uri Bernstein
ff104b5951
Bug 415707 - multiple text selection improvement doesn't work with double-click "word-by-word" or triple-click "paragraph" modes. r+sr=roc.
2008-10-17 21:46:33 +02:00
Theppitak Karoonboonyanan
018ec4b25f
Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc
2008-10-16 20:44:32 +13:00
Robert O'Callahan
a550f0f631
Bug 428263. Don't treat continuations of blocks as 'continuations' for setting zeroEffectiveSpanBox, since they're not span-continuations which is all we care about here. r+sr=dbaron
2008-10-16 09:57:27 +13:00
Boris Zbarsky
d4e731a68c
Bug 442542. Make sure to reflow our possibly-size-dependent abs pos kids on the followup reflow that happens if clearance is discovered. r+sr=roc
2008-10-15 16:30:42 -04:00
Olli Pettay
9d96a5cb3f
bug 302775 - extractContents doesn't work if start and end node of a Range object is an attribute node, r=peterv, sr=sicking
2008-10-15 12:40:28 +03:00
Taras Glek
7a777b7b31
Bug 458969: dead stuff in nsSpaceManager r+sr=dbaron
2008-10-14 11:59:29 -07:00
Markus Stange
2c38adaec7
Bug 450944 - Implement -moz-window-shadow functionality on Mac OS X, r=hwaara sr=roc.
...
This patch turns on window shadows for transparent windows by default, so the identity popup and the "edit bookmarks" popup will get a shadow, too. ui-r=faaborg
2008-10-14 17:33:40 +02:00
L. David Baron
9d7714304c
Make sure DidSetStyleContext methods call the base class DidSetStyleContext, and change the signature to return void. (Bug 459649) r+sr=bzbarsky
2008-10-13 18:03:28 -04:00
Uri Bernstein
b6fcdfbcc2
Bug 459660: Remove two unused members of nsTypedSelection and their accessors. r+sr=roc.
2008-10-13 23:25:21 +02:00
Mats Palmgren
faeff8e834
DEBUG: nsBlockFrame::List should print the overflow lines. b=459540 r+sr=roc
2008-10-13 00:33:20 +02:00
Uri Bernstein
17f37431ef
Bug 459588: Kill OLD_SELECTION code. r+sr=roc.
2008-10-13 00:11:51 +02:00
Mats Palmgren
54ec50a55f
Add 'aLineList' param to MarkLineDirty() so it knows the correct line list for 'aLine'. b=443528 r+sr=roc
2008-10-12 21:26:06 +02:00
L. David Baron
2545abc873
Fixing bustage. (Bug 322475)
2008-10-11 21:16:15 -04:00
L. David Baron
10bd0bbfe0
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2008-10-11 20:49:42 -04:00
L. David Baron
2bd8ac7a44
Rename nsImageLoader to nsImageLoadNotifier, since it doesn't actually load images. (Bug 322475) r+sr=bzbarsky
...
--HG--
rename : layout/base/nsImageLoader.cpp => layout/base/nsImageLoadNotifier.cpp
rename : layout/base/nsImageLoader.h => layout/base/nsImageLoadNotifier.h
2008-10-11 20:49:42 -04:00
Mats Palmgren
4a50767964
When switching from the overflow lines to normal lines we must reset 'mInOverflowLines' or we'll compare 'mLine' to the wrong list on the next call. b=457375 r+sr=roc
2008-10-12 02:19:41 +02:00
Mats Palmgren
609b22ab61
Mark the bullet frame dirty when its ordinal change. b=203727 r+sr=dbaron
2008-10-11 03:41:10 +02:00
Mats Palmgren
6499cb8fdb
Undo frame list formatting change from bug 243519. b=454727 r+sr=roc
2008-10-11 03:08:20 +02:00