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

201 Коммитов

Автор SHA1 Сообщение Дата
roc+@cs.cmu.edu e498128ef2 Bug 408749. Use a QI check instead of a frame-type check to detect blocks. r+sr=bzbarsky,a=schrep 2007-12-20 19:28:18 -08:00
jwatt@jwatt.org d2b8dce9bd This is a better fix for the build bustage caused by the checkin for bug 294086. Thanks to Peter Annema for explaining the issue (don't assign to rvalues) and this fix. 2007-11-18 06:22:55 -08:00
jwatt@jwatt.org dabf10ac5f Attempt to fix build bustage due to checkin for bug 294086. I'll get this reviewed post checkin. 2007-11-18 05:17:27 -08:00
jwatt@jwatt.org 2026f64e35 Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org 2007-11-18 04:09:03 -08:00
jwalden@mit.edu f76735292f Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst 2007-08-29 13:38:44 -07:00
bzbarsky@mit.edu 9d83d9e503 Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron 2007-08-24 15:20:24 -07:00
masayuki@d-toybox.com 5cf046b40d Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
sharparrow1@yahoo.com e82dbc2268 Bug 390740: Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron 2007-08-07 12:07:43 -07:00
roc+@cs.cmu.edu 377804c1a1 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
jwalden@mit.edu 12e960c504 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
mats.palmgren@bredband.net e3dc6b00a0 Make the viewport area that of the root frame, or in paginated contexts, the page content frame. b=380816 r=sharparrow1 sr=roc 2007-07-03 18:13:07 -07:00
flamingice@sourmilk.net 9226d174d1 Bug 384965, use const nsEvent* aEvent in nsLayoutUtils::GetEventCoordinatesRelativeTo, Patch by Karl Tomlinson, r+sr=roc 2007-06-26 17:30:21 -07:00
sharparrow1@yahoo.com f0e7d805b5 Bug 385936: Remove nsLayoutUtils::CreateOffscreenContext. r+sr=dbaron 2007-06-26 11:46:35 -07:00
neil@parkwaycc.co.uk 74c7a61937 Bug 375403 originally started off as a simple request to enable window translucency when windows or popups use opacity, alpha transparent background or non-zero border radius but mutated to include refactoring non zero side testing r+sr=roc 2007-05-10 08:46:42 -07:00
neil@parkwaycc.co.uk ea86ae6165 Bug 281630 Support ch width units in XUL r+sr=bz 2007-05-09 01:48:38 -07:00
bzbarsky@mit.edu 6adcfb8d84 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
dbaron@dbaron.org e10913eee0 Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
enndeakin@sympatico.ca 62ba5b5d00 Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc 2007-03-25 20:27:53 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
fantasai.cvs%inkedblade.net bf70fee6f1 consider relevant overflow when balancing columns (fixes various crashes and hangs) b=404215 r+sr=roc a=beltzner 2008-04-18 07:40:37 +00:00
jonas%sicking.cc 17fb584868 Bug 423355: Make sure that we never remove removable blockers more than once. Also make sure to never fire mutation events when it's not safe to run script. r/sr=bz/roc a=beltzner 2008-04-14 23:59:23 +00:00
roc+%cs.cmu.edu cbd4d5723e Bug 424915. Improve display list analysis so that sites with content covered by the scrolling element, such as GMail, can use bitblit scrolling. r+sr=dbaron,a=beltzner 2008-04-11 03:46:37 +00:00
roc+%cs.cmu.edu 828350aa11 Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron 2008-03-09 21:55:08 +00:00
roc+%cs.cmu.edu d3935a6a58 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 09:28:36 +00:00
roc+%cs.cmu.edu 3888bf4b3a Bug 403181. Various fixes to image rendering. Most importantly, we track the desired subimage of a CSS background image and ensure we don't sample outside it. r=vlad,sr=dbaron 2008-03-07 08:34:14 +00:00
roc+%cs.cmu.edu 46ae1fb918 Backing out 403181 again 2008-03-04 09:36:09 +00:00
roc+%cs.cmu.edu bdd10f1c8f Bug 403181. Track which subimage of an image we want to draw and copy it to a temporary surface if necessary to prevent sampling of pixels outside the subimage when zooming. Also, enable EXTEND_PAD or SetFilter(0) if the context has a transformation that's not a simple translation, since that might induce cairo to sample pixels outside the source (sub)image. r=vlad,sr=dbaron 2008-03-04 08:21:36 +00:00
roc+%cs.cmu.edu ce5dffc93a Bug 403181 backout 2008-03-03 02:38:21 +00:00
roc+%cs.cmu.edu 8ab3849de1 Bug 403181. Use a temporary surface to prevent sampling of pixels outside the intended source rectangle when zooming the image in some cases. r=vlad,sr=dbaron,a=beltzner 2008-03-03 01:03:54 +00:00
roc+%cs.cmu.edu 5d3a393ced Bug 417255. Rework getClientRects/getBoundingClientRect/offset* code to use a generic rectangle iterator API which drills down through anonymous blocks, fixing IE compat. r+sr=dbaron 2008-02-27 09:26:17 +00:00
roc+%cs.cmu.edu a7b501ed08 Bug 417967. Align subframe drawing so that drawing at (0,0) relative to the root view's origin is aligned to a pixel boundary. r+sr=bzbarsky 2008-02-25 01:39:35 +00:00
bzbarsky%mit.edu a778b87e2d Fix bug 416073: invalidate more things as needed during table reflow to prevent
glitches.  r+sr=roc
2008-02-08 09:36:32 +00:00
jonas%sicking.cc 11b8e5fff7 Bug 399352: Get rid of known-but-harmless assertions for GetUsedMargin/Border/Padding. r/sr=dbaron 2008-01-30 04:53:46 +00:00
fantasai.cvs%inkedblade.net e60e4999b0 handle dynamic insertion with overflow containers properly, b=403369 r=bzbarsky sr=roc 2008-01-27 08:13:21 +00:00
roc+%cs.cmu.edu 65581ec373 Bug 408749. Use a QI check instead of a frame-type check to detect blocks. r+sr=bzbarsky,a=schrep 2007-12-21 03:28:19 +00:00
jwatt%jwatt.org 6e9e52961f This is a better fix for the build bustage caused by the checkin for bug 294086. Thanks to Peter Annema for explaining the issue (don't assign to rvalues) and this fix. 2007-11-18 14:22:55 +00:00
jwatt%jwatt.org 2161f86ce2 Attempt to fix build bustage due to checkin for bug 294086. I'll get this reviewed post checkin. 2007-11-18 13:17:27 +00:00
jwatt%jwatt.org 092916772a Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org 2007-11-18 12:09:09 +00:00
jwalden%mit.edu 373a5a3752 Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst 2007-08-29 20:38:46 +00:00
bzbarsky%mit.edu 9798e450e1 Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron 2007-08-24 22:20:25 +00:00
masayuki%d-toybox.com 5fa5b33f97 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 11:13:55 +00:00
sharparrow1%yahoo.com cdbcbdeb35 Bug 390740: Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron 2007-08-07 19:07:44 +00:00
roc+%cs.cmu.edu 8477256fc6 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 09:47:45 +00:00
jwalden%mit.edu ef68fcf595 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 07:08:56 +00:00
mats.palmgren%bredband.net 2688b10ee8 Make the viewport area that of the root frame, or in paginated contexts, the page content frame. b=380816 r=sharparrow1 sr=roc 2007-07-04 01:13:07 +00:00
flamingice%sourmilk.net 8fd3c590f2 Bug 384965, use const nsEvent* aEvent in nsLayoutUtils::GetEventCoordinatesRelativeTo, Patch by Karl Tomlinson, r+sr=roc 2007-06-27 00:30:21 +00:00
sharparrow1%yahoo.com 4f045240b6 Bug 385936: Remove nsLayoutUtils::CreateOffscreenContext. r+sr=dbaron 2007-06-26 18:46:35 +00:00
neil%parkwaycc.co.uk fe64e07564 Bug 375403 originally started off as a simple request to enable window translucency when windows or popups use opacity, alpha transparent background or non-zero border radius but mutated to include refactoring non zero side testing r+sr=roc 2007-05-10 15:46:42 +00:00
neil%parkwaycc.co.uk be5110655b Bug 281630 Support ch width units in XUL r+sr=bz 2007-05-09 08:48:38 +00:00
bzbarsky%mit.edu 6bfe4d1b01 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-05 06:09:50 +00:00
dbaron%dbaron.org 847bd485ed Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 23:11:02 +00:00
enndeakin%sympatico.ca cc2acf1711 Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc 2007-03-26 03:27:53 +00:00
dbaron%dbaron.org 260b595874 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc 2007-03-20 00:58:20 +00:00
Olli.Pettay%helsinki.fi 8d98880cc2 Bug 372797, Convert ScrollFrameIntoView users to use ScrollContentIntoView, r+sr=roc 2007-03-07 19:08:36 +00:00
sharparrow1%yahoo.com ba4385e16a Bug 370492: Stop using views for event.PageX/Y, event.layerX/Y, image.x/y. r+sr=roc. 2007-02-18 10:43:12 +00:00
cvshook%sicking.cc 0c24c4a4c3 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
dbaron%dbaron.org 47f4966b12 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc 2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu f3f7b87507 Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron 2007-01-23 02:58:55 +00:00
roc+%cs.cmu.edu 0c477f16d3 Bug 363813. When inserting frames into a list of out-of-flow frames, finding the correct position by comparing positions in the content tree doesn't always work, in particular when the frames are for anonymous content. So compare the positions of placeholders in the frame tree, which should always work (if we're careful). r+sr=dbaron 2007-01-17 22:48:24 +00:00
roc+%cs.cmu.edu 63eb8590be Bug 333659. Relanding new nsLayoutUtils APIs --- shouldn't affect current code. r=dbaron 2007-01-17 02:37:19 +00:00
roc+%cs.cmu.edu c25e8e22df Backing out text landing. 2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu 2d7079a79a Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts 2007-01-16 20:51:52 +00:00
mats.palmgren%bredband.net ce1dce9a7c Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron 2006-12-18 13:20:18 +00:00
dbaron%dbaron.org 116da6be23 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
masayuki%d-toybox.com 6c721fe078 Bug 301149 :hover is processed in Print Preview mode r+sr=roc 2006-11-01 13:56:48 +00:00
roc+%cs.cmu.edu a7cac46f4a Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron 2006-10-19 01:47:47 +00:00
mats.palmgren%bredband.net 3c7c571960 Remove the special painting code for a 165-twips checkbox. Move the remaining parts of nsFormControlHelper to its consumers and remove nsFormControlHelper.{cpp,h} from the tree. b=343495 r+sr=roc (r=me on roc's part) 2006-07-06 10:43:51 +00:00
roc+%cs.cmu.edu 3d9b85c04c Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs 2006-06-26 22:18:23 +00:00
roc+%cs.cmu.edu 7e5130eb7c Bug 334765. Fix XUL boxobject coordinates to not take scrolling into account. Second try, with a patch that hopefully won't regress Tp. r+sr=bzbarsky 2006-06-16 02:40:29 +00:00
roc+%cs.cmu.edu c8ac7f132e Fixing bustage 2006-06-09 04:43:15 +00:00
roc+%cs.cmu.edu afbf67c2de Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs 2006-06-09 03:29:32 +00:00
roc+%cs.cmu.edu 56654cce4d Bug 334765. Testing backout to see if it was responsible for btek's Tp change. 2006-06-07 02:35:57 +00:00
roc+%cs.cmu.edu e588b47d04 Bug 334765. Don't include scroll offsets in DOM element offset calculations. r+sr=bzbarsky 2006-06-06 22:31:17 +00:00
roc+%cs.cmu.edu 211581d5a4 Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap 2006-04-27 02:45:03 +00:00
mrbkap%gmail.com cfb04e2527 Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc 2006-04-17 23:16:46 +00:00
roc+%cs.cmu.edu 4564141fda Bug 324896. Always paint some kind of background when we're asked to paint, for non-translucent windows. r+sr=dbaron 2006-02-06 20:38:47 +00:00
roc+%cs.cmu.edu 5451e97878 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
roc+%cs.cmu.edu ae7c6937c0 Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc 2005-12-12 23:53:06 +00:00
roc+%cs.cmu.edu 24eef11a41 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:32:52 +00:00
roc+%cs.cmu.edu 31124c236b Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
roc+%cs.cmu.edu cee1401380 Bug 290428. When the mouse drags above or below the end of a listbox/comboboxdropdown, select the first or last option. Also, for comboboxes, start listbox selection as soon as the mouse moves to or below the top padding-edge of the dropdown list, and don't stop listbox selection even if the mouse moves back above that edge. r+sr=bzbarsky,a=shaver 2005-06-02 09:00:48 +00:00
bzbarsky%mit.edu ed362b6cbb Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
r+sr=roc
2005-02-18 06:06:47 +00:00
roc+%cs.cmu.edu e8268c75e4 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky 2005-02-08 02:15:26 +00:00
roc+%cs.cmu.edu fcfeb6506e Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron 2004-11-25 14:51:00 +00:00
roc+%cs.cmu.edu 702f4952c0 Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner 2004-11-03 02:52:16 +00:00
aaronleventhal%moonset.net 3147de7753 Bug 262578. No click to focus css scrollable areas like overflow:scroll, but you can still click there and scroll -- just no focus outline. r=mats, sr=roc 2004-10-19 02:24:27 +00:00
dbaron%dbaron.org 4958d2471b Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc 2004-09-21 04:41:08 +00:00
roc+%cs.cmu.edu ffe92c5115 Bug 257216. Fix sundry block issues for columns. In particular, remove overflowing floats from the space manager before we compute the space manager's XMost and YMost to include in the block size. r+sr=dbaron 2004-09-13 13:35:46 +00:00
mats.palmgren%bredband.net 7ec3e86276 Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron 2004-08-06 15:55:17 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
gerv%gerv.net 85ce8c146b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
dbaron%dbaron.org b2e0bd26a0 Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861 2004-04-12 21:53:22 +00:00
bryner%brianryner.com fd6fed0d82 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron. 2004-01-28 00:18:22 +00:00
uid502 2909a7b2e1 Bug 222468. Make nsLayoutUtils::CompareTreePosition work even if the aCommonAncestor parameter is not, in fact, a common ancestor. 2003-10-17 14:10:02 +00:00
uid502 c612494d00 Bug 217604. Ensure out-of-flow frames are ordered in content order. Ensure views are maintained in frame/content order. 2003-10-15 00:49:03 +00:00
bzbarsky%mit.edu 1d9d07a002 Make nsCSSFrameConstructor::AppendFrames be smarter about looking for :after
pseudos.  Move some utility functions into nsLayoutUtils; simplify some places
that basically had copies of those functions.  Improves perf a bit in bug
145425 and its dependencies, r+sr=roc+moz
2003-04-21 23:06:40 +00:00
roc+%cs.cmu.edu 77e5c960ef Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +00:00
bzbarsky%mit.edu 712030493b ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
126072, r=dbaron, sr=roc+moz.  Also fixes bug 141259 (incorrect warnings about
style tree integrity).
2003-01-05 05:05:17 +00:00
heikki%netscape.com b2ce503d1a Bug 69830, cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=jst, sr=waterson. 2001-03-08 02:41:16 +00:00
vidur%netscape.com 99ec8cdc30 Fix for bug 63081. We remove carriage returns passed to us by the parser in the copy from the sink buffer to the content model. r=jst 2001-01-22 23:11:02 +00:00
jband%netscape.com 7d0cb0f4bb Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00