mats.palmgren%bredband.net
34c9000324
Don't call CalculateContentBottom inside PR_MAX(), which evaluates its arguments twice. (Bug 511482) r=dbaron a1.9.0.15=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@258320 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-04 20:41:56 +00:00
karlt+%karlt.net
4f43733aa9
b=453827 block-height line-height r=bz sr=dbaron a=ss
...
git-svn-id: svn://10.0.0.236/trunk@258087 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-12 21:31:55 +00:00
bzbarsky%mit.edu
7a0731e5fe
Bug 488390. Get special siblings correctly even when bidi is involved. r+sr=roc, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@256947 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-17 17:18:52 +00:00
roc+%cs.cmu.edu
d5f26e9e59
Bug 428156. Relanding. Make ComputeRepaintRegionForCopy handle non-moving frames that clip moving frames. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@250443 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 09:21:21 +00:00
fantasai.cvs%inkedblade.net
f493b19190
consider relevant overflow when balancing columns (fixes various crashes and hangs) b=404215 r+sr=roc a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@250437 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 07:40:37 +00:00
roc+%cs.cmu.edu
fd2f3d9046
Bug 428156 backout
...
git-svn-id: svn://10.0.0.236/trunk@250358 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-17 11:52:32 +00:00
roc+%cs.cmu.edu
99445ef8c2
Bug 428156. ComputeRepaintRegionForCopy needs to handle non-moving frames that clip moving content. r+sr=dbaron,a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@250347 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-17 08:15:14 +00:00
jonas%sicking.cc
0108790da0
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
...
git-svn-id: svn://10.0.0.236/trunk@250233 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 23:59:23 +00:00
roc+%cs.cmu.edu
ae97c2e544
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
...
git-svn-id: svn://10.0.0.236/trunk@250039 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 03:46:37 +00:00
roc+%cs.cmu.edu
a527eabdb0
Bug 411585. Traverse all pages after the current page when painting a page, to locate placeholders that we need to traverse in order to paint out-of-flows on the current page. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@249795 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 13:06:13 +00:00
roc+%cs.cmu.edu
16d1fe338a
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
...
git-svn-id: svn://10.0.0.236/trunk@247448 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 21:55:08 +00:00
roc+%cs.cmu.edu
29d568ceb9
Backing out Bug 403181. JPEG encoding test failure :-(
...
git-svn-id: svn://10.0.0.236/trunk@247295 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 09:28:36 +00:00
roc+%cs.cmu.edu
51477fde2d
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
...
git-svn-id: svn://10.0.0.236/trunk@247294 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 08:34:14 +00:00
dbaron%dbaron.org
365d3bef72
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
...
git-svn-id: svn://10.0.0.236/trunk@247146 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 00:05:29 +00:00
roc+%cs.cmu.edu
3541027b94
Backing out 403181 again
...
git-svn-id: svn://10.0.0.236/trunk@246987 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 09:36:09 +00:00
roc+%cs.cmu.edu
1fcc1c8c17
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
...
git-svn-id: svn://10.0.0.236/trunk@246985 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 08:21:36 +00:00
roc+%cs.cmu.edu
7a0c37ad37
Bug 403181 backout
...
git-svn-id: svn://10.0.0.236/trunk@246891 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 02:38:21 +00:00
roc+%cs.cmu.edu
9e7fc92f64
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
...
git-svn-id: svn://10.0.0.236/trunk@246889 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 01:03:54 +00:00
roc+%cs.cmu.edu
518c481375
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
...
git-svn-id: svn://10.0.0.236/trunk@246654 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:26:17 +00:00
mozilla%weilbacher.org
ff10632a73
Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@246159 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 08:37:30 +00:00
bzbarsky%mit.edu
b06d3d6b21
Fix bug 416073: invalidate more things as needed during table reflow to prevent
...
glitches. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@245203 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 09:36:32 +00:00
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