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
David Zbarsky
8d8553ee41
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Daniel Holbert
28bd582ea8
Bug 519875: Rename SpacerFrame::GetType method to GetSpacerType so that it won't hide inherited method nsFrame::GetType. r=dbaron
2009-10-01 00:19:21 -07:00
Jesse Ruderman
0949e107d7
Bug 499611 - Instrument nsLineList for trace-refcnt. r=dbaron
2009-09-29 18:34:46 -07:00
Boris Zbarsky
5c641e6c2b
Bug 512471. Make nsBlockFrame's mFrames track its principal child list. r=roc,fantasai
2009-09-29 15:47:05 -04:00
Timothy Nikkel
38273580a9
Bug 499607. Stop leaking nsBlockFrame's overflow nsLineList's. r=fantasai sr=dbaron
...
--HG--
extra : rebase_source : 925847bda80e1b917af99119a11d0fb90ec479e8
2009-09-28 20:23:33 -05:00
Neil Deakin
a11c6e6243
Bug 516615, when capturing, check if the target frame's content is a descendant of the capturing content, rather than using the frame tree, r=roc,sr=smaug
2009-09-28 10:17:01 -04:00
Geoff Lankow
bd900ff5fd
Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron
2009-09-26 13:23:47 -07:00
Steven Michaud
89701df418
Bug 516249 - [10.6] Wrong event modifiers passed to plugin on switching Spaces with Ctrl-<number key>. r=josh
2009-09-25 15:10:04 -05:00
Graeme McCutcheon
f9440e42ac
Bug 510575 - fix calculation of bounds in nsTypedSelection::GetIndicesForInterval, and ensure range adding code always checks for duplicates. r=roc
2009-09-25 11:11:42 +01:00
Josh Aas
70134898a3
Stop sending bogus (incomplete) events to plugins on Mac OS X when the object frame is asked to handle events we don't care about. b=518135 r=roc
2009-09-24 17:03:50 -04:00
Markus Stange
36822e5cf2
Bug 515446 - Combine the two Create methods of nsIWidget into one. Also remove nsCocoaWindow's capability of adapting its NSWindow from aNativeParent. r=josh, sr=roc
2009-09-24 18:18:10 +12:00
Roy Frostig
049a9fbdc8
Bug 514732. Issue a DOM event for document resizing. r=smaug sr=roc
2009-09-11 16:13:56 -07:00
Mats Palmgren
cf4ae83f1a
Store the overflow out of flows as an nsFrameList. b=516974 r=bzbarsky
2009-09-24 04:39:21 +02: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
Daniel Holbert
8155b8841d
Bug 452157 - Update aState.mPrevChild when we pull from next-in-flow. r+sr=roc
2008-10-10 17:25:28 -07:00
Arpad Borsos
8b11d938d2
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Taras Glek
2c733370d0
Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst
2008-10-09 16:23:07 -07:00
Jesse Ruderman
fb06650022
Add crashtests for several bugs
2008-10-09 14:20:44 -07:00
Jesse Ruderman
1d1a4b2073
Add crashtest
2008-10-09 14:17:40 -07:00
Uri Bernstein
8de8ea27ac
Bug 458418: onclick event doesn't fire on empty fixed position elements. r+sr=roc.
2008-10-09 12:35:56 +02:00
Uri Bernstein
2b5ccfa067
Bug 449076: hang with 100% CPU on keyboard arrow trough text field. r+sr=roc.
2008-10-09 12:22:30 +02:00
Uri Bernstein
204ce01f25
Bug 426766: Cursor keys behave weirdly in "view source" window. r+sr=roc.
2008-10-09 12:07:16 +02:00
Uri Bernstein
66ac8551e1
Bug 458089: Kill VISUALSELECTION code. r=smontagu, sr=roc.
2008-10-09 12:05:30 +02:00
Doug Turner
996fd0f708
Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg
2008-10-08 20:51:54 -07:00
Alexander Surkov
0b44649c8c
Bug 456944 - Crash when spell checking selection changes, r=smaug, sr=roc
2008-10-08 20:53:14 +08:00
Boris Zbarsky
164afa9a0a
Bug 458100. Make sure that we'll also instantiate the plug-in even if the nsPluginDocument has no presshell yet at OnStartRequest time. Thanks to Evgeny <evg.salmin@gmail.com> for pointing out the problem. r+sr=jst
2008-10-07 14:53:23 -04:00
L. David Baron
e6467e8066
Merge backout of changeset 4e7a2d27d636: relanding part of bug 433616 to test the theory that it was the cause of the regression, and something else caused an equal regression when we backed it out.
2008-10-04 13:00:50 -07:00
Boris Zbarsky
f819f89b7d
Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc
2008-10-04 13:00:09 -07:00
Rob Arnold
4fc0ecadda
Fixed rgba(0,0,0,0) problem for text-shadow - bug 438517 r+sr=roc
2008-09-30 22:30:32 -04:00
Robert O'Callahan
09cfc5fa8c
Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats
2008-10-01 13:51:05 +13:00
L. David Baron
ba09bf22bc
Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression.
2008-09-30 09:51:26 -07:00
Robert O'Callahan
016f579354
Relanding bug 433616 part 2 to see if it's the cause of a Tp regression
2008-09-30 14:45:02 +13:00
Boris Zbarsky
012ae72fd1
Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions
2008-09-29 08:51:29 -04:00
Boris Zbarsky
f15bf80fc3
Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc
2008-09-28 15:15:22 -04:00
Robert O'Callahan
279af36fc7
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc
2008-09-28 20:38:34 +13:00
Bernd
7988560536
use the right method to insert more than one frame, bug 456041 r/sr=bzbarsky
2008-09-27 13:07:29 +02:00
Robert O'Callahan
6a45b282aa
Backing out bug 448830
2008-09-26 13:10:26 +12:00
Taras Glek
390adbe464
bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr
2008-09-25 15:46:52 -07:00
Jeremy Lea
67f3afd13b
Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc
2008-09-26 10:42:19 +12:00
Simon Montagu
1d43ea79b9
Check for previous-continuations intead of previous-in-flows. Bug 448610, r+sr=roc
2008-09-25 20:02:15 +03:00
Zack Weinberg
7687ccc76b
Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc
2008-09-24 06:07:22 +02:00
Oleg Romashin
a2074800f9
Bug 454756 - Disable DelayedStop for Arm flashplayer. r+sr=jst.
2008-09-23 03:19:46 -05:00
Arpad Borsos
d0e70a51bf
Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc
2008-09-20 15:42:03 +02:00
Zack Weinberg
20636c2fb4
Bug 455217 - Selection colors for plain text files is wrong (white background, blue text instead of blue background, white text); "code" part; r+sr=dbaron
2008-09-19 19:06:46 +02:00
Robert O'Callahan
f79290bb0e
Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron
2008-09-18 21:47:21 +12:00
Robert O'Callahan
be33d80a1a
Bug 455280. Distinguish pre-transform overflow area from post-transform overflow area and have nsDisplaySVGEffects use the pre-transform area. r=kschwarz,sr=dbaron
2008-09-16 13:51:52 +12:00
Arpad Borsos
eef0edf9d5
Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie)
2008-09-15 17:40:25 +02:00
Jesse Ruderman
d1ae15c183
Add crashtest
2008-09-14 00:18:19 -07:00
Jesse Ruderman
0bb771e3c9
Add crashtest
2008-09-13 23:59:06 -07:00
Jesse Ruderman
52c0fa7534
Add crashtest
2008-09-13 18:28:03 -07:00
Keith Schwarz
dc907e1ec7
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
L. David Baron
a56edce6be
Convert text-shadow and box-shadow storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky
2008-09-12 20:45:37 -07:00
L. David Baron
b9c298d240
Convert outline offset storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky
2008-09-12 20:45:37 -07:00
Jesse Ruderman
9b32e4a403
Add crashtest
2008-09-12 16:59:39 -07:00
Taras Glek
c26ce8e1ab
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Zack Weinberg
0f68a207ca
Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron
2008-09-12 08:35:53 -07:00
Robert O'Callahan
539a029252
Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats
2008-09-11 12:24:16 +12:00
Ted Mielczarek
468a3823fc
bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg
2008-09-09 13:59:11 -04:00
timeless@mozdev.org
5819f54b4e
merging backout part two of two
...
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:01:00 +02:00
timeless@mozdev.org
b0c349250f
Backed out changeset 54215f2cbc66
...
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
timeless@mozdev.org
14a159413b
merging part one of backout
2008-09-08 16:00:02 +02:00
timeless@mozdev.org
001755d5a8
Backed out changeset 18b48ea2b188
...
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 15:59:01 +02:00
Robert O'Callahan
cddb22d87c
Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron
2008-09-08 20:13:17 +12:00
Graeme McCutcheon
b6ce570b3c
Bug 451252 - "Highlight All" find selection not visible in elements that have -moz-user-select: none set; r+sr=roc
2008-09-07 16:12:50 +02:00
Jesse Ruderman
54f58fe91d
Add bug 382131's testcase (changed slightly) as a crashtest
2008-09-06 21:36:13 -07:00
Jesse Ruderman
a21695d93c
Add bug 302260's testcase as a crashtest.
2008-09-06 18:23:09 -07:00
Arpad Borsos
534fd11101
Bug 443058 - Remove MOZ_DECL_CTOR_COUNTER; <mozilla-central> part; r=benjamin
2008-09-07 00:04:10 +02:00
Serge Gautherie
2466a54798
Bug 452797 - Clean up unused variables in layout/; (debug) bustage fix; noticed by Jesse on irc.
2008-09-06 21:12:09 +02:00
Arpad Borsos
1f62482141
Bug 452797 - Clean up unused variables in layout/; r+sr=roc
2008-09-06 20:38:31 +02:00
Mats Palmgren
46d11df5f3
Minor code cleanup. b=182554 r+sr=roc
2008-09-06 17:52:33 +02:00
Robert O'Callahan
ea7596e60c
Backing out changesets 75919d3eb3d0 and 14ce7619e9c1 due to test failures
2008-09-07 00:35:20 +12:00
Robert O'Callahan
f7339a0460
Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron
2008-09-06 21:35:05 +12:00
Robert O'Callahan
be904c4d3d
Bug 376662. Convert nsIFrame::GetOffsetTo to not use views. We need to ensure that for popups and scrollframes, views and frames are kept in sync at *all* times. Also fixes bugs in tests for NS_FRAME_NO_MOVE_FRAME. r+sr=bzbarsky
2008-09-06 20:52:56 +12:00
Robert O'Callahan
43ba0d18d7
Bug 422283. Make sure that an overflow container's next-in-flows are always also overflow containers. This means that when we convert a normal frame into an overflow container, we need to scan through its next-in-flows and make them overflow containers too. r=fantasai,sr=mats
2008-09-06 20:48:09 +12:00
Robert O'Callahan
ca15953a6e
Backing out changeset 1bdd5da49865 (for bug 376662) due to regression bug 453661
2008-09-05 15:40:06 +12:00
Graeme McCutcheon
7c42fc8f14
Bug 451203 - Unable to select text that has been highlighted by the find toolbar. r+sr=roc
2008-09-04 02:17:55 +02:00
Robert O'Callahan
1eeada5faa
Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky
2008-09-04 09:35:52 +12:00
Graeme McCutcheon
b7acee2c1f
Bug 451204 - Highlighted text is white on white text on a yellow background, difficult to read. r+sr=roc
2008-09-02 08:28:44 +02:00
Bernd
2020f8d70c
accumulate margins as they might be overconstrained bug 444015 r/sr=dbaron
2008-08-30 18:25:38 +02:00
Josh Aas
75b890b830
Fix more comments and some whitespace issues.
2008-08-26 02:53:00 -04:00
Josh Aas
3d0c857cf9
Fix more incorrect/outdated event handling comments.
2008-08-26 01:36:17 -04:00
Josh Aas
8c12a88361
fix comment containing wrong interface name and a misspelling
2008-08-25 21:47:33 -04:00
Josh Aas
594704d36f
remove nsIMouseListener interface. b=452118 r=smaug sr=roc
2008-08-25 20:02:26 -04:00
Boris Zbarsky
d9344bb542
Bug 449362 - "Table border is rendered incorrectly when the table cell size changes due to javascript." [r+sr=roc]
2008-08-20 01:45:29 -05:00
Robert O'Callahan
0f9e4e319d
Bug 238072. Make generated content take the normal frame construction path. Relanding with changes so that counter and quote nodes are initialized after their frames are available, more like the old code. r+sr=dbaron,bzbarsky
2008-08-18 13:16:42 +12:00
Stuart Parmenter
c126af8547
bug 448989. Merging the mozilla-qt repository. r=me,vlad
2008-08-16 23:18:27 -07:00
Robert O'Callahan
7dd66f45b7
Bug 450670. Avoid conflicts in textframe state bits, urk. r=smontagu
2008-08-16 21:06:21 +12:00
Robert O'Callahan
96e07add82
Bug 449519. Make text-shadow code compute the right areas for RTL. r=smontagu
2008-08-15 22:12:39 +12:00
Robert O'Callahan
b74b2f791f
Bug 411059. Take preformatted tabs into account when computing the min and pref widths for text. r=smontagu
2008-08-15 22:10:33 +12:00
Uri Bernstein
73144ae3ef
On mouse down, make sure the frame capturing the mouse is the same one used as the selection anchor. bug=262306, r+sr=roc.
2008-08-15 09:41:05 +03:00
Oleg Romashin
38e95b5eeb
merge with mozilla-central
2008-08-16 03:39:26 -04:00
Justin Dolske
a7f82ecb86
Relanding bug 449168.
2008-08-13 21:21:59 -07:00
Justin Dolske
53328c578f
Backed out changeset 4b2c67fe7e6b (relanding bug 449168)
2008-08-13 21:18:02 -07:00
Dave Townsend
842d483a81
Backout of bug 449168
2008-08-13 22:34:50 +01:00
Dave Townsend
bf2cf8a1af
Backed out changeset b5295239bdba
2008-08-13 22:33:56 +01:00
Rob Arnold
f6bda8fda0
Implement Aero Glass effect support - bug 418454 r=vlad r=roc
2008-08-12 17:44:14 -07:00
Robert O'Callahan
3976bbe726
Bug 413048. Disable float breaking in columns. r+sr=dbaron
2008-08-12 21:32:10 +12:00
Robert O'Callahan
4d9c5e19b6
Bug 441259. Account for trimmable width when deciding whether we can place a float on the line. Also, only try to place a float at a point where we can have a line break. r+sr=dbaron
2008-08-12 21:29:35 +12:00
Robert O'Callahan
8a3235feed
Bug 406299. Make sure we include the font ascent/descent of a soft hyphen if there is one. r+sr=dbaron
2008-08-12 21:18:23 +12:00
Robert O'Callahan
fba2d206f6
Bug 230555. Support white-space:pre-line. r+sr=dbaron
2008-08-12 20:31:56 +12:00
Simon Montagu
b0ca17eddd
Bug 449577. Remove GetHints(), r+sr=roc
2008-08-11 18:19:01 +03:00
Simon Montagu
f35c443bc9
Bug 447853. Remove obsolete intl/ctl module. r=ted, sr=roc
2008-08-11 18:11:41 +03:00
Boris Zbarsky
baa891763c
Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst
2008-08-11 09:38:43 +01:00
Dave Townsend
1347c1de7e
Backout of bug 113934 due to apparent Tp regression
2008-08-10 17:15:43 +01:00
Dave Townsend
3af4f7166c
Backed out changeset eb6fda3be5bb
2008-08-10 17:15:00 +01:00
Uri Bernstein
10ba4b83d3
Merge commit for bug 210197
2008-08-09 19:34:08 +03:00
Uri Bernstein
e2c16e860b
Unconditionally reset mDragSelectingCells to false on mouse-up, so that the system doesn't remain in table selection mode when dragging outside a table. bug=210197. r+sr=mats.palmgren
2008-08-09 18:09:37 +03:00
Oleg Romashin
59134516e5
Fixed gfxQtFont according to changes in bug 437356 Set up unified font entry object
...
Added empty gfxQtNativeRenderer and fixed nsObjectFrame for MOZ_WIDGET_QT
2008-08-09 16:43:08 +03:00
Boris Zbarsky
1b9a4caf46
Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst
2008-08-07 19:15:40 -04:00
Boris Zbarsky
a9a2274fc4
Bug 449168. Fix selection details leak. r=masayuki, sr=roc
2008-08-07 17:05:19 -04:00
Mats Palmgren
f72c0f5218
Paint a focus ring for <area shape="default">. b=448987 r+sr=roc
2008-08-07 16:44:04 +02:00
Robert O'Callahan
e6245e9ce2
Bug 238072 backout
2008-08-07 22:22:08 +12:00
Robert O'Callahan
8ad3721594
Bug 238072. Rework generated content support to match CSS 2.1, making generated content take the normal frame construction path so supporting any style applied to it (including 'position', 'float', etc). r+sr=bz,r=dbaron
2008-08-07 13:18:24 +12:00
Vladimir Vukicevic
02e6b86b3b
Backing out d883ab4b8f41:7540abc35c97
2008-08-06 16:24:13 -07:00
Vladimir Vukicevic
d5014f52b1
[dfb,422221] Gtk/DirectFB: half-fix/enable plugins for DirectFB port
2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
520cfba897
[dfb,422221] Gtk/DirectFB: half-fix/enable plugins for DirectFB port
2008-08-06 13:48:55 -07:00
Markus Stange
45788e2145
Bug 56488 - Down scroll arrow hidden, draws behind resize widget when neither Status Bar nor horizontal scrollbar are displayed. r+sr=roc.
2008-08-08 18:11:54 +02:00
Zack Weinberg
c9153c98a8
Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad
2008-08-06 12:33:18 +02:00
Robert O'Callahan
4042320c9c
Bug 441418. Instead of guessing when frame broke at a first-letter boundary, explicitly record that in a reflow status bit. r+sr=dbaron
2008-08-06 12:31:25 +12:00
Mats Palmgren
628ca8159e
Testcase for bug 448860.
2008-08-04 14:45:56 +02:00
Mats Palmgren
95120db259
Call Invalidate() in a way that does not flush pending notifications. b=448860 r+sr=roc
2008-08-04 14:45:38 +02:00
fantasai
62fd8825a8
Bug 159914 – Printing a div's content "eats" a few line down the first page
2008-08-04 13:19:53 +02:00
Michael Ventnor
f7783e7a9b
Bug 448903. Fix bounds checking in blur code. r+sr=roc
2008-08-04 14:18:46 +12:00
Asaf Romano
86d6cde299
Bug 263683 - Findbar's Highlight feature should not manipulate the DOM. Patch by Graeme McCutcheon <graememcc_firefox@graeme-online.co.uk>, r=me,roc. sr=roc.
2008-07-30 23:48:56 +03:00
Robert O'Callahan
cb0cabc5be
Bug 431341. Include floating first-letter text when we build textruns for a paragraph, because we want nsLineBreaker to see the text for capitalization analysis. Make sure that textrun construction for floating first-letter text uses the block as its scope. And make sure we reconstruct textruns after determining the first-letter length, so that ligatures are broken as necessary. r=smontagu
2008-07-29 22:11:26 -07:00
Robert O'Callahan
d7dcf6eeb2
Bug 419285. nsCSSFrameConstructor should stop looking for first-letter content after a <br>. r+sr=dbaron
2008-07-29 22:02:00 -07:00
Boris Zbarsky
36ff184856
Bug 430356. Don't return negative pref and min intrinsic widths for XUL boxes/ r+sr=dbaron
2008-07-28 23:07:28 -07:00
Robert O'Callahan
bfec0e91fa
Backing out bug 431341
2008-07-25 00:33:05 +12:00
Robert O'Callahan
bf65b988d8
Bug 431341. Let textrun construction descend into first-letter frames so that the correct capitalization state is constructed in nsLineBreaker. r=smontagu
2008-07-24 20:39:53 +12:00
Simon Montagu
0dd0a7f5ba
Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc
2008-07-24 10:16:18 +03:00
L. David Baron
2c2f6ed495
Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky
2008-07-22 21:50:20 -07:00
Michael Ventnor
5ea87b436f
Bug 446273: Column rule does not always stretch the full height of the column box. r+sr=roc
2008-07-21 23:16:06 -07:00
Karl Tomlinson
51e965223e
Clip the dirty rect to ensure it's within the X11 drawable. b=445707 r+sr=roc
2008-07-21 20:40:41 +12:00
Michael Ventnor
8aeed81515
Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron
2008-07-19 12:38:25 +02:00
L. David Baron
c26a7caa30
Fix spelling mistakes (to trigger unit test cycle).
2008-07-18 22:32:50 -07:00
Zack Weinberg
3197060cbd
Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron
2008-07-17 16:37:12 -07:00
L. David Baron
b86e94a100
Fix generation of precompiled cmaps on 64-bit platforms to match what the code expects. (Bug 445626) r=smontagu
2008-07-17 16:37:12 -07:00
Boris Zbarsky
3af92ec386
Bug 430352. Use the same border throughout. r+sr=roc
2008-07-17 09:32:49 -04:00
Alexander Surkov
92240ca1b2
bug 345759 - Spell as you type not accessible, r=aaronlev, r=Olli.Pettay, sr=neil
2008-07-17 14:06:24 +02:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e
Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough.
2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 22:18:38 -07:00
John Daniels
ef0fee1d70
Bug 419532 – deCOMtaminate nsICaret. r+sr=roc
2008-07-16 12:52:01 +02:00
Simon Montagu
6b742c3574
Position soft hyphens correctly in right-to-left text. Bug 444656, r+sr=roc
2008-07-16 11:43:39 +03:00
Zack Weinberg
58cf580d4a
Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron
2008-07-15 14:31:36 -07:00
Robert O'Callahan
7e15def36c
Bug 444688. Use an IsFrameOfType check instead of a frame state bit to detect whether a frame excludes ignorable whitespace children. r+sr=dbaronlayout
2008-07-14 10:41:18 +12:00
Robert O'Callahan
b00f563bfc
Bug 444692. Windowless plugin frames should use frame invalidation so that generic invalidation hooks work. r+sr=dbaron
2008-07-14 10:23:04 +12:00
Robert O'Callahan
bf853288c9
Bug 444690. Scrollframes should call the superclass InvalidateInternal so that generic invalidation hooks work. r+sr=dbaron
2008-07-14 10:21:11 +12:00
Karuna (karunasagark@gmail.com)
22a214272c
Bug 409331. Instead of QIing to nsBlockFrame in various places, call an nsLayoutUtils method to do it. r+sr=roc
2008-07-14 10:10:23 +12:00
Robert O'Callahan
042de9c4e3
Bug 367246. When the scrolled frame's width exceeds its available width (because its padding alone is greater than the available width) and the direction is RTL, the scrolled frame should be positioned with its right edge at the right edge of the scrollport. r+sr=dbaron
2008-07-14 09:50:35 +12:00
Matthew Gregan ext:(%20and%20Shane%20Blackett%20%3Cshane%40blackett.co.nz%3E)
6f043c5cb5
Bug 430219 - "Crash when FF3 on OS X is Quit if page contains multiple plugins" [r+sr=jst]
2008-07-12 05:28:50 -05:00
Daniel Holbert
783f0d51f8
(No code changes) Change a bunch of non-executable files in layout/ to have non-executable mode.
...
Filetypes changed: .cpp .gif .h .html .list .png .svg .x-ccmap .xbl .xhtml .xul
2008-07-11 11:54:06 -07:00
Masayuki Nakano
ae5cc44a87
Bug 442554 layout.word_select.eat_space_to_next_word should not change word selection method r+sr=roc
2008-07-09 17:32:24 +09:00
Chris Double
02ccf2851f
Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc
2008-07-09 20:22:20 +12:00
Mats Palmgren
63055f51b5
Always paint text-decoration:blink in non-dynamic (print/preview) contexts. b=153092 r+sr=roc
2008-07-08 18:18:32 +02:00
Karl Tomlinson
8a008f0564
Bug 435764 – crash [@ cairo_draw_with_xlib] painting windowless plugins.
...
Move ws_info set-up from nsObjectFrame::CallSetWindow().
Provide gfxXlibNativeRenderer::NativeDraw with Screen and Colormap.
r+sr=roc
2008-07-08 14:15:40 +12:00
Michael Ventnor
8d8eda2eae
Bug 212633 - "Add support for CSS3 box-shadow" (rendering support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=roc]
2008-07-07 19:57:47 -05:00
Michael Ventnor
3a7677bb26
Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron]
2008-07-07 19:56:52 -05:00
Mats Palmgren
24a8f7bfba
Annotate the out param with [shared] and add a comment about it. b=434429 r+sr=bzbarsky
2008-07-08 02:23:04 +02:00
Karl Tomlinson
8ee8338835
missed &s in 15688:953a299d8c32 b=430450
2008-07-07 16:15:07 +12:00
Karl Tomlinson
e41086c923
Correct variable names from 15688:953a299d8c32 b=430450
2008-07-07 15:46:50 +12:00
Karl Tomlinson
9020a0cc8e
Bug 430450 – vertical stripes in windowless plugins.
...
Snap to pixels and round dirty rect out. r+sr=roc
2008-07-07 14:49:38 +12:00
Jesse Ruderman
f8eb550eca
Turn "running past end" assertions in nsLineBox.h into aborts (bug 443529). r+sr=dbaron.
2008-07-05 18:11:12 -07:00
Masayuki Nakano
bcf4622ee8
Bug 436356 Bullet lists does not display correctly, works in FF 2 p=Atsushi Sakai, r+sr=roc
2008-07-03 14:49:24 +09:00
Simon Montagu
cdb351e3a9
Make :first-letter include following punctuation but not first letters that are neither letters nor digits. Bug 399941, r+sr=roc
...
--HG--
rename : layout/generic/punct_marks.ccmap => layout/generic/punct_marks.x-ccmap
2008-07-02 19:28:43 +03:00
L. David Baron
81a5bb06eb
Back out 0b57ada5d4b2 due to mochitest failures on at least Windows. (Bug 363706)
2008-07-01 22:00:02 -07:00
Zack Weinberg
bd759bbd40
Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron
2008-07-01 20:24:36 -07:00
Benjamin Smedberg
34d11c2d91
Bug 442729 - Annotate stack-only classes in layout, r+sr=roc
2008-07-01 15:16:45 -04:00
Daniel Holbert
9e9a26e25a
bug 433373 - Fix clipping region when printing selections that start later in document (taking page-scaling into account). r+sr=roc
2008-06-30 13:46:23 -07:00
Johnny Stenback
ca50829d7d
Fixing bug 421833. Deal better with plugin frames going away while initializing a plugin. r+sr=jonas@sicking.cc
2008-06-27 12:37:21 -07:00
Daniel Holbert
46e0fb27e2
Merge after backout of changeset 5bffc31ff797.
2008-06-24 11:54:22 -07:00
Daniel Holbert
86d8862d32
Backed out changeset 5bffc31ff797 (bug 433373) -- first attempt didn't handle page scaling correctly.
2008-06-24 11:53:27 -07:00
Daniel Holbert
5a71686d10
bug 433284 - Needed to reposition child views after sliding container frame during print-selection. r+sr=roc
2008-06-24 09:30:55 -07:00
Daniel Holbert
c8f369deb3
bug 433373 - Fix clipping region when printing selections that start later in document. r+sr=roc
2008-06-24 09:29:52 -07:00
Mats Palmgren
360b3ef7a6
Take left border+padding into account when calculating distance from block edge for TAB. b=430926 r+sr=roc
2008-06-20 06:39:56 +02:00
Mats Palmgren
86d7a7027f
Use async Invalidate() to avoid crashing. b=435422 r+sr=roc
2008-06-20 04:47:59 +02:00
L. David Baron
a8f5c9c1f9
Backed out changeset 68362ba98c23
2008-06-17 16:10:17 -07:00
Zack Weinberg
c548035ff3
Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron
2008-06-17 14:37:56 -07:00
Robert O'Callahan
9ef27ae6f1
Fixing testcase
2008-06-17 13:04:18 +12:00
Robert O'Callahan
711fe3ad50
Backing out bug 421436 due to regression bug 439462
2008-06-17 10:39:30 +12:00
Simon Montagu
dfcf9f51e9
Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc
2008-06-16 02:28:17 -07:00
Kai Liu
ad9edcfa7d
Bug 422607: avoid unneeded pixel/twip conversions to fix bookmarks menu aligment issues, r=enndeakin, sr=roc
2008-06-15 21:26:41 -04:00
Simon Montagu
9697529693
Bug 435856: Bidi processing disabled after printing. r+sr=roc
2008-06-14 23:56:04 -07:00
Simon Montagu
e1e8fe0077
imported patch 435856
2008-06-14 23:51:00 -07:00
Robert O'Callahan
9915b4d25f
Bug 421436. Remove hack that gives <br> 1-appunit width in standards mode; it's no longer necessary and it can cause subtle bugs. r+sr=dbaron
2008-06-14 20:48:07 +12:00
Robert O'Callahan
5cc4ce74b7
Bug 439004. Check whether there's logically empty content already placed on the line instead of just checking whether the line has advanced horizontally. r+sr=dbaron.
2008-06-14 20:28:07 +12:00
Michael Ventnor
7e868a56e1
Implement text-shadow rendering (bug 10713). r+sr=roc. Relanding with fixes to make tests pass on Mac
2008-06-13 10:02:32 +12:00
Robert O'Callahan
6382ad7c40
Backing out text-shadow due to Mac issues
2008-06-12 17:32:31 +12:00
Michael Ventnor
480a40574d
Implement text-shadow rendering.
2008-06-12 14:34:40 +12:00
Robert O'Callahan
446ada92bc
Allow floats to be placed on the current line even after nonzero-width inline content has been placed. Fixes an Acid3 layout bug. r+sr=dbaron
2008-06-11 11:53:22 +12:00
L. David Baron
ed7aeb1742
Make top and bottom values of vertical-align align the subtree rather than the element itself. (Bug 118501) r+sr=roc
2008-06-06 09:26:58 -07:00
L. David Baron
74ccc4156f
Use PlaceTopBottomFrames for the children of the root span, too. (Bug 118501) r+sr=roc
2008-06-06 09:26:58 -07:00
L. David Baron
3da1e57e70
Don't make our anonymous blocks that wrap blocks inside inlines be containing blocks so that we get the right containing block direction per the CSS spec. (Bug 423306) r+sr=roc
2008-06-05 16:06:34 -07:00
L. David Baron
3b97746336
Remove unneeded (and not present in the proposed CSS3 float-displace property) border-box and padding-box values of -moz-float-edge. (Bug 432891) r+sr=roc
2008-06-05 16:06:34 -07:00
L. David Baron
6ce40d4252
Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc
2008-06-03 15:25:31 -07:00
L. David Baron
2911011914
Remove no-longer-needed else clauses, and make the *IsExact members DEBUG-only. b=419076 r+sr=bzbarsky
2008-06-03 15:25:31 -07:00
roc+@cs.cmu.edu
45ac0e7ce6
Bug 398332. Merge reflow statuses from out-of-flow frames more carefully so that we don't lose information about the primary reflow. r=fantasai,r+sr=dbaron,a=shaver
2008-05-28 06:39:41 -07:00
jst@mozilla.org
41cc75cf2e
Fixing bug 430802 (and bug 405357). Prevent plugin instantiation code re-entrancy. r=jwatt@jwatt.org, sr=bzbarsky@mit.edu, a=beltzner
2008-05-06 13:49:30 -07:00
dbaron@dbaron.org
31fad3f842
Compute widths for replaced block clearing past floats once we're at the correct vertical position. b=430813 r+sr=roc a=schrep
2008-05-03 16:33:36 -07:00
dbaron@dbaron.org
f7b9b7673b
Fix extra block-clearing caused by margins on tables. b=430813 r+sr=roc a=damon
2008-05-01 08:14:36 -07:00
dholbert@cs.stanford.edu
20b60d64ac
Bug 430389: Use correct clip-rect to prevent multipage print-selection output from streaming off of page boundaries. r+sr=roc a=damons
2008-04-30 23:32:25 -07:00
dholbert@cs.stanford.edu
f931f25d4d
Bug 430878: Call PositionChildViews after sliding selection to top of page, to fix mispositioned scrollframes in print selection. r+sr=roc a=dsicore
2008-04-28 15:55:04 -07:00
jruderman@hmc.edu
fb58175abd
Add crashtest
2008-04-27 00:15:54 -07:00
roc+@cs.cmu.edu
f08441cfbe
Bug 430412. Don't bother showing a scrollbar if there's less than one device pixel to scroll into view. r+sr=bzbarsky,a=beltzner
2008-04-24 01:14:06 -07:00
reed@reedloden.com
9ff688a160
Bug 240463 - "We need up-to-date artwork for the icons of loading-images and broken-images" [p=Iconfactory ui-r=faaborg ui-r+a1.9=beltzner]
2008-04-23 22:53:41 -07:00
gavin@gavinsharp.com
453de7180a
Bug 277067: Mozilla mistimes changing QuickDraw plugin visibility when switching tabs, patch by patch by Matthew Gregan <kinetik@flim.org>, r=josh, sr=roc, a=damon
2008-04-23 15:56:40 -07:00
gavin@gavinsharp.com
e50c8e8688
Bug 423523: Caret can leave div w/ contenteditable = true with repeated arrow keys, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=peterv, a=beltzner
2008-04-23 15:33:14 -07:00
jruderman@hmc.edu
55f5e808d8
Adding crashtest
2008-04-22 21:44:09 -07:00
jruderman@hmc.edu
da8ce20903
Add a crashtest
2008-04-22 21:43:19 -07:00
jruderman@hmc.edu
dea3939d1f
Add crashtest
2008-04-22 21:42:25 -07:00
jruderman@hmc.edu
f51919c800
Adding crashtest
2008-04-22 21:41:28 -07:00
jruderman@hmc.edu
368f2baf07
Adding a crashtest.
2008-04-22 21:38:41 -07:00
jruderman@hmc.edu
23d7da0b78
Add crashtest
2008-04-22 21:35:50 -07:00
jruderman@hmc.edu
b5c2a7125c
Add crashtest
2008-04-22 21:35:50 -07:00
jruderman@hmc.edu
47059fe1c7
Add a crashtest
2008-04-22 21:34:53 -07:00
jruderman@hmc.edu
d21cbeea36
Adding crashtest
2008-04-22 21:24:35 -07:00
jruderman@hmc.edu
49dcec3f94
Add crashtest.
2008-04-22 21:21:06 -07:00
jruderman@hmc.edu
bb4ebce284
Add crashtest
2008-04-22 21:06:07 -07:00
jruderman@hmc.edu
310657f4b9
Add a crashtest
2008-04-22 21:04:55 -07:00
jruderman@hmc.edu
2e94cfa1c0
Add crashtest
2008-04-22 21:02:09 -07:00
fantasai.cvs@inkedblade.net
1ed21121f1
prevent fixed frames from trying to split reflow roots in print mode b=408602 r+sr=roc a=disicore
2008-04-22 10:24:28 -07:00
bzbarsky@mit.edu
8be35ebcab
Don't try to include the selection area in our text-decoration overflow if we're not selected. Bug 429595, r+sr=roc, a=beltzner
2008-04-21 20:28:14 -07:00
dholbert@cs.stanford.edu
7e014b1722
Bug 429337: re-landing patch, with bustage fix. (bustage fix initializes nsPrintSettingsGTK::mPrintSelectionOnly to false in default constructor. Wasn't getting initialized before.)
2008-04-21 18:18:26 -07:00
dholbert@cs.stanford.edu
80266fc62d
Backing out bug 429337 to fix broken printing reftests on linux test box.
2008-04-21 17:48:12 -07:00
dholbert@cs.stanford.edu
aff5af5763
Crashtests for bug 404219. a=tests-only
2008-04-21 17:23:59 -07:00
dholbert@cs.stanford.edu
0680b00a3f
Bug 429337: During print-selection, don't use an unconstrained page height everywhere -- just on the reflowSize (where we need it, to catch selections on pages beyond the first). r+sr=roc a=beltzner
2008-04-21 15:36:26 -07:00
timeless@mozdev.org
fb126ee7de
Bug 351687 [@ nsBlockFrame::GetAccessible] mContent null check comes after we use mContent r=aaronl sr=dbaron a=beltzner
2008-04-21 10:19:32 -07:00
smontagu@smontagu.org
1b1469631c
Assert that the nsContinuingTextFrame is not a first continuation. Bug 414760, r+sr=roc
2008-04-21 00:17:04 -07:00
peterv@propagandism.org
99c9692e80
Fix for bug 388659 (Links become undraggable when document contains contenteditable element). r/sr=roc, a=beltzner.
2008-04-18 06:27:02 -07:00
roc+@cs.cmu.edu
0608964380
Bug 428156. Relanding. Make ComputeRepaintRegionForCopy handle non-moving frames that clip moving frames. r+sr=dbaron
2008-04-18 02:21:21 -07:00
fantasai.cvs@inkedblade.net
b093864cba
consider relevant overflow when balancing columns (fixes various crashes and hangs) b=404215 r+sr=roc a=beltzner
2008-04-18 00:40:35 -07:00
jst@mozilla.org
54ae1d2978
Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner
2008-04-17 15:30:51 -07:00
roc+@cs.cmu.edu
f674174858
Bug 428156 backout
2008-04-17 04:52:32 -07:00
roc+@cs.cmu.edu
25d4009a17
Bug 428156. ComputeRepaintRegionForCopy needs to handle non-moving frames that clip moving content. r+sr=dbaron,a=beltzner
2008-04-17 01:15:14 -07:00
mats.palmgren@bredband.net
1b3c4d7918
Stop QuickTime and Flip4Mac plugins directly when requested (not off an event). b=426524 r+sr=jst a1.9=beltzner
2008-04-16 13:06:48 -07:00
masayuki@d-toybox.com
d5e63828ad
Bug 428846 Using underline hint at painting the strikeout line of Quirks mode r+sr=roc, a1.9=beltzner
2008-04-14 23:47:59 -07:00
dbaron@dbaron.org
0cc180b641
Fix bug 427129 / 377664: When displacing blocks that don't interact with floats around floats, displace the border box rather than the margin box. Fix bug 427782: Simultaneously, only displace when the width actually won't go down to an amount that fits (i.e., if it will go to an amount smaller than the intrinsic minimum width, let it). b=427129 r+sr=roc a=schrep
2008-04-14 18:05:17 -07:00
dbaron@dbaron.org
72f25cf7a0
Backout bug 157546 (making the delete key delete by clusters) to fix blockers bug 419217 and bug 419406. Instead of removing the added test, mark now-failing tests as todo. a=damons
2008-04-14 18:04:18 -07:00
mats.palmgren@bredband.net
e8938be7ff
Don't delay stopping the Quicktime plugin. b=425157 r+sr=jst a1.9=beltzner
2008-04-14 16:39:59 -07:00
mats.palmgren@bredband.net
5a624fe0b5
The position of an outside bullet should not be affected by floats inside the principal block (this fixes most cases). b=427370 r+sr=dbaron a1.9=beltzner
2008-04-13 10:43:12 -07:00
dholbert@cs.stanford.edu
8a24231d01
Bug 427017: Disable page-break-before/after for fixed- & absolutely-positioned elements. Also, fix assertion during an iterator-comparison by handling case where lineBox is in overflow-lines. r=fantasai sr=roc a1.9=beltzner
2008-04-11 22:32:49 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a
Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
2008-04-11 10:29:06 -07:00
masayuki@d-toybox.com
01c805af57
Bug 426772 Floated first-letter generates too tall box r+sr=roc, a1.9=beltzner
2008-04-11 01:44:58 -07:00
dholbert@cs.stanford.edu
595fdb4786
Bug 402264: When we're scaling printed content, don't scale unconstrained heights. r+sr=roc a=damons
2008-04-10 15:34:38 -07:00
roc+@cs.cmu.edu
52d22300a5
Bug 425253 crashtest
2008-04-09 22:29:53 -07:00
roc+@cs.cmu.edu
1bfe348601
Bug 425253. Propagate reflow-depth tracking through XUL box layout. r+sr=dbaron,a=damon
2008-04-09 21:39:41 -07:00
reed@reedloden.com
96ec46b9da
Bug 426852 - "flash object disappear after going back" [p=mats.palmgren@bredband.net (Mats Palmgren) r+sr=jst a=blocking1.9+]
2008-04-08 23:28:23 -07:00
jonas@sicking.cc
b8a008856b
Backing out due to test failures
2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f
Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
2008-04-08 19:06:27 -07:00
dholbert@cs.stanford.edu
2e71a1cb17
Bug 421710: Replace a call to CreateContinuationFor with calls to SplitPlaceholder & SplitLine, to make sure that we don't lose the real frame for which we've made a placeholder. Patch by Michal Novotny <michal@allpeers.com> r+sr=roc a=blocking1.9+
2008-04-08 07:42:52 -07:00
roc+@cs.cmu.edu
2e1111534b
Bug 411585. Traverse all pages after the current page when painting a page, to locate placeholders that we need to traverse in order to paint out-of-flows on the current page. r+sr=dbaron
2008-04-08 06:06:12 -07:00
timeless@mozdev.org
2901e3ff19
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-04-07 23:18:35 -07:00
dholbert@cs.stanford.edu
c9a5a82516
Bug 389949, second patch: rotate landscape-mode printed output in Linux. (so we don't end up printing landscape-oriented content on top of portrait-oriented paper.) r+sr=vlad a=blocking1.9
2008-04-07 17:32:48 -07:00
timeless@mozdev.org
130fc53345
Bug 421030 Crash in [@ nsIFrame::GetView()] refreshing Viewpoint demo page r=roc sr=roc a=roc
2008-04-06 12:02:28 -07:00
roc+@cs.cmu.edu
a9f7ac7267
Bug 424710. Make sizing of abs-pos frames whose container is the initial containing block sane and consistent with Firefox 2, while still incorrect. r+sr=dbaron
2008-04-06 03:03:41 -07:00
smontagu@smontagu.org
974b8dbc2f
Correct the coordinates for selection decoration in right-to-left text. Bug 421042, r+sr=roc, a=beltzner
2008-04-06 01:12:09 -07:00
dbaron@dbaron.org
891467d3f4
Disable a small part of the fix for bug 416168 to fix a regression with outlines of certain empty inlines. b=424236 r+sr=roc a=blocking1.9+
2008-04-05 20:55:15 -07:00
reed@reedloden.com
ae07446635
Bug 421353 - "Moving the mouse over text hyperlinks which become underlined spikes cpu usage" (Fix incorrect use of units in previous patch) [p=reg@openpave.org (Jeremy Lea) r+sr=roc a1.9=beltzner]
2008-04-04 02:19:02 -07:00
mats.palmgren@bredband.net
a8660a0b46
Protect against integer overflow when calculating frame widths. b=421671 r+sr=roc a1.9=beltzner
2008-04-02 20:11:13 -07:00
roc+@cs.cmu.edu
6f195369f9
Bug 424873. Make GetWidgetOverflow take the new frame size as input instead of using the possibly-stale old frame size. r+sr=dbaron
2008-04-01 16:34:20 -07:00
martijn.martijn@gmail.com
4f72124454
Modified test for bug 392746, to really disable test for linux for now, instead of timing out there
2008-03-31 17:33:45 -07:00
uriber@gmail.com
cbc9152d29
Don't run this test on Linux for now as its causing problems in subsequent tests
2008-03-31 14:02:57 -07:00
uriber@gmail.com
5bce60c798
When adding a range to the selection, set the anchor focus to the added range, rather than the last range in the selection. bug=392746 r+sr=roc a1.9=beltzner. Mochitest (v3) by Martijn Wargers.
2008-03-31 10:47:42 -07:00
uriber@gmail.com
0e607145bb
removing the test too.
2008-03-30 14:57:17 -07:00
uriber@gmail.com
1cb980c3fe
reverting fix for 392746 due to unexplained failure of /tests/toolkit/content/tests/widgets/test_colorpicker_popup.xul
2008-03-30 14:55:37 -07:00
uriber@gmail.com
70b92069fd
Fix test for bug 392746 to work on Mac, and to work more robustly on Windows (and Linux?)
2008-03-30 13:42:01 -07:00
uriber@gmail.com
94163e6499
When adding a range to the selection, set the anchor focus to the added range, rather than the last range in the selection. bug=392746 r+sr=roc a1.9=beltzner. Mochitest by Martijn Wargers.
2008-03-30 11:13:29 -07:00
masayuki@d-toybox.com
3ea5191188
Bug 421353 Moving the mouse over text hyperlinks which become underlined spikes cpu usage r=roc+stuart, sr=roc, a1.9=beltzner
2008-03-29 14:25:15 -07:00
jruderman@hmc.edu
e06fb83304
Add crashtests
2008-03-26 21:09:57 -07:00
jruderman@hmc.edu
227e680d84
Add crashtest
2008-03-26 21:06:24 -07:00
jruderman@hmc.edu
79d9a4aa5f
Add a crashtest.
2008-03-26 20:59:36 -07:00
jruderman@hmc.edu
3cba3d9d9a
Add crashtest
2008-03-26 20:52:06 -07:00
jruderman@hmc.edu
79c3f5e7d6
Add crashtest
2008-03-26 20:33:09 -07:00
jruderman@hmc.edu
9173f6ba79
Add crashtests
2008-03-26 20:23:23 -07:00
jruderman@hmc.edu
1732cb4d46
Adding a crashtest.
2008-03-26 19:57:55 -07:00
jruderman@hmc.edu
e1ea66f86c
Adding crashtest
2008-03-26 18:03:02 -07:00
jruderman@hmc.edu
9b816f15d4
Add crashtest
2008-03-26 17:28:43 -07:00
jruderman@hmc.edu
f66480d963
Add crashtests
2008-03-26 17:24:55 -07:00
bent.mozilla@gmail.com
c83d448e96
Bug 425289 - "Mousing over plugins on Mac/Linux leaks and prevents plugin from shutting down". r+sr=jst, a=schrep.
2008-03-26 17:24:31 -07:00
jruderman@hmc.edu
106aa88b4f
Add crashtest
2008-03-26 16:27:23 -07:00
jruderman@hmc.edu
9f6fd24893
Add crashtest.
2008-03-26 15:03:26 -07:00
reed@reedloden.com
4167b1253b
Bug 423385 - "floating parent does not size correctly with floating child using negative margin" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=beltzner]
2008-03-25 16:19:46 -07:00
mats.palmgren@bredband.net
0400be05d0
Track event loop nesting level and delay stopping a plugin until it's safe. b=420886 r+sr=jst a1.9b5=beltzner
2008-03-25 09:56:04 -07:00
reed@reedloden.com
5e63772b54
Back out Robert O'Callahan's patch from bug 423385 due to mochitest failure.
2008-03-24 23:26:53 -07:00
reed@reedloden.com
1791d22006
Bug 423385 - "floating parent does not size correctly with floating child using negative margin" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=beltzner]
2008-03-24 21:50:12 -07:00
Olli.Pettay@helsinki.fi
8ef915d47c
Bug 395609, r=roc+sicking, sr=sicking, a=beltzner
2008-03-21 04:18:10 -07:00
dbaron@dbaron.org
f31447da64
Fixing asymmetry between what timeless landed for bug 394114 and what he backed out.
2008-03-19 15:05:04 -07:00
timeless@mozdev.org
f33eb4a3b4
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
dholbert@cs.stanford.edu
203b5735e3
Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) Orig Patch: [r=ventron sr=roc] Updates: [r=ventron r+sr=vlad] a=blocking1.9+
2008-03-19 13:51:42 -07:00
jst@mozilla.org
d1dd3d9620
Fixing bug 422926 (and also bugs 420886 and 423260). Don't do delayed stops of plugins unless we're deleting the frame, as some plugins apparently can't handle that. r+sr=jonas@sicking.cc
2008-03-19 12:43:10 -07:00
jwatt@jwatt.org
9f26d651b3
Bug 423436. Elements embedding SVG by reference don't resize if they depend on intrinsic percentage width/height. r+sr=dbaron@mozilla.com, blocking1.9=me
2008-03-18 17:11:01 -07:00
roc+@cs.cmu.edu
8dc31a31ac
Bug 422394. Fix tab width calculation so we never fail to advance. r=smontagu
2008-03-17 18:48:22 -07:00
bzbarsky@mit.edu
b607f1de90
Invalidate tables a little harder. Bug 421632, r+sr=roc
2008-03-16 13:32:48 -07:00
jruderman@hmc.edu
5300fa0e04
Add crashtest
2008-03-15 04:14:04 -07:00
jonas@sicking.cc
da4cab3b75
Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
2008-03-14 16:08:57 -07:00
dholbert@cs.stanford.edu
dfa358c900
Backing out Bug 417356, due to pagination reftest failures.
2008-03-14 01:50:13 -07:00
roc+@cs.cmu.edu
43eb2ffe91
Bug 404140. Avoid assertions about comparing line iterators from different lists by comparing nsLineBox* pointers. r+sr=dbaron
2008-03-14 01:12:25 -07:00
dholbert@cs.stanford.edu
b847cc90cc
Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) r=ventron sr=roc a=blocking1.9+
2008-03-14 00:48:04 -07:00
dholbert@cs.stanford.edu
52a3ff9796
Bug 421239: Remove broken/brittle optimization of guessing (incorrectly) whether a line might be empty, when we're determining whether we need to mark next line's margin as dirty. r+sr=roc, a=blocking1.9+
2008-03-14 00:21:15 -07:00
jst@mozilla.org
a5b6672d1f
Fixing bug 416953. Do plugin destruction off of an event whenever possible (which is pretty much always). r+sr=jonas@sicking.cc
2008-03-13 20:31:35 -07:00
dbaron@dbaron.org
950ba556ce
Don't make overflow:-moz-hidden-unscrollable affect layout. b=411213 r+sr=roc a=beltzner
2008-03-13 08:23:27 -07:00
roc+@cs.cmu.edu
a5d01c093e
Backing out 413027 again.
2008-03-13 02:14:16 -07:00
roc+@cs.cmu.edu
69064e9603
Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with additional XUL box layout fix to increase the frame size to the minimum size required by children even if they don't change size during layout, and a fix to scrollframes so they don't depend on being able to set a size for scrollbars less than their minimum size. r+sr=dbaron
2008-03-13 01:40:43 -07:00
masayuki@d-toybox.com
821cf1156c
Bug 417014 Need blacklist system for underline offset adjusting of CJK fonts which have wrong underline offset r=roc+stuart, sr=roc, b1.9=stuart
2008-03-12 19:36:58 -07:00
dbaron@dbaron.org
4f711db346
Don't let the pres context's visible area get permanently set to an unconstrained height when we call ResizeReflow with an unconstrained height during SizeToContent. b=371508 r+sr=roc a=blocking1.9+
2008-03-12 15:04:45 -07:00
smontagu@smontagu.org
479ae9823b
Enable bidi processing if there are right-to-left characters in print headers or footers. Bug 421690, r+sr=roc, blocking1.9=damon
2008-03-12 00:56:38 -07:00
roc+@cs.cmu.edu
60d05a4f07
Bug 413027 backed out again
2008-03-11 19:01:17 -07:00
roc+@cs.cmu.edu
ea712ce519
Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with extra instrumentation in the strangely-failing mochitest test_bug199692.xul
2008-03-11 18:05:26 -07:00
roc+@cs.cmu.edu
8dfb75f0cd
Bug 420351. Don't let empty list-bullets make a line non-empty. r+sr=dbaron
2008-03-11 17:46:18 -07:00
jruderman@hmc.edu
736a43a02c
Add crashtest
2008-03-11 17:44:46 -07:00
uriber@gmail.com
dce1edd834
Don't reserve space for start (end) margin on the first- (last-) in-flow if it has a previous (next) bidi continuation. bug=421419 r+sr=dbaron a1.9=dsicore
2008-03-11 14:54:34 -07:00
roc+@cs.cmu.edu
b099594232
Backing out 420351
2008-03-11 03:44:32 -07:00
roc+@cs.cmu.edu
8a3b8b1390
Backing out bug 413027
2008-03-11 01:36:01 -07:00
roc+@cs.cmu.edu
7464d60332
Bug 413027. The XUL min-size and pref-size for a CSS block should just be its height when reflowed at its preferred width --- NOT the height of the tallest line, that is insane. r+sr=dbaron
2008-03-11 00:38:26 -07:00
roc+@cs.cmu.edu
65180d9a75
Bug 420351. Empty bullets cannot make a line non-empty. r+sr=dbaron
2008-03-11 00:36:03 -07:00
jonas@sicking.cc
47a2cff0da
Back out due to failed mochitest
2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a
Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst.
2008-03-10 17:49:19 -07:00
mozilla@weilbacher.org
8aea370edc
[OS/2] Bug 369791: adapt plugin code to compile with cairo-os2, this in principle allows plugin content to be printed and windowless plugins to display, r=mkaply, a1.9+=damons
2008-03-10 17:10:55 -07:00
jst@mozilla.org
69dc88b93a
Followup fix for bug 393845, fixing minor issue found by jag, no functional change.
2008-03-08 11:04:40 -08:00
reed@reedloden.com
5e3b4d1415
Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner]
2008-03-08 01:44:35 -08:00
bmlk@gmx.de
a9dad73560
There is no height greater than unconstrained height, bug 402872, r/sr=roc a=beltzner
2008-03-08 01:12:30 -08:00
vladimir@pobox.com
7799aa92fb
b=418882, crash on www.rhein-zeitung.de, potential fix; r+sr=roc
2008-03-07 16:58:57 -08:00
jst@mozilla.org
cb76f98a7a
Fixing bug 393845. Crash with Windows Media Player 10 plugin when stopping plugin. r+sr=bzbarsky@mit.edu
2008-03-07 13:32:49 -08:00
bzbarsky@mit.edu
9a9b16c7e5
Make sure to do saturating adds on possibly-unconstrained nscoords. Bug 421404, r=dholbert, sr=roc, a=beltzner
2008-03-07 13:20:03 -08:00
vladimir@pobox.com
8ee725091d
b=418915, plugin print rendering coordinates incorrect on win32; r+sr=roc
2008-03-05 23:06:46 -08:00
dbaron@dbaron.org
7003061847
Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner
2008-03-05 16:05:26 -08:00
joshmoz@gmail.com
df3cd329a5
take key modifiers from the current event not the current hardware state. b=320746 r=smichaud sr=roc
2008-03-04 09:58:52 -08:00
roc+@cs.cmu.edu
cfdcd1fbe2
Bug 392809. Fix word-based caret movement around punctuation and whitespace. r=smontagu,a=beltzner
2008-03-03 00:37:34 -08:00
dholbert@cs.stanford.edu
65a3300338
Bug 418766: Use width, not height, as a quick proxy for whether a line is empty. r+sr=roc, a=beltzner
2008-02-29 13:45:43 -08:00
jst@mozilla.org
16e1932c1a
Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com
2008-02-28 18:06:00 -08:00
dbaron@dbaron.org
38ba81cbd4
Fix bug under some valid types of optimization where we cross margin and padding. b=420069 r+sr=roc a1.9b4=damons a-sheriff=sayrer
2008-02-28 17:52:06 -08:00
roc+@cs.cmu.edu
76c8339f01
Bug 405952. Add scrollbar width to pref and min widths for overflow:scroll elements but for no other overflow values. r+sr=bzbarsky,dbaron,dholbert, a=beltzner
2008-02-28 12:37:06 -08:00
masayuki@d-toybox.com
3dcfbbf7fc
Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner
2008-02-28 07:28:37 -08:00
masayuki@d-toybox.com
f6e10b8d70
backing out the previous patch, becaused qm-centos5-01 dep unit test is orange
2008-02-28 05:59:25 -08:00
masayuki@d-toybox.com
22b844e897
Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner
2008-02-28 03:01:56 -08:00
roc+@cs.cmu.edu
bc1e698534
Bug 400057. Make nsBlockInFlowLineIterator useful for finding the line containing a frame, searching across block continuations and their overflow lines. Use it in various places, especially in textrun construction. r+sr=dbaron
2008-02-27 01:53:48 -08:00
roc+@cs.cmu.edu
705c2058b7
Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron
2008-02-27 01:46:22 -08:00
roc+@cs.cmu.edu
e29a1f3193
Bug 419531. Don't wipe out stored tab widths during text intrinsic size calculation. r+sr=dbaron
2008-02-27 01:29:46 -08:00
reed@reedloden.com
ad47a157a8
Back out Smaug's patch from bug 395609 due to a Txul regression.
2008-02-26 19:51:00 -08:00
dbaron@dbaron.org
bef42eb600
Prevent margin expansion from interfering with table caption position. Based on patch by Mats Palmgren. b=363248 r+sr=roc a=blocking1.9+
2008-02-26 18:02:50 -08:00
dougt@meer.net
47947ce309
use of max(a,b) is confusing windows mobile compiler. b=419653, r=dbaron, a=beltzner
2008-02-26 17:51:57 -08:00
Olli.Pettay@helsinki.fi
9d20321d7a
Bug 395609, r=roc, sr=sicking
2008-02-26 15:48:49 -08:00
mats.palmgren@bredband.net
a907d70ffb
Fix a compile warning. b=417895 r+sr=roc a=blocking1.9
2008-02-26 07:04:33 -08:00
mats.palmgren@bredband.net
9e192bb576
Make nsTypedSelection ctors initialize all members (fixes an UMR) and reorder members to save space. b=417895 r+sr=roc a=blocking1.9
2008-02-26 07:04:14 -08:00
reed@reedloden.com
70e372f1fb
Bug 410114 - "Simplify nsTransform2D" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=roc a1.9=damons]
2008-02-26 01:42:36 -08:00
roc+@cs.cmu.edu
4d2c5dd483
Bug 408898. Aggressively SetWindow when paining on Mac with CG to prevent plugins drawing in the wrong place. patch by Matthew Gregan, r+sr=roc
2008-02-26 01:09:05 -08:00
dbaron@dbaron.org
722e419bf7
Fix handling of 'right'-derived static positions (mostly for RTL) when containing block has asymmetric border. b=419072 r+sr=roc a=damons
2008-02-25 13:16:21 -08:00
roc+@cs.cmu.edu
ac43fde6ea
Bug 416752. Use the scrollbar min-height/min-width to establish the minimum scrollport size, not the pref-height/pref-width. r+sr=dbaron
2008-02-24 17:21:08 -08:00
dbaron@dbaron.org
36bfec9f1f
Fix regression handling auto margins on absolutely positioned elements. b=419060 r+sr=roc a=blocking1.9+
2008-02-24 10:28:57 -08:00
fantasai.cvs@inkedblade.net
adcaddd746
fixed positioned elements print only on first and last pages b=417676 r+sr=roc
2008-02-24 04:19:17 -08:00
reed@reedloden.com
b7eaeb04c9
Bug 383267 - "When fontHeight is very large, pagescroll height(pageincrement value) is too small" [p=masa141421356@gmail.com (Masahiro Yamada) r+sr=roc a1.9=beltzner]
2008-02-23 23:35:08 -08:00
reed@reedloden.com
40b710e021
Bug 391559 - "Incorrect ordered-list numbering within -moz-column-* (and/or numbering changes when clicked)" [p=craig.topper@gmail.com (Craig Topper) r+sr=roc a1.9=beltzner]
2008-02-23 23:31:29 -08:00
uriber@gmail.com
8c675558f6
Add a comment and assertion to the fix for bug 370174. r+sr=roc on the original patch. blocking1.9=dbaron
2008-02-23 02:54:29 -08:00