Commit Graph

1195 Commits

Author SHA1 Message Date
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