Ehsan Akhgari
689d4e0925
Disable tests for bug 441782 / bug 467672 on Windows, rather than on non-Windows. (Bug 467672) r+sr=roc
2009-02-07 08:43:11 -08:00
Robert O'Callahan
c651fddc26
Backed out changeset a142df653655
2009-02-07 23:37:23 +13:00
Zack Weinberg
7529ae2887
Bug 455364. Make border-image drawing use nsLayoutUtils::DrawImage and friends so we get the right pixel-snapping behaviour. r+sr=roc
2009-02-07 21:35:54 +13:00
Boris Zbarsky
6f9a0da875
Bug 299837. Implement text-align:end. r+sr=dbaron
2009-02-05 22:48:30 -05:00
Boris Zbarsky
f47d90d8f4
Bug 475986. Make text-align:start work on <html:th> correctly. r+sr=dbaron
2009-02-05 22:48:29 -05:00
Daniel Holbert
2033e78825
Bug 472769: Use snapToPixels when redrawing dirty background rectangles, to fix painting error in widgets at fractional positions. r+sr=roc
2009-02-05 17:39:25 -08:00
Kyle Huey
93fcc53c4c
Bug 452345. nsCSSFrameConstructor should use the term 'root element frame' instead of 'initial containing block', since 'initial containing block' means something else in CSS. r+sr=roc
2009-02-05 21:11:42 +13:00
Jim Mathies
269a1439a7
Bug 450322 - Fix broken windows animation in Vista Aero. r+sr=roc.
2009-02-04 21:05:48 -06:00
Blake Kaplan
c8b404ae13
Add some logging code to see if bug 474537 is still around.
...
--HG--
extra : rebase_source : 840e2da57a266bd98f30e195f3819f59fb97c86d
2009-02-04 15:04:51 -08:00
L. David Baron
0e1e58e70d
Correctly handle a style change reflow on a subtree that has placeholders with out of flows outside that subtree. (Bug 363247) r+sr=bzbarsky
2009-02-04 13:24:18 -08:00
Arpad Borsos
829f9f024a
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
Boris Zbarsky
553227508e
Bug 476063. Only do special fieldsetty stuff with <legend>s that are in a fieldset. r+sr=dbaron
2009-02-03 09:29:47 -05:00
Boris Zbarsky
47183857d0
Bug 476087. Work around editor breakage with anonymous content. r+sr=dbaron
2009-02-03 09:29:46 -05:00
Blake Kaplan
c6540ca70e
Bug 474537 - Don't use a static array, since this can be called on multiple threads. r+sr=jst
...
--HG--
extra : rebase_source : 7926ab4fd9a5e141edfdd571ae82c8223bee5d37
2009-02-02 17:37:03 -08:00
Boris Zbarsky
4120090406
Backing out logging patch for bug 474537
2009-02-02 19:55:10 -05:00
Boris Zbarsky
713f5cf16b
Another attempt at logging for bug 474537
2009-02-02 16:27:56 -05:00
Boris Zbarsky
c1149f03ad
Backing out the logging now that we've hit it. See bug 474537
2009-02-02 15:17:55 -05:00
Boris Zbarsky
18e06836cd
Add logging to try to sort out why some of our inputs are not nsIFormControl sometimes
2009-01-30 17:08:21 -05:00
Zack Weinberg
dcc576e990
Bug 455364. Part 1: Create nsLayoutUtils::Draw*Image variants that take nsIImage*. r+sr=roc
...
--HG--
extra : rebase_source : f12e5f2f1b23d82d8df40b9a279871c5ecdb46a8
2009-01-30 20:33:57 +13:00
Zack Weinberg
60807b61c4
Bug 475548. Don't let the view manager's DefaultBackgroundColor be translucent. r+sr=roc
...
--HG--
extra : rebase_source : 1a8a5b29e8bc726affd4a97850e4c8f2c962ed1f
2009-01-30 20:07:30 +13:00
Michael Ventnor
de7c8d503e
Bug 475877. Avoid unnecessary box-shadow repaints by implementing nsDisplayBoxShadow::OptimizeVisibility. r+sr=roc
...
--HG--
extra : rebase_source : 2e9c673a62ec7866d1f52324f3fc95397cd5abc6
2009-01-30 20:03:46 +13:00
Ehsan Akhgari
d2b5ccb3ce
Bug 467672 - need additional bidi.numerals setting for Persian (eastern Arabic-Indic) numerals; r=roc,jfkthame sr=roc
2009-01-30 11:43:17 +03:30
L. David Baron
452186214b
Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky
2009-01-29 20:39:23 -08:00
L. David Baron
abfdd0fb26
Merge backout of changeset 24917a339f2e (bug 475128) because it didn't patch the IsRoot check nsRuleNode::Sweep, which it needs to.
2009-01-29 14:36:51 -08:00
L. David Baron
e0a76520f3
Backed out changeset 24917a339f2e (bug 475128) because it didn't patch the IsRoot check nsRuleNode::Sweep, which it needs to.
2009-01-29 14:36:34 -08:00
L. David Baron
a1538274bb
Stop reflowing the viewport with constrained height. (Bug 467881) r+sr=roc
2009-01-29 12:39:22 -08:00
L. David Baron
c61d051922
Create legends in CreateContinuingFrame. (Bug 468578) r+sr=roc
2009-01-29 12:39:22 -08:00
L. David Baron
583b7afd79
Handle placeholder frames in RemoveMappingsForFrameSubtree. (Bug 428113) r=mats.palmgren sr=roc
2009-01-29 12:39:21 -08:00
L. David Baron
6fd6f6ba0f
Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky
2009-01-29 12:39:19 -08:00
L. David Baron
5299a0bbe2
Weaken assertion so that it doesn't fire. (Bug 472353) r+sr=bzbarsky
2009-01-29 12:39:19 -08:00
L. David Baron
f8774a93ef
Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky
2009-01-29 12:39:18 -08:00
L. David Baron
e0ea655b2f
Separate previously-copied font constants into their own file and have them in one place rather than three. (Bug 3512) r=vlad
2009-01-29 12:39:18 -08:00
Boris Zbarsky
ddd360ca2d
Fixing build bustage on Windows. Bug 307394
2009-01-29 15:15:45 -05:00
Boris Zbarsky
e753880b7c
Bug 307394 part 2. Fix the indexing in ContentInserted to work correctly even when XBL is around. r+sr=dbaron. Also fixes bug 232990, bug 261826 , bug 272646, bug 386310, bug 468546
2009-01-29 14:46:20 -05:00
Boris Zbarsky
3574872d3a
Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc
2009-01-29 14:46:17 -05:00
Michael Ventnor
c81d455553
Bug 475197. -moz-box-shadow needs to be hooked up to buttons and fieldsets since they have custom background painting code. r+sr=roc
2009-01-28 22:28:14 +13:00
Boris Zbarsky
1813e2fd3c
Bug 475419. Make sure to set up our user font set no matter what the ordering of flushes and font loading is. r+sr=dbaron, a=bsmedberg
2009-01-27 19:31:26 -05:00
Clint Talbert
3786718122
Backing out 24179:ab9665e638d6 due to test failure on linux
2009-01-24 17:34:38 -08:00
Clint Talbert
d5e47b295f
Bug 474016: Fixing rounding errors on css transform mochitests r=dholbert
2009-01-24 16:20:14 -08:00
Mats Palmgren
4cf4b246fc
Test for bug 446328.
2009-01-23 18:15:36 +01:00
Boris Zbarsky
4f8f3b0027
Bug 474938. Restore silly speculative parsing workaround. r+sr=peterv
2009-01-23 10:16:10 -05:00
Zack Weinberg
bec44c658d
Test case for bug 469170, which was fixed by bug 473398.
...
--HG--
extra : rebase_source : 793f48c1001ec27e1a2b20c8cf609947caef8cde
2009-01-22 17:19:54 +13:00
Zack Weinberg
5ec5e3b886
Bug 474201: always set the view manager's default background in nsCSSRendering::PaintBackground, use only the prescontext's default background in PresShell::Paint. r+sr=roc
...
--HG--
extra : rebase_source : 585e5e1803e98d25163fdcdf7f0aa758177e932c
2009-01-22 17:18:59 +13:00
Robert Longson
44b1a9bfb1
Bug 472135. Invalidate markers using style system hints instead of doing an eager invalidation (which reacquires frames, breaking our one-shot nsSVGRenderingObservers setup). r+sr=roc
...
--HG--
extra : rebase_source : 48ab3b34460f5908bcec5c3e15a5d12f71496579
2009-01-22 14:02:40 +13:00
Mark Banner
96e4962fb5
Build bustage fix for Bug 473390 - make it build for apps that build without MathML
2009-01-21 15:38:59 +00:00
L. David Baron
008ca182cf
Merge backout of changeset 6849ce51dfef (patch 3 from bug 468645) to fix bug 472353.
2009-01-20 13:54:17 -08:00
L. David Baron
7c5191446f
Backed out changeset 6849ce51dfef (patch 3 from bug 468645) to fix bug 472353.
2009-01-20 13:45:23 -08:00
Boris Zbarsky
1ebd2ace9a
Bug 474417. <wbr> support broken. r+sr=roc
2009-01-20 14:42:25 -05:00
Boris Zbarsky
f1e21eec04
Bug 473390 part 18. Eliminate IsSpecialContent. r+sr=roc
2009-01-19 13:31:35 -05:00
Boris Zbarsky
8c55daf9b6
Bug 473390 part 17. Switch SVG frame construction over to the new setup. r=jwatt, sr=roc
2009-01-19 13:31:34 -05:00
Boris Zbarsky
ea8c0a5865
Bug 473390 part 16. Move around SVG assertions so that they happen in frame init, not during frame creation. r=jwatt, sr=roc
2009-01-19 13:31:34 -05:00
Boris Zbarsky
dcd16bd3ed
Bug 473390 part 15. Switch XUL frame construction over to the new setup. r+sr=roc
2009-01-19 13:31:34 -05:00
Boris Zbarsky
b868afeb9d
Bug 473390 part 14. Eliminate the mRootBox member of the frame constructor state, and move its only consumer into the relevant frame Init method. r+sr=roc
2009-01-19 13:31:33 -05:00
Boris Zbarsky
18399c778f
Bug 473390 part 13. Remove the unused aScrolledChildStyle argument of BuildScrollFrame. r+sr=roc
2009-01-19 13:31:33 -05:00
Boris Zbarsky
2793dc5658
Bug 473390 part 12. Simplify some of the parent frame mess in XUL frame construction and remove some confusing comments. r+sr=roc
2009-01-19 13:31:33 -05:00
Boris Zbarsky
f3a2fedf99
Bug 473390 part 10. Move various XUL nsIBoxLayout stuff out of the frame constructor into frame creation functions, and make the XUL frame creation functions have the right signature to fit into the new world. r+sr=roc
2009-01-19 13:31:33 -05:00
Boris Zbarsky
9bbe40ce73
Bug 473390 part 9. Switch MathML frame construction over to the new setup. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
9f4f82f532
Bug 473390 part 8. Move the <mathml:math> display switching out of the frame constructor and into the frame creation function. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
adce23e350
Bug 473390 part 7. Switch HTML frame construction over to the new setup. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
15e9c687fa
Bug 473390 part 6. Move the flag-setting for file controls out of the frame constructor and into the frame implementation. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
0966b434f3
Bug 473390 part 5. Move the checkbox and radio face style code out of the frame constructor and into those frames. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
4a76f2eb41
Bug 473390 part 4. Remove vestigial XBL form control stuff. r+sr=roc
2009-01-19 13:31:31 -05: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
Boris Zbarsky
cb7d2b1273
Bug 473390 part 1. Stop checking IsSpecialContent for the root frame. Just construct a table if it's got a table display type and isn't XUL or SVG. This is safe because we no longer have the weirdness that was ConstructDocElementTableFrame. r+sr=roc
2009-01-19 13:30:15 -05:00
Nickolay Ponomarev
dc72b9cc31
Bug 472189. Delay attribute changes for progressmeter updates via script-runnables. r=enn,sr=roc
2009-01-19 22:29:48 +13:00
Robert O'Callahan
7c7e1bfe9e
Bug 462593. Cancel all outstanding font loads when the presshell is torn down. r=jdaggett
2009-01-19 22:21:29 +13:00
Fred Jendrzejewski
7d5761cdfa
Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc
2009-01-18 21:14:14 +01: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
Peter Van der Beken
0d3a840f21
Fix for bug 473773 (DocumentViewerImpl::InitPresentationStuff can reenter). r=roc, sr=bz.
2009-01-18 16:21:26 +01:00
Neil Deakin
bcc795fb9d
Bug 212750, one more fix for nsIntRect usage
2009-01-17 16:25:56 -05:00
Neil Deakin
f0c2f61672
Bug 212750, fix broken point usage
2009-01-17 16:14:18 -05:00
Neil Deakin
c8df9e6d4f
Bug 212750, position context menu for menus when the keyboard shortcut is used, also move code around so that the right targets are set for context menu key events, r=smaug,sr=roc
2009-01-17 15:50:00 -05:00
Robert O'Callahan
4388aebd00
Backout bug 472135 due to Linux test failure
2009-01-17 23:59:37 +13:00
Robert O'Callahan
00e57b8380
Backed out changeset 9246fefef1cc
2009-01-17 23:58:34 +13:00
Robert O'Callahan
0dd1ce33f5
Bug 471594. In ContentInserted, when we have an insertionPoint and we take the isAppend path, use the insertionPoint's last continuation as the place to append so we don't insert the new frames in the middle of some other content's continuation chain. r+sr=bzbarsky
...
--HG--
extra : rebase_source : dbcc34f8fc9a73d53105300d2aa2bebbc584ab8f
2009-01-16 21:25:04 +13:00
Robert Longson
4a4ce9e387
Bug 472135. Avoid re-getting the target marker frame in nsSVGMarkerProperty::DoUpdate --- that leads to infinite loops. Update things lazily instead via fake style changes. r+sr=roc
...
--HG--
extra : rebase_source : f90519e06842d6301e3a27eddb0cddd300b62db2
2009-01-16 21:20:29 +13:00
Zack Weinberg
7da71decb2
Bug 473398. nsCSSRendering::PaintBackground should not try to fix up the canvas background color to be opaque. r+sr=roc
...
--HG--
extra : rebase_source : f2883c704bee9a4ba70c57598704ed7ba30628dc
2009-01-16 21:15:29 +13:00
L. David Baron
ba1c5c080f
Avoid building user font set when handling units involving font metrics in media query expressions. (Bug 473892) r+sr=bzbarsky
2009-01-16 19:44:21 -08:00
Daniel Holbert
7b43e76e0a
Fix typo & linewrapping in a comment within nsDocumentViewer.cpp (to trigger unittest builds)
2009-01-16 17:35:19 -08:00
L. David Baron
5293f77173
When re-resolving style, re-resolve root in undisplayed map too. (Bug 473042) r+sr=bzbarsky
2009-01-16 13:32:09 -08:00
L. David Baron
76872659c8
Don't suppress use of overridden virtual destructors, so we fix the appearance of a leak in the leak statistics. (Bug 473548) r+sr=roc
2009-01-16 13:32:09 -08:00
L. David Baron
286c54a127
Recheck media queries when changing text zoom since em units have changed. (Bug 473400) r+sr=bzbarsky
2009-01-16 13:32:08 -08:00
Clint Talbert
079c222900
Bug 457324 Partial Backout - Remove the CSS Transform mochitests from running due to leaks on Windows r=dholbert
2009-01-16 14:44:22 -06:00
Clint Talbert
960f11519e
imported patch bug435293-csstransform-tests
2009-01-16 12:52:24 -06:00
Robert O'Callahan
1a9b00de4e
Backed out changeset 8019a959aade
2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55
Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
...
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Boris Zbarsky
833d1664d3
Adding some tests
2009-01-15 14:49:33 -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
Brian Birtles
adf1d4fa7c
Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc
2009-01-14 20:38:07 -08:00
Olli Pettay
7bf054d872
Bug 472730, window.sizeToContent() causes hang & full CPU usage, due to extreme recursion, r+sr=dbaron
2009-01-14 22:42:25 +02:00
Peter Van der Beken
50a423af1a
Merge backout.
2009-01-14 15:13:37 +01: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
Robert Kaiser
469b9879fd
bug 472813 - Remove SeaMonkey workaround for test_bug465448.xul, r=roc
2009-01-14 14:48:22 +01:00
Boris Zbarsky
00e66d09cf
Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking
2009-01-14 07:49:18 -05: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
L. David Baron
8ae14c6f7f
Prevent rebuilding all style data when paginated. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:37 -05:00
L. David Baron
272bf85847
SetVisibleArea doesn't need to lead to media query change handling when paginated (e.g., when doing a SizeToContent around a print preview window). (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:37 -05:00
L. David Baron
43923a2427
DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
L. David Baron
2424598a74
Prevent posting media query changed events during construction. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
L. David Baron
a3d0f42dba
Fix style context invariants so we can re-resolve page break frames. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
Simon Montagu
89eb38e82f
Fix compiler warnings in nsCaret.cpp. Bug 470574, r+sr=dbaron
2008-12-28 04:08:22 -08:00
Dan Fabulich
b3132f8800
b=347174, implement document.readystate == 'complete'; r=sicking
2009-01-09 09:12:09 -08:00
L. David Baron
5a8f68315b
Backed out changeset 046f5da25280 due to crash in layout/forms/test/ mochitests.
2009-01-13 17:47:03 -08:00
L. David Baron
54c0fed0d2
When re-resolving style, re-resolve root in undisplayed map too. (Bug 473042) r+sr=bzbarsky
2009-01-13 11:50:41 -08:00
John Daggett
f9e721b5df
Bug 465452 - better handling of format hints for downloadable fonts. r=dbaron.
2009-01-13 14:16:58 +09: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
Robert Kaiser
5f8c1f03e4
bug 469331 - [SeaMonkey] test_bug458898.html fails, make the width test function always ok on Windows, r=dbaron
2008-12-23 16:03:25 +01:00
Boris Zbarsky
e70ba8495c
Adding asserts for bug 470167
2008-12-22 15:00:08 -08:00
Robert Kaiser
7cf9888fa2
bug 469331 - [SeaMonkey] test_bug458898.html fails, mark the test todo on SeaMonkey for now, r=dbaron
2008-12-21 13:42:15 +01:00
Olli Pettay
d766a4a00e
Bug 466057, r+sr=bz
2008-12-20 16:28:19 +02:00
Serge Gautherie
98e21ae301
Backed out changeset: 4fbb9483d7e6
2008-12-20 04:59:56 +01:00
Zack Weinberg
6e87ad1067
Bug 456219 - fix background clipping with rounded corners; r+sr=roc
2008-12-20 01:55:59 +01:00
Olli Pettay
28242cb1ae
Bug 461994 - Crash [@ DocumentViewerImpl::Close] with reloading, r+sr=bz
2008-12-20 01:45:56 +02:00
Olli Pettay
7fb4bae15c
Bug 470167 - 'ASSERTION: Should be in an update while creating frames' with stylesheet appended many times, r+sr=bz
2008-12-20 01:35:30 +02: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
Stuart Parmenter
91c3580bb5
bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me
2008-12-12 02:50:31 -08:00
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
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
L. David Baron
3e5f6435ab
Move wrapping of blocks inside XUL into ProcessChildren to catch more callers. (Bug 421203) r+sr=roc a=blocking1.9.1+
...
--HG--
rename : layout/reftests/bugs/321402-3.xul => layout/reftests/bugs/421203-3.xul
rename : layout/reftests/bugs/321402-4.xul => layout/reftests/bugs/421203-4.xul
rename : layout/reftests/bugs/321402-5.xul => layout/reftests/bugs/421203-5.xul
rename : layout/reftests/bugs/321402-6.xul => layout/reftests/bugs/421203-6.xul
2008-12-16 16:30:31 -08: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
Simon Montagu
70d49c14fa
Make display of the directional hook on the caret dependent on the bidi.browser.ui pref. Bug 418513, r=uriber, sr=roc (for core) r=mano, gavin.sharp (for browser)
2008-12-14 01:05:39 -08:00
Olli Pettay
f8412fdedc
Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz
2008-12-13 22:30:02 +02:00
Zack Weinberg
942db4a483
Bug 467459: make sure PresShell::Paint() uses an opaque color for the backstop; r+sr=roc
2008-12-13 17:07:08 +01: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
a3a3951684
Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats
2008-12-12 21:34:43 +13:00
Robert O'Callahan
a06ae88b70
Bug 468690. Remove leftover assertion that's no longer needed after the fix for bug 460012. r+sr=bzbarsky
2008-12-12 21:28:47 +13:00
Robert O'Callahan
aea35dfccb
Bug 455314. nsSVGRenderingObserver::GetReferencedFrame shouldn't try to look up the frame on a cache miss, if we're currently destroying frames. r+sr=mats
2008-12-12 21:25:16 +13:00
John Daggett
4e18b0296a
Bug 460037 - Fix crasher in font loader when closing windows. r+sr=roc
2008-12-12 16:31:51 +09: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
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
L. David Baron
39812fadae
Rebuild all style data when the user font set changes so that we recompute ex and ch units. (Bug 458878) r=jdaggett sr=bzbarsky a=blocking1.9.1+
2008-12-08 08:08:05 -08:00
Robert O'Callahan
bfa41e8f5e
Merged to trunk
2008-12-08 20:52:15 +13:00
Mats Palmgren
1c185b29b9
Walk child frame next-in-flows that are overflow containers. Skip [excess]overflowContainersList to avoid processing them more than once. b=411835 r+sr=roc
2008-12-08 04:01:25 +01:00
Robert O'Callahan
64e40d52ed
Bug 451117. Remove obsolete assertion. r+sr=bzbarsky
2008-12-08 13:50:57 +13:00
Mats Palmgren
e79d638b8e
Make GetCurrentEventFrame() return null if the shell is being destroyed (don't call GetPrimaryFrameFor()). b=421839 r+sr=roc
2008-12-08 00:10:31 +01:00
L. David Baron
7fc92bad7f
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-07 13:58:07 -08:00
Masatoshi Kimura
a682e0d618
Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron
2008-12-06 11:08:26 -08:00
Michael Ventnor
e758b80cd9
Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir
2008-12-06 19:54:36 +01:00
Neil Deakin
368d82a815
Bug 393575, change nsIMenuParent to nsMenuParent, r+sr=bz
...
--HG--
rename : layout/xul/base/src/nsIMenuParent.h => layout/xul/base/src/nsMenuParent.h
2008-12-05 11:37:31 -05:00
Zack Weinberg
1e1e399d77
Bug 460217 - handle @font-face block without family name correctly in nsCSSRuleProcessor - r+sr=dbaron
2008-12-04 21:01:37 -08:00
L. David Baron
e2343835b0
Merge backout of changeset 7b553bbed53d (bug 302561) due to chrome test crash.
2008-12-04 09:57:44 -08:00
L. David Baron
90b976fe34
Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash.
2008-12-04 09:57:18 -08:00
L. David Baron
5ef811c47a
Make incremental frame construction set mFixedPosIsAbsPos just like from-the-top frame construction. (Bug 467460) r+sr=roc
2008-12-04 08:09:53 -08:00
L. David Baron
3e43af7a94
Allow PostRebuildAllStyleData to be called with an aExtraHint. (Bug 458878) r+sr=bzbarsky a=blocking1.9.1+
2008-12-04 08:09:53 -08: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
L. David Baron
85dd73ebd3
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-04 08:09:52 -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
Daniel Holbert
357fdecd33
(Undoing whitespace-only change)
2008-12-04 05:15:11 -08:00
Daniel Holbert
2059630793
Note: prev changeset (d5969f0d3fd9) was for Bug 466607 -- I forgot the bug # in the checkin comment. (I'm pushing _this_ whitespace-only changeset as a follow-up to get that bug # in there.)
2008-12-04 05:14:21 -08:00
Daniel Holbert
34af9c25e6
Use QI for type-safety check in StopMediaInstance/StartMediaInstance. r=chris.double sr=roc
2008-12-04 05:08:39 -08:00
Graeme McCutcheon
db7058c5de
Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky
2008-12-03 12:55:14 -05: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
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
9370e7013a
Bustage fix for bug 463307
2008-12-03 15:02:29 +13:00
Robert O'Callahan
38bbc69620
Bug 463307. Convert to float a bit earlier to avoid integer overflow. r+sr=dbaron
2008-12-03 14:32:18 +13:00
Uri Bernstein
ac8e218f9c
Bug 466568. Don't traverse into scrollable frames if we're not allowed to traverse out of them. r+sr=roc
2008-12-03 14:24:07 +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
Robert O'Callahan
b72f6882fb
Bug 467283. Ignore dirty rect when doing any image resampling --- it will lead to artifacts. r+sr=dbaron,r=vlad
2008-12-03 09:46:44 +13:00
Gavin Sharp
58c580b07d
Bug 462887: document ignoreScrollFrame argument in nsLayoutUtils, rename it to ignoreRootScrollFrame, r=roc, sr=bzbarsky, a=beltzner
2008-11-28 14:53:33 -05:00
L. David Baron
f947c3be3c
Don't assert when we call GetUserFontSet during frame construction. (Bug 466756) r+sr=bzbarsky a191=beltzner
2008-11-27 12:31:04 -08:00
John Daggett
0d24013534
Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron
2008-11-27 12:50:16 +09: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
2aa2ccaca4
Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+
2008-11-25 15:22:38 -08:00
L. David Baron
5785e50c68
Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+
2008-11-25 15:22:38 -08:00
L. David Baron
b5cdb24735
Back out 91690545debc0d3537fcb0598ebd6ac7e21f2072 due to mac startup failures.
2008-11-25 15:09:02 -08:00
Robert O'Callahan
54b396e60b
Bug 463952. Expand destArea according to CSS background-repeat *before* intersecting with bgClipArea, instead of after. r+sr=dbaron
2008-11-26 11:19:34 +13: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
98a52f5f6c
Bug 454751. Use a fresh nsFrameConstructorState when we construct new frames in ReconstructDocElementHierarchyInternal, so internal state pointing to deleted frames is flushed out. r+sr=bzbarsky
2008-11-26 11:12:06 +13:00
L. David Baron
88620d4af0
Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett 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
49d3fcc1ac
Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
L. David Baron
f493486819
Address my own review comment: Restore IsTransparent() check, which should restore old behavior for background-images when printing backgrounds is disabled. (Bug 456219) r=zwol
2009-01-10 08:37:01 -08:00
Mats Palmgren ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
b06807d54b
Put the root element in the undisplayed map so that we reconstruct it when it has its 'display' changed from 'none' to something else. (Bug 283686) r+sr=bzbarsky
2009-01-10 08:28:15 -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
L. David Baron
914fe872e6
bug 464970 - nsCSSBorderRenderer::AreBorderSideFinalStylesSame is too pessimistic. r=vlad, a=beltzner
2008-11-19 11:53:08 -05:00
Boris Zbarsky
127c0998fe
Bug 445004. Make the base and document URI of document.written documents be the base and document URI of the document on whose current context our code is running. r+sr=jst, r=dcamp
2008-11-18 17:54:36 -05:00
Robert O'Callahan
2f76e95c17
Bug 464811. Snap the anchor point to pixels using a method that guarantees the source rect and the subimage rect intersect. r+sr=dbaron
2008-11-18 20:48:46 +13:00
Robert O'Callahan
774dc6063b
Backed out changeset 0ced86fbf8ed (reftest failures)
2008-11-18 10:13:55 +13:00
Robert O'Callahan
48c8f9855c
Bug 464811. Tweak the anchor point snapping algorithm again. This time we have a proof that the resulting snapping algorithm guarantees the subimage rectangle intersects the logical source rectangle. r+sr=dbaron
2008-11-18 09:32:11 +13:00
Blake Kaplan
337fb163df
Bug 458440 - Attempt to work around speculative parsing crash. r+sr=dbaron
2008-11-11 13:38:54 -08:00
Robert O'Callahan
c8375e914a
Bug 463217. Don't let nsLayoutUtils::DrawSingleImage/DrawSingleUnscaledImage do any tiling, restrict their drawing to the single tile. r+sr=dbaron
2008-11-10 20:24:21 +13: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
6303f1ce0f
Bug 463204. Be more careful about snapping the anchor point. We must transform the anchor point to match the snapping of the fill rect before we actually snap it to device pixels. r+sr=dbaron
2008-11-07 13:58:42 +13: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
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
Zack Weinberg
dacf4ab104
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
2009-01-09 13:28:32 +13:00
Robert O'Callahan
6b943be957
Backed out changeset 5041ce453104
2009-01-08 23:19:21 +13:00
Zack Weinberg
25f522098f
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
...
--HG--
extra : rebase_source : ec710fd6f83332fcecaa926b1f0ec07e4d2e3635
2009-01-08 21:10:21 +13:00
Robert O'Callahan
f708c8026e
Bug 425981. Make first-letter frame wrapping build its own frame constructor state to ensure it's for the correct place in the frame tree. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 7dd5de3f6b2a9e83994d7023d4cfafce205e9376
2009-01-08 21:07:51 +13:00
Boris Zbarsky
95874e95d3
Bug 472500. Allow generated content on XUL frames. r+sr=roc
2009-01-07 18:22:08 -05:00
Boris Zbarsky
835c17ffde
Bug 472501. Add XUL namespace checks in some more places where they're needed, and make the XBL suppression of child frame processing work for all frames, not just XUL. r=enndeakin, sr=roc
2009-01-07 18:22:05 -05: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
Boris Zbarsky
6925343822
Bug 472322. Don't treat non-XUL listboxbody/listitem specially in XUL frame construction. r=enndeakin, sr=roc
2009-01-06 14:18:04 -05:00
Boris Zbarsky
1ce2a69367
Bug 437366. Make sure to not paint black-on-black in dark high-contrast themes when 'Allow pages to use their own colors' is unchecked and the page tries styling a form control. r+sr=dbaron
2009-01-06 14:17:05 -05:00
Boris Zbarsky
7663cfbf76
Bug 291854. Push float containing blocks inside ProcessChildren. r+sr=roc
2009-01-05 20:54:32 -05:00
Robert O'Callahan
b4af72fc54
Bug 471365. Make reftest-wait tests track invalidation via MozAfterPaint and repaint the invalid areas like normal window repaining would. This makes invalidation-related bugs testable. r=dbaron
2009-01-06 14:15:13 +13:00
Boris Zbarsky
60aefffa14
Bug 472138. Push CreateAnonymousFrames into ProcessChildren. r+sr=roc
2009-01-05 17:25:33 -05:00
Boris Zbarsky
e240a880db
Bug 472138. Eliminate unused or unnecessary CreateAnonymousFrames args. r+sr=roc
2009-01-05 17:25:31 -05:00
Olli Pettay
d30fae3581
Bug 457862 - onresize events should fire at every resize while resizing the window, r+sr=dbaron
2009-01-05 18:26:59 +02:00
Michael Ventnor
2d49b62ed7
Bug 445741. Round rects consistently to avoid a gap between an element and its shadow. r+sr=roc
...
--HG--
extra : rebase_source : dbb4ae33812db8167650dcc218f0bd4a3e0f3dc2
2009-01-05 13:41:01 +13:00
Robert O'Callahan
7b82035873
Bug 465448. Perform sanity check to avoid resizing a window smaller than the content area we're trying to achieve. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 57e7e4e95ec2c100b8ceaa66864f6dfb5ba1cc86
2009-01-05 13:39:40 +13: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
87389f6007
Remove TestSpaceManager. (Bug 191448) r+sr=roc
2009-01-04 14:52:38 -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
3b375b5c0b
Fix assertion in bug 468645, per bzbarsky's followup review comment. r+sr=bzbarsky
2009-01-04 14:52:38 -05:00
L. David Baron
9b5ab1b7c2
Forgot to rev IID in bug 468645 (changeset efbec418c3a1).
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
Olli Pettay
4055e86a98
Bug 471883 - Gesture events should be dispatched to the element under mouse, not to document. r+sr=roc
2009-01-03 14:40:26 +02:00
Serge Gautherie
3345c79902
Bug 469331 - [SeaMonkey] test_bug458898.html fails; (Cv1) Report the (failing) values; r=dbaron
2009-01-03 08:27:27 +01:00
Olli Pettay
28e3d7cf73
Bug 436965, r+sr=sicking
2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892
Back out bug 436965
2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e
Bug 436965, r+sr=sicking
2009-01-02 14:40:43 +02:00
Jesse Ruderman
cf4b91bb09
Add 19 crashtests
2009-01-01 14:18:58 -08:00
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
d0d2117def
Add crashtests for bug 468645.
2008-12-29 10:07:37 -05:00
L. David Baron
7748baab3d
Fix nsLayoutUtils::IsReallyFixedPos to work right in paginated mode. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:37 -05:00
L. David Baron
83b583a320
Don't post media features values changed events when nothing changed. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:37 -05:00
L. David Baron
a4dd12922f
Pass the correct parent content when re-resolving the inner table for a display:table pseudo-element (:before or :after). (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:37 -05:00
Robert O'Callahan
0d380f02a0
Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron
2008-11-04 14:01:21 -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
Boris Zbarsky
17950b40a6
Fixing merge; no idea where that came from
2008-11-02 21:34:00 -05:00
Boris Zbarsky
644555dba0
Adding test file too
2008-11-02 21:33:04 -05:00
Boris Zbarsky
70c50466ec
Bug 454578. Load the quirk stylesheet separately from the general UA stylesheet, so it can be sensibly enabled/disabled in style sets. r+sr=dbaron
2008-11-02 21:29:51 -05:00
L. David Baron
9b86daea26
Keep pres shell alive during ProcessRestyledFrames. (Bug 462392) r+sr=bzbarsky
2008-11-02 11:44:55 -08:00
Mats Palmgren
ada556a4e8
Delete mNext iteratively to avoid blowing up the stack. b=460461 r+sr=dbaron
2008-11-02 17:05:14 +01: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
Benjamin Smedberg
4eb5e5d5a8
Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc
2008-10-30 10:15:22 -07:00
Zack Weinberg
679447bf82
Bug 455105 - IsSolidBorderEdge in nsCSSRendering.cpp ignores foreground borders; r=vladimir, sr=roc
2008-10-30 12:54:58 +03:30
Daniel
4b653f7ab0
Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; nsPresShell.cpp; r+sr=roc
2008-10-29 06:11:40 +01:00
Mats Palmgren
de8a444db0
Fix various mistakes in handling of mBorderImageLoaders. (Bug 446328) r+sr=dbaron
2008-10-28 14:38:37 -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
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
13f4fb61ed
Backed out changeset eda9709dc586 (deCOM frame enumerator) due to regression from it or bug 461410.
2008-10-28 02:48:32 -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
e5bc6108a6
Stupid typo during review fix for bug 461212
2008-10-28 01:03:11 -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
Benjamin Smedberg
30eacd2625
Bug 461576 - nsListBoxBodyFrame shouldn't need to implement nsIListBoxObject - r=enn sr=roc
2008-10-28 00:47:19 -04:00
Benjamin Smedberg
09975e25e4
Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn 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
Gavin Sharp
7ed4660fab
Bug 459604: add an optional parameter to SendMouseEvent to ignore the scroll frame, r+sr=roc
2008-10-27 16:16:23 -04:00
Bernd
71f711f4c9
bug 448543, video frame creation is tag based not display type based so this is special content r/sr=bzbarsky
2008-10-26 10:22:35 +01:00
Arpad Borsos
3585c944f1
Bug 456388 - "Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree" (followup for mozilla-central) [r+sr=brendan]
2008-10-21 01:50:05 -05:00
Jesse Ruderman
4c1097b866
Add crashtest for bug 241300
2008-10-18 16:19:47 -07:00
Olli Pettay
6f4790435f
Bug 459663 - Crash [@ nsEventDispatcher::Dispatch], r+sr=roc
2008-10-18 23:10:19 +03:00
Mats Palmgren
eb63237a4f
Fix a couple of compile warnings. b=460468 r+sr=roc
2008-10-18 19:35:39 +02:00
Masayuki Nakano
2ec0d6704d
Bug 456522 fix 4 warnings of nsPresContext.h r+sr=roc
2008-10-17 14:45:25 +09: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
f2edf72f79
Bug 455988. Optimize MozAfterPaint so we never even dispatch an XPCOM event if there are no listeners. r=smaug,sr=mats
2008-10-16 10:06:32 +13: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
Markus Stange
1ffda30624
Bug 450939 - Add -moz-window-shadow CSS property, r+sr=dbaron
2008-10-14 16:44:25 +02:00
Mats Palmgren
ee40d22b13
DEBUG: Use a flag to track when we are inside RemoveFrame() and assert it's false in GetPrimaryFrameFor(). b=458636 r+sr=roc
2008-10-13 00:05:04 +02: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
L. David Baron
2d27cc7fdf
Remove three unused constants. (Bug 322475)
2008-10-11 20:49:42 -04:00
Vladimir Vukicevic
e3c6205bcf
let's use the right #ifdef here so this actually works; mobile fix, r=stuart
2008-10-10 15:30:52 -07:00
Boris Zbarsky
d0177423c2
Bug 458637. Make sure to properly flag the XSLT result document as not being ready for layout until we StartLayout. r+sr=sicking
2008-10-10 13:44:43 -04: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
Zack Weinberg
2f3912b498
Bug 458463 - Rename nsStyleFont::mFlags to ::mGenericID and stop treating it like a bitfield; r+sr=dbaron
2008-10-10 16:56:18 +02:00
Neil Rashbrook
87def3185e
Bug 365467 Focus contollers initial window and element can get out of sync r+sr=jst
...
Reordering tests to see if that can make the change stick
--HG--
rename : browser/base/content/test/browser_autodiscovery.js => browser/base/content/test/browser_discovery.js
rename : browser/base/content/test/autodiscovery.html => browser/base/content/test/discovery.html
2008-10-10 10:36:41 +01:00
Taras Glek
2c733370d0
Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst
2008-10-09 16:23:07 -07:00
Vladimir Vukicevic
3b27944210
b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart
2008-10-09 14:49:15 -07:00
Vladimir Vukicevic
cb575d2878
b=448193, 3d border effects missing with moz-border-radius; r=zweinberg
2008-10-09 14:49:15 -07:00
Taras Glek
89f9623d23
Bug 458984: dead stuff in nsPresContext r=roc
2008-10-09 13:46:43 -07:00
Brad Lassey
add313bab4
Bug 445988 - no focus rings around text input boxes in fennec p=tonikitoo r=roc sr=roc
2008-10-08 19:28:31 -04:00
Ted Mielczarek
bbf720ef3a
Backed out changeset 893b2c3b521f (Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst) to fix unittest bustage
2008-10-08 12:43:41 -04:00
Ted Mielczarek
ecd6b2666b
Backed out changeset 893b2c3b521f (Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst)
2008-10-08 12:33:52 -04:00
Neil Rashbrook
3d8ed29e1c
Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst
2008-10-08 13:24:58 +01:00
L. David Baron
8da1c2fa2e
Fix glitches in border-image drawing. (Bug 449647) r=robarnold, sr=vlad
2008-10-07 15:10:19 -07:00
Boris Zbarsky
11c7a6ff2f
Bug 452964. Don't flag pseudo-frames wrapping generated content as themselves being generated content, since they might be shared with non-generated content. r+sr=roc.
2008-10-07 14:53:22 -04:00
Mats Palmgren
104954097b
Bug 455063. Make sure we don't lose track of our initial containing block. r+sr=roc
2008-10-08 09:07:04 -04:00
Gavin Sharp
31508f4ffc
Bug 454324: Handle error from SelectNode to fix crash when selection-less items are dragged (including, recently, tabs). r+sr=bzbarsky
2008-10-05 20:30:09 -07: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
L. David Baron
4c2a55f0ee
Backed out changeset 6f3797124c84: Relanding: Fire resize events every 200ms during resizing, not just 200ms after resizing stops. (Bug 114649) r+sr=roc
2008-10-01 20:11:44 -07:00
L. David Baron
7c8c7d48e3
Back out bug 114169 (changeset 8110e3bae4bf) and change the test (changeset 8f53fcb8bde5) to todos, to see if it was repsonsible for the regression in bug 458065.
2008-10-01 10:36:54 -07:00
Zack Weinberg
1b9f5190da
Bug 450652 – Style system changes to support CSS3 border-radius – data structures for elliptical borders (part 1) [r+sr=dbaron]
2008-10-01 00:50:52 -05:00
Zack Weinberg
18bd325a4c
Bug 457617 - Remove one unused function and one vestigial function declaration from nsCSSRendering.cpp [r+sr=roc]
2008-10-01 00:43:02 -05:00
John Daggett
c5d2a8ddfd
Bug 441473. Implement user font set object. r+sr=roc
2008-10-01 12:01:53 +09: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
L. David Baron
8db4b989da
Add test for continuous firing of resize events. (Bug 114649)
2008-09-29 15:57:41 -07:00
Jonathan Watt
ec710d7a39
Fire resize events every 200ms during resizing, not just 200ms after resizing stops. (Bug 114649) r+sr=roc
2008-09-29 15:57:38 -07:00
Boris Zbarsky
9773c6fcb3
Backing our changeset 60fc5f224a5b to try to fix Mac Tp
2008-09-29 14:28:15 -04:00
Boris Zbarsky
d674c8ca02
Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst
2008-09-28 15:14:28 -04: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
Boris Zbarsky
10026a0921
Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst
2008-09-28 15:14:28 -04:00
Andrew Schultz
b44d8f8830
Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky
2008-09-28 14:53:34 -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
Olli Pettay
af09f2f1f1
Bug 433132, Running mochitest for bug 396024 still leaks r+sr=roc
2008-09-26 12:51:42 +03:00
Taras Glek
0b7b27f27b
bug 457119: nuke nsCSSRendering::FillPolygon. r+sr=roc
2008-09-25 18:46:06 -07:00
Robert O'Callahan
6a45b282aa
Backing out bug 448830
2008-09-26 13:10:26 +12: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
Vladimir Vukicevic
1ce4d80f1b
b=450178; add generic 8-bit alpha box blur in thebes (patch from Eric Bulter); r=vlad
2008-09-25 12:53:09 -07:00
Vladimir Vukicevic
e9929e8a33
b=455976; wrong extend mode used for macosx for border-image
2008-09-25 12:49:55 -07:00
Zack Weinberg
af1a57fea4
Bug 456792 - Two more API cleanups for nsCSSRendering; patch 2; r+sr=roc
2008-09-25 18:03:15 +02:00
Zack Weinberg
a64209d05b
Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc
2008-09-25 17:53:27 +02:00
Zack Weinberg
7687ccc76b
Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc
2008-09-24 06:07:22 +02:00
Keith Schwarz
cc3d389152
Bug 456163 - Singular matrices with -moz-transform hangs reftests; r+sr=roc
2008-09-22 22:27:37 +02: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
34d5a63301
Bug 454004 - Ctrl+Home / Ctrl+End don't work in Mail Compose window; r+sr=mats.palmgren
2008-09-18 01:28:17 +02: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
95efda0dc7
Add crashtests for bug 429088
2008-09-14 00:02:20 -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
b88514c4c5
Add crashtest
2008-09-12 17:06:46 -07:00
Jesse Ruderman
f27af6654d
Add crashtest
2008-09-12 17:03:43 -07:00
Taras Glek
c26ce8e1ab
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Zack Weinberg
fb1dadd8fe
Bug 453566 - HTML element with rgba(0,0,0,0) background produces garbage on screen. r+sr=roc
2008-09-12 08:36:53 -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
Mats Palmgren
8301514138
Don't create a frame for the root element if it's styled display:none. b=454361 r+sr=roc
2008-09-12 03:36:58 +02:00
Robert Strong
043bda8081
Merge for back out changeset ff043f7356f7 - Bug 396519
2008-09-11 15:08:14 -07:00
Robert Strong
70ff5e1e4b
Backed out changeset ff043f7356f7
2008-09-11 14:54:40 -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
Andrew Schultz
c510ff9d02
Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky
2008-09-09 21:39:38 -04: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
L. David Baron
fa9533f8cf
Flush view manager's delayed resize when flushing layout. (Bug 453896) r+sr=bzbarsky
2008-09-09 06:43:10 -07: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
Oleg Romashin
8e95c02743
Bug 453826 - MOZ_XUL define required for nsCaret::IsMenuPopupHidingCaret. r+sr=roc
2008-09-08 15:23:38 +03: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
Arpad Borsos
534fd11101
Bug 443058 - Remove MOZ_DECL_CTOR_COUNTER; <mozilla-central> part; r=benjamin
2008-09-07 00:04:10 +02:00
Jesse Ruderman
95f73479ae
Add bug 428448 testcase as a crashtest.
2008-09-06 13:47:19 -07:00
Arpad Borsos
1f62482141
Bug 452797 - Clean up unused variables in layout/; r+sr=roc
2008-09-06 20:38:31 +02:00
Zack Weinberg
83829cd801
Bug 441367 - reduce repetitive code in nsRuleNode.cpp with SetDiscrete() and SetFactor() helper functions. r+sr=dbaron
2008-09-06 06:56:23 -07: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
521ac66ad9
Bug 243519. Fix the crashtest so that it doesn't bomb out with a JS error without completing the actual test. And make it (and Acid3) actually pass without screwing up the frame tree.
2008-09-06 22:21:37 +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