Commit Graph

4020 Commits

Author SHA1 Message Date
L. David Baron
56e0a57776 Fix tests to match what they should have been testing, and fix nsFloatManager behavior to match what the old code actually did as far as considering floats at the side that did not protrude into the containing block. (Bug 472252) r+sr=roc 2009-01-06 15:21:00 -08:00
L. David Baron
add2ce5a81 Add nsTArray<E>::TruncateLength, which is like SetLength, except only allows shortening of the array. (Bug 191448) r=bsmedberg 2009-01-06 15:21:00 -08:00
Neil Rashbrook
5c47786c30 Bug 249141 Incorrect ellipsis width calculation when all text cropped from right r=Enn sr=roc 2009-01-06 21:35:18 +00:00
Benjamin Smedberg
720c4f5577 Bug 472348 - Some unused variables found by combing the warning database, rs=bz 2009-01-06 14:25:58 -05:00
Neil Deakin
7dd8ac103b Bug 342619, don't resize context menus when they would fit on the screen, r+sr=roc 2009-01-06 14:21:23 -05:00
Boris Zbarsky
6925343822 Bug 472322. Don't treat non-XUL listboxbody/listitem specially in XUL frame construction. r=enndeakin, sr=roc 2009-01-06 14:18:04 -05:00
Boris Zbarsky
1ce2a69367 Bug 437366. Make sure to not paint black-on-black in dark high-contrast themes when 'Allow pages to use their own colors' is unchecked and the page tries styling a form control. r+sr=dbaron 2009-01-06 14:17:05 -05:00
Markus Stange
f58c5b74f4 Fix failing reftest for bug 470711 2009-01-06 18:21:17 +01:00
Henrik Skupin
3082428fd8 Reftest for bug 462233, r=bzbarsky 2009-01-06 16:46:40 +01:00
Markus Stange
edf46137eb Reftest for bug 470711, r=roc 2009-01-06 16:46:19 +01:00
Robert O'Callahan
fc6a9b80a5 Disable reftests with random failures (probably) exposed by invalidation-reftest system 2009-01-06 21:54:02 +13:00
Robert O'Callahan
ab2262d328 Disable failing invalidation+zooming test
--HG--
extra : rebase_source : 3876a220b4fc20e8d88622a895193edf6a7069ef
2009-01-06 15:32:55 +13:00
Boris Zbarsky
7663cfbf76 Bug 291854. Push float containing blocks inside ProcessChildren. r+sr=roc 2009-01-05 20:54:32 -05:00
Robert O'Callahan
b4af72fc54 Bug 471365. Make reftest-wait tests track invalidation via MozAfterPaint and repaint the invalid areas like normal window repaining would. This makes invalidation-related bugs testable. r=dbaron 2009-01-06 14:15:13 +13:00
Boris Zbarsky
60aefffa14 Bug 472138. Push CreateAnonymousFrames into ProcessChildren. r+sr=roc 2009-01-05 17:25:33 -05:00
Boris Zbarsky
e240a880db Bug 472138. Eliminate unused or unnecessary CreateAnonymousFrames args. r+sr=roc 2009-01-05 17:25:31 -05:00
Boris Zbarsky
0e1f66b41d merge backout of bug 437366. 2009-01-05 17:05:03 -05:00
Boris Zbarsky
a9607d9d3b Backed out changeset f87b46d44d22 (bug 437366) 2009-01-05 17:04:28 -05:00
Boris Zbarsky
5f9f12e3db Adding a test 2009-01-05 14:08:16 -05:00
Boris Zbarsky
9fcdc6e542 Adding test 2009-01-05 13:32:00 -05:00
Olli Pettay
d30fae3581 Bug 457862 - onresize events should fire at every resize while resizing the window, r+sr=dbaron 2009-01-05 18:26:59 +02:00
Dave Camp
d4f7aed7eb Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp
c3150e042c Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Robert O'Callahan
f5ac70880b Bug 470911. Make the preserveAspectRatio attribute storage much simpler and make the DOM accessors use tear-offs. With help from Craig Topper. r+sr=roc
--HG--
extra : rebase_source : 1a073c76d07c0a4532b2caf9978ef5847b36dec8
2009-01-05 14:19:38 +13:00
Michael Ventnor
2d49b62ed7 Bug 445741. Round rects consistently to avoid a gap between an element and its shadow. r+sr=roc
--HG--
extra : rebase_source : dbb4ae33812db8167650dcc218f0bd4a3e0f3dc2
2009-01-05 13:41:01 +13:00
Robert O'Callahan
7b82035873 Bug 465448. Perform sanity check to avoid resizing a window smaller than the content area we're trying to achieve. r+sr=bzbarsky
--HG--
extra : rebase_source : 57e7e4e95ec2c100b8ceaa66864f6dfb5ba1cc86
2009-01-05 13:39:40 +13:00
Robert O'Callahan
0e5439fe27 Bug 429968. Handle situations where first-letter text detects first-letter style should not be applied, by creating a zero-length 'first letter'. r+sr=dbaron
--HG--
extra : rebase_source : 650611aec3adb1498dc5d8d6d38212ddf09e32fc
2009-01-05 13:36:56 +13:00
L. David Baron
8f4b3155dc Give nsFloatManager::FloatInfo a copy constructor to avoid confusing refcount logging. (Bug 191448) 2009-01-04 20:25:58 -05:00
L. David Baron
eee42cfdd7 Replace space manager with a more limited float manager. (Bug 191448) r+sr=roc
--HG--
rename : layout/generic/nsSpaceManager.cpp => layout/generic/nsFloatManager.cpp
rename : layout/generic/nsSpaceManager.h => layout/generic/nsFloatManager.h
2009-01-04 19:39:54 -05:00
L. David Baron
57a8e776d8 Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc 2009-01-04 19:39:54 -05:00
L. David Baron
87389f6007 Remove TestSpaceManager. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
L. David Baron
82d6666100 Remove the VerifyReflow code that checked the space manager state. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
L. David Baron
3b375b5c0b Fix assertion in bug 468645, per bzbarsky's followup review comment. r+sr=bzbarsky 2009-01-04 14:52:38 -05:00
L. David Baron
9b5ab1b7c2 Forgot to rev IID in bug 468645 (changeset efbec418c3a1). 2009-01-04 14:52:38 -05:00
L. David Baron
a5260aee02 Add some reftests for float behavior. 2009-01-04 14:52:38 -05:00
L. David Baron
b3d748ba11 Fix some missed renames from bug 471356. r+sr=bzbarsky 2009-01-04 14:52:38 -05:00
Dão Gottwald
98ef582b97 Bug 471923 - kill tab-left-edge and tab-right-edge -moz-appearance values. r+sr=roc 2009-01-04 15:01:48 +01:00
Olli Pettay
4055e86a98 Bug 471883 - Gesture events should be dispatched to the element under mouse, not to document. r+sr=roc 2009-01-03 14:40:26 +02:00
Arpad Borsos
318ec6121d Bug 471877 - Cleanup GTK includes; r+sr=roc 2009-01-03 08:37:52 +01:00
Serge Gautherie
3345c79902 Bug 469331 - [SeaMonkey] test_bug458898.html fails; (Cv1) Report the (failing) values; r=dbaron 2009-01-03 08:27:27 +01:00
Karl Tomlinson
4ae5e2778b @font-face { src:local() } reftest 2009-01-03 16:25:51 +13:00
Mats Palmgren
cd1c6303ff Setting selectedIndex to an out-of-bounds value should have the same effect as setting it to -1. b=471741 r+sr=roc 2009-01-02 16:54:48 +01:00
Olli Pettay
28e3d7cf73 Bug 436965, r+sr=sicking 2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892 Back out bug 436965 2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e Bug 436965, r+sr=sicking 2009-01-02 14:40:43 +02:00
Daniel.S
409d9a892a Bug 389623 - box with background-attachment:fixed goes on top of floats; reftest; r+sr=dbaron 2009-01-02 07:21:30 +01:00
Jesse Ruderman
cf4b91bb09 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Daniel.S
5fe3c82ff6 Bug 240029 - table in this page incorrectly off right edge of page when fonts are small; r+sr=dbaron 2009-01-01 15:00:15 +01:00
Jonathan Kew
29eda950fd Bug 470418 - Leak nsStyleContext with RTL, text-transform; r,sr=roc 2009-01-01 16:34:13 +03:30
Mats Palmgren
895369cbd3 Reftest for bug 302379. 2008-12-31 17:38:00 +01:00
Olli Pettay
4b02c1ec1d Bug 471543, r=enndeakin, sr=roc, 2008-12-31 11:29:22 +02:00
Neil Deakin
afa8cec7f5 Bug 393582, Improve naNavigationDirection code, patch=karunasagark@gmail.com,r=enn,sr=bz 2008-12-30 08:30:51 -05:00
L. David Baron
17691f4b06 Fix trivial compiler warning introduced by bug 471356. 2008-12-29 18:33:46 -05:00
Brad Lassey
147efe7cb0 bug 469412 - remove native widgets from xul decks, mobile only r+sr=roc 2008-12-29 12:00:12 -05:00
L. David Baron
23d4f4d4b2 Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
L. David Baron
c48e8cee0e Fix regression in CalcQuirkContainingBlockHeight from change from area frame to block frame in bug 243519. (Bug 471356) r+sr=roc 2008-12-29 10:07:38 -05:00
Mats Palmgren
201ead948a Additional tests for clip property. (Bug 372063) 2008-12-29 10:07:38 -05:00
L. David Baron
d11612b0aa Distinguish clip:rect(auto,auto,auto,auto) from clip:auto as the spec requires. (Bug 372063) r+sr=bzbarsky 2008-12-29 10:07:38 -05:00
L. David Baron
805646bab5 Reject 0 as a value for -moz-column-count. (Bug 471341) r+sr=bzbarsky 2008-12-29 10:07:38 -05:00
L. David Baron
d0d2117def Add crashtests for bug 468645. 2008-12-29 10:07:37 -05:00
L. David Baron
7748baab3d Fix nsLayoutUtils::IsReallyFixedPos to work right in paginated mode. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
83b583a320 Don't post media features values changed events when nothing changed. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
a4dd12922f Pass the correct parent content when re-resolving the inner table for a display:table pseudo-element (:before or :after). (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
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
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
L. David Baron
4dabb0d03e Disallow negative values on -moz-box-ordinal-group, since it's stored in an unsigned integer and clearly intended to be only positive. (Bug 470703) r=enndeakin sr=bzbarsky 2008-12-23 09:06:58 -05:00
L. David Baron
81919802f0 Rewrite the shorthand condensation code in nsCSSDeclaration::ToString. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
8d30a03f05 Don't say that the font or background shorthands are present when the properties that they reset but can't otherwise specify are not their initial values. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
5eb3c08c33 Condense box property four side shorthands in value getters, just as in serialization. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
fd19b3e628 Suppress serialization of -moz-use-text-color in border shorthand in property getters just like we do in declaration serialization. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
72e8b9505a Check consistency before returning 'border' shorthand. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
83e1e59019 Remove comment that should have been removed in bug 160403. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:56 -05:00
L. David Baron
8e85e47bd1 Make the Windows widget code report 24-bit color depth when the display driver reports 32, since it's the same number of bits per pixel. (Bug 466669) r=vlad 2008-12-23 09:06:56 -05:00
L. David Baron
c88d4b23d5 Fix bugs in handling of inherit, initial, and none for -moz-border-*-colors. (Bug 389404) r+sr=bzbarsky 2008-12-23 09:06:56 -05:00