Commit Graph

2950 Commits

Author SHA1 Message Date
L. David Baron
9c6ae66188 Avoid stack overflow by not using recursion to add the important rules. (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
bc2be41d00 Make rule node children destruction happen in a queue from the root rule node (or root of the subtree being destroyed) rather than using recursion. (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
4db60cdcb8 Replace nsRuleList with a next sibling pointer on the rule node itself (saving one word in the normal linked list case, and wasting one in the hash table case). (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
aca5c25858 Avoid stack overflow by not using recursion to add the important rules. (Bug 439184.) r=fantasai sr=bzbarsky 2008-07-13 13:57:38 -07:00
Robert Longson
f159e7b1cc Bug 409383 - Enable reftests for dynamic changes to switch children. r=jwatt,sr=roc 2008-07-13 16:09:37 +01:00
Robert Longson
67af1e3115 Bug 409383 - Make dynamic changes to switch children work and fix transient switch errors. r=jwatt,sr=roc 2008-07-13 12:30:48 +01:00
Sylvain Pasche
8e13a26f87 Bug 438679 – Remove some duplicate reftest manifest entries. r=dbaron 2008-07-12 12:49:58 +02:00
Reed Loden
0d1d70de60 Branch merge for bug 441169, bug 22310, bug 430219, bug 443095, bug 443096, bug 441703, and bug 441360. 2008-07-12 05:33:29 -05:00
Martijn Wargers [mw22]
7b01aadc2e Bug 441703 - "direction attribute of marquee should be case-insensitive (for selector matching)" [r+sr=dbaron] 2008-07-12 05:30:39 -05:00
Matthew Gregan ext:(%20and%20Shane%20Blackett%20%3Cshane%40blackett.co.nz%3E)
6f043c5cb5 Bug 430219 - "Crash when FF3 on OS X is Quit if page contains multiple plugins" [r+sr=jst] 2008-07-12 05:28:50 -05:00
Andrzej Zaborowski
557bc969d3 Remove unimplemented DumpContentToPPM() member (bug 379015 leftover). r+sr=roc 2008-07-12 12:21:38 +02:00
arno.
9474e74a6e Bug 423802 - "xulrunner.exe crashes when a specially crafted grid control is used" (crashtest) [r=dbaron] 2008-07-12 05:12:56 -05:00
neil@parkwaycc.co.uk
45ebee768d Bug 444466 – Crash [@ nsTextControlFrame::PreDestroy()], r+sr=bz 2008-07-12 11:26:40 +02:00
Michael Ventnor
33b9fe5f1e Bug 444237 - "Crash with -moz-box-shadow: -moz-initial on input" [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-12 03:52:32 -05:00
Doug Turner
d78266a72c Backed out changeset 27942c109154
unit test seg fault at shutdown.
2008-07-11 22:25:02 -07:00
Doug Turner
2005d15cc0 Initial implementation of Gelocation. Bug 437948. Relanded after fixing memory leaks 2008-07-11 18:35:03 -07:00
Boris Zbarsky
08b2582c2c Bug 444838. Correctly stringify all tokens instead of asserting on some. r+sr=dbaron 2008-07-11 18:49:46 -04:00
Boris Zbarsky
f98d5014e5 Bug 431770. Make sure to start/end a frame constructor update when reconstructing frames. r+sr=dbaron 2008-07-11 17:15:11 -04:00
Boris Zbarsky
6b004dbd8a Bug 433374. Fix bogus assert. r+sr=dbaron 2008-07-11 17:13:01 -04:00
Boris Zbarsky
e873433760 Make sure to not call Pushback(-1) on EOF error conditions. Bug 422868, r+sr=dbaron 2008-07-11 17:02:16 -04:00
Boris Zbarsky
76bf4a8d60 :root should only match the documentElement, not random nodes in
disconnected fragments.  Bug 422868, r+sr=dbaron
2008-07-11 17:01:22 -04:00
Daniel Holbert
783f0d51f8 (No code changes) Change a bunch of non-executable files in layout/ to have non-executable mode.
Filetypes changed: .cpp .gif .h .html .list .png .svg .x-ccmap .xbl .xhtml .xul
2008-07-11 11:54:06 -07:00
Ryan A. C.
40017f1b0e Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 20:34:53 +02:00
Ryan A. C.
d28cd96e68 Backed out changeset 9718a9421ee3 2008-07-11 16:30:30 +02:00
Ryan A. C.
8fa9043b87 Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 16:23:26 +02:00
Doug Turner
83738d2763 it seems we are leaking on the RLk test.
Backed out changeset ebfc2ad982f4
2008-07-10 23:38:35 -07:00
Doug Turner
ad874bf1f0 Relanding 437948. Geolocation. Fixed memory leak. r=jst. 2008-07-10 22:48:16 -07:00
Benjamin Smedberg
ca9347e54c Backed out changeset e5014dc700ad - appears to cause unit test failures in test_419731.js (windows) or focus issues (mac) but that could just be test wonkiness, but this appeared right after this commit and was mostly green before. 2008-07-10 09:36:24 -04:00
Doug Turner
9b03605052 bug 437948. inital implementation of gelocation. roughly following http://dev.w3.org/geo/api/spec-source.html. r+sr=jst 2008-07-09 20:43:38 -07:00
Mats Palmgren
7f961e93b0 Fix and re-enable reftest for bug 433700. 2008-07-09 22:25:29 +02:00
Mats Palmgren
dbee45048b Temporarily disable reftest for bug 433700 since it fails on qm-win2k3-03. 2008-07-09 19:19:37 +02:00
Mats Palmgren
0f868c4acb Reftest for bug 433700. 2008-07-09 17:43:52 +02:00
Mats Palmgren
74d77f1c3f Use the post-reflow GetUsedMargin() value when placing the legend. b=433700 r+sr=dbaron 2008-07-09 17:42:44 +02:00
Robert O'Callahan
cf7c906882 Fixing bustage 2008-07-09 20:56:02 +12:00
Masayuki Nakano
ae5cc44a87 Bug 442554 layout.word_select.eat_space_to_next_word should not change word selection method r+sr=roc 2008-07-09 17:32:24 +09:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
L. David Baron
01cd70b583 Add reftest for the nesting case in bug 424236. 2008-07-08 13:46:56 -07:00
Mats Palmgren
63055f51b5 Always paint text-decoration:blink in non-dynamic (print/preview) contexts. b=153092 r+sr=roc 2008-07-08 18:18:32 +02:00
Michael Ventnor
321e39670e Bug 439343 - "Crash [@ _moz_cairo_surface_set_device_offset ] with text-shadow, large text-indent, font-size and letter-spacing" [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=roc] 2008-07-08 00:43:00 -05:00
Karl Tomlinson
8a008f0564 Bug 435764 – crash [@ cairo_draw_with_xlib] painting windowless plugins.
Move ws_info set-up from nsObjectFrame::CallSetWindow().
Provide gfxXlibNativeRenderer::NativeDraw with Screen and Colormap.
r+sr=roc
2008-07-08 14:15:40 +12:00
Reed Loden
fc1382d409 Alphabetize layout/reftests/reftest.list and add box-shadow's reftest.list. [p=reed r+sr=roc] 2008-07-07 20:33:21 -05:00
Michael Ventnor
5e03977e53 Bug 212633 - "Add support for CSS3 box-shadow" (reftests) [p=ventnor.bugzilla@gmail.com (Michael Ventnor)] 2008-07-07 19:58:37 -05:00
Michael Ventnor
8d8eda2eae Bug 212633 - "Add support for CSS3 box-shadow" (rendering support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=roc] 2008-07-07 19:57:47 -05:00
Michael Ventnor
3a7677bb26 Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-07 19:56:52 -05:00
Mats Palmgren
24a8f7bfba Annotate the out param with [shared] and add a comment about it. b=434429 r+sr=bzbarsky 2008-07-08 02:23:04 +02:00
Karl Tomlinson
8ee8338835 missed &s in 15688:953a299d8c32 b=430450 2008-07-07 16:15:07 +12:00
Karl Tomlinson
e41086c923 Correct variable names from 15688:953a299d8c32 b=430450 2008-07-07 15:46:50 +12:00
Karl Tomlinson
9020a0cc8e Bug 430450 – vertical stripes in windowless plugins.
Snap to pixels and round dirty rect out. r+sr=roc
2008-07-07 14:49:38 +12:00
Karl Tomlinson
3fc8bd0f47 Add nsPresContext::AppUnitsToGfxUnits(const nsRect&)
b=430450 r+sr=roc
2008-07-07 14:28:24 +12:00
Jesse Ruderman
f8eb550eca Turn "running past end" assertions in nsLineBox.h into aborts (bug 443529). r+sr=dbaron. 2008-07-05 18:11:12 -07:00
Daniel Holbert
c1057f3265 comment-only typo fix: delcaration -> declaration 2008-07-03 14:28:39 -07:00
Masayuki Nakano
bcf4622ee8 Bug 436356 Bullet lists does not display correctly, works in FF 2 p=Atsushi Sakai, r+sr=roc 2008-07-03 14:49:24 +09:00
Simon Montagu
cdb351e3a9 Make :first-letter include following punctuation but not first letters that are neither letters nor digits. Bug 399941, r+sr=roc
--HG--
rename : layout/generic/punct_marks.ccmap => layout/generic/punct_marks.x-ccmap
2008-07-02 19:28:43 +03:00
L. David Baron
df1b22e4c5 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
Zack Weinberg
74a4ba6923 Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-01 20:24:36 -07:00
Johnny Stenback
f9dab07ed0 Better handling of overflowing integer values. r+sr=roc@ocallahan.org, a=beltzner@mozilla.com 2008-07-01 15:46:12 -07:00
Benjamin Smedberg
34d11c2d91 Bug 442729 - Annotate stack-only classes in layout, r+sr=roc 2008-07-01 15:16:45 -04:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
Daniel Holbert
9e9a26e25a bug 433373 - Fix clipping region when printing selections that start later in document (taking page-scaling into account). r+sr=roc 2008-06-30 13:46:23 -07:00
Johnny Stenback
ca50829d7d Fixing bug 421833. Deal better with plugin frames going away while initializing a plugin. r+sr=jonas@sicking.cc 2008-06-27 12:37:21 -07:00
Ben Turner
de0ede1dc2 Bug 435122 - "Use TraceMalloc to get stack traces of potential deadlocks". r=bsmedberg+dbaron. 2008-06-26 10:12:42 -07:00
Robert O'Callahan
3c3ddb020f Bug 344258. Make <use> honour changes to the ID-to-element map. r=longsonr,sr=mats 2008-06-26 10:41:04 +12:00
Simon Montagu
7eb12fe091 Reftest for bug 109735 2008-06-25 02:41:26 -07:00
Daniel Holbert
46e0fb27e2 Merge after backout of changeset 5bffc31ff797. 2008-06-24 11:54:22 -07:00
Daniel Holbert
86d8862d32 Backed out changeset 5bffc31ff797 (bug 433373) -- first attempt didn't handle page scaling correctly. 2008-06-24 11:53:27 -07:00
Daniel Holbert
5a71686d10 bug 433284 - Needed to reposition child views after sliding container frame during print-selection. r+sr=roc 2008-06-24 09:30:55 -07:00
Daniel Holbert
c8f369deb3 bug 433373 - Fix clipping region when printing selections that start later in document. r+sr=roc 2008-06-24 09:29:52 -07:00
Michael Ventnor
fc2e1b57c0 Bug 118308, NS_THEME_TEXTFIELD_CARET implementation (GTK), r+sr=roc 2008-06-23 11:50:52 +03:00
Michael Ventnor
18e638d642 Bug 440112, Form elements are not hidden behind overlapping parent with overflow:hidden, r+sr=roc 2008-06-23 11:30:07 +03:00
Robert O'Callahan
a26b26f96f Mark reftest as passing 2008-06-23 14:41:21 +12:00
Robert O'Callahan
efc2f0abe2 Bug 438981. The canonical 'body element' must be the first 'body' child. 2008-06-23 10:38:29 +12:00
Robert Longson
aaefd90612 Bug 438867 - rftest for SVG not rendered after html hr element. 2008-06-22 17:22:07 +01:00
Robert Longson
7fc5d658cb Bug 438867 - SVG not rendered after html hr element. r+sr=roc 2008-06-22 16:59:48 +01:00
Robert Longson
85b5603e9c Bug 434041 - text outline does not change thickness on zoom 2008-06-22 16:45:38 +01:00
Mats Palmgren
360b3ef7a6 Take left border+padding into account when calculating distance from block edge for TAB. b=430926 r+sr=roc 2008-06-20 06:39:56 +02:00
Mats Palmgren
4ab230a0c3 Crash test for bug 431738 by Jesse Ruderman<jruderman@gmail.com>. 2008-06-20 06:09:51 +02:00
Mats Palmgren
1d73573468 Protect against div-by-zero when mRowHeight is zero. b=431738 r+sr=roc 2008-06-20 06:07:37 +02:00
Mats Palmgren
86d7a7027f Use async Invalidate() to avoid crashing. b=435422 r+sr=roc 2008-06-20 04:47:59 +02:00
Mats Palmgren
cf7d7fdca9 Make the test work also with desktop theme where background color for text widgets is not white. b=435048 r=karlt 2008-06-20 02:45:05 +02:00
Simon Montagu
5e9bee9eb7 reftest for bug 439910 2008-06-19 12:36:42 +03:00
L. David Baron
b5775b09ed Mark reftest added for bug 363706 as failing. 2008-06-17 16:11:45 -07:00
L. David Baron
c9f14c4373 Merge backout of f6b609b0af6e (bug 363706). 2008-06-17 16:11:17 -07:00
L. David Baron
8030cac4e8 Backed out changeset f6b609b0af6e 2008-06-17 16:10:53 -07:00
L. David Baron
b658da721e Merge backout of 68362ba98c23 (bug 363706). 2008-06-17 16:10:41 -07:00
L. David Baron
a8f5c9c1f9 Backed out changeset 68362ba98c23 2008-06-17 16:10:17 -07:00
Eric Butler
f26f520a44 Fix crashes when using text API on a canvas context whose element doesn't have a frame, and update handling of that case to match the spec. (Bug 438695) r+sr=dbaron 2008-06-17 14:37:57 -07:00
Zack Weinberg
8368d7844f Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units. (Bug 363706) r=roc sr=dbaron 2008-06-17 14:37:56 -07:00
Zack Weinberg
c548035ff3 Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron 2008-06-17 14:37:56 -07:00
L. David Baron
87ff824652 Add basic test for bug 363706. 2008-06-17 14:37:56 -07:00
Robert O'Callahan
9ef27ae6f1 Fixing testcase 2008-06-17 13:04:18 +12:00
Robert O'Callahan
711fe3ad50 Backing out bug 421436 due to regression bug 439462 2008-06-17 10:39:30 +12:00
Simon Montagu
dfcf9f51e9 Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
roc@meekness
502a6b64d3 Automated merge with ssh://hg.mozilla.org/mozilla-central 2008-06-16 13:37:36 +12:00
Arpad Borsos
fe073d2835 Bug 407616. Clean up nsResizerFrame and add tests. r+sr=roc 2008-06-16 13:36:28 +12:00
Kai Liu
ad9edcfa7d Bug 422607: avoid unneeded pixel/twip conversions to fix bookmarks menu aligment issues, r=enndeakin, sr=roc 2008-06-15 21:26:41 -04:00
Simon Montagu
9697529693 Bug 435856: Bidi processing disabled after printing. r+sr=roc 2008-06-14 23:56:04 -07:00
Simon Montagu
e1e8fe0077 imported patch 435856 2008-06-14 23:51:00 -07:00
Robert Longson
9c1c1e8d06 Bug 437448. New-style nsSVGString (simpler and more efficient support for animated values). r+sr=roc 2008-06-14 21:01:02 +12:00
Robert O'Callahan
9915b4d25f Bug 421436. Remove hack that gives <br> 1-appunit width in standards mode; it's no longer necessary and it can cause subtle bugs. r+sr=dbaron 2008-06-14 20:48:07 +12:00
Robert O'Callahan
a1d025f6c8 Bug 438997. DoApplyRenderingChangeToTree should not invalidate SVG frames. r+sr=dbaron. 2008-06-14 20:29:41 +12:00