Граф коммитов

25437 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron 8bb9ced0a9 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 c2d848d861 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 e7467eb1bb 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 1c6338b137 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 4fec0ad28a Implement Media Queries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron 82adb15ba7 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 6a6181979e 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 0ad9457fe8 Backing out bug 431341 2008-07-25 00:33:05 +12:00
Simon Montagu 1ea7b2b5a1 Mark failing tests as random 2008-07-24 12:28:22 +03:00
Robert O'Callahan 8489f37ccf 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 bea0dc035f Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Vladimir Vukicevic f39321a2e7 b=424423; border rendering is slow: Part 2; r+sr=roc 2008-07-23 10:25:51 -07:00
Vladimir Vukicevic 7e4726efea b=424423, border rendering is slow: Part 1; r+sr=roc 2008-07-23 10:25:23 -07:00
L. David Baron 90e6c55cdd 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 957c98a91c 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 52778b0976 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 ca24a1f7de 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 36737bec68 Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
Karl Tomlinson e7f111940b 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 6332ab76fe 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 7a703bd427 Add bug number (446226) for todo tests from bug 325064. 2008-07-19 16:03:45 -07:00
Zack Weinberg 15d993c3bc 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 85c62f3584 bug 420324 - reftest should show progress in titlebar. r=dbaron 2008-07-19 16:54:47 -04:00
Michael Ventnor b949d03145 Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron 2008-07-19 12:38:25 +02:00
L. David Baron eb0e9168e7 Fix spelling mistakes (to trigger unit test cycle). 2008-07-18 22:32:50 -07:00
Kai Liu 5df90e6377 Incorrect display of right-to-left menus in Vista - bug 403458 r+sr=vlad 2008-07-18 13:55:25 -07:00
Eric Butler 2ea299dbb9 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 6115935cf1 Add bug number for failing reftests from bug 378217 landing. 2008-07-17 19:26:55 -07:00
Zack Weinberg d8e5c0aeb0 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 2cf6d4a1cd 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 842584d874 Bug 430352. Use the same border throughout. r+sr=roc 2008-07-17 09:32:49 -04:00
Alexander Surkov 4cae867614 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 6891fc16c1 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) d47b357e6b Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron c4b7e273e8 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) 8db48a0ff1 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Bernd c4f2628210 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 f13e13558e Mark the reftest random (apparently the same failure as the other soft-hyphens tests) 2008-07-16 15:34:26 +03:00
John Daniels e0bca1e0bb Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Simon Montagu 262689493e Fix for reftest for bug 444656 2008-07-16 12:52:20 +03:00
Simon Montagu d5296c5945 Position soft hyphens correctly in right-to-left text. Bug 444656, r+sr=roc 2008-07-16 11:43:39 +03:00
Nick Thomas 97e0232bf7 Bug 443090 - Unify unittest failures (reftest part) p=ted.mielczarek, r=dbaron 2008-07-16 17:47:12 +12:00
Doug Turner 11cce8d763 Inital geolocation implementation. bug=437948, r/sr=jst 2008-07-15 16:37:48 -07:00
Andrew Smith 8eb636bdc2 Add comment about running reftests in an non-DEBUG build. (Bug 378217) r=dbaron 2008-07-15 14:49:15 -07:00
Zack Weinberg 8fba51852e 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 01e9da611d 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 2545f37591 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 4a0b4dda75 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 0096ee5cd3 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 f4d34851a4 Disabling feGaussianBlur-3.svg for investigation 2008-07-15 17:54:58 +12:00
Robert O'Callahan c571e4d088 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 40aa3dc1ba Backing out changeset 6c8c95fcaf9b (bug 445079) due to test failure on Windows 2008-07-15 16:35:37 +12:00
Robert O'Callahan d527956664 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 f1de0513d7 Bug 445081. Factor out code to create nsSVGUtils::ComputeNormalizedHypotenuse. r=longsonr,sr=mats 2008-07-15 15:12:40 +12:00
Robert O'Callahan 23786ab74f Bug 418201. Restrict filter processing to the dirty area. r=longsonr,sr=mats 2008-07-15 15:08:47 +12:00
Michael Ventnor c50e8a4b84 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 9be5ab7d92 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 a1e1819521 Bug 416305. Part 1, fixing missing file bustage 2008-07-14 13:31:34 +12:00
Robert O'Callahan a5e76eeb79 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 51419bdce4 Skip test for 439184 since it "times out". 2008-07-13 15:56:51 -07:00
Robert O'Callahan 51357ace04 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 ceebbd23ee 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 176ea78f7a 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) f47a69b4b6 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 f1e6859351 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 d74fc3cc67 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 6abe5617a7 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 a955d915f9 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 aaa4924ee1 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 322bc2e0fb Bug 409383 - Enable reftests for dynamic changes to switch children. r=jwatt,sr=roc 2008-07-13 16:09:37 +01:00
Robert Longson 78ab64ebab 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 4afb375b5d Bug 438679 – Remove some duplicate reftest manifest entries. r=dbaron 2008-07-12 12:49:58 +02:00
Reed Loden 55fc9028e1 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] 55183bb345 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) da9ae3fa90 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 9380a26ceb Remove unimplemented DumpContentToPPM() member (bug 379015 leftover). r+sr=roc 2008-07-12 12:21:38 +02:00
arno ad565974cd 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 09626199c3 Bug 444466 – Crash [@ nsTextControlFrame::PreDestroy()], r+sr=bz 2008-07-12 11:26:40 +02:00
Michael Ventnor 3c9976e88a 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 713a35c2bd Backed out changeset 27942c109154
unit test seg fault at shutdown.
2008-07-11 22:25:02 -07:00
Doug Turner c2e79695dd Initial implementation of Gelocation. Bug 437948. Relanded after fixing memory leaks 2008-07-11 18:35:03 -07:00
Boris Zbarsky 8114e324a8 Bug 444838. Correctly stringify all tokens instead of asserting on some. r+sr=dbaron 2008-07-11 18:49:46 -04:00
Boris Zbarsky 306a0a18a1 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 284ce029e2 Bug 433374. Fix bogus assert. r+sr=dbaron 2008-07-11 17:13:01 -04:00
Boris Zbarsky 1901551a14 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 c17284e0a1 :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 cc55fcd489 (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 2937c55a74 Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 20:34:53 +02:00
Ryan A. C 8ecf35b1c8 Backed out changeset 9718a9421ee3 2008-07-11 16:30:30 +02:00
Ryan A. C 6303245251 Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 16:23:26 +02:00
Doug Turner cd05098cc1 it seems we are leaking on the RLk test.
Backed out changeset ebfc2ad982f4
2008-07-10 23:38:35 -07:00
Doug Turner 183ada088d Relanding 437948. Geolocation. Fixed memory leak. r=jst. 2008-07-10 22:48:16 -07:00
Benjamin Smedberg 416863e848 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 aaf6e53e0b 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 2d3dc819ea Fix and re-enable reftest for bug 433700. 2008-07-09 22:25:29 +02:00
Mats Palmgren d463e40550 Temporarily disable reftest for bug 433700 since it fails on qm-win2k3-03. 2008-07-09 19:19:37 +02:00
Mats Palmgren 600cea1a96 Reftest for bug 433700. 2008-07-09 17:43:52 +02:00
Mats Palmgren 69e75dde71 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 cb0b1a7b00 Fixing bustage 2008-07-09 20:56:02 +12:00
Masayuki Nakano 04d12ebaef 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 cdd819182f 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 124e737654 Add reftest for the nesting case in bug 424236. 2008-07-08 13:46:56 -07:00
Mats Palmgren 96112eabe5 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 77594807f8 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 7e653cf6b0 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 e0bfd19156 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 cf434eb0e0 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 d27090aa59 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 1190bfd2d8 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 7121c59739 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 591a12a206 missed &s in 15688:953a299d8c32 b=430450 2008-07-07 16:15:07 +12:00
Karl Tomlinson 2e36bd7142 Correct variable names from 15688:953a299d8c32 b=430450 2008-07-07 15:46:50 +12:00
Karl Tomlinson 97d7e0a66f 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 7eb29eb768 Add nsPresContext::AppUnitsToGfxUnits(const nsRect&)
b=430450 r+sr=roc
2008-07-07 14:28:24 +12:00
Jesse Ruderman e6ae905711 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 67933baadb comment-only typo fix: delcaration -> declaration 2008-07-03 14:28:39 -07:00
Masayuki Nakano ad3644255c 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 a96bbf2309 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 a8e590e3cb Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
Zack Weinberg 6dfe3bef4e 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 55f765ed49 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 b977ca4f77 Bug 442729 - Annotate stack-only classes in layout, r+sr=roc 2008-07-01 15:16:45 -04:00
Benjamin Smedberg 25f41414e8 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 d4f1666b58 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 c67fff99fc 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 18c01b2b72 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 70265557e3 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 9e6d8424c2 Reftest for bug 109735 2008-06-25 02:41:26 -07:00
Daniel Holbert c53f7f66b8 Merge after backout of changeset 5bffc31ff797. 2008-06-24 11:54:22 -07:00
Daniel Holbert d2d8a4e1a4 Backed out changeset 5bffc31ff797 (bug 433373) -- first attempt didn't handle page scaling correctly. 2008-06-24 11:53:27 -07:00
Daniel Holbert 5dc0e2ee43 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 cd653bf441 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 f6a38ccad6 Bug 118308, NS_THEME_TEXTFIELD_CARET implementation (GTK), r+sr=roc 2008-06-23 11:50:52 +03:00
Michael Ventnor c60ded03d2 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 218618e099 Mark reftest as passing 2008-06-23 14:41:21 +12:00
Robert O'Callahan 4b99555a37 Bug 438981. The canonical 'body element' must be the first 'body' child. 2008-06-23 10:38:29 +12:00
Robert Longson 2a6b125645 Bug 438867 - rftest for SVG not rendered after html hr element. 2008-06-22 17:22:07 +01:00
Robert Longson 3c17808a8e Bug 438867 - SVG not rendered after html hr element. r+sr=roc 2008-06-22 16:59:48 +01:00
Robert Longson 0e3d45e1cc Bug 434041 - text outline does not change thickness on zoom 2008-06-22 16:45:38 +01:00
Mats Palmgren 81eeeade44 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 df8016e187 Crash test for bug 431738 by Jesse Ruderman<jruderman@gmail.com>. 2008-06-20 06:09:51 +02:00
Mats Palmgren da5b4abca2 Protect against div-by-zero when mRowHeight is zero. b=431738 r+sr=roc 2008-06-20 06:07:37 +02:00
Mats Palmgren 28b9f03b81 Use async Invalidate() to avoid crashing. b=435422 r+sr=roc 2008-06-20 04:47:59 +02:00
Mats Palmgren 0a8092a0b3 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 9a1323f4dc reftest for bug 439910 2008-06-19 12:36:42 +03:00
L. David Baron 851493a56b Mark reftest added for bug 363706 as failing. 2008-06-17 16:11:45 -07:00
L. David Baron 05f0b7f873 Merge backout of f6b609b0af6e (bug 363706). 2008-06-17 16:11:17 -07:00
L. David Baron eb45946f65 Backed out changeset f6b609b0af6e 2008-06-17 16:10:53 -07:00
L. David Baron 6c15af52ef Merge backout of 68362ba98c23 (bug 363706). 2008-06-17 16:10:41 -07:00
L. David Baron 0152516a31 Backed out changeset 68362ba98c23 2008-06-17 16:10:17 -07:00
Eric Butler 4f35767ac8 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 384341ec0e 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 c890f24551 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 9b3222f7a0 Add basic test for bug 363706. 2008-06-17 14:37:56 -07:00
Robert O'Callahan 41fe5283f7 Fixing testcase 2008-06-17 13:04:18 +12:00
Robert O'Callahan 27d74c4b83 Backing out bug 421436 due to regression bug 439462 2008-06-17 10:39:30 +12:00
Simon Montagu a1b1cbdae8 Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
roc@meekness bbdb08672f Automated merge with ssh://hg.mozilla.org/mozilla-central 2008-06-16 13:37:36 +12:00
Arpad Borsos 6fdb435ac0 Bug 407616. Clean up nsResizerFrame and add tests. r+sr=roc 2008-06-16 13:36:28 +12:00
Kai Liu 364566a127 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 ecb7260656 Bug 435856: Bidi processing disabled after printing. r+sr=roc 2008-06-14 23:56:04 -07:00
Simon Montagu c4a4a71758 imported patch 435856 2008-06-14 23:51:00 -07:00
Robert Longson 5256877872 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 f6e9dd5432 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 ebd8e6273d Bug 438997. DoApplyRenderingChangeToTree should not invalidate SVG frames. r+sr=dbaron. 2008-06-14 20:29:41 +12:00
Robert O'Callahan 849b8d073a 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 d82770b939 Bug 416509. Don't cache 'repeat' attribute in nsAutoRepeatBoxFrame, simplifies code. r+sr=roc. 2008-06-13 10:09:28 +12:00
Michael Ventnor 1e4da8126c 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 08c2b5ab66 Backing out text-shadow due to Mac issues 2008-06-12 17:40:56 +12:00
Robert O'Callahan 9d92b74d5b Backing out text-shadow due to Mac issues 2008-06-12 17:33:08 +12:00
Robert O'Callahan 272b8366fa Backing out text-shadow due to Mac issues 2008-06-12 17:32:31 +12:00
L. David Baron b9a5aa65c0 Add some reftests for z-ordering of text-decorations. 2008-06-11 21:54:13 -07:00
Michael Ventnor eee236184c text-shadow tests (bug 10713) 2008-06-12 14:39:36 +12:00
Michael Ventnor d4ca609423 Implement text-shadow rendering. 2008-06-12 14:34:40 +12:00
Robert O'Callahan ec40ccfe11 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) 1eda84edb5 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 3cf1479a92 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 f22aac5075 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 862294af46 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 b85deb2cf9 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 57caa6efc1 Remove unused virtual functions. r+sr=tor 2008-06-11 11:50:49 +12:00
Eric Butler d0ccff68c6 Canvas text spec implementation (bug 436904) 2008-06-10 16:16:59 -07:00
L. David Baron 0429dc9698 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 e5a556de12 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 1d1988dda9 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 748d4c8a4a 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) 12a729c038 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 2c15c3cfd5 Don't call SelectorMatches on document fragments (test). (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
L. David Baron 8aaec8fb44 Don't call SelectorMatches on document fragments. (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
Simon Montagu 7db00d7cb1 Reftest for bug 229764 2008-06-05 04:05:25 -07:00
Vladimir Vukicevic 21a7b6f110 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 1a897634db 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 355e9c0144 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 6538aa866e 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) cadf7527b8 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 13a717e3a5 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 6c561c923d 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 29df669db1 Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc 2008-06-03 15:25:31 -07:00
L. David Baron 427848e627 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 0cfc4b2ded Implement :first-of-type, :last-of-type, and :only-of-type. b=128585 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00