Commit Graph

716 Commits

Author SHA1 Message Date
77e08264d5 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
90600adc23 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
2176d67e34 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
f37727b412 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
9011ed7502 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
0d28f155e9 Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc 2007-09-24 10:30:42 -07:00
3780727bfd 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
cb68d9231c Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron 2007-08-24 15:20:24 -07:00
409d7404ef 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
0fe4d3d294 Bug 390740 - Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron 2007-08-07 12:22:26 -07:00
6323a1270c Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
a49af05076 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
98de634631 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
0069020e27 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
19b3396a05 Bug 384965, use const nsEvent* aEvent in nsLayoutUtils::GetEventCoordinatesRelativeTo, Patch by Karl Tomlinson, r+sr=roc 2007-06-26 17:30:21 -07:00
745fa15568 Bug 385936: Remove nsLayoutUtils::CreateOffscreenContext. r+sr=dbaron 2007-06-26 11:46:35 -07:00
0c0511351a 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
54a6a27f7e 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
0b69eb7043 Account for non-pixel-aligned current transforms when snapping to pixel coordinates. b=369882 r=vlad 2007-05-14 22:15:45 -07:00
0922eb8669 Follow-up cleanup b=375403 r+sr=roc 2007-05-13 03:06:57 -07:00
ced9959fcd Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky 2007-05-10 23:02:31 -07:00
f94f88a1fc 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
f9df8c992e 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
fd34c5b39c Bug 281630 Support ch width units in XUL r+sr=bz 2007-05-09 01:48:38 -07:00
db2b900e58 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
263d44e417 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
e0f90db412 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
0b82d5b70f 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
ad545bc828 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
973db1fdf2 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
8d0f36dccd Bug 372797, Convert ScrollFrameIntoView users to use ScrollContentIntoView, r+sr=roc 2007-03-07 19:08:36 +00:00
sharparrow1@yahoo.com
56ffcfb945 Bug 370945: Crash in GetLayerPoint. r+sr=roc. 2007-02-20 00:26:53 +00:00
sharparrow1@yahoo.com
56d3bc5c74 Bug 370629: Large images rescale to nothing (integer overflow computing replaced element size). r=dbaron, sr=roc. 2007-02-18 23:11:32 +00:00
sharparrow1@yahoo.com
3c6fed7935 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
sharparrow1@yahoo.com
2da748b9c2 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
uriber@gmail.com
9e9a17ae29 Avoid including the offset from a continuation frame to the original frame's parent twice when computing the 'all in flow bounding rect'. bug=368735, r+sr=roc. 2007-02-05 19:32:26 +00:00
cvshook@sicking.cc
e80f1dba4e Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
roc+@cs.cmu.edu
72b7b33771 Bug 368154. Don't do bidi resolution on strings unless bidi is enabled in the prescontext. r=smontagu,sr=dbaron 2007-01-25 19:54:38 +00:00
roc+@cs.cmu.edu
73076819e1 Bug 367930. Introduce an nsIRenderingContext::GetHints flag (temporarily) that tells us whether new-text-runs are being used underneath. When new text runs are in use, never reverse text manually, we can be sure that the platform textrun will do it. 2007-01-25 01:58:55 +00:00
dbaron@dbaron.org
8648581bf7 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
f0bee97191 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
e996d197f5 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
dbaron@dbaron.org
50901e90ee Make non-box frames use nsITheme methods concerning size, border, and padding, so that non-boxes with appearance set will obey the platform-specific theme. b=366722 r+sr=roc 2007-01-17 22:31:07 +00:00
bzbarsky@mit.edu
1531e3f654 Fix GetLastChildFrame to deal with bidi splitting of inlines. Bug 366967,
r=uri, sr=roc
2007-01-17 18:53:11 +00:00
roc+@cs.cmu.edu
7ed53059fe 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
9d3ff4b973 Backing out text landing. 2007-01-16 22:25:20 +00:00
roc+@cs.cmu.edu
8b03653c52 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
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
timeless@mozdev.org
1b07f1e039 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
2006-12-21 07:03:23 +00:00
mats.palmgren@bredband.net
eeeddacfd2 Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron 2006-12-18 13:20:18 +00:00