83 Commits

Author SHA1 Message Date
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
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
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
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
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
roc+%cs.cmu.edu
40c0344192 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
git-svn-id: svn://10.0.0.236/trunk@246427 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 01:39:35 +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
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
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
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
66c4c37428 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@231596 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 19:07:44 +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
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
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
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
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
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
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
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
roc+%cs.cmu.edu
164c104354 Bug 333659. Relanding new nsLayoutUtils APIs --- shouldn't affect current code. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@218485 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 02:37:19 +00:00
roc+%cs.cmu.edu
4f42d74394 Backing out text landing.
git-svn-id: svn://10.0.0.236/trunk@218456 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu
e2373f9a14 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
git-svn-id: svn://10.0.0.236/trunk@218447 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 20:51:52 +00:00
mats.palmgren%bredband.net
277be83fff Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217122 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 13:20:18 +00:00
dbaron%dbaron.org
1ca9f3f372 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.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
masayuki%d-toybox.com
0f123e14e5 Bug 301149 :hover is processed in Print Preview mode r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@214528 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 13:56:48 +00:00
roc+%cs.cmu.edu
f06ba26d9e Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@213836 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 01:47:47 +00:00
mats.palmgren%bredband.net
14e56648c0 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)
git-svn-id: svn://10.0.0.236/trunk@201677 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 10:43:51 +00:00
roc+%cs.cmu.edu
bd9175c940 Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@200963 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 22:18:23 +00:00