Commit Graph

24226 Commits

Author SHA1 Message Date
L. David Baron
35f444d782 Remove check for block being impacted by float that should no longer be needed given float damage propagation. (Bug 25888) r+sr=roc 2009-03-11 07:51:32 -07:00
Boris Zbarsky
6785b9d204 Adding test for bug 262998. 2009-03-11 10:21:09 -04:00
Benjamin Smedberg
555ae1b325 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
Karl Tomlinson
b8e39184d7 backout dac7c3176b33 from bug 481881 2009-03-11 17:09:22 +13:00
Arpad Borsos
c1e6f4a31e Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part r+sr=roc 2009-03-11 15:26:36 +13:00
Karl Tomlinson
2e14d4895d b=480098 correct weight units in gfxFcFontEntry::AdjustPatternToCSS r=roc
--HG--
extra : rebase_source : 79604f227fc80720e4df479f1d8929f5c21623f2
2009-03-11 15:00:43 +13:00
John Daggett
27a30ea07a Bug 480267. (reland) Use guid as fontname for downloaded fonts. r=vlad 2009-03-11 10:00:44 +09:00
John Daggett
7b4c5d91e0 Bug 482596. reftest for 475092 fails on 10.4 2009-03-11 05:59:05 +09:00
Olli Pettay
04166a178f Bug 424377, r+sr=roc 2009-03-10 21:30:50 +02:00
Benjamin Smedberg
484c66b6de Bug 481732 - Check for crash minidumps in unit tests and dump them, if the MINIDUMP_STACKWALK path is set in the environment, r=ted 2009-03-10 13:36:14 -04:00
Joe Drew
4b67732eca Backed out bug 480267 because it seems to have caused failures in reftests. 2009-03-10 12:25:54 -04:00
Joe Drew
a15cc4761c Backed out changeset 635b1c8783a6 - bug 480267 - because it seems to have
caused a reftest failure.
2009-03-10 12:25:05 -04:00
Boris Zbarsky
35c251622a Bug 480065. Make chrome registry not mess with inline stylesheets. r=bsmedberg, sr=dbaron 2009-03-10 09:52:23 -04:00
Boris Zbarsky
272153e025 Bug 481788. Make FrameConstructionItemList a PRCList. r+sr=roc 2009-03-10 09:51:34 -04:00
Boris Zbarsky
8b2e29fc7f Bug 482394. Drop the aForStyling check in IsHTMLLink/IsLink: if we change the link state, we need to start tracking the link. r+sr=dbaron 2009-03-10 09:51:34 -04:00
John Daggett
a7fbf9a901 Bug 480267. Use guid as fontname for downloaded fonts. r=vlad 2009-03-10 22:21:17 +09:00
Jonas Sicking
5ef7bc5537 Bug 431098: Make pressing 'cancel' in the file picker clear the file upload control. r/sr=bz
--HG--
extra : rebase_source : fb5a6deb1984475e55dd03ef7607044c5ce75bcb
2009-03-09 23:14:57 -07:00
John Daggett
bc21668396 Bug 481729. Use bogus file ref in reftest. r=bz 2009-03-10 14:48:29 +09:00
Daniel Holbert
6d254f1aa0 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
103fa7862c Backed out changeset 37756ccaa268, due to red on windows build machine 2009-03-09 20:40:53 -07:00
Daniel Holbert
967e67e77b 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
Daniel Holbert
0a78467896 Bug 473904 - Add an about:config option (defaulting to 'false' right now) for toggling SVG animation (SMIL) support. r+sr=roc 2009-03-09 18:20:17 -07:00
L. David Baron
9daedec977 Add tests to check case (2) for shorthands in nsCSSDeclaration::GetValue. 2009-03-09 16:14:34 -07:00
L. David Baron
d345c6173e Add some simple tests for units (since code coverage output showed we weren't testing serialization of all of them). 2009-03-09 16:14:34 -07:00
L. David Baron
81be042f5b Add tests for font descriptors that are equivalent to test_value_storage and test_property_syntax_errors. 2009-03-09 16:14:34 -07:00
L. David Baron
75cee288ca Avoid crashing on fontFaceRule.style.getPropertyValue('font-family') when there's no font-family descriptor. (Bug 482148) r=zweinberg 2009-03-09 16:14:34 -07:00
L. David Baron
bc2f3dd312 Remove internal support for units that were never in CSS (feet, miles, meters, kilometers, didots, ciceros). (Bug 482146) r+sr=bzbarsky 2009-03-09 16:14:34 -07:00
L. David Baron
51a32c002e Reject non-positive values for widows and orphans. (Bug 481826) r+sr=bzbarsky 2009-03-09 16:14:34 -07:00
L. David Baron
b2caba1b9e Rename ParsePositiveVariant to ParseNonNegativeVariant. (Bug 481826) r+sr=bzbarsky 2009-03-09 16:14:34 -07:00
Robert Longson
b8fffd1b06 Bug 470653 - nsSVGElement::AfterSetAttr should probably use insertionParent, not insertionParent of the bindingParent. r+sr=roc 2009-03-09 13:14:35 +00:00
Chris Pearce
2ec5a25e7b Zack Weinberg - Bug 479156 - Seams between tiles of a border-image - reftest patch r+/sr+ roc 2009-03-09 10:19:12 +13:00
arno renevier
ea2a2d55c4 Arno Renevier - Bug 481960 - mIsEditor in nsFrameSelection is not used anywhere 2009-03-07 00:39:32 +01:00
Chris Pearce
b37dae2092 Chris Pearce - Bug 479711 - Media elements should delay the document 'load' event 2009-03-09 10:01:03 +13:00
Olli Pettay
c10a9dfb86 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Daniel Holbert
3f4092e862 Bug 481562: Don't create time container for an <svg> element until after it's been bound to a smil-enabled document. r+sr=roc 2009-03-07 13:40:08 -08:00
Boris Zbarsky
2ea724d7a7 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
35c2b8fb20 Bug 481688. Stop firing our DOMLink* events to content. r+sr=smaug 2009-03-06 13:12:20 -05:00
Boris Zbarsky
6b24eb0289 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
fd19187387 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
a9baf2d0c2 Remove unreachable code, since text-decoration:none is not stored as an enumerated value. (Bug 481595) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
73dcd3c824 Test more values for 'content' property. (These tests require the three previous patches to pass.) (Bug 481591) 2009-03-06 13:05:01 +09:00
L. David Baron
83643d3790 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
7d5c8d1dac Append the list-style-type part of counters correctly in computed style. (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
aafe2d425d 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
L. David Baron
9ac278dfa7 nsCSSDeclaration::ValueAppended is never called on shorthands, so it doesn't need code to handle them. (Bug 481594) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
8bdcbd0b8d Quote and escape contents of url() when serializing. (Bug 478160) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
79a32cbc5a Change nsStyleUtil::EscapeCSSString to nsStyleUtil::AppendEscapedCSSString, since almost all callers prefer append behavior anyway. (Bug 478160) r+sr=bzbarsky 2009-03-06 13:05:00 +09:00
Stuart Parmenter
cf576e6934 bug 480233. Make the display list item that canvas uses for painting know about the opacity of the canvas. r/sr=roc 2009-03-05 05:43:45 -08:00
Boris Zbarsky
7187113a8e Disabling test that fails any time the network happens to be slow. See bug 481729 2009-03-05 16:47:05 -05:00
Serge Gautherie
ab6bbc5585 Bug 480077 - automation.py.in : additional fix to bug 472706 for |runApp()| return value(s); (Bv1a) Replace external times by internal duration ++; r=jwalden+bmo 2009-03-05 19:01:39 +01:00
Benjamin Smedberg
2adc05bc07 Reorder functions in nsFrame.h to wallpaper over a dehydra bug (probably GC timing somewhere in the static analysis stack). rs=bz (bug 481454 covers finding and fixing the dehydra bug) 2009-03-05 10:01:04 -05:00
Boris Zbarsky
26f646c20e 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
53d54e4acc 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
16b9b9aa63 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
04f674ea67 Bug 480979 part 4. Create separate FrameConstructionItems for page-break frames. r+sr=roc 2009-03-05 08:09:02 -05:00
Boris Zbarsky
09329b1db9 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
d5b059a7a4 Bug 480979 part 2. Pass FrameConstructionItems through to the FrameFullConstructor implementations. r+sr=roc 2009-03-05 08:09:01 -05:00
Boris Zbarsky
6646059c47 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
L. David Baron
0cc4e4c87a Add test for CSS property priority (!important) preservation. (This fixes the fact that we don't have any tests covering expansion of compressed blocks with !important declarations, and also tests a bit more while I'm there.) 2009-03-05 12:49:30 +09:00
L. David Baron
ede3e32e8c Add test for blocking of -moz-border-*-colors based on code coverage output. 2009-03-05 12:49:30 +09:00
Boris Zbarsky
7fca8b22ce Bug 480323. Always create a trailing inline for {ib} splits. r+sr=dbaron 2009-03-04 07:55:29 -05:00
Boris Zbarsky
c9625bfecd Bug 481045. <svg:use> shouldn't paint its kids. r+sr=roc 2009-03-04 07:55:28 -05:00
L. David Baron
880607c92d Add tests that exercise nsSpanningCellSorter, including with large colspans, since code coverage runs showed we don't hit that code. 2009-03-04 15:47:39 +09:00
Olli Pettay
dcf512fa2e Bug 480767 - Closing 'Bookmark All Tabs' screws up focus, r+sr=jst 2009-03-03 22:20:11 +02:00
Olli Pettay
739ee979a1 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
4da5c3f43a backout 333198 2009-03-02 22:21:46 +02:00
Boris Zbarsky
e44573baaf Bug 480208. Eliminate the tag version of CreateAnonymousFrames. r+sr=roc 2009-03-01 10:16:30 -05:00
Boris Zbarsky
85fb7d8a47 Bug 480017. Suppress misplaced popups before we construct table pseudoframe parents. r+sr=roc 2009-03-01 10:16:29 -05:00
Boris Zbarsky
e291896fc6 Bug 479114. Create page-break frames only after we know our final parent. 2009-03-01 10:16:29 -05:00
Boris Zbarsky
d27dc6cb54 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
Phil Ringnalda
4a126423da Back out patch for bug 458231 (Frame overflow plays havoc with size of <label> or <description>) for failing reftest 386470-1a.html 2009-02-28 19:42:37 -08:00
Neil Rashbrook
00e9c25965 Bug 458231 Frame overflow plays havoc with size of <label> or <description> r+sr=roc r=dao for backout of workaround for bug 69710 2009-02-28 23:46:48 +00:00
Boris Zbarsky
387aaadf5e Adding tests 2009-02-27 20:25:16 -05:00
Clint Talbert
70349bdda3 Bug 474016 r=dholbert, Fix random test failure on linux tinderbox for css transform tests 2009-02-27 11:16:57 -08:00
Neil Rashbrook
39402537aa Bug 311053 XUL frames should respect preventDefault() [e.g. when menus are open] r=Enn sr=jst 2009-02-27 10:48:25 +00:00
Ehsan Akhgari
ad8c824657 Bug 477754 - [RTL] Customize toolbar sheet is placed mostly outside of the browser; r=enndeakin sr=roc 2009-02-27 11:53:03 +03:30
Clint Talbert
9fbe4ff759 backout changes for bug 474016 2009-02-26 16:43:11 -08:00
Taras Glek
69c8d8fd0d Bug 476948: Need to be able to clear outstanding MozAfterPaint events r+sr=roc 2009-02-26 16:21:55 -08:00
Clint Talbert
251c5bdd36 merging from an aborted push for bug 474016 2009-02-26 16:15:54 -08:00
Clint Talbert
d80fe6cb1c Bug 474016 r=dholbert, adding logging to css transform test to see why it fails 2009-02-26 16:09:12 -08:00
Daniel Holbert
f9f7b6c49b whitespace-only: fix indentation of 'aPresContext' arguments in function headers within nsPageFrame.cpp 2009-02-26 15:47:03 -08:00
Asaf Romano
8900bd48d4 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
fe25d33f34 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
85db8be7a1 b=478548; slightly optimize PresContext::Theme; r=dbaron 2009-02-26 12:02:00 -08:00
Olli Pettay
58e1a51801 Bug 466856 - Crash [@ nsTypedSelection::CopyRangeToAnchorFocus], r+sr=roc 2009-02-26 18:36:34 +02:00
Robert O'Callahan
13cb33fda3 Bug 479936 - Correctly handle sizing of video elements 2009-02-26 20:04:42 +13:00
Robert O'Callahan
4a6f404c84 Bug 480053 - Fix z-ordering of scrollbars to match Webkit/IE8. r+sr=dbaron 2009-02-26 20:00:36 +13:00
Blake Kaplan
b5e168d82d 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
e7ae39c62f Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst 2009-02-24 13:39:09 -05:00
Serge Gautherie
02489bf4fa (no bug) Removing ending whitespaces 2009-02-25 17:46:50 +01:00
Jeff Muizelaar
fabd738e33 Bug 442109 - youtube videos don't play; r=vladimir 2009-02-25 16:25:12 +01:00
Johnny Stenback
30814fefc6 Fixing bug 475646. Don't call GetPeer() on plugins as it's apparently not safe to do so on all plugins. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-02-24 16:28:35 -08:00
L. David Baron
28ca0dce9d I don't need to see the rule hash debugging output anymore. 2009-02-24 16:14:46 -08:00
L. David Baron
7eef68c85e Fix outparam static analysis warnings in nsComputedDOMStyle by actually assigning to the outparam. (Bug 479433) r+sr=bzbarsky 2009-02-24 16:14:46 -08:00
L. David Baron
bc6a61c62b Flush layout earlier in getComputedStyle(). (Bug 454276) r+sr=bzbarsky 2009-02-24 16:14:45 -08:00
L. David Baron
486b4b0069 Merge backout of changeset a328b5ae57e0 (bug 476245) for causing failures of test_videocontrols.html across platforms (although Linux hasn't cycled yet). 2009-02-24 13:38:55 -08:00
L. David Baron
0b5ff3a7ec 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
Serge Gautherie
57bcb5e793 Bug 469518 - Enable Reftest leak log in tinderbox (log); (Av1b) Enable (bare) leak log; r=ted.mielczarek 2009-02-24 22:19:01 +01:00
Serge Gautherie
c715cd7999 Reverting this part of "changeset: 120d20888db9"
Bug 445087; add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels; r=(roc + vladimir) sr=roc
because this test still PASSes actually.
2009-02-24 21:10:28 +01:00
Boris Zbarsky
ee445ae3d1 Bug 476245. Keep better track of our anonymous content. r=smaug, sr=dbaron 2009-02-24 13:39:09 -05:00
Boris Zbarsky
a49d93acd8 Bug 371561. Use the right codepath for absolutely positioned tables so that they get a useful containing block. r+sr=dbaron 2009-02-24 13:38:20 -05:00
XiaoXiaoHU
95331fc201 Bug 298889 - iframe invisible when window is transparent; r+sr=roc 2009-02-24 17:53:32 +01:00
Jonathan Kew
1f1f9c6f35 Bug 445087; add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels; r=(roc + vladimir) sr=roc 2009-02-24 17:53:31 +01:00
Karsten Düsterloh
565160c8b7 Bug 249141 - Incorrect header cropping on narrow tree columns (ellipsis in wrong column); reftest; r=roc 2009-02-24 17:53:29 +01:00
Jonathan Kew
526a0ca6e9 Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
Zack Weinberg
ecf9454841 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
1307f5d202 Bug 472776. Don't accidentally clear TEXT_IN_TEXTRUN_USER_DATA after we just set it. r=smontagu
--HG--
extra : rebase_source : 1d7f12a729e471871cb6b610461f9b4eee2c64ae
2009-02-24 21:27:48 +13:00
Robert O'Callahan
aa6dce5b49 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
Neil Deakin
b4fedbfe36 Bug 477326, initialize mCachedMousePoint, r+sr=roc 2009-02-23 14:45:01 -08:00
Nickolay Ponomarev
207aca6ddf bug 475133 - Crash [@ nsStyleContext::GetRuleNode] with <xul:progressmeter>, DOMAttrModified event
r=enn, sr=roc
Don't forget to block scripts when manually calling nsProgressMeterFrame::AttributeChanged in progressmeter initialization to prevent evil mutation event listeners from crashing us.
2009-02-23 17:15:31 +03:00
John Daggett
a4a7e95a35 Bug 420981 - special case handling of UltraLight faces under Mac OS X 10.5 to work around Apple bug. r=vlad 2009-02-23 15:55:07 +09:00
John Daggett
d6571cb5e3 Bug 479152 - increment generation when local font used after external font fails to load. r=karl, sr=roc 2009-02-23 13:40:47 +09:00
John Daggett
e7a5ce5214 Bug 478183 - work around full font name problem with older fontconfig used on reftest machines. r=karl 2009-02-23 13:21:04 +09:00
Jonathan Kew
20f4c965a8 Bug 478792 - prefer glyph advance rather than ink extent; r+sr=roc 2009-02-23 02:19:30 +01:00
Zack Weinberg
4b0289ba0b 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
00cbbd72cd 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
Peter Annema
4fad413835 Fix Firefox-Ports Solaris build bustage. 2009-02-22 08:38:52 -08:00
L. David Baron
724f75bec4 Revert temporary modifications to diagnose intermittent reftest failure on tinderbox (fb1d06068cb5, 71df97fcb74e, 8a406dd54480) since the intermittent failures seem to have been fixed by the reftest harness change in 9d5337daba7b. 2009-02-21 12:05:27 -08:00
Martijn Wargers
13918d9e3a Crash test for bug 470212. 2009-02-21 17:15:07 +01:00
L. David Baron
b51c79c417 Put the timestamp in the reftest HTTP server's path to prevent cross-contamination of cached tests between branches, in case those different branches run reftests on the same profile. r=Waldo 2009-02-20 22:07:14 -08:00
L. David Baron
dd2107d6e8 Also temporarily replace the red images in the Acid2 test to see if they're what's causing the red to randomly show up. 2009-02-20 21:03:24 -08:00
Jesse Ruderman
1ad38ac6a7 Add crashtests 2009-02-20 19:38:16 -08:00
L. David Baron
390cee7122 Temporarily convert every occurrence of red in the Acid2 reftest to some other color to figure out which one is causing the random failures. 2009-02-20 16:51:23 -08:00
L. David Baron
348c00da3e Temporarily modify the test to confirm theory about the source of intermittent failures. 2009-02-20 10:50:25 -08:00
L. David Baron
879297a1ef Call SetPropertyBit(background_color) when we set data for that property, on the off chance it will fix the intermittent layout/reftests/bugs/289480.html orange. (Bug 322475) 2009-02-20 10:50:25 -08:00
Masayuki Nakano
2b09c80168 Bug 478862 After bug 347185 the keys Backspace and Tab no longer work as expected in a flash application r+sr=roc 2009-02-20 16:42:29 +09:00
L. David Baron
3a120c56d3 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
fd812d7771 Bug 470250 - draw middle border image even if the border width is zero on all four sides r+sr=dbaron 2009-02-20 17:13:47 +13:00
Zack Weinberg
71db1509d5 Bug 477732: fix scaling of border-image side tiles with 'repeat'. r+sr=roc 2009-02-20 16:33:30 +13:00
Boris Zbarsky
36a2d9ec15 Speed up canvas comparisons in bidi mochitests. No bug 2009-02-19 22:04:19 -05:00
L. David Baron
dd5c5ff2c8 Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky 2009-02-19 13:55:48 -08:00
L. David Baron
ae2dbb9ba2 Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky 2009-02-19 13:55:48 -08:00
L. David Baron
90d773d82a Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky 2009-02-19 13:55:48 -08:00
L. David Baron
efb6f0d272 Remove PerFrameData::mFrameType, since it's write-only. (Bug 478899) r+sr=bzbarsky 2009-02-19 13:55:48 -08:00
L. David Baron
da21efddd5 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
bd25838a7a 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
Mats Palmgren
7d5c65e95c Temporarily forget the line container while calculating widths for next-in-flow children. b=477928 r+sr=roc 2009-02-19 21:18:52 +01:00
Mats Palmgren
4e7d3753f9 Remove unnecessary #includes. b=462203 r+sr=roc 2009-02-19 21:18:49 +01:00
Boris Zbarsky
86f419fd3f Bug 479180. Don't hold strong refs in ChildIterator. r+sr=roc 2009-02-19 11:55:09 -05:00
Boris Zbarsky
897b12d83f Bug 479178. Remove some unnecessary refcounting in XUL trees. r+sr=roc 2009-02-19 11:55:07 -05:00
L. David Baron
715b4bef6b 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
f4c7c6b07d Fix warning with -Wshadow in nsMathMLTokenFrame (about childFrame). (Bug 477962) r=karlt 2009-02-19 09:48:37 -08:00
L. David Baron
5730c69e4f Fix nsBlockFrame warning about child being used uninitialized in FindLineContaining by switching while to do-while. (Bug 477963) r+sr=roc 2009-02-19 09:48:37 -08:00
L. David Baron
c936720f0a 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
cfafb11092 Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
0d5c6ceac3 Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
58d5d187d9 Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
d7971aa24b Remove PerFrameData::mFrameType, since it's write-only. (Bug 478899) r+sr=bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
11e12c4425 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
253355ccbb 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
7db9dc2cea Back out bug 477732 due to Mac test failure. 2009-02-19 23:45:54 +13:00
Robert O'Callahan
b912480372 Backed out changeset a2f0465c9dc3 2009-02-19 23:45:27 +13:00
Zack Weinberg
61f2b623d1 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
93abe72a63 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
55c57c0ab2 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
Martin
0439fa763d Bug 478570. SVG feConvolveMatrix 'order' attribute should default to 3, as per spec errata. r=roc,longsonr
--HG--
extra : rebase_source : 68e462f74e11f108735586bfde1441ad0b3760c3
2009-02-17 09:59:06 +00:00
L. David Baron
3d090560b0 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
f2a2b26e4e Remove MOZ_COUNT_CTOR/MOZ_COUNT_DTOR from nsStyleBackground::Layer because the copy constructor is now used. (Bug 322475) 2009-02-18 18:04:03 -08:00
L. David Baron
4c11532d4e Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky 2009-02-18 17:13:26 -08:00
L. David Baron
62f38efea1 Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky 2009-02-18 17:13:26 -08:00
L. David Baron
b02ed9db5c Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky 2009-02-18 17:13:25 -08:00
L. David Baron
d071d4e2af Remove PerFrameData::mFrameType, since it's write-only. (Bug 478899) r+sr=bzbarsky 2009-02-18 17:13:25 -08:00
L. David Baron
7ee7fbc33f 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
ce51a87ca9 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
L. David Baron
1bb5fd6dd8 Fix warning with -Wshadow in nsMathMLTokenFrame (about childFrame). (Bug 477962) r=karlt 2009-02-18 17:13:24 -08:00
L. David Baron
d4769188fe Fix nsBlockFrame warning about child being used uninitialized in FindLineContaining by switching while to do-while. (Bug 477963) r+sr=roc 2009-02-18 17:13:24 -08:00
Zack Weinberg
ebc6ed6573 Fixing bug 473580. Disable drawWindow for sun java to avoid pegging the CPU. r=vladimir@pobox.com, sr=jst@mozilla.org 2009-02-18 17:03:54 -08:00
Daniel Holbert
a0c33510e5 whitespace-only: align 'aPresContext' with other parameters in methods within nsTableFrame.cpp 2009-02-18 11:47:22 -08:00
Boris Zbarsky
8aa32ea9bf Bug 478820 part 3. Switch ConstructFrameByDisplayType to FrameConstructionData. r+sr=roc 2009-02-18 08:25:29 -05:00
Boris Zbarsky
8c4b6803ff 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
b840f553ef Bug 478820 part 1. Reorganize ConstructFrameByDisplayType a bit in the block/inline department. r+sr=roc 2009-02-18 08:25:29 -05:00
John Daggett
b304b224eb fix format hint in testing fonts stylesheet 2009-02-18 15:30:18 +09:00
John Daggett
9f57918e8c more fonts for reftest testing 2009-02-18 13:26:02 +09:00
Ben Turner
fc39babfc2 Bug 478304 - 'Let nsRunnableMethod be used with non-void-returning functions'. r=bsmedberg. 2009-02-17 20:11:09 -08:00
Boris Zbarsky
a5d5876901 Bug 400226. Do text redisplay as soon as it's safe, not after a trip to the event loop. r+sr=mats 2009-02-17 22:27:25 -05:00
Boris Zbarsky
512423aaa3 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
Simon Montagu
2d69d8c702 Remove comment based on old version of CSS3 Lists spec. Comment-only change from bug 390440, rs=bz 2009-02-17 13:26:52 -08:00
Boris Zbarsky
ff833a89a4 Adding test for bug 307076 2009-02-17 12:39:21 -05:00
Boris Zbarsky
ac212c246b 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
60ea788249 Bug 478754. Remove effectively unused argument. r+sr=roc 2009-02-17 12:21:42 -05:00
Neil Deakin
425a509414 Bug 474149, use SetPopupPosition for popup moveTo handling, should fix jumpiness when moving a popup, r+sr=roc 2009-02-17 10:51:11 -05:00
Peter Van der Beken
6740ce42ec Fix for bug 391448 (Force layout/dom/content code to use classinfo macros that don't use the service manager.). r/sr=jst. 2009-02-17 15:08:08 +01:00
Daniel Holbert
08905ccb04 Bug 478785: Remove unneeded availHeight variable in nsTableCellFrame::Reflow, plus minor whitespace cleanup. r=dbaron 2009-02-16 16:02:21 -08:00
Daniel Holbert
f0d4050f55 whitespace only: fix alignment of parameters for nsTableCellFrame::SetSelected 2009-02-16 14:26:57 -08:00
Boris Zbarsky
9b36372ed7 Put these files in the right place
--HG--
rename : layout/reftests/647-1-ref.html => layout/reftests/bugs/647-1-ref.html
rename : layout/reftests/647-1.html => layout/reftests/bugs/647-1.html
2009-02-16 12:54:15 -05:00
Boris Zbarsky
44613c916c Adding test for bug 105 2009-02-16 11:15:59 -05:00
Boris Zbarsky
3389d467dc Adding test for bug 647. 2009-02-16 11:01:10 -05:00
Daniel.S
9d890d53c0 Bug 477462 - create an extensive reftest suite for margin(-collapsing); create basic infrastructure, for checkin; r=dbaron 2009-02-16 16:27:11 +01:00
Boris Zbarsky
f5a290d916 Bug 477700. Push a null JSContext around editor init, so it'll work no matter what JS is on the stack. r+sr=smaug 2009-02-16 09:11:41 -05:00
Neil Rashbrook
1dd09e631a 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
8b8baa26f2 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
Daniel.S
cab41fbb7e Adding test for bug 410621. r+sr=bzbarsky 2009-02-15 21:59:25 -05:00
Daniel.S
6858a59397 Adding test for bug 410621. r+sr=bzbarsky 2009-02-15 21:58:25 -05:00
Zack Weinberg
2ed31147bb 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
dc2eb3467f 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
69f22a3be5 Adding test 2009-02-15 14:04:23 -05:00
Boris Zbarsky
1db8dc44b6 Bug 478267. Make sure to set our overflow area correctly for objects even in cases without box-shadow. r+sr=roc 2009-02-15 13:14:32 -05:00
Boris Zbarsky
fe5fcdbbd9 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
Boris Zbarsky
25a5c2fec9 Bug 477880. Since we kick off some loads during reflow, make sure to flush layout before our last pre-onload emptiness check. r=jst, sr=roc 2009-02-15 13:14:19 -05:00
Serge Gautherie
0d99859fec Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00