Commit Graph

4220 Commits

Author SHA1 Message Date
Boris Zbarsky
239d97217a Bug 475268. Make sure to not set background without setting color in XML prettyprinting. r+sr=sicking 2009-01-29 22:31:24 -05:00
Boris Zbarsky
640796dfff Adding test for bug 374719 2009-01-29 21:42:59 -05:00
Boris Zbarsky
1ccbdc4c0e Adding test for bug 309914 2009-01-29 21:11:41 -05:00
Boris Zbarsky
89b2280e91 Adding test for bug 457537 2009-01-29 20:33:55 -05: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
c3eeb84be5 Fix whitespace in DisplayReflowExit. 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
Robert O'Callahan
c15fb1fa84 Backing out bug 475092 due to test failure 2009-01-29 00:55:56 +13:00
Robert O'Callahan
22f6e75208 Backed out changeset 360b4a2d0aa8 2009-01-29 00:55:19 +13:00
Neil Rashbrook
1a853c6cd6 Bug 473933 Really fix crash caused by bug 441359 r+sr=bz a=beltzner 2009-01-28 11:22:08 +00:00
Robert Longson
b80b068e2e Bug 472782. Avoid infinite recursion when textPath points to a non-path. r+sr=roc 2009-01-28 22:44:39 +13:00
Jonathan Kew
60f93b5c99 Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad 2009-01-28 22:41:34 +13:00
Jonathan Watt
3736a53a6f Bug 475181. Bounds-check feTile subregion size --- crashtest 2009-01-28 22:31:39 +13:00
Michael Ventnor
3a494e2823 Bug 475197. -moz-box-shadow needs to be hooked up to buttons and fieldsets since they have custom background painting code --- reftest. 2009-01-28 22:28:40 +13: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
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
Jesse Ruderman
6aa5e7bd59 Add crashtests for bug 466585 and bug 451311 2009-01-24 23:24:53 -08: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
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
Martijn Wargers
8976be6600 Bug 474441 - Move the marquee reftests into the marquee reftests folder, r=dbaron
--HG--
rename : layout/reftests/bugs/336736-1-ref.html => layout/reftests/marquee/336736-1-ref.html
rename : layout/reftests/bugs/336736-1a.html => layout/reftests/marquee/336736-1a.html
rename : layout/reftests/bugs/336736-1b.html => layout/reftests/marquee/336736-1b.html
rename : layout/reftests/bugs/406073-1-ref.html => layout/reftests/marquee/406073-1-ref.html
rename : layout/reftests/bugs/406073-1.html => layout/reftests/marquee/406073-1.html
rename : layout/reftests/bugs/407016-2-ref.html => layout/reftests/marquee/407016-2-ref.html
rename : layout/reftests/bugs/407016-2.html => layout/reftests/marquee/407016-2.html
rename : layout/reftests/bugs/413027-4-ref.html => layout/reftests/marquee/413027-4-ref.html
rename : layout/reftests/bugs/413027-4.html => layout/reftests/marquee/413027-4.html
rename : layout/reftests/bugs/425247-1-ref.html => layout/reftests/marquee/425247-1-ref.html
rename : layout/reftests/bugs/425247-1.html => layout/reftests/marquee/425247-1.html
rename : layout/reftests/bugs/425247-2-ref.html => layout/reftests/marquee/425247-2-ref.html
rename : layout/reftests/bugs/425247-2.html => layout/reftests/marquee/425247-2.html
rename : layout/reftests/bugs/429849-1-ref.html => layout/reftests/marquee/429849-1-ref.html
rename : layout/reftests/bugs/429849-1.html => layout/reftests/marquee/429849-1.html
2009-01-22 18:12:27 +01:00
Martijn Wargers
13d8845cc3 Bug 428013 - crash [@ nsPrintEngine::DocumentReadyForPrinting() ] when page is drag&drop to Print Preview window after printing, r=sharparrow1, sr=roc 2009-01-22 16:36:25 +01:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Daniel Holbert
c04774b33f whitespace-only: fix bad parameter-indentation in nsSubDocumentFrame::Reflow 2009-01-21 22:52:54 -08:00
Daniel Holbert
125bc82d14 merge after backing out 5859409285d5 2009-01-21 22:20:08 -08:00
Daniel Holbert
adb7a454cb bug 459443 follow-up: backing out workaround I added to reftest -- it's not needed now that bug 474472 has been fixed. [Backed out changeset 5859409285d5] 2009-01-21 22:19:41 -08:00
Daniel Holbert
8817040fe3 Reftest for bug 474472 2009-01-21 22:14:30 -08: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 O'Callahan
91ae1c1323 Bug 474472. reftest harness should go back to the event loop after reftest-wait is removed and before we start checking isMozAfterPaintPending, in case reftest-wait was removed in a load event handler and that load event will unsuppress painting after the event handler has run. r=dbaron
--HG--
extra : rebase_source : 8b75034df21cf20db0160fa13e807225b45171b6
2009-01-22 17:15:40 +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
Brian Birtles
ffded06cc0 Bug 474357, Calls to setCurrentTime, beginElementAt etc. should update the DOM state immediately. r+sr=roc
--HG--
extra : rebase_source : 7c69aae13ee1c1b4fff077a046e042bae9a4970d
2009-01-22 14:00:27 +13:00
Craig Topper
8fc9e8ecc2 Bug 471551. Stop duplicating SVG string attribute storage by having nsSVGString use the attribute value as the underlying base value (removing mBaseVal); also make mAnimVal an nsAutoPtr<nsString>. r=longsonr,r+sr=roc
--HG--
extra : rebase_source : 319ff11d4321f2f7f41a7d19f17435fe814b1079
2009-01-22 13:56:51 +13:00
Michael Ventnor
2351d2a4b0 Bug 123836 - Implement indeterminate property on checkboxes and radio buttons - r=roc,jst sr=roc 2009-01-22 13:07:44 +13:00
Daniel Holbert
836d2f88b8 Bug 459443 follow-up: tweak reftest so that it doesn't fail randomly (no code changes). r=bz 2009-01-20 15:02:03 -08:00
L. David Baron
f9baa933d4 Some additional tests for 'rem' unit from css3-values. (Bug 472195) 2009-01-20 13:58:48 -08:00
Keith Rarick
7073f11143 Implement 'rem' unit from css3-values. (Bug 472195) r+sr=dbaron 2009-01-20 13:58:48 -08: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
Neil Deakin
bf030ccabd Bug 467360, support buttons with child panels, r+sr=neil 2009-01-20 12:46:55 -05:00
Neil Deakin
ad4f866114 Bug 474336, updating max on progressmeter doesn't update display, r+sr=neil 2009-01-20 12:46:52 -05:00
Martijn Wargers
fd853daca3 Bug 166591 - marquee created dynamically (e.g. innerHTML) is not rendered, r+sr=bzbarsky 2009-01-20 15:58:44 +01:00
Boris Zbarsky
daabe16fee Move to correct place 2009-01-19 16:48:50 -05:00
Boris Zbarsky
a2c9aa7a18 Bug 459443. Make sure to detach our editor even if we don't have a session history entry, so that scripts will get correctly reenabled. r+sr=peterv 2009-01-19 16:46:47 -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
0ae5192503 Bug 473390 part 11. Make some of the nsIBoxLayout constructors have nicer signatures. 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
Robert O'Callahan
26ff84c427 Merged backout of bug 471551 2009-01-20 00:26:31 +13:00
Robert O'Callahan
f877eead56 Backed out changeset fb2d014e0352 2009-01-20 00:25:58 +13: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
Brian Birtles
014bd86069 Bug 468996. Implement SMIL animateTransform element. r+sr=roc 2009-01-19 22:14:16 +13:00
Robert O'Callahan
9a8a9a01d5 Bug 471551. Avoid duplicate string storage for SVG string attributes; let nsSVGString get the baseval from the element. Also change mAnimVal to an nsAutoPtr to minimize storage in the non-animated common case. r=longsonr,sr=roc 2009-01-19 22:03:31 +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
Boris Zbarsky
e977ac2059 Back out bug 459443 for now, until the patch in bug 474389 gets reviewed 2009-01-20 22:54:52 -05:00
Jesse Ruderman
a4020920b6 Test for bug 445288. 2009-01-24 05:25:10 +01: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
Neil Deakin
cbee03cb58 Bug 473847, progressmeters with large max don't work properly, caused by multiplication overflow, r+sr=dbaron 2009-01-23 10:02:31 -05:00
L. David Baron
4de4bc61df Make nsROCSSPrimitiveValue store ident values as nsCSSKeyword rather than nsIAtom*. (Bug 474712) r+sr=bzbarsky 2009-01-22 17:28:14 -08:00
L. David Baron
d1dea6a86e Eliminate all callers to forms of nsROCSSPrimitiveValue::SetIdent other than the one taking nsCSSKeyword. (Bug 474712) r+sr=bzbarsky 2009-01-22 17:28:14 -08: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
Dão Gottwald
ad7444d1b9 fix reftest.list syntax 2009-01-18 13:03:55 +01:00
Kai Liu
4b0b5e5530 Bug 240536 - resizer direction is to the right, when interface is RTL; r=roc,mano sr=roc 2009-01-18 13:58:19 +03:30
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