Commit Graph

3131 Commits

Author SHA1 Message Date
Robert O'Callahan
cb0cabc5be Bug 431341. Include floating first-letter text when we build textruns for a paragraph, because we want nsLineBreaker to see the text for capitalization analysis. Make sure that textrun construction for floating first-letter text uses the block as its scope. And make sure we reconstruct textruns after determining the first-letter length, so that ligatures are broken as necessary. r=smontagu 2008-07-29 22:11:26 -07:00
Robert O'Callahan
d7dcf6eeb2 Bug 419285. nsCSSFrameConstructor should stop looking for first-letter content after a <br>. r+sr=dbaron 2008-07-29 22:02:00 -07:00
Chris Double
04f0124c61 Bug 447639. Update <video> and <audio> elements for spec changes, and add tests. r+sr=roc 2008-07-29 21:55:27 -07:00
Boris Zbarsky
46b8af8b1f Bug 431520 followup. Actually return a value! 2008-07-29 01:17:28 -07:00
Boris Zbarsky
cdd7ce070b Bug 431520. Don't do first-line styling on fieldsets, because it confuses the legend code, and it's not clear what it should even do. r+sr=dbaron 2008-07-28 23:08:57 -07:00
Boris Zbarsky
36ff184856 Bug 430356. Don't return negative pref and min intrinsic widths for XUL boxes/ r+sr=dbaron 2008-07-28 23:07:28 -07:00
Ian Neal
2cc0239904 Bug 447776 – Hang with word-wrap: break-word and width: 0px
with testcase and crashtests
p=smontagu r/sr=roc
2008-07-27 17:43:07 +01:00
Markus Stange
0666167109 Bug 446463 - DrawWidgetBackground can't snap to pixels properly, remove translation. r+sr=roc. 2008-07-27 18:08:51 +02:00
L. David Baron
17cd72dbc6 Merge Quotes and CounterData storage types into ValuePairList. (Bug 322475) r+sr=bzbarsky 2008-08-04 15:15:11 -07:00
L. David Baron
10550d9783 Oops, used the wrong todo function. 2008-07-26 12:56:49 -07:00
L. David Baron
1b8a316bcf Mark two test items as known to fail on Windows; failure filed as bug 448132. 2008-07-26 10:58:24 -07:00
L. David Baron
c5235e21f2 Fix a bunch of issues relating to dynamic changes of border images. (Bug 445810) r=robarnold sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
080104f972 Handle effects of medium feature changes on XBL style sheets. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
32887daf7c Fold DoParseMediaList into ParseMediaList, since it is no longer necessary now that we don't do special parsing for media lists in HTML. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
65e07556a4 Tests for css3-mediaqueries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
4eda4573f0 Fix media queries calculation of screen size for at least multi-monitor mirroring cases (where test_media_queries fails). (Bug 156716) r+sr=roc 2008-07-26 09:14:49 -07:00
L. David Baron
07bbfcbe0b Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
b2fc2a6576 Implement media queries, part 3: infrastructure for dynamic change handling at the rule processor and style set level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
e513131988 Remove pointless null checks that are extremely unlikely to fail. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
f710c3519e Implement Media Queries, part 2: infrastructure for dynamic change handling at the rule cascade and style sheet level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
10045a5167 Implement Media Queries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
72ddca652d Make ParsePositiveVariant restrict integers too, which affects existing call for -moz-column-count. (Bug 156716) r=bzbarsky sr=roc 2008-07-26 09:14:48 -07:00
L. David Baron
cdddadd3f6 Don't do special parsing for media lists in HTML: match parentheses, even across commas, and allow media queries through. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
Robert O'Callahan
bfec0e91fa Backing out bug 431341 2008-07-25 00:33:05 +12:00
Simon Montagu
225198054d Mark failing tests as random 2008-07-24 12:28:22 +03:00
Robert O'Callahan
bf65b988d8 Bug 431341. Let textrun construction descend into first-letter frames so that the correct capitalization state is constructed in nsLineBreaker. r=smontagu 2008-07-24 20:39:53 +12:00
Simon Montagu
0dd0a7f5ba Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Vladimir Vukicevic
c0c3d63433 b=424423; border rendering is slow: Part 2; r+sr=roc 2008-07-23 10:25:51 -07:00
Vladimir Vukicevic
249ff0de3c b=424423, border rendering is slow: Part 1; r+sr=roc 2008-07-23 10:25:23 -07:00
L. David Baron
addab50588 Don't restyle slow selectors for changes to anonymous content (non-native-anonymous). (Bug 436453) r+sr=bzbarsky 2008-07-22 21:50:20 -07:00
L. David Baron
2c2f6ed495 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
roc@localhost
2b1f9eed61 Bug 445297. Optimize filters so that changes to the source image don't have to repaint the entire filter. r=longsonr,sr=mats 2008-07-23 14:15:27 +12:00
Michael Ventnor
5ea87b436f Bug 446273: Column rule does not always stretch the full height of the column box. r+sr=roc 2008-07-21 23:16:06 -07:00
Boris Zbarsky
4c507815b8 Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
Karl Tomlinson
51e965223e Clip the dirty rect to ensure it's within the X11 drawable. b=445707 r+sr=roc 2008-07-21 20:40:41 +12:00
Karl Tomlinson
59302b51ac non-spacing marks in munder are off center or too long. b=428863 r+sr=roc 2008-07-21 19:32:46 +12:00
L. David Baron
a8ab4310a8 Add bug number (446226) for todo tests from bug 325064. 2008-07-19 16:03:45 -07:00
Zack Weinberg
a92b3b3f9f Change CSS parser to close constructs open at end-of-file by changing ExpectSymbol not to fail on EOF when expecting one of }, ), ], or ;. (Bug 325064) r+sr=dbaron 2008-07-19 15:52:09 -07:00
Ted Mielczarek
a29f03503e bug 420324 - reftest should show progress in titlebar. r=dbaron 2008-07-19 16:54:47 -04:00
Michael Ventnor
8aeed81515 Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron 2008-07-19 12:38:25 +02:00
L. David Baron
c26a7caa30 Fix spelling mistakes (to trigger unit test cycle). 2008-07-18 22:32:50 -07:00
Kai Liu
1dc4109902 Incorrect display of right-to-left menus in Vista - bug 403458 r+sr=vlad 2008-07-18 13:55:25 -07:00
Eric Butler
0814facc93 Canvas routines draw right-to-left text backwards - bug 402276 r=smontagu sr=roc 2008-07-18 11:29:06 -07:00
L. David Baron
fe7bc248a8 Add bug number for failing reftests from bug 378217 landing. 2008-07-17 19:26:55 -07:00
Zack Weinberg
3197060cbd Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron 2008-07-17 16:37:12 -07:00
L. David Baron
b86e94a100 Fix generation of precompiled cmaps on 64-bit platforms to match what the code expects. (Bug 445626) r=smontagu 2008-07-17 16:37:12 -07:00
Boris Zbarsky
3af92ec386 Bug 430352. Use the same border throughout. r+sr=roc 2008-07-17 09:32:49 -04:00
Alexander Surkov
92240ca1b2 bug 345759 - Spell as you type not accessible, r=aaronlev, r=Olli.Pettay, sr=neil 2008-07-17 14:06:24 +02:00
L. David Baron
fedd25d181 Mark two reftests as failing on Mac. 2008-07-17 00:56:50 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Bernd
8346cb9495 limit mathml row- and colspans as we do for html bug 443089 r/sr=bzbarsky 2008-07-16 17:02:18 +02:00
Simon Montagu
3560bc234d Mark the reftest random (apparently the same failure as the other soft-hyphens tests) 2008-07-16 15:34:26 +03:00
John Daniels
ef0fee1d70 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Simon Montagu
bee056fffa Fix for reftest for bug 444656 2008-07-16 12:52:20 +03:00
Simon Montagu
6b742c3574 Position soft hyphens correctly in right-to-left text. Bug 444656, r+sr=roc 2008-07-16 11:43:39 +03:00
Nick Thomas
baa436a0af Bug 443090 - Unify unittest failures (reftest part) p=ted.mielczarek, r=dbaron 2008-07-16 17:47:12 +12:00
Doug Turner
a80ad2cbd6 Inital geolocation implementation. bug=437948, r/sr=jst 2008-07-15 16:37:48 -07:00
Andrew Smith
d6a20cf1de Add comment about running reftests in an non-DEBUG build. (Bug 378217) r=dbaron 2008-07-15 14:49:15 -07:00
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