jonas%sicking.cc
39d4ac87a1
Bug 399352: Get rid of known-but-harmless assertions for GetUsedMargin/Border/Padding. r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@244476 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 04:53:46 +00:00
fantasai.cvs%inkedblade.net
faf43a02d0
handle dynamic insertion with overflow containers properly, b=403369 r=bzbarsky sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@244135 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 08:13:21 +00:00
mats.palmgren%bredband.net
064da469b7
Fix typo in assertion. b=386575 r+sr=roc a=mtschrep
...
git-svn-id: svn://10.0.0.236/trunk@242382 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 23:14:50 +00:00
roc+%cs.cmu.edu
af5a6ea598
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
...
git-svn-id: svn://10.0.0.236/trunk@242342 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 02:08:30 +00:00
roc+%cs.cmu.edu
45d1aa47d0
Bug 410229. Handle IB special-siblings when we're finding all the CSS boxes for an element for getBoundingClientRect/getClientRects. r+sr=mats
...
git-svn-id: svn://10.0.0.236/trunk@242340 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 01:50:32 +00:00
roc+%cs.cmu.edu
cd920d0baf
Bug 408749. Use a QI check instead of a frame-type check to detect blocks. r+sr=bzbarsky,a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@241882 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 03:28:19 +00:00
vladimir%pobox.com
7525088701
b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
...
git-svn-id: svn://10.0.0.236/trunk@241704 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 23:01:18 +00:00
jwatt%jwatt.org
b7acb97adc
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.
...
git-svn-id: svn://10.0.0.236/trunk@239604 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 14:22:55 +00:00
jwatt%jwatt.org
8aa21c3dd3
Attempt to fix build bustage due to checkin for bug 294086. I'll get this reviewed post checkin.
...
git-svn-id: svn://10.0.0.236/trunk@239601 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 13:17:27 +00:00
jwatt%jwatt.org
96b895330a
Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org
...
git-svn-id: svn://10.0.0.236/trunk@239599 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 12:09:09 +00:00
dbaron%dbaron.org
4b0e63ba0d
Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@239468 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 18:10:32 +00:00
pavlov%pavlov.net
794b359024
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
git-svn-id: svn://10.0.0.236/trunk@239160 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-11 20:35:30 +00:00
fantasai.cvs%inkedblade.net
3a00ff8d0e
paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc
...
git-svn-id: svn://10.0.0.236/trunk@237057 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 05:57:46 +00:00
dholbert%cs.stanford.edu
665a4e2bad
Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc
...
git-svn-id: svn://10.0.0.236/trunk@236556 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 17:30:43 +00:00
jwalden%mit.edu
970dfaf24a
Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst
...
git-svn-id: svn://10.0.0.236/trunk@233340 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 20:38:46 +00:00
bzbarsky%mit.edu
0301c2e184
Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron
...
git-svn-id: svn://10.0.0.236/trunk@233038 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 22:20:25 +00:00
masayuki%d-toybox.com
4a791f4b57
Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
...
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
sharparrow1%yahoo.com
d391c646fd
Bug 390740 - Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@231599 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 19:22:26 +00:00
roc+%cs.cmu.edu
11a415bfd1
Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@231046 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 09:47:45 +00:00
sharparrow1%yahoo.com
1de0220ce1
Bug 388359: Menu items are highlighted as mouse pointer moves below menu. Fix makes GetEventCoordinatesRelativeTo work across window roots. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@230658 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 16:44:34 +00:00
jwalden%mit.edu
dda6ff3c99
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.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
mats.palmgren%bredband.net
d16cd27e96
Make the viewport area that of the root frame, or in paginated contexts, the page content frame. b=380816 r=sharparrow1 sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@229300 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 01:13:07 +00:00
flamingice%sourmilk.net
b908c70beb
Bug 384965, use const nsEvent* aEvent in nsLayoutUtils::GetEventCoordinatesRelativeTo, Patch by Karl Tomlinson, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@228791 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:30:21 +00:00
sharparrow1%yahoo.com
18237cf2d9
Bug 385936: Remove nsLayoutUtils::CreateOffscreenContext. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@228770 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 18:46:35 +00:00
dbaron%dbaron.org
cd6e9c2d37
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
...
git-svn-id: svn://10.0.0.236/trunk@228548 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 22:33:10 +00:00
dbaron%dbaron.org
875b2f29f1
Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@227882 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:27:28 +00:00
dbaron%dbaron.org
bac4685d57
Account for non-pixel-aligned current transforms when snapping to pixel coordinates. b=369882 r=vlad
...
git-svn-id: svn://10.0.0.236/trunk@226420 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 05:15:53 +00:00
neil%parkwaycc.co.uk
a64fc10c10
Follow-up cleanup b=375403 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226340 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 10:06:57 +00:00
dbaron%dbaron.org
68aab90fcd
Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@226290 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:02:31 +00:00
dbaron%dbaron.org
80e25fa18a
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
...
git-svn-id: svn://10.0.0.236/trunk@226289 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:01:31 +00:00
neil%parkwaycc.co.uk
2671ffbdb4
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
...
git-svn-id: svn://10.0.0.236/trunk@226257 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 15:46:42 +00:00
neil%parkwaycc.co.uk
c72cb13cb8
Bug 281630 Support ch width units in XUL r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@226178 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 08:48:38 +00:00
bzbarsky%mit.edu
33b3f60e43
Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225946 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:09:50 +00:00
dbaron%dbaron.org
03a83ad9f2
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
...
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
116d69628c
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
...
Taras Glek <tglek@mozilla.com>, rs=roc.
git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
enndeakin%sympatico.ca
7fe266a9bd
Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@222382 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 03:27:53 +00:00
dbaron%dbaron.org
fe888bd0cd
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
...
git-svn-id: svn://10.0.0.236/trunk@222115 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 20:36:59 +00:00
dbaron%dbaron.org
e81955cfa2
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
...
git-svn-id: svn://10.0.0.236/trunk@222053 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 00:58:20 +00:00
Olli.Pettay%helsinki.fi
20e1f263f1
Bug 372797, Convert ScrollFrameIntoView users to use ScrollContentIntoView, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@221453 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 19:08:36 +00:00
sharparrow1%yahoo.com
aee3286fe4
Bug 370945: Crash in GetLayerPoint. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@220563 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 00:26:53 +00:00
sharparrow1%yahoo.com
7deca433dc
Bug 370629: Large images rescale to nothing (integer overflow computing replaced element size). r=dbaron, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@220532 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 23:11:32 +00:00
sharparrow1%yahoo.com
b77c8515bc
Bug 370492: Stop using views for event.PageX/Y, event.layerX/Y, image.x/y. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@220508 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 10:43:12 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
uriber%gmail.com
6d976f44e8
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.
...
git-svn-id: svn://10.0.0.236/trunk@219515 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 19:32:26 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
roc+%cs.cmu.edu
84519adb5e
Bug 368154. Don't do bidi resolution on strings unless bidi is enabled in the prescontext. r=smontagu,sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218917 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 19:54:38 +00:00
roc+%cs.cmu.edu
eca770f48f
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.
...
git-svn-id: svn://10.0.0.236/trunk@218879 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 01:58:55 +00:00
dbaron%dbaron.org
103e95ab15
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
...
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu
1534bcd542
Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218782 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 02:58:55 +00:00
roc+%cs.cmu.edu
633e4df4a0
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
...
git-svn-id: svn://10.0.0.236/trunk@218557 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:48:24 +00:00