Commit Graph

135 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
b85eb999a0 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 14:55:05 -07:00
roc+@cs.cmu.edu
17ebdab033 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu
2c9f274033 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 00:34:12 -08:00
dbaron@dbaron.org
0d8b560733 Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner 2008-03-05 16:05:26 -08:00
roc+@cs.cmu.edu
d5b5fd63c2 Backing out 403181 again 2008-03-04 01:36:07 -08:00
roc+@cs.cmu.edu
ffb68f7a15 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 00:21:34 -08:00
roc+@cs.cmu.edu
67c8b1e808 Bug 403181 backout 2008-03-02 18:38:19 -08:00
roc+@cs.cmu.edu
8e907ad002 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-02 17:01:14 -08:00
roc+@cs.cmu.edu
3bf32d7606 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 01:26:15 -08:00
mozilla@weilbacher.org
7ed1ca89ae Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner 2008-02-21 00:37:27 -08:00
bzbarsky@mit.edu
3a6834eaac Fix bug 416073: invalidate more things as needed during table reflow to prevent glitches. r+sr=roc 2008-02-08 01:36:32 -08:00
jonas@sicking.cc
c104841a09 Bug 399352: Get rid of known-but-harmless assertions for GetUsedMargin/Border/Padding. r/sr=dbaron 2008-01-29 20:53:46 -08:00
fantasai.cvs@inkedblade.net
3cf5f1aeed handle dynamic insertion with overflow containers properly, b=403369 r=bzbarsky sr=roc 2008-01-27 00:13:19 -08:00
mats.palmgren@bredband.net
e80cd9271b Fix typo in assertion. b=386575 r+sr=roc a=mtschrep 2008-01-04 15:14:50 -08:00
roc+@cs.cmu.edu
f8b25558e4 Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats 2008-01-03 18:08:29 -08:00
roc+@cs.cmu.edu
e8fc029ca5 Bug 410229. Handle IB special-siblings when we're finding all the CSS boxes for an element for getBoundingClientRect/getClientRects. r+sr=mats 2008-01-03 17:50:30 -08:00
roc+@cs.cmu.edu
5ba814a58f 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
vladimir@pobox.com
2e94f56ef2 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart 2007-12-18 15:01:15 -08:00
jwatt@jwatt.org
2fc1d7dac5 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
e3ba19597f 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
d308285bb4 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
dbaron@dbaron.org
5a7a8d066f Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+ 2007-11-15 10:10:31 -08:00
pavlov@pavlov.net
5136dde36e bug 403280. convert nsLayoutUtils::DoCompareTreePosition from an nsAutoVoidArray to a larger nsAutoTArray convert nsContentUtils::ComparePoints from an nsTArray to an nsAutoTArray r/sr/a=sicking 2007-11-11 12:35:30 -08:00
fantasai.cvs@inkedblade.net
404e205908 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
dholbert@cs.stanford.edu
5e31bd00b0 Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc 2007-09-24 10:30:42 -07:00
jwalden@mit.edu
4c25808b29 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
0aa9489e17 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
a20d56bd8d 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
6cf1f63fec Bug 390740 - Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron 2007-08-07 12:22:26 -07:00
roc+@cs.cmu.edu
9562390da7 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
sharparrow1@yahoo.com
7f1f88be47 Bug 388359: Menu items are highlighted as mouse pointer moves below menu. Fix makes GetEventCoordinatesRelativeTo work across window roots. r+sr=roc. 2007-07-23 09:44:34 -07:00
jwalden@mit.edu
6d7584839a 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
8f7ef470bb 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
4736a60932 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
d81781f1da Bug 385936: Remove nsLayoutUtils::CreateOffscreenContext. r+sr=dbaron 2007-06-26 11:46:35 -07:00
dbaron@dbaron.org
3897543ff9 Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc 2007-06-21 15:32:47 -07:00
dbaron@dbaron.org
0235059d11 Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky 2007-06-12 11:27:09 -07:00
dbaron@dbaron.org
6da5095394 Account for non-pixel-aligned current transforms when snapping to pixel coordinates. b=369882 r=vlad 2007-05-14 22:15:45 -07:00
neil@parkwaycc.co.uk
6f80b97be6 Follow-up cleanup b=375403 r+sr=roc 2007-05-13 03:06:57 -07:00
dbaron@dbaron.org
1865808f7c Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky 2007-05-10 23:02:31 -07:00
dbaron@dbaron.org
f4e95ca927 Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky 2007-05-10 23:01:31 -07:00
neil@parkwaycc.co.uk
ce44eb7691 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
f44e76cd9b Bug 281630 Support ch width units in XUL r+sr=bz 2007-05-09 01:48:38 -07:00
bzbarsky@mit.edu
073d7a78a6 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
dbaron@dbaron.org
ace3611ec9 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
bzbarsky@mit.edu
eeaa1a101b Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
enndeakin@sympatico.ca
3662802f55 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
dbaron%dbaron.org
a5b2a3bbb2 Use the intersected dirty rect, like I meant to, to fix bugs on platforms that don't handle negative src rect coordinates in images (and maybe performance regression?). b=374579 r=pavlov 2007-03-20 20:36:59 +00:00
dbaron%dbaron.org
405d600298 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
baadb13165 Bug 372797, Convert ScrollFrameIntoView users to use ScrollContentIntoView, r+sr=roc 2007-03-07 19:08:36 +00:00