Commit Graph

3071 Commits

Author SHA1 Message Date
Zack Weinberg
58cf580d4a 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-07-15 14:31:36 -07:00
Zack Weinberg
2103ba64ef 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-15 14:31:36 -07:00
L. David Baron
871adc9d57 Make less restrictive assumptions about how big a 'ch' unit is relative to the line-height (assuming 4ch greater than the line height, rather than assuming 2ch is). (Bug 363706) 2008-07-15 14:31:36 -07:00
Robert O'Callahan
36e9776d0f Bug 445268. Initialize gfxRect to empty, it doesn't do it automatically. Should fix regression from bug 416305. r=longsonr,sr=mats 2008-07-15 20:49:42 +12:00
Robert O'Callahan
bfe75b2156 Bug 445081. Refactor code to use ComputeNormalizedHypotenuse ... relanding with a fix so that we don't lose precision and break SVG text mochitests. r=longsonr,sr=mats 2008-07-15 20:46:54 +12:00
Robert O'Callahan
31e9d54b71 Disabling feGaussianBlur-3.svg for investigation 2008-07-15 17:54:58 +12:00
Robert O'Callahan
f90023250c Backing out changeset 4624fef36355 (bug 445081) due to test failures on Windows and Mac 2008-07-15 16:36:19 +12:00
Robert O'Callahan
e54fbdfe86 Backing out changeset 6c8c95fcaf9b (bug 445079) due to test failure on Windows 2008-07-15 16:35:37 +12:00
Robert O'Callahan
b1f4bd2080 Bug 445079. Make filters and patterns use an offscreen surface with the ability to create an nsIRenderingContext wrapper as needed, so foreignObject works in those contexts. r=longsonr,sr=mats 2008-07-15 15:16:43 +12:00
Robert O'Callahan
3f6b07d740 Bug 445081. Factor out code to create nsSVGUtils::ComputeNormalizedHypotenuse. r=longsonr,sr=mats 2008-07-15 15:12:40 +12:00
Robert O'Callahan
90e343b2fd Bug 418201. Restrict filter processing to the dirty area. r=longsonr,sr=mats 2008-07-15 15:08:47 +12:00
Michael Ventnor
71040cae9a Bug 444925 – Crash [@ nsContextBoxBlur::BoxBlurHorizontal] with mathml:munderover and text-shadow. r+sr=roc 2008-07-14 12:35:15 +02:00
Robert O'Callahan
50dec1e8a5 Bug 416305. Part 2: Introduce image flag to indicate that all the color channel values are equal, set it for source-alpha images, and optimize Gaussian blur when the color channel values are known to be all-zero. r=longsonr,sr=mats 2008-07-14 14:49:07 +12:00
Robert O'Callahan
3594fc2a5e Bug 416305. Part 1, fixing missing file bustage 2008-07-14 13:31:34 +12:00
Robert O'Callahan
133e8872e2 Bug 416305. Part 1: restructure SVG filters to remove the image dictionary and pass Image objects along edges of the filter primtive graph; filter primitive analysis and coordination is moved to nsSVGFilterInstance. r=longsonr,sr=mats 2008-07-14 13:21:25 +12:00
L. David Baron
9569f5f6cf Skip test for 439184 since it "times out". 2008-07-13 15:56:51 -07:00
Robert O'Callahan
7e15def36c Bug 444688. Use an IsFrameOfType check instead of a frame state bit to detect whether a frame excludes ignorable whitespace children. r+sr=dbaronlayout 2008-07-14 10:41:18 +12:00
Robert O'Callahan
b00f563bfc Bug 444692. Windowless plugin frames should use frame invalidation so that generic invalidation hooks work. r+sr=dbaron 2008-07-14 10:23:04 +12:00
Robert O'Callahan
bf853288c9 Bug 444690. Scrollframes should call the superclass InvalidateInternal so that generic invalidation hooks work. r+sr=dbaron 2008-07-14 10:21:11 +12:00
Karuna (karunasagark@gmail.com)
22a214272c Bug 409331. Instead of QIing to nsBlockFrame in various places, call an nsLayoutUtils method to do it. r+sr=roc 2008-07-14 10:10:23 +12:00
Robert O'Callahan
042de9c4e3 Bug 367246. When the scrolled frame's width exceeds its available width (because its padding alone is greater than the available width) and the direction is RTL, the scrolled frame should be positioned with its right edge at the right edge of the scrollport. r+sr=dbaron 2008-07-14 09:50:35 +12:00
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
Robert O'Callahan
5cc4ce74b7 Bug 439004. Check whether there's logically empty content already placed on the line instead of just checking whether the line has advanced horizontally. r+sr=dbaron. 2008-06-14 20:28:07 +12:00
Arpad Borsos
5fb8e731dc Bug 416509. Don't cache 'repeat' attribute in nsAutoRepeatBoxFrame, simplifies code. r+sr=roc. 2008-06-13 10:09:28 +12:00
Michael Ventnor
7e868a56e1 Implement text-shadow rendering (bug 10713). r+sr=roc. Relanding with fixes to make tests pass on Mac 2008-06-13 10:02:32 +12:00
Robert O'Callahan
0d43ab00f1 Backing out text-shadow due to Mac issues 2008-06-12 17:40:56 +12:00
Robert O'Callahan
e5446ca622 Backing out text-shadow due to Mac issues 2008-06-12 17:33:08 +12:00
Robert O'Callahan
6382ad7c40 Backing out text-shadow due to Mac issues 2008-06-12 17:32:31 +12:00
L. David Baron
b985a9084a Add some reftests for z-ordering of text-decorations. 2008-06-11 21:54:13 -07:00
Michael Ventnor
ffafa1a250 text-shadow tests (bug 10713) 2008-06-12 14:39:36 +12:00
Michael Ventnor
480a40574d Implement text-shadow rendering. 2008-06-12 14:34:40 +12:00
Robert O'Callahan
b23c80d5f5 Bug 402509. Simplify Thebes-using logic in nsDisplayOpacity::Paint. r+sr=vlad 2008-06-11 12:37:11 +12:00
Elika J. Etemad (fantasai) ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
3c5629d317 Make empty string in ^= $= *= attribute selectors match nothing (and check for ~= although it already works). (Bug 420245) r+sr=dbaron (tests) 2008-06-10 17:27:00 -07:00
Michael Ventnor
e408c9ec6d Make empty string in ^= $= *= attribute selectors match nothing (and check for ~= although it already works). (Bug 420245) r+sr=dbaron 2008-06-10 17:27:00 -07:00
L. David Baron
a20d5c2d5a Count U+000C as a whitespace character for separating class attributes. (Bug 437915) r=bzbarsky sr=sicking 2008-06-10 17:27:00 -07:00
L. David Baron
0f7580e2bf Don't restyle slow selectors for changes to native anonymous content. (Bug 436453) r+sr=bzbarsky 2008-06-10 17:26:59 -07:00
Robert O'Callahan
446ada92bc Allow floats to be placed on the current line even after nonzero-width inline content has been placed. Fixes an Acid3 layout bug. r+sr=dbaron 2008-06-11 11:53:22 +12:00
Robert O'Callahan
0e22f1c6a3 Remove unused virtual functions. r+sr=tor 2008-06-11 11:50:49 +12:00
Eric Butler
c0d334f20b Canvas text spec implementation (bug 436904) 2008-06-10 16:16:59 -07:00
L. David Baron
ed7aeb1742 Make top and bottom values of vertical-align align the subtree rather than the element itself. (Bug 118501) r+sr=roc 2008-06-06 09:26:58 -07:00
L. David Baron
74ccc4156f Use PlaceTopBottomFrames for the children of the root span, too. (Bug 118501) r+sr=roc 2008-06-06 09:26:58 -07:00
L. David Baron
3da1e57e70 Don't make our anonymous blocks that wrap blocks inside inlines be containing blocks so that we get the right containing block direction per the CSS spec. (Bug 423306) r+sr=roc 2008-06-05 16:06:34 -07:00
L. David Baron
3b97746336 Remove unneeded (and not present in the proposed CSS3 float-displace property) border-box and padding-box values of -moz-float-edge. (Bug 432891) r+sr=roc 2008-06-05 16:06:34 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
171196af8b Implement the computed value of text-shadow in the style system. (Bug 10713) r+sr=dbaron 2008-06-05 16:06:34 -07:00
Jesse Ruderman
aa5325e1db Don't call SelectorMatches on document fragments (test). (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
L. David Baron
5a1568d3a8 Don't call SelectorMatches on document fragments. (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
Simon Montagu
bb4dfe4dbd Reftest for bug 229764 2008-06-05 04:05:25 -07:00
Vladimir Vukicevic
0b3d9b76cc b=346189, children should optionally not affect size of XUL stack; r+sr=roc 2008-06-04 23:46:24 -07:00
L. David Baron
9ec5808082 Mark reftest added for bug 433640 as failing on Mac, due to bug 379317. 2008-06-03 18:15:05 -07:00
L. David Baron
59a77787e6 Merge backout of changeset cf005233ebad (text-shadow style system changes) due to mochitest crash on Windows (which I can reproduce on Windows). 2008-06-03 16:42:56 -07:00
L. David Baron
a7d8670d1d Backed out changeset cf005233ebad (text-shadow style system changes) due to mochitest crash on Windows (which I can reproduce on Windows). 2008-06-03 16:42:13 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
752ec1f3fa Implement the computed value of text-shadow in the style system. b=10713 r+sr=dbaron 2008-06-03 15:25:31 -07:00
L. David Baron
89077a365d Snap background origin and clip areas to device pixels to prevent tiling from varying for subpixel position changes that don't change the box's visible position at all. Tests by roc (433640-*) and me (background-image-tiling-*). b=433640 r+sr=roc 2008-06-03 15:25:31 -07:00
L. David Baron
2911011914 Remove no-longer-needed else clauses, and make the *IsExact members DEBUG-only. b=419076 r+sr=bzbarsky 2008-06-03 15:25:31 -07:00
L. David Baron
6ce40d4252 Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc 2008-06-03 15:25:31 -07:00
L. David Baron
65434311b9 Allow the initial value of -moz-user-select to be specified with 'auto'. b=432888 r+sr=bzbarsky 2008-06-03 15:25:31 -07:00
L. David Baron
3c90f5b30e Implement :first-of-type, :last-of-type, and :only-of-type. b=128585 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
Daniel Glazman ext:(%20and%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
15d0bac2c3 Implement :nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
7c41e65422 Make nsPseudoClassList capable of storing integer pairs for :nth-*(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
53f51289fe Rename nsAtomStringList to nsPseudoClassList, since that's what it's for, and we want to make it more than just atoms and strings. Also remove an unused constructor. b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
Jeff Walden
6773debbac Bug 421576 - Unpaired surrogate handled wrongly (Acid3 #68). acid3++ r=dbaron 2008-06-02 21:29:00 -04:00
Zachary Weinberg
87ef6c4a53 Fix typo. r=dbaron 2008-06-02 15:52:25 -07:00
L. David Baron
8a92bdecfb Make outlines on inlines containing blocks outline the blocks. b=424236,270191 r+sr=roc 2008-06-02 15:52:25 -07:00
L. David Baron
23d4d9af06 Add reftests for bug 399636. 2008-06-02 15:52:25 -07:00
Benjamin Smedberg
3ea5b08766 Merge cvs-trunk-mirror to mozilla-central up through FF3RC2build2
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
2008-05-30 12:08:47 -04:00
roc+@cs.cmu.edu
45ac0e7ce6 Bug 398332. Merge reflow statuses from out-of-flow frames more carefully so that we don't lose information about the primary reflow. r=fantasai,r+sr=dbaron,a=shaver 2008-05-28 06:39:41 -07:00
roc+@cs.cmu.edu
271ffda39a Bug 433727. Make DocumentViewerImpl::GetFullZoom work when there's no presentation. r+sr=bzbarsky,a=beltzner 2008-05-26 15:03:11 -07:00
masayuki@d-toybox.com
c4c384f1cc b=433340 backing out for linux test failure 2008-05-23 04:41:04 -07:00
masayuki@d-toybox.com
ea12641ca1 Bug 433340 bookmark dialog covers candidate window when using IMEr=enndeakin, sr=neil, a=mtschrep 2008-05-22 21:47:24 -07:00
dholbert@cs.stanford.edu
bb0a25c1ab Bug 432954: disable reftest 413292-1.html on mac; r=roc 2008-05-14 16:31:28 -07:00
Vladimir Vukicevic
fcccf788ee b=432954, disable reftest 413292-1.html; r=roc 2008-05-13 11:42:18 -07:00
Vladimir Vukicevic
d2d15ec07a b=432288, mozilla-central win32 build failing reftest 429849-1.html; r=roc 2008-05-13 11:42:16 -07:00
jorendorff@mozilla.com
9b5032bfde Merge from cvs-trunk-mirror to mozilla-central. 2008-05-13 09:57:11 -05:00
Vladimir Vukicevic
18d8d853a1 b=432298, reftest unexpected pass, svg/opacity-and-gradient-01.svg on cocoa; r=dbaron 2008-05-12 17:05:49 -07:00
reed@reedloden.com
36791e9cf4 Bug 431309 - "Vista toolbar styles should have a -moz-win- prefix" (using the -moz-win- prefix) [p=kliu@mozilla.kailiu.com (Kai Liu) r+sr=roc a1.9=beltzner] 2008-05-08 02:29:38 -07:00
jst@mozilla.org
41cc75cf2e Fixing bug 430802 (and bug 405357). Prevent plugin instantiation code re-entrancy. r=jwatt@jwatt.org, sr=bzbarsky@mit.edu, a=beltzner 2008-05-06 13:49:30 -07:00
dbaron@dbaron.org
31fad3f842 Compute widths for replaced block clearing past floats once we're at the correct vertical position. b=430813 r+sr=roc a=schrep 2008-05-03 16:33:36 -07:00
nick.kreeger@park.edu
0dabf3baae Fixing bug 431606, content drop-down menus should appear with the parent menu. r=enndeakin, sr=roc, approval1.9=beltzner 2008-05-02 12:30:03 -07:00
gavin@gavinsharp.com
87340c1304 Bug 427045: Pull out correct toolbar colors in Vista themes (land hunk that was forgotten during the initial landing), patch by wesley-johnston@uiowa.edu, r=vlad, sr=roc, a=beltzner 2008-05-01 20:50:03 -07:00
dbaron@dbaron.org
f7b9b7673b Fix extra block-clearing caused by margins on tables. b=430813 r+sr=roc a=damon 2008-05-01 08:14:36 -07:00
dholbert@cs.stanford.edu
20b60d64ac Bug 430389: Use correct clip-rect to prevent multipage print-selection output from streaming off of page boundaries. r+sr=roc a=damons 2008-04-30 23:32:25 -07:00
dholbert@cs.stanford.edu
25c2be591e But 431587: Use zoom-ratio when computing number of needed pages during print-selection. r+sr=roc a=damons 2008-04-30 23:31:17 -07:00
dolske@mozilla.com
0934de61be Decreasing reftest timeout back to 10 seconds, now that bug 425987 (image reftest fails occasionally on test boxes) is fixed. 2008-04-30 16:37:07 -07:00
gavin@gavinsharp.com
8030141361 Bug 429849: marquee text not on one line , part of this line on top and second part on bottom, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc, a=damon 2008-04-30 10:09:09 -07:00
gavin@gavinsharp.com
29184ef30a Bug 430785: Caret not visible with right-clicking on a text input, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc, a=damon 2008-04-30 09:54:16 -07:00
roc+@cs.cmu.edu
471e1a5027 Bug 409427. Don't slide popups up if they're offscreen, flip them up above the anchor point instead. r=enndeakin,sr=neil,a=damon 2008-04-29 18:41:56 -07:00
dolske@mozilla.com
ed93549612 Bug 431435 - reftests should report the slowest test. r=dbaron 2008-04-29 17:39:45 -07:00
dolske@mozilla.com
7835ee45d7 Bump reftest timeout *again*, as some boxes are still timeing out. (bug 425987, wallpaper exceeding structural limits, captain!) 2008-04-29 14:01:22 -07:00
gavin@gavinsharp.com
651c262512 Bug 427045: Pull out correct toolbar colors in Vista themes, patch by wesley-johnston@uiowa.edu, r=vlad, sr=roc, a=beltzner 2008-04-29 12:27:23 -07:00
dholbert@cs.stanford.edu
c3164c68e9 Bug 430748: In print-selection, crop out selection regions that are before the top of the first page. (e.g. initial whitespace) r+sr=roc a=beltzner 2008-04-29 11:16:49 -07:00
vladimir@pobox.com
f314638be2 b=431081; native selection box frame missing in fx3 - vista content only; r+sr=roc,a=beltzner 2008-04-28 20:55:07 -07:00
dolske@mozilla.com
8cb76bb731 Increasing reftest timeout to 120 seconds, because Linux boxes are perma-orange. Tracking in bug 425987. 2008-04-28 16:53:16 -07:00
dholbert@cs.stanford.edu
f931f25d4d Bug 430878: Call PositionChildViews after sliding selection to top of page, to fix mispositioned scrollframes in print selection. r+sr=roc a=dsicore 2008-04-28 15:55:04 -07:00
mats.palmgren@bredband.net
0139c4c667 Wallpaper a crash. b=430814 r=bernd sr=roc a1.9=mconnor 2008-04-27 14:10:23 -07:00
jruderman@hmc.edu
fb58175abd Add crashtest 2008-04-27 00:15:54 -07:00
vladimir@pobox.com
8060fa43fc mark test as not failing on mac 2008-04-25 17:05:51 -07:00
vladimir@pobox.com
b58a1af929 b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner 2008-04-25 16:12:45 -07:00
Olli.Pettay@helsinki.fi
2e5ae015ff backout Bug 430465 2008-04-25 04:31:13 -07:00
roc+@cs.cmu.edu
471d67b7c4 Fixing bustage 2008-04-25 03:17:12 -07:00
roc+@cs.cmu.edu
914869aff7 Bug 430465. Don't round source coordinates in the tiled-image-drawing path. r=vlad,a=beltzner 2008-04-25 02:40:04 -07:00
gavin@gavinsharp.com
807c0a104b Bug 429020: Scrollbars jump when being clicked and held to scroll down page, patch by Markus Stange <mstange@themasta.com>, r+sr=roc, a=beltzner 2008-04-24 17:25:15 -07:00