Commit Graph

4220 Commits

Author SHA1 Message Date
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
Neil Deakin
c8df9e6d4f Bug 212750, position context menu for menus when the keyboard shortcut is used, also move code around so that the right targets are set for context menu key events, r=smaug,sr=roc 2009-01-17 15:50:00 -05:00
Olli Pettay
beca38650c Bug 472502, r+sr=bz 2009-01-17 19:47:57 +02:00
Robert O'Callahan
4388aebd00 Backout bug 472135 due to Linux test failure 2009-01-17 23:59:37 +13:00
Robert O'Callahan
00e57b8380 Backed out changeset 9246fefef1cc 2009-01-17 23:58:34 +13:00
Robert O'Callahan
0dd1ce33f5 Bug 471594. In ContentInserted, when we have an insertionPoint and we take the isAppend path, use the insertionPoint's last continuation as the place to append so we don't insert the new frames in the middle of some other content's continuation chain. r+sr=bzbarsky
--HG--
extra : rebase_source : dbcc34f8fc9a73d53105300d2aa2bebbc584ab8f
2009-01-16 21:25:04 +13:00
Robert Longson
4a4ce9e387 Bug 472135. Avoid re-getting the target marker frame in nsSVGMarkerProperty::DoUpdate --- that leads to infinite loops. Update things lazily instead via fake style changes. r+sr=roc
--HG--
extra : rebase_source : f90519e06842d6301e3a27eddb0cddd300b62db2
2009-01-16 21:20:29 +13:00
Michael Ventnor
0ec63aa6ad Bug 472772. Introduce a separate combobox-text color because some GTK themes need it. r+sr=roc
--HG--
extra : rebase_source : 6e53173e0443d70b36ccbb9e90b60d573ed595d6
2009-01-16 21:18:49 +13:00
Robert O'Callahan
ef41e78ff4 Bug 472909. Need to call FinishSettingProperties on nsTranformedTextRuns that we create as parts of other transformed textruns. r=smontagu
--HG--
extra : rebase_source : 38adef908b1ec8d6fcc97b1b6cb42690733ae752
2009-01-16 21:17:46 +13:00
Zack Weinberg
7da71decb2 Bug 473398. nsCSSRendering::PaintBackground should not try to fix up the canvas background color to be opaque. r+sr=roc
--HG--
extra : rebase_source : f2883c704bee9a4ba70c57598704ed7ba30628dc
2009-01-16 21:15:29 +13:00
Craig Topper
41cbd4c43c Bug 473511. nsSVGInnerSVGFrame does not need to implement nsISVGValueObserver. r=jwatt,sr=roc
--HG--
extra : rebase_source : 7b5b4dd1c5702498a496133c643891c337ea4a42
2009-01-16 21:14:40 +13:00
Craig Topper
fe58910902 Bug 473517. nsSVGUtils::CoordToFloat should avoid heap-allocating an nsSVGLength. r+sr=roc
--HG--
extra : rebase_source : c2cd532376da8c37ad02f834ab4e859fec61dda1
2009-01-16 21:02:40 +13:00
Robert O'Callahan
b77d06a80b Bug 472878. Allow nsMediaDecoder::Invalidate to UpdateMediaSize on the element even if there is no frame for the element. r=doublec
--HG--
extra : rebase_source : dcafd327c98d1da7076f06c86b23eb7d5dd1edcb
2009-01-16 20:57:37 +13:00
Walter Meinl
ed775713d7 [OS/2] Bug 473906: follow-up to Bug 448830 - Split nsInt(Rect|Size|Point|Margin), r=weilbacher 2009-01-17 10:08:00 +01:00
Daniel.S
abf2dd5de1 Add reftest for bug 206631. r+sr=dbaron 2009-01-16 19:44:21 -08:00
L. David Baron
ba1c5c080f Avoid building user font set when handling units involving font metrics in media query expressions. (Bug 473892) r+sr=bzbarsky 2009-01-16 19:44:21 -08:00
L. David Baron
7713595032 Avoid recursion when handling mNegations in CalcWeight. (Bug 473908) r+sr=bzbarsky 2009-01-16 19:44:21 -08:00
L. David Baron
302859c42e Avoid recursion after parsing CSS comments. (Bug 473914) r+sr=bzbarsky 2009-01-16 19:44:21 -08:00
L. David Baron
a7223a0c21 Remove handling of comments inside CSS url() tokens. (Bug 473914) r+sr=bzbarsky 2009-01-16 19:44:20 -08:00
Zack Weinberg
558eb1c7dd Bug 473720: don't treat a parse error in a known CSS @-rule as an unknown @-rule r+sr=dbaron 2009-01-16 19:44:20 -08:00
Daniel Holbert
7b43e76e0a Fix typo & linewrapping in a comment within nsDocumentViewer.cpp (to trigger unittest builds) 2009-01-16 17:35:19 -08:00
Jeff Walden
7ce2e97cd7 Bug 473911 - Crash due to too much recursion in nsCSSDocumentRule::URL::~URL. r+sr=dbaron 2009-01-16 15:33:57 -08:00
L. David Baron
89212e7f4a Merge backout of changeset 9b832d90d637 (bug 462188). 2009-01-16 15:00:51 -08:00
L. David Baron
e11583f7ec Backed out changeset 9b832d90d637 (bug 462188) due to 7 test failures on Linux and 1 on Windows (0 on Mac). 2009-01-16 15:00:40 -08:00
Theppitak Karoonboonyanan
4169a80855 Bug 462188: Fix deletion of words (Ctrl-Backspace/Option-Delete) in HTML editing. r+sr=peterv 2009-01-16 13:32:09 -08:00
L. David Baron
ae2d624d95 Add assertions to EndReconstruct that all style contexts have been reresolved. (Bug 473871) r+sr=bzbarsky 2009-01-16 13:32:09 -08:00
L. David Baron
bb123815cb Put nsIDOMNSCSS2Properties in its own file to reduce risk of bumping the IID of the wrong interface. (Bug 473418) r+sr=jst
--HG--
rename : dom/public/idl/css/nsIDOMCSS2Properties.idl => dom/public/idl/css/nsIDOMNSCSS2Properties.idl
2009-01-16 13:32:09 -08:00
L. David Baron
5293f77173 When re-resolving style, re-resolve root in undisplayed map too. (Bug 473042) r+sr=bzbarsky 2009-01-16 13:32:09 -08:00
L. David Baron
76872659c8 Don't suppress use of overridden virtual destructors, so we fix the appearance of a leak in the leak statistics. (Bug 473548) r+sr=roc 2009-01-16 13:32:09 -08:00
L. David Baron
286c54a127 Recheck media queries when changing text zoom since em units have changed. (Bug 473400) r+sr=bzbarsky 2009-01-16 13:32:08 -08:00
Neil Rashbrook
c9b780ffc5 Bug 473933 Fix crash exposed by regression from bug 441359 r+sr=sicking 2009-01-16 20:52:04 +00:00
Clint Talbert
079c222900 Bug 457324 Partial Backout - Remove the CSS Transform mochitests from running due to leaks on Windows r=dholbert 2009-01-16 14:44:22 -06:00
Ted Mielczarek
ca38450994 bug 473577 - make test plugin usable for reftests. r=josh 2009-01-16 15:03:24 -05:00
Ted Mielczarek
a966a66477 bug 473935 - add sandbox property indicating whether test plugin is present. r=dbaron 2009-01-16 15:03:24 -05:00
Clint Talbert
960f11519e imported patch bug435293-csstransform-tests 2009-01-16 12:52:24 -06:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Dave Camp
c12a3b0506 Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
Curtis Bartley
b19365d8b0 Bug 464339 - Links to images and non-textish media should not have view-source: links, r+sr=roc 2009-01-15 20:02:20 -08:00
Robert O'Callahan
684d4edc90 Add bug number for failing test 2009-01-16 10:45:44 +13:00
Robert O'Callahan
c715b0b149 Mark new failing test 280708-1a.html as expected-fail 2009-01-16 10:41:58 +13:00
Boris Zbarsky
1073781098 Adding test 2009-01-15 15:30:37 -05:00
Boris Zbarsky
833d1664d3 Adding some tests 2009-01-15 14:49:33 -05:00
Olli Pettay
839cc838ba Bug 422294 - Crash [@ nsHTMLContainerFrame::CreateViewForFrame] on print preview, r+sr=roc 2009-01-15 16:24:40 +02:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Daniel Holbert
f093208f71 Whitespace-only: Fix parameter indentation in nsTableCellFame.cpp 2009-01-14 21:06:03 -08:00
Brian Birtles
adf1d4fa7c Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
Daniel Holbert
3a78be97fc Whitespace-only: Fix parameter indentation in nsTableRowFrame.cpp and nsTableRowGroupFrame.cpp 2009-01-14 14:16:43 -08:00
Olli Pettay
7bf054d872 Bug 472730, window.sizeToContent() causes hang & full CPU usage, due to extreme recursion, r+sr=dbaron 2009-01-14 22:42:25 +02:00
Neil Deakin
564a1b1853 Bug 472090, fix variable name 2009-01-14 13:56:07 -05:00
Neil Deakin
a7f74b19f7 Bug 472090, change scale to use a listener instead of mutation events, r=smaug,sr=neil 2009-01-14 13:21:58 -05:00
Peter Van der Beken
50a423af1a Merge backout. 2009-01-14 15:13:37 +01:00
Peter Van der Beken
84d3eabc50 Back out changeset 9fd8740decb8 (Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles).) to try to fix orange. 2009-01-14 15:12:37 +01:00
Robert Kaiser
469b9879fd bug 472813 - Remove SeaMonkey workaround for test_bug465448.xul, r=roc 2009-01-14 14:48:22 +01:00
Boris Zbarsky
00e66d09cf Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking 2009-01-14 07:49:18 -05:00
Peter Van der Beken
4189af9d67 Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz. 2009-01-14 13:24:10 +01:00
L. David Baron
8ae14c6f7f Prevent rebuilding all style data when paginated. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
272bf85847 SetVisibleArea doesn't need to lead to media query change handling when paginated (e.g., when doing a SizeToContent around a print preview window). (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
eed7111013 Fix handling of 'orienation' feature in print-preview. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
43923a2427 DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
2424598a74 Prevent posting media query changed events during construction. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
a3d0f42dba Fix style context invariants so we can re-resolve page break frames. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
d52dad5b98 Give nsPageBreakFrame a frame name for DEBUGging code. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
020fe687d6 Expect percentages to be unsupported for -moz-column-width. I'm not sure why I made it as it is, since they were never supported in either our implementation or the spec. 2008-12-29 10:07:36 -05:00
Robert O'Callahan
5625c48582 Bug 458296 --- fix reference test name 2008-12-29 22:31:48 +13:00
Robert O'Callahan
374cd3a20b Bug 449142. Scale video so that it fits in the content-box of the element and has the same aspect ratio as the video source. Also adds some Ogg video reftests. r=doublec,sr=dbaron 2008-12-29 21:20:27 +13:00
Robert O'Callahan
0731a2c4f4 Bug 458296. When a block doesn't carry out the bottom-margin of its children, add that bottom-margin to its overflow area. Also, add the bottom-padding of a scrolled block to its overflow area. r+sr=dbaron 2008-12-29 21:18:40 +13:00
Robert O'Callahan
b817cb2bbf Bug 469203. Don't try to make toplevel HTML documents transparent, it just doesn't work and the window can disappear in a mysterious way. r+sr=dbaron 2008-12-29 21:17:08 +13:00
Daniel.S
22c17349ea Adding crashtest 2008-12-28 12:14:28 -08:00
Boris Zbarsky
650f225952 Bug 437366. Make sure to not paint black-on-black in dark high-contrast themes when 'Allow pages to use their own colors' is unchecked and the page tries styling a form control. r+sr=dbaron 2008-12-28 12:07:58 -08:00
Simon Montagu
89eb38e82f Fix compiler warnings in nsCaret.cpp. Bug 470574, r+sr=dbaron 2008-12-28 04:08:22 -08:00
L. David Baron
33efe12a98 Fix placement of video controls when top and right padding are different. (Bug 470596) r+sr=roc 2008-12-27 20:58:14 -05:00
L. David Baron
5a497c7cb3 Fix an off-by-border-and-padding error in nsVideoFrame::BuildDisplayList. (Bug 470596) r+sr=roc 2008-12-27 20:58:14 -05:00
L. David Baron
8458c5b6b6 Make 'word-spacing: normal' just compute to '0', since that's what CSS 2.1 says to do, and thus change nsStyleText::mWordSpacing from nsStyleCoord to nscoord. (Bug 470705) r+sr=roc 2008-12-27 20:58:14 -05:00
L. David Baron
d67ed87895 Better handling of overflowing integer values. (Bug 440230) r+sr=roc 2008-12-27 20:58:14 -05:00
Jesse Ruderman
f4f6dd881a Tests for bug 435529 and bug 436823. 2008-12-26 00:15:48 +01:00
Dan Fabulich
b3132f8800 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08:00
L. David Baron
8ffe1c08e4 Merge backout of changeset 046f5da25280 due to crash in layout/forms/test/ mochitests. 2009-01-13 17:47:38 -08:00
L. David Baron
5a8f68315b Backed out changeset 046f5da25280 due to crash in layout/forms/test/ mochitests. 2009-01-13 17:47:03 -08:00
Daniel Holbert
5b26d7d11e Bug 465928 followup: correct typo in enum name - s/PERSERVE/PRESERVE/. No functional changes. r=roc 2009-01-13 12:28:28 -08:00
L. David Baron
54c0fed0d2 When re-resolving style, re-resolve root in undisplayed map too. (Bug 473042) r+sr=bzbarsky 2009-01-13 11:50:41 -08:00
L. David Baron
a59b1cf8db Only run assertion checks in DEBUG builds. (Bug 472557) r=Waldo,bsmedberg 2009-01-13 11:50:40 -08:00
L. David Baron
5d6a678da1 Clean up CalcAvailWidth. (Bug 444928) r=bernd 2009-01-13 11:50:40 -08:00
Nick Kreeger
6373ae3766 Fixing Bug 454632 - Resizing tree widget always re-scrolls to current index. r=enndeakin,sr=bz. Patch by Stephen Lau <steve@grommit.com>. 2009-01-13 10:50:26 -08:00
Ehsan Akhgari
4d6f0e54b7 Bug 140759 - tree cell content is not aligned to the right when tree direction is right to left; r=roc,gavin sr=roc 2009-01-13 21:30:06 +03:30
Benjamin Smedberg
469b7ca86d Minor static-checking fixup: give a useful location for the "frame inherits from nsIFrame and nsISupports" warning, NPODB 2009-01-13 11:32:25 -05:00
Dave Camp
b18d454609 Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp
ca7e07e266 Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Dave Camp
c5cf52ea8a Bug 463046: Network connectivity checking breaks running netwerk unit tests and mochitests with no connection. r=bz, r=jwalden 2009-01-12 21:52:00 -08:00
John Daggett
f9e721b5df Bug 465452 - better handling of format hints for downloadable fonts. r=dbaron. 2009-01-13 14:16:58 +09:00
Jesse Ruderman
118aad7d87 Add crashtest 2009-01-12 16:24:44 -08:00
Benjamin Smedberg
08c8aadf40 Add a static analysis pass to verify that for any do_QueryFrame<Interface> there is an Interface::kFrameIID declared. NPODB, static-checking only.
--HG--
extra : rebase_source : 0bcfa5b446d0c19610d9d61dd7e281d3923c8736
2009-01-12 14:21:11 -05:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
John Daggett
fe5d832748 add valid EOT font and note describing reftest font directory contents 2008-12-24 12:57:25 +09:00
L. David Baron
6958d78491 Readd test for computed style for large integers (even though patch was backed out). (Bug 470769) r+sr=bzbarsky 2008-12-23 09:06:59 -05:00
L. David Baron
65c181f0ab Merge backout of changeset 441f119f1a0c (Bug 470769) due to failures in layout/style/test/test_bug365932.html 2008-12-23 11:12:04 -05:00
L. David Baron
e8b56749f3 Backed out changeset 441f119f1a0c (Bug 470769) due to failures in layout/style/test/test_bug365932.html 2008-12-23 11:11:51 -05:00
Robert Kaiser
5f8c1f03e4 bug 469331 - [SeaMonkey] test_bug458898.html fails, make the width test function always ok on Windows, r=dbaron 2008-12-23 16:03:25 +01:00
L. David Baron
1362acfc3f Fix computed style for large integers by using double instead of float. (Bug 470769) r+sr=bzbarsky 2008-12-23 09:06:59 -05:00
L. David Baron
e32d92f667 Enforce the restriction that values of stroke-miterlimit are greater than 1, rather than just using ParsePositiveVariant. (Bug 470706) r=jwatt sr=bzbarsky 2008-12-23 09:06:58 -05:00
L. David Baron
22b6db3f79 Reject duplicate keywords for 'text-decoration'. (Bug 470704) r+sr=bzbarsky 2008-12-23 09:06:58 -05:00