Commit Graph

1339 Commits

Author SHA1 Message Date
L. David Baron
44505d5f65 Remove remnant of key-equivalent property, which we removed in bug 265721. (Bug 486353) r+sr=bzbarsky 2009-04-02 07:55:50 -07:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Robert O'Callahan
7b4d0810ce Bug 459666. Guard assertion containing GetPrimaryFrameFor so it doesn't run at a bad time to be calling GetPrimaryFrameFor. Also, nsCSSFrameConstructor::PostRestyleEvent should check mPresShell->IsDestroying() when deciding whether to drop requests, and it should drop requests silently because it's perfectly safe and correct to do so. r+sr=bzbarsky
--HG--
extra : rebase_source : 8bf16bbc46de1f420d529f8d0a60ae07f8f0ef81
2009-04-01 14:08:34 +13:00
Robert O'Callahan
160bdca11d Bug 476062. Instead of turning off -moz-appearance when an element has a box-shadow, just ignore the box-shadow. r+sr=dbaron
--HG--
extra : rebase_source : 68e79ec44afd089b93870a5d87ea549d5f04b9d6
2009-04-01 14:07:18 +13:00
Boris Zbarsky
7aceab7bfd Use the local instead of making another virtual function call. Followup for bug 484031 2009-03-31 14:21:39 -04:00
Boris Zbarsky
c72ec148e3 Bug 486052. Make our FCData bits match GetAbsoluteContainingBlock again. r+sr=roc 2009-03-31 13:07:29 -04:00
Arpad Borsos
460de5285f Bug 399753 - Remove nsISupportsArray in the layout directory; r+sr=roc 2009-03-30 20:08:06 +02:00
Boris Zbarsky
ab6118631e Bug 484031. Be a bit more careful with ContentAppended. r+sr=roc 2009-03-30 11:23:14 -04:00
Boris Zbarsky
559f8c3bee Backing out revision 6a8a88c62925 (bug 484031) on suspicion of causing a Tp increase 2009-03-30 18:04:29 -04:00
Boris Zbarsky
8a5261a288 Bug 485631. Suppress dirty frame asserts while painting to a canvas. r+sr=roc 2009-03-30 11:33:25 -04:00
Boris Zbarsky
a3a52c98d2 Bug 337957. Make WipeContainingBlock not trigger warnings about reentry into frame construction. r+sr=dbaron 2009-03-30 11:32:20 -04:00
Boris Zbarsky
94fc769f37 Bug 457809 preliminary. Fix this test so it doesn't fail when we preload the sheet. r+sr=dbaron 2009-03-30 11:25:35 -04:00
Boris Zbarsky
8638f9dcb1 Bug 484031. Be a bit more careful with ContentAppended. r+sr=roc 2009-03-30 11:23:14 -04:00
Robert O'Callahan
116c3c19f4 Backout fix for bug 459666
--HG--
extra : rebase_source : b261b5561671fd7fc9e3967f7d8c31448cc4c87a
2009-03-30 15:54:33 +13:00
Robert O'Callahan
8caa418ee5 Bug 484766. Clean up MathML directory structure. r=karlt,ted
--HG--
extra : rebase_source : 1c88ebe3a41dee12a982442ad2e711aa287ed55f
2009-03-30 13:48:52 +13:00
Boris Zbarsky
4df023187e Bug 148810. Handle dynamic insertion and append better when table pseudo-frames are involved. r=bernd, sr=roc. Also fixes bug 112142, bug 208305, bug 325543, bug 368932, bug 371054, bug 372649, bug 394402, bug 448111. 2009-03-26 14:08:58 -04:00
Boris Zbarsky
8202fdf868 Bug 162063. Remove pseudo-frames as needed when the frame that needs them is removed from the frame tree. r=bernd, sr=roc. Also fixes bug 97506, bug 143397, bug 156888, bug 277995, bug 293576, bug 315146, bug 338735, bug 339388, bug 407115, 473824. 2009-03-23 14:08:03 -04:00
Olli Pettay
783fc8184e Bug 484156 - optimize MozAfterPaint a bit, r+sr=roc 2009-03-21 21:29:29 +02:00
Robert Longson
7235fc714e Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc 2009-03-21 15:36:38 +00:00
Ehsan Akhgari
308d8a9f2f Bug 404149 - Underline width doesn't correspond to character width in Arabic/Persian script; r=roc,smontagu sr=roc 2009-03-21 12:08:14 +03:30
Olli Pettay
998de12efb add some print preview tests (bug 425265, bug 424377) 2009-03-19 13:18:42 +02:00
Simon Montagu
5febd84d4b reftests for bug 299065 and some of its dependencies and mochitests for bidi editing issues found when debugging bug 332655 2009-03-19 02:15:06 -07:00
Robert O'Callahan
ef535464ab Bug 483841. Animated background images on visibility:hidden elements shouldn't cause any painting. r+sr=dbaron
--HG--
extra : rebase_source : de0ca0f1c37e7a47229f69ec1b375dd5c3202bb0
2009-03-18 14:13:43 +13:00
Robert O'Callahan
d9144e9c9a Bug 480345. Handle painting of background images on pages which have no in-flow content. r+sr=dbaron
--HG--
extra : rebase_source : f5850e3bc173f054c4f7ca06b66c1551cfee5e00
2009-03-18 13:33:03 +13:00
Robert O'Callahan
6c5c6bf95d Bug 476062. Author-applied 'box-shadow' should cause elements to drop their native look. r+sr=dbaron
--HG--
extra : rebase_source : 6f5dfac238eb19be1b38cdd612e5dda8ac457e57
2009-03-18 13:32:08 +13:00
Boris Zbarsky
624363452c Bug 484004. Don't reframe on removal of an non-first, non-last block from an {ib} parent. r+sr=roc 2009-03-18 20:25:43 -04:00
Olli Pettay
52a6331cea Bug 482976 - Crash [@ nsTextFrame::Reflow] on print preview with quote, r+sr=roc 2009-03-18 12:45:00 +02:00
Boris Zbarsky
c6ba3c228b Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Boris Zbarsky
8a3c92ef40 Bug 480880. Fix InvalidateCanvasIfNeeded callers and impl to actually work. r+sr=roc 2009-03-16 07:46:02 -04:00
Boris Zbarsky
8b7c54b7f2 Bug 482889 Part 3. Switch to a new algorithm for creating anonymous table objects. r=bernd, r+sr=roc 2009-03-15 16:01:48 -04:00
Boris Zbarsky
42f260732a Bug 482889 Part 2. Refactor calls to CreateRequiredPseudoFrames so that they all happen in AdjustParentFrame. r=bernd, r+sr=roc 2009-03-15 15:57:46 -04:00
Boris Zbarsky
924a80cbbf Back out the crasher test change from CLOSED TREE 2009-03-12 16:20:04 -04:00
Boris Zbarsky
122019be46 Test change to trigger a crash when trying to construct a table frame so we can test the new talos stack tooling, but should compile 2009-03-12 15:47:18 -04:00
Boris Zbarsky
81d4dd38af Test change to trigger a crash when trying to construct a table frame so we can test the new talos stack tooling 2009-03-12 15:46:48 -04:00
Boris Zbarsky
0fec8a7842 Bug 482592. Use the right container in ContentInserted. r+sr=roc 2009-03-12 10:17:14 -04:00
Olli Pettay
68a0322fcd Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Benjamin Smedberg
ca96f9405e Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
--HG--
rename : dom/src/base/Makefile.in => dom/base/Makefile.in
rename : dom/src/base/crashtests/244933-1.html => dom/base/crashtests/244933-1.html
rename : dom/src/base/crashtests/275912-1.html => dom/base/crashtests/275912-1.html
rename : dom/src/base/crashtests/327571-1.html => dom/base/crashtests/327571-1.html
rename : dom/src/base/crashtests/327695-1.html => dom/base/crashtests/327695-1.html
rename : dom/src/base/crashtests/329481-1.xhtml => dom/base/crashtests/329481-1.xhtml
rename : dom/src/base/crashtests/338674-1.xhtml => dom/base/crashtests/338674-1.xhtml
rename : dom/src/base/crashtests/346381-1.html => dom/base/crashtests/346381-1.html
rename : dom/src/base/crashtests/359432-1.xhtml => dom/base/crashtests/359432-1.xhtml
rename : dom/src/base/crashtests/369413-1.html => dom/base/crashtests/369413-1.html
rename : dom/src/base/crashtests/372554-1.html => dom/base/crashtests/372554-1.html
rename : dom/src/base/crashtests/404869-1.xul => dom/base/crashtests/404869-1.xul
rename : dom/src/base/crashtests/439206-1.html => dom/base/crashtests/439206-1.html
rename : dom/src/base/crashtests/462947.html => dom/base/crashtests/462947.html
rename : dom/src/base/crashtests/473284.xul => dom/base/crashtests/473284.xul
rename : dom/src/base/crashtests/90613-1.html => dom/base/crashtests/90613-1.html
rename : dom/src/base/crashtests/crashtests.list => dom/base/crashtests/crashtests.list
rename : dom/src/base/domerr.msg => dom/base/domerr.msg
rename : dom/src/base/nsBarProps.cpp => dom/base/nsBarProps.cpp
rename : dom/src/base/nsBarProps.h => dom/base/nsBarProps.h
rename : dom/public/nsDOMCID.h => dom/base/nsDOMCID.h
rename : dom/src/base/nsDOMClassInfo.cpp => dom/base/nsDOMClassInfo.cpp
rename : dom/src/base/nsDOMClassInfo.h => dom/base/nsDOMClassInfo.h
rename : dom/public/nsDOMClassInfoID.h => dom/base/nsDOMClassInfoID.h
rename : dom/public/nsDOMError.h => dom/base/nsDOMError.h
rename : dom/src/base/nsDOMException.cpp => dom/base/nsDOMException.cpp
rename : dom/src/base/nsDOMException.h => dom/base/nsDOMException.h
rename : dom/public/nsDOMJSUtils.h => dom/base/nsDOMJSUtils.h
rename : dom/src/base/nsDOMScriptObjectFactory.cpp => dom/base/nsDOMScriptObjectFactory.cpp
rename : dom/src/base/nsDOMScriptObjectFactory.h => dom/base/nsDOMScriptObjectFactory.h
rename : dom/public/nsDOMScriptObjectHolder.h => dom/base/nsDOMScriptObjectHolder.h
rename : dom/public/nsDOMString.h => dom/base/nsDOMString.h
rename : dom/src/base/nsDOMWindowList.cpp => dom/base/nsDOMWindowList.cpp
rename : dom/src/base/nsDOMWindowList.h => dom/base/nsDOMWindowList.h
rename : dom/src/base/nsDOMWindowUtils.cpp => dom/base/nsDOMWindowUtils.cpp
rename : dom/src/base/nsDOMWindowUtils.h => dom/base/nsDOMWindowUtils.h
rename : dom/src/base/nsFocusController.cpp => dom/base/nsFocusController.cpp
rename : dom/src/base/nsFocusController.h => dom/base/nsFocusController.h
rename : dom/src/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindow.cpp
rename : dom/src/base/nsGlobalWindow.h => dom/base/nsGlobalWindow.h
rename : dom/src/base/nsGlobalWindowCommands.cpp => dom/base/nsGlobalWindowCommands.cpp
rename : dom/src/base/nsGlobalWindowCommands.h => dom/base/nsGlobalWindowCommands.h
rename : dom/src/base/nsHistory.cpp => dom/base/nsHistory.cpp
rename : dom/src/base/nsHistory.h => dom/base/nsHistory.h
rename : dom/public/nsIBaseDOMException.h => dom/base/nsIBaseDOMException.h
rename : dom/public/nsIDOMClassInfo.h => dom/base/nsIDOMClassInfo.h
rename : dom/public/nsIDOMScriptObjectFactory.h => dom/base/nsIDOMScriptObjectFactory.h
rename : dom/public/nsIEntropyCollector.idl => dom/base/nsIEntropyCollector.idl
rename : dom/public/base/nsIFocusController.h => dom/base/nsIFocusController.h
rename : dom/public/nsIJSEventListener.h => dom/base/nsIJSEventListener.h
rename : dom/public/nsIJSNativeInitializer.h => dom/base/nsIJSNativeInitializer.h
rename : dom/public/nsIScriptChannel.idl => dom/base/nsIScriptChannel.idl
rename : dom/public/nsIScriptContext.h => dom/base/nsIScriptContext.h
rename : dom/public/nsIScriptExternalNameSet.h => dom/base/nsIScriptExternalNameSet.h
rename : dom/public/nsIScriptGlobalObject.h => dom/base/nsIScriptGlobalObject.h
rename : dom/public/nsIScriptGlobalObjectOwner.h => dom/base/nsIScriptGlobalObjectOwner.h
rename : dom/public/nsIScriptNameSpaceManager.h => dom/base/nsIScriptNameSpaceManager.h
rename : dom/public/nsIScriptObjectOwner.h => dom/base/nsIScriptObjectOwner.h
rename : dom/public/nsIScriptObjectPrincipal.h => dom/base/nsIScriptObjectPrincipal.h
rename : dom/public/nsIScriptRuntime.h => dom/base/nsIScriptRuntime.h
rename : dom/public/nsIScriptTimeoutHandler.h => dom/base/nsIScriptTimeoutHandler.h
rename : dom/src/base/nsJSEnvironment.cpp => dom/base/nsJSEnvironment.cpp
rename : dom/src/base/nsJSEnvironment.h => dom/base/nsJSEnvironment.h
rename : dom/src/base/nsJSTimeoutHandler.cpp => dom/base/nsJSTimeoutHandler.cpp
rename : dom/src/base/nsJSUtils.cpp => dom/base/nsJSUtils.cpp
rename : dom/src/base/nsJSUtils.h => dom/base/nsJSUtils.h
rename : dom/src/base/nsLocation.cpp => dom/base/nsLocation.cpp
rename : dom/src/base/nsMimeTypeArray.cpp => dom/base/nsMimeTypeArray.cpp
rename : dom/src/base/nsMimeTypeArray.h => dom/base/nsMimeTypeArray.h
rename : dom/public/base/nsPIDOMWindow.h => dom/base/nsPIDOMWindow.h
rename : dom/public/base/nsPIWindowRoot.h => dom/base/nsPIWindowRoot.h
rename : dom/src/base/nsPluginArray.cpp => dom/base/nsPluginArray.cpp
rename : dom/src/base/nsPluginArray.h => dom/base/nsPluginArray.h
rename : dom/src/base/nsScreen.cpp => dom/base/nsScreen.cpp
rename : dom/src/base/nsScreen.h => dom/base/nsScreen.h
rename : dom/src/base/nsScriptNameSpaceManager.cpp => dom/base/nsScriptNameSpaceManager.cpp
rename : dom/src/base/nsScriptNameSpaceManager.h => dom/base/nsScriptNameSpaceManager.h
rename : dom/src/base/nsWindowRoot.cpp => dom/base/nsWindowRoot.cpp
rename : dom/src/base/nsWindowRoot.h => dom/base/nsWindowRoot.h
rename : dom/public/nsWrapperCache.h => dom/base/nsWrapperCache.h
2009-03-11 10:10:19 -04:00
Olli Pettay
45080d5ed8 Bug 424377, r+sr=roc 2009-03-10 21:30:50 +02:00
Boris Zbarsky
12f0a421fd Bug 481788. Make FrameConstructionItemList a PRCList. r+sr=roc 2009-03-10 09:51:34 -04:00
Daniel Holbert
36bb602e68 Bug 482379: Wrap an SVG-related precondition with "#ifdef MOZ_SVG", to fix build failure when using --disable-svg. r+sr=roc 2009-03-09 21:38:46 -07:00
Daniel Holbert
13bc3b1f0e Backed out changeset 37756ccaa268, due to red on windows build machine 2009-03-09 20:40:53 -07:00
Daniel Holbert
22e1542fc2 Bug 482379: Wrap an SVG-related line with "#ifdef MOZ_SVG", to fix build failure when using --disable-svg. r+sr=roc 2009-03-09 19:50:36 -07:00
Olli Pettay
468b832900 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Boris Zbarsky
2d12d487e3 Bug 481769. Treat ib special inline siblings as continuations for purposes of background painting. r+sr=roc 2009-03-06 15:32:20 -05:00
Boris Zbarsky
c71439c656 Bug 481105. Create anonymous child frames before non-anonymous ones for all our frames, not just root boxes. r+sr=roc 2009-03-06 13:12:18 -05:00
L. David Baron
83f40d6f76 Fix serialization bugs with text-decoration:-moz-anchor-decoration. (Bug 481596) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
26b11568f1 Fix serialization of the list-style-type part of counter values. (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
2a6e824389 Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
Boris Zbarsky
d10ea8903b Bug 480979 part 7. Create a FrameConstructionItemList class so we can abstract away item lists and change the implementation as needed. r+sr=roc 2009-03-05 08:09:03 -05:00
Boris Zbarsky
fd47df291b Bug 480979 part 6. Push use of FrameConstructionItem all the way up to ContentAppended/ContentInserted, and eliminate the need for DestroyNewlyCreatedFrames. r+sr=roc 2009-03-05 08:09:03 -05:00
Boris Zbarsky
f5d437816b Bug 480979 part 5. Build up a tree of FrameConstructionItems so that we'll know which inlines might need splitting. r+sr=roc 2009-03-05 08:09:02 -05:00
Boris Zbarsky
bbfc996d8e Bug 480979 part 4. Create separate FrameConstructionItems for page-break frames. r+sr=roc 2009-03-05 08:09:02 -05:00
Boris Zbarsky
efff0e4d2d Bug 480979 part 3. Move suppression of kids of columns and non-column kids of colgroups out further so that we don't even create FrameConstructionItems for them. r+sr=roc 2009-03-05 08:09:02 -05:00
Boris Zbarsky
85726c08e7 Bug 480979 part 2. Pass FrameConstructionItems through to the FrameFullConstructor implementations. r+sr=roc 2009-03-05 08:09:01 -05:00
Boris Zbarsky
0189933479 Bug 480979 part 1. Introduce FrameConstructionItem and restructure existing ConstructFrame and ProcessChildren code to use it internally without any other behavior changes. r+sr=roc 2009-03-05 08:09:01 -05:00
Boris Zbarsky
e2cb5e61e3 Bug 480323. Always create a trailing inline for {ib} splits. r+sr=dbaron 2009-03-04 07:55:29 -05:00
Olli Pettay
8e3d66727a Bug 480767 - Closing 'Bookmark All Tabs' screws up focus, r+sr=jst 2009-03-03 22:20:11 +02:00
Olli Pettay
2219417624 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Boris Zbarsky
dba41efe0b Bug 480208. Eliminate the tag version of CreateAnonymousFrames. r+sr=roc 2009-03-01 10:16:30 -05:00
Boris Zbarsky
55f6d5a8f2 Bug 480017. Suppress misplaced popups before we construct table pseudoframe parents. r+sr=roc 2009-03-01 10:16:29 -05:00
Boris Zbarsky
b1f152d8fb Bug 479114. Create page-break frames only after we know our final parent. 2009-03-01 10:16:29 -05:00
Boris Zbarsky
7a957a90dd Bug 478956. Merge pseudo-frame handling for outer tables and non-table frames. r=bernd, sr=roc 2009-03-01 10:16:29 -05:00
Boris Zbarsky
64c2cf9736 Adding tests 2009-02-27 20:25:16 -05:00
Clint Talbert
76a51aabb2 Bug 474016 r=dholbert, Fix random test failure on linux tinderbox for css transform tests 2009-02-27 11:16:57 -08:00
Clint Talbert
45dd794359 backout changes for bug 474016 2009-02-26 16:43:11 -08:00
Taras Glek
a3edad2b35 Bug 476948: Need to be able to clear outstanding MozAfterPaint events r+sr=roc 2009-02-26 16:21:55 -08:00
Clint Talbert
a0ade2d4cf Bug 474016 r=dholbert, adding logging to css transform test to see why it fails 2009-02-26 16:09:12 -08:00
Asaf Romano
fe4d91cd12 Bug 480149 - DOMLinkAdded and DOMLinkRemoved events for link elements should be dispatched when swapping docshells. r+sr=bz. 2009-02-26 14:05:42 -08:00
Olli Pettay
e6f01244a1 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Vladimir Vukicevic
bd928d3cac b=478548; slightly optimize PresContext::Theme; r=dbaron 2009-02-26 12:02:00 -08:00
Blake Kaplan
1a4ca1407d Remove unreachable printf since tinderbox isn't hitting it (bug 474537).
--HG--
extra : rebase_source : 95bf4a605216c97aaa15e552eb6779be8dbb33e3
2009-02-25 13:48:06 -08:00
Boris Zbarsky
a1f888815b Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst 2009-02-24 13:39:09 -05:00
L. David Baron
1e283adeaa Backed out changeset a328b5ae57e0 (bug 476245) for causing failures of test_videocontrols.html across platforms (although Linux hasn't cycled yet). 2009-02-24 13:38:35 -08:00
Boris Zbarsky
58d51f648c Bug 476245. Keep better track of our anonymous content. r=smaug, sr=dbaron 2009-02-24 13:39:09 -05:00
XiaoXiaoHU
692da049fc Bug 298889 - iframe invisible when window is transparent; r+sr=roc 2009-02-24 17:53:32 +01:00
Zack Weinberg
c68dd8b7ce Bug 479156. Fix unit scale factors in border-image drawing. r+sr=roc
--HG--
extra : rebase_source : 06899c9162b0b30f890385fd4caa3f4cd22ecf48
2009-02-24 21:31:22 +13:00
Robert O'Callahan
19082bf736 Bug 406646. Make sure to only search *visible* popups for mouse event targets. r=enndeakin
--HG--
extra : rebase_source : bd0825d6a6469a10dcdd9e4ae9e9c91dcbafbe99
2009-02-24 21:25:25 +13:00
Zack Weinberg
558a5863e2 Bug 478079 - Kill nsViewManager::DefaultRefresh, and move the cached canvas background to the pres shell; r+sr=roc 2009-02-23 02:10:23 +01:00
Mats Palmgren
ea317dbb9c Make FindPrimaryFrameFor faster by traversing the parent's special siblings and descendant continuations etc only once. b=470978 r+sr=bzbarsky 2009-02-22 19:17:51 +01:00
Jesse Ruderman
f25f92b98a Add crashtests 2009-02-20 19:38:16 -08:00
L. David Baron
fa9a21c33d Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
Zack Weinberg
e4ff56e04c Bug 477732: fix scaling of border-image side tiles with 'repeat'. r+sr=roc 2009-02-20 16:33:30 +13:00
Boris Zbarsky
8eab85d08a Speed up canvas comparisons in bidi mochitests. No bug 2009-02-19 22:04:19 -05:00
L. David Baron
2eb748571c Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
Boris Zbarsky
adab889258 Bug 479180. Don't hold strong refs in ChildIterator. r+sr=roc 2009-02-19 11:55:09 -05:00
L. David Baron
db9e9b7806 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 2009-02-19 11:03:28 -08:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
51ef1de194 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
a5c13ba6b5 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 2009-02-19 07:29:27 -08:00
Robert O'Callahan
aa94b5bf0e Back out bug 477732 due to Mac test failure. 2009-02-19 23:45:54 +13:00
Robert O'Callahan
9650619ee7 Backed out changeset a2f0465c9dc3 2009-02-19 23:45:27 +13:00
Zack Weinberg
1099a7c603 Bug 478784. Don't use the view manager's default background color for transparent widgets. r+sr=roc
--HG--
extra : rebase_source : 5dbaf9f2ecd8cff7213acec2e14d0a3b040c7c4b
2009-02-19 21:10:04 +13:00
Zack Weinberg
70e65f8e1c Bug 477732. Fix scaling of side border-images. r+sr=roc
--HG--
extra : rebase_source : ae8cdefe2e8f10d59c1d6a81a125240b6d6c629c
2009-02-19 21:01:01 +13:00
Jeremy D. Lea
b9a1696e34 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
366992262c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
L. David Baron
29c43121c7 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 2009-02-18 17:13:24 -08:00
Boris Zbarsky
bdc319dc24 Bug 478820 part 3. Switch ConstructFrameByDisplayType to FrameConstructionData. r+sr=roc 2009-02-18 08:25:29 -05:00
Boris Zbarsky
10fb5e1b9b Bug 478820 part 2. Reorganize ConstructFrameByDisplayType a bit in the tables department. r=bernd, sr=roc 2009-02-18 08:25:29 -05:00
Boris Zbarsky
bc40ae5f4d Bug 478820 part 1. Reorganize ConstructFrameByDisplayType a bit in the block/inline department. r+sr=roc 2009-02-18 08:25:29 -05:00
Ben Turner
6efddae719 Bug 478304 - 'Let nsRunnableMethod be used with non-void-returning functions'. r=bsmedberg. 2009-02-17 20:11:09 -08:00
Boris Zbarsky
6cff212e17 Bug 478814. Don't leave the XUL display types that are unimplemented if not MOZ_XUL defined if not MOZ_XUL. r+sr=dbaron 2009-02-17 21:45:57 -05:00
Boris Zbarsky
74338296c8 Bug 478811. Use the right IsTableRelated check when finding absolute containing blocks. r=bernd, sr=roc 2009-02-17 12:21:44 -05:00
Boris Zbarsky
d016304dfa Bug 478754. Remove effectively unused argument. r+sr=roc 2009-02-17 12:21:42 -05:00
Neil Rashbrook
2b7a424a9b Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz 2009-02-16 11:27:22 +00:00
Ehsan Akhgari
0f72b4f985 Bug 478414 - [SeaMonkey, MacOSX] "test_bug441782.html | Test timed out" now (split the bidi.numeral test into several small tests); r+sr=roc (NPOTB) 2009-02-16 10:54:18 +03:30
Zack Weinberg
bea9955522 Bug 476557. Update view manager cache of page background color in PresShell::Paint, not nsCSSRendering::PaintBackground; permits a small API cleanup. r+sr=roc
--HG--
extra : rebase_source : dcf1475dd8b695eb18513e97ca35b08a4affd19f
2009-02-16 14:11:34 +13:00
Zack Weinberg
174bffdc75 Bug 455364. Use nsLayoutUtils::DrawImage helpers to draw border-images, fixing rounding issues. r+sr=roc
--HG--
extra : rebase_source : 6e65e6265d1e3c8b1f2c90af4b78535c31aa0551
2009-02-16 14:04:03 +13:00
Boris Zbarsky
13505d3994 Bug 478101. Suppres GetUsed* assertions during all display list processing, not just during display list construction. r+sr=roc 2009-02-15 13:14:21 -05:00
Serge Gautherie
5ec9f53e89 Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea
b82cdbd258 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Ehsan Akhgari
1de3732803 Bug 478377 - Support specifying direction for :-moz-tree-cell pseudo class through CSS; r+sr=roc 2009-02-15 10:51:40 +03:30
Jesse Ruderman
f154077a31 Add crashtests 2009-02-13 14:54:17 -08:00
Masayuki Nakano
68f9a6a266 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 19:44:38 +09:00
Masayuki Nakano
789465492f backing-out the patch for bug 442774 2009-02-12 18:54:02 +09:00
Masayuki Nakano
4d6c3072e5 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 16:02:49 +09:00
Jesse Ruderman
30f91b6262 The test I added yesterday for bug 150431 timed out just now. Disable it for slowness. 2009-02-11 15:54:06 -08:00
Jesse Ruderman
68344d4b52 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Jesse Ruderman
c9eb6349ac Add some crashtests 2009-02-10 16:36:04 -08:00
Masayuki Nakano
def135f71a Backing out the patch of bug 442774. This might cause a timeout failure on test_keycodes.xul 2009-02-11 03:19:15 +09:00
Boris Zbarsky
304fd45c3f Bug 477333. Make sure to skip over editor's bogus anon content when dealing with first-letter too. r+sr=dbaron 2009-02-10 12:08:12 -05:00
Masayuki Nakano
4fa4a8c50d Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.Pettay, sr=roc 2009-02-10 20:17:37 +09:00
Michael Ventnor
b480b09ba3 Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron 2009-02-10 21:45:13 +13:00
Robert O'Callahan
08979ee7f3 Bug 459666. GetReferencedFrame should bail out if we've destroyed the frame tree while reconstructing frames for the entire document. r+sr=bzbarsky 2009-02-10 21:28:16 +13:00
Jesse Ruderman
5f1cc5c3ce Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Jesse Ruderman
96e8a77574 Skip the crashtest for bug 403175 due to timeouts (see bug 473680) 2009-02-10 00:03:48 -08:00
Bernd
bb7273a63c fix a pence post error in painting of dotted border collapse borders r/sr=roc bug 126540 2009-02-08 17:42:01 +01:00
Jesse Ruderman
2e1fda752f Add crashtests for the following bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=328944+401042+413085+416461+431705+437142+449006+463741+465651+472782+474744 2009-02-07 21:33:31 -08:00
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