Felipe Gomes
e2a618aa5f
Bug 508906. Add experimental MozTouch events. r=smaug,jimm
2010-08-02 15:34:54 +02:00
Neil Deakin
8522fc0f13
Bug 552982, Part 4: change nsXULPopupManager::GetVisiblePopups to also return noautohide panels, r=mats
2010-07-27 09:38:03 -04:00
Timothy Nikkel
20d255fcc2
Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats
2010-07-18 21:23:48 -05:00
Robert O'Callahan
3b653c5345
Bug 564991. Part 14: Scroll using the layer system. r=mats,sr=dbaron
2010-07-16 09:08:02 +12:00
Robert O'Callahan
2ac3c549db
Bug 572613. Avoid creating a SolidColor display item when possible by poking the color into the canvas background display item. r=tnikkel
2010-07-16 09:07:53 +12:00
Robert O'Callahan
4b1b78c893
Bug 564991. Part 12: Refactor RenderDocument to use nsLayoutUtils::PaintFrame. r=mats
2010-07-16 09:07:52 +12:00
Robert O'Callahan
bf8f1ac279
Bug 564991. Part 11: Start retaining layer trees. r=mats
2010-07-16 09:07:51 +12:00
Robert O'Callahan
6824d17ea0
Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats
2010-07-16 09:07:51 +12:00
Timothy Nikkel
1259443af7
Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats
2010-07-02 14:11:04 -05:00
Markus Stange
d13b3a057f
Bug 572680 - Pull the image snapping algorithm out of DrawImageInternal. r=roc
...
--HG--
extra : rebase_source : 05c59b5bd230ec54c81d34e58ce030366ebf1546
2010-07-01 18:43:06 +02:00
L. David Baron
b6b9d51e5c
Make unconstrained width assertions into warnings because we can hit them when we clamp really large widths. (Bug 525100) r=roc
2010-06-28 13:47:39 -07:00
Mats Palmgren
ca51ca5849
Bug 536720 - Don't say the frame is in the nsGkAtoms::popupList if that list is empty. r=fantasai
2010-06-27 22:53:59 +02:00
Boris Zbarsky
0f77839ff1
Bug 517056. Drawing an incomplete image to the canvas shouldn't throw; should instead silently do nothing. r=vlad
2010-06-18 12:23:05 -04:00
Rob Arnold ext:(%20%26%20Robert%20O%27Callahan%20%3Crobert%40ocallahan.org%3E)
951a8a32a4
b=555133 Attempt to infer whether or not theme parts are transparent r=roc,rob sr=vlad
2010-06-11 10:53:57 +12:00
Karl Tomlinson
cc75c71979
backout ce0bec337cdd due to bad message
2010-06-11 10:53:01 +12:00
Rob Arnold ext:(%20%26%20Robert%20O%27Callahan%20%3Crobert%40ocallahan.org%3E)
0ff5253328
Attempt to infer whether or not theme parts are transparent r=roc,rob sr=vlad
...
--HG--
rename : layout/mathml/mathfontSTIXSize1.properties => layout/mathml/mathfontSTIXSizeOneSym.properties
extra : rebase_source : 0500c9e1f6cabd42bd56e5e69b1af3c30c7045cd
2010-06-11 10:25:15 +12:00
Oleg Romashin
319c54462f
Bug 558308 - More GFX optimizations needed for Image Layers. r=vlad
2010-04-20 12:36:00 -04:00
Robert O'Callahan
87f96430ac
Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron
2010-05-13 12:56:11 +12:00
Vladimir Vukicevic
b5ac042d49
b=561168; convert canvas to use layers for rendering; r=roc,bas
2010-05-17 21:04:22 -07:00
Robert O'Callahan
33e50f0c3e
Backed out changeset 054698c2cb8f
...
--HG--
extra : rebase_source : 82b51116ca334c0853ace7f73b6f019831624d89
2010-05-13 14:21:53 +12:00
Robert O'Callahan
5df825d88b
Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron
2010-05-13 12:56:11 +12:00
Robert O'Callahan
aaea1f51b1
Bug 564993. Part 3: Split nsDisplayList::Paint into PaintForFrame and PaintRoot. Set the visible rect on the root layer from PaintRoot, let the visible rects of other layers be set when they're placed in their containers. r=mats
2010-03-11 09:55:05 +13:00
Robert O'Callahan
8874172bf5
bug 563864. Add mozPaintCount API. r=smaug,sr=vlad
2010-05-13 12:56:08 +12:00
Boris Zbarsky
fb534f9674
Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst
2010-05-05 14:18:05 -04:00
Jonas Sicking
5d052b35df
Bug 429175: Make sure to only set aNotify to true when we should. r=peterv
2010-05-03 06:23:36 -07:00
Boris Zbarsky
9c2ad4b2aa
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
timeless
f3cdc36c53
Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats
2010-04-27 18:15:02 +02:00
timeless
aa22afa674
Bug 334571 strip trailing whitespace. r=zwol
2010-04-27 18:15:01 +02:00
Dave Townsend
f1cf0ec98d
Bug 544277: Cannot build layout with MOZ_MEDIA disabled. r=enn, a=#developers
2010-04-25 12:52:23 -07:00
Masayuki Nakano
189d5d4756
Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn
2010-04-21 22:13:08 +09:00
Felipe Gomes
5d06a9d293
Bug 489127 - nodesFromRect required for better usability on mobile devices (part 3) [r=roc]
2010-04-07 20:31:26 -04:00
Ehren Metcalfe
a791e19cc4
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
L. David Baron
109a546aaa
Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
Jim Mathies
e8db46f043
Backout bug 555133 to fix bug 555950.
2010-03-31 12:55:41 -05:00
Rob Arnold
0feeddc29f
Bug 555133 - Attempt to infer whether or not theme parts are transparent r=roc sr=vlad
2010-03-29 15:24:40 -04:00
Robert O'Callahan
0fd1837981
Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron
2010-03-29 14:46:55 +13:00
Rob Arnold
868b41f2d3
Bug 450767 - Don't necessarily apply Aero Glass to the entire window r=jimm sr=roc
2010-03-17 18:56:00 -04:00
Masayuki Nakano
44096c6f1b
Bug 528396 Create XP level IME transaction tests r=roc+mats, sr=jst
2010-03-19 14:02:53 +09:00
Robert O'Callahan
2abce146a9
Bug 538323. Part 2: use ImageLayers to render video. r=kinetik
2010-03-02 12:41:49 +13:00
Robert O'Callahan
05ed217783
Bug 538266. Part 3: move nsSVGUtils::GfxRectToIntRect to nsLayoutUtils. r=mats
2010-03-02 12:08:28 +13:00
Michael Ventnor
ace5e1d018
Bug 542361 - Fix and remove the GetUsedX assertions r=roc
...
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Robert O'Callahan
ff44c3c9e3
Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant.
2010-03-01 21:03:49 +13:00
Jonathan Kew
365fbafa0d
Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats
2010-02-24 09:57:44 -08:00
Dão Gottwald
a6c411fa84
Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure
2010-02-04 17:16:39 +01:00
Michael Ventnor
50f557ed9e
Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron
2010-02-04 14:58:02 +01:00
Robert O'Callahan
70ea1d87f1
Bug 539354. When scrolling an area that was partially outside the window into view, make sure we invalidate the destination area on Mac. r=mstange
...
--HG--
extra : rebase_source : 4cb48c2bc49926d72b00bf3baa59465c149b6d6c
2010-02-02 12:16:09 +13:00
Mats Palmgren
3a13782de3
Clamp the result to the valid nscoord range. b=541869 r=roc
2010-01-27 09:35:41 +01:00
Robert O'Callahan
15976008ca
Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal
2010-01-14 05:00:00 -08:00
Robert O'Callahan
93aaa3b3c2
Backed out changeset 636a1f8ef224
2010-01-14 17:59:22 +13:00
Robert O'Callahan
40c40a3d2c
Bug 536524. Avoid overlong paths by normalizing. r=bsmedberg
2010-01-14 15:30:05 +13:00
Robert O'Callahan
393faec388
Bug 526394. Part 33: Remove nsScrollPortView etc. r=mats
2010-01-12 10:45:20 +13:00
Robert O'Callahan
4d0dd0c1ac
Bug 526394. Part 29: Create new nsLayoutUtils methods and remove useless code from nsListControlFrame::CaptureMouseEvents. r=mats
2010-01-12 10:45:18 +13:00
Robert O'Callahan
29d6e5186d
Bug 526394. Part 26: Rework nsSelection to use frames only. r=mats
2009-09-10 17:16:18 +12:00
Robert O'Callahan
785abafda3
Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats
2009-09-01 23:29:27 +12:00
fantasai
b27eacbc1d
Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc
2009-12-24 00:20:41 -05:00
Olli Pettay
423522c88b
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Robert O'Callahan
0ee624eeb2
Bug 531371. Correctly propagate the backround from a <body style="display: table"> to the viewport as needed. r=bzbarsky
2009-12-01 12:21:00 -05:00
Robert O'Callahan
b9ebfd945b
Bug 530472. Make sure to check across document boundaries to see whether the clipFrame is an ancestor of the moving frame. r=dbaron
2009-11-30 18:14:04 -05:00
Robert O'Callahan
2c262b74da
Bug 528604. Don't add areas-to-repaint when scrolling for non-moving clip rects that aren't clipping any moving content. r=dbaron
2009-11-18 13:38:17 +13:00
Boris Zbarsky
cbb295cb0c
Bug 518114 part 2. Use state bits to keep track of what a placeholder is a placeholder for. r=roc
2009-11-16 16:00:07 -05:00
Boris Zbarsky
cac46ff131
Bug 518114 part 1. Don't force a virtual GetType call in GetFloatFromPlaceholder. r=roc
2009-11-16 16:00:07 -05:00
Robert O'Callahan
c8bd80f5be
Bug 513082. Take advantage of our knowledge that nsDisplayClip, when used in a blitting scrolling frame, must snap to device pixels, to get more accurate blit regions. r=dbaron
2009-11-04 07:39:42 +13:00
Boris Zbarsky
7813eeb6d1
Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron
2009-10-29 17:17:56 -04:00
L. David Baron
7f2dd889cf
Make unconstrained width assertions into warnings because we can hit them when we clamp really large widths. (Bug 525100) r=roc
2009-10-28 20:22:28 -07:00
Robert O'Callahan
021671bf33
Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron
2009-10-07 17:28:41 +13:00
Robert O'Callahan
c2f7a1e950
Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
...
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Robert O'Callahan
69e4f02088
Bug 510856. ComputeRepaintRegionForCopy should not look outside the update rect for moving and non-moving visible content. r=dbaron
...
--HG--
extra : rebase_source : 4b2bb7ca8ca883c4d2ba6e14f5a43c82c831fc32
2009-09-07 12:35:13 +12:00
liucougar
89065aa512
Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range
...
r=roc sr=(jonas, roc)
2009-09-24 23:01:48 +02:00
Boris Zbarsky
b21d390674
Bug 515703. In some cases we can end up checking whether an element is the default submit before we've updated our default submit; in that situation wehave to do it the slow way. r=jst
2009-09-18 14:52:27 -04:00
Mats Palmgren
1a7f096af8
Bug 233463, patch 2 - Introduce nsFrameList::mLastChild member for fast access to the last sibling frame. r=bzbarsky
2009-09-18 13:09:36 +02:00
Mats Palmgren
dea07412a1
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Bobby Holley
86dd317584
Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad
2009-09-12 16:44:18 -06:00
Timothy Nikkel
7cddfd7416
Bug 445765. In getting the device context from a docshell don't go through nsIBaseWindow::GetMainWidget because that always returns the device context for the primary screen when called on toplevel docshell. r=dbaron
2009-09-01 12:40:49 -04:00
fantasai
1f4c53a304
Bug 492627 - Remove Placeholder Continuations [Part V: Reimplement float splitting without placeholder continuations] r=roc
2009-08-31 11:25:36 -07:00
L. David Baron
5036ad40dd
Backed out changeset 6b686281f9ac (Bug 445765) for causing a 3% Txul (Twinopen) regression on Linux.
2009-08-23 08:06:58 -07:00
Timothy Nikkel
5375b192d3
Bug 445765. In getting the device context from a docshell don't go through nsIBaseWindow::GetMainWidget because that always returns the device context for the primary screen when called on toplevel docshell. r=dbaron
2009-08-23 08:16:52 +02:00
Mats Palmgren
b4f7befaba
Don't call CalculateContentBottom inside PR_MAX(), which evaluates its arguments twice. (Bug 511482) r=dbaron
2009-08-22 10:10:11 -07:00
Zack Weinberg
430c5ceb95
Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap
2009-08-20 14:52:48 -07:00
Robert O'Callahan
b8e126f83c
Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron
2009-08-13 19:09:51 -07:00
Markus Stange
f2ba84dee3
Bug 510149 - Changes to nsLayoutUtils::GetFrameTransparency. r=roc
...
--HG--
extra : rebase_source : 024d18340b423827524eb725d961d0907b90338d
2009-08-14 10:08:13 +12:00
Felipe Gomes
b0e97d0c8b
Bug 503541 - Fine grained control of gesture registration on widgets (Win7). r=smaug+roc, sr=smaug
2009-08-13 13:54:09 -07:00
Timothy Nikkel
fd0c927820
Bug 504269. background color of iframe not drawn on print. r+sr=roc
2009-07-29 18:10:50 -04:00
Ryo Kawaguchi
091c57b039
Bug 506409: Merge Draw*ImageInternal methods into their Draw*Image callers, and fix a comment in imgIContainer.idl. patch=ryo r=roc
2009-07-27 16:48:13 -07:00
Robert O'Callahan
0ed9805957
Bug 339548. Part 14: hide windowed plugins in CSS transforms and SVG foreignObject contexts; we can't display them properly, so let's not display them at all. r=dbaron
2009-07-22 12:45:14 +12:00
Robert O'Callahan
2148628fd6
Bug 339548. Part 7: Create nsLayoutUtils::IsAncestorFrameCrossDoc. r=dbaron
2009-07-22 12:44:56 +12:00
Joe Drew
2aa59235f2
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
...
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Kyle Huey
7c208fa431
Bug 492205. Remove IsRootElementFrame. r=roc
2009-07-04 22:00:10 +12:00
Timothy Nikkel
8f1f1d1fd5
Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc
2009-07-04 21:30:59 +12:00
Mats Palmgren
0d2ecc07c9
Fix build error when MOZ_MEDIA isn't defined. b=500988 r=roc
2009-07-02 11:57:35 +02:00
Vladimir Vukicevic
670216332d
b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc
2009-06-25 13:30:56 -07:00
L. David Baron
44a6267b1d
Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky
2009-06-16 08:00:20 -07:00
Karl Tomlinson
3bbadcfb42
b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
...
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
Boris Zbarsky
78b522fe6a
Bug 493025. Don't assert if we happen to do bitblit scroll analysis on some frames that are dirty because a reflow got interrupted. r+sr=roc
2009-05-14 21:40:29 -04:00
Masayuki Nakano
54e13d1b23
Bug 492233 [IMM32] Reimplement IME mouse handling r=VYV03354+roc, sr=roc
2009-05-15 09:46:24 +09:00
Robert O'Callahan
a0ba954e0f
Bug 488901. When an element's size changes and it has borders, we don't necessarily need to invalidate the entire border-box --- if there is no right or bottom border, and other conditions are met. r+sr=dbaron
...
--HG--
extra : rebase_source : 24306ec844dab873cc9b580f32a383f0ccb769a5
2009-05-08 13:52:22 +12:00
Daniel Holbert
e85f0a4520
Bug 450340 trivial follow-up: flip constructor's initialization order to fix a build warning. r=roc
2009-05-04 11:08:36 -07:00
tn
2598ca8cc5
Bug 490376 - Crash [@ nsDisplayList::GetBottom]; r=roc
2009-04-30 12:07:18 +02:00
tn
7b6a485f6f
Bug 485275. Display fallback background color for non-root documents as necessary. r+sr=roc
...
--HG--
extra : rebase_source : fd455bec928d342c184089dfba6c75191c4ea28d
2009-04-25 20:19:23 +12:00
Dão Gottwald
b3521097f8
Backout bug 485275 (changeset 996c11579453) because of test failures
2009-04-18 10:53:27 +02:00
tn
d746f2250f
Bug 485275 - trunk displays svg transformed foreign object html differently then 1.9. r+sr=roc
2009-04-18 09:11:29 +02:00
Boris Zbarsky
2b4145319a
Bug 488390. Get special siblings correctly even when bidi is involved. r+sr=roc
2009-04-14 22:28:27 -04:00
Robert Longson
1acf3b9351
Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc
2009-04-10 14:41:59 +01:00
Boris Zbarsky
b13f991939
Backed out changeset 86c8e18f20eb (bug 486933) due to landing on orange tree.
2009-04-09 11:54:43 -04:00
Robert Longson
57f1153139
Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc
2009-04-09 13:17:50 +01:00
L. David Baron
a44af1082d
Switch away from nsBlockReflowState::mAvailSpaceRect in bullet reflow, and simultaneously refix bug 427370 in a way that also fixes bug 428810. (Bug 25888) r+sr=roc
2009-04-08 13:52:36 -07:00
Robert Longson
b262904e13
Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc
2009-04-07 00:45:54 +01:00
Robert Longson
2fbd5745fc
Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc
2009-04-06 22:00:29 +01:00
Robert Longson
84203c61ee
Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc
2009-04-05 10:52:14 +01:00
Olli Pettay
e9e6134072
Bug 482976 - Crash [@ nsTextFrame::Reflow] on print preview with quote, r+sr=roc
2009-03-18 12:45:00 +02:00
Daniel Holbert
6d254f1aa0
Bug 482379: Wrap an SVG-related precondition with "#ifdef MOZ_SVG", to fix build failure when using --disable-svg. r+sr=roc
2009-03-09 21:38:46 -07:00
Daniel Holbert
103fa7862c
Backed out changeset 37756ccaa268, due to red on windows build machine
2009-03-09 20:40:53 -07:00
Daniel Holbert
967e67e77b
Bug 482379: Wrap an SVG-related line with "#ifdef MOZ_SVG", to fix build failure when using --disable-svg. r+sr=roc
2009-03-09 19:50:36 -07:00
Olli Pettay
c10a9dfb86
Bug 425265, r=roc, sr=bz
2009-03-08 21:01:02 +02:00
L. David Baron
3a120c56d3
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 21:29:21 -08:00
L. David Baron
da21efddd5
Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related.
2009-02-19 13:51:46 -08:00
L. David Baron
bd25838a7a
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 12:33:09 -08:00
L. David Baron
c936720f0a
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
11e12c4425
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 07:29:28 -08:00
Jeremy D. Lea
55c57c0ab2
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
...
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
L. David Baron
3d090560b0
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
7ee7fbc33f
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-18 17:13:25 -08:00
Zack Weinberg
2ed31147bb
Bug 476557. Update view manager cache of page background color in PresShell::Paint, not nsCSSRendering::PaintBackground; permits a small API cleanup. r+sr=roc
...
--HG--
extra : rebase_source : dcf1475dd8b695eb18513e97ca35b08a4affd19f
2009-02-16 14:11:34 +13:00
Boris Zbarsky
fe5fcdbbd9
Bug 478101. Suppres GetUsed* assertions during all display list processing, not just during display list construction. r+sr=roc
2009-02-15 13:14:21 -05:00
Serge Gautherie
0d99859fec
Backed out changeset: 719dca3419b5
2009-02-15 18:41:16 +01:00
Jeremy Lea
5ad3fa0eed
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
2009-02-15 17:41:06 +01:00
Ehsan Akhgari
55befcbd67
Bug 478377 - Support specifying direction for :-moz-tree-cell pseudo class through CSS; r+sr=roc
2009-02-15 10:51:40 +03:30
Kyle Huey
ccff0d2450
Bug 452345. nsCSSFrameConstructor should use the term 'root element frame' instead of 'initial containing block', since 'initial containing block' means something else in CSS. r+sr=roc
2009-02-05 21:11:42 +13:00
Jim Mathies
57cd181576
Bug 450322 - Fix broken windows animation in Vista Aero. r+sr=roc.
2009-02-04 21:05:48 -06:00
Arpad Borsos
c0f2dadc80
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
Zack Weinberg
36f4bdd876
Bug 455364. Part 1: Create nsLayoutUtils::Draw*Image variants that take nsIImage*. r+sr=roc
...
--HG--
extra : rebase_source : f12e5f2f1b23d82d8df40b9a279871c5ecdb46a8
2009-01-30 20:33:57 +13:00
Nickolay Ponomarev
1c31ed6481
Bug 472189. Delay attribute changes for progressmeter updates via script-runnables. r=enn,sr=roc
2009-01-19 22:29:48 +13:00
L. David Baron
e1ce1b49d4
Don't suppress use of overridden virtual destructors, so we fix the appearance of a leak in the leak statistics. (Bug 473548) r+sr=roc
2009-01-16 13:32:09 -08:00
Jeremy Lea
ce80f69254
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
3498a5f86e
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
73a6fab34b
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
802d1a10c7
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Olli Pettay
474837c244
Bug 471883 - Gesture events should be dispatched to the element under mouse, not to document. r+sr=roc
2009-01-03 14:40:26 +02:00
L. David Baron
a3d58314bb
Fix nsLayoutUtils::IsReallyFixedPos to work right in paginated mode. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:37 -05:00
Markus Stange
a5dc4569b8
Bug 391984 - [10.5] Add roundness to context menus, r=josh sr=roc
2008-12-11 15:37:38 +01:00
L. David Baron
2dccf4784c
Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+
2008-12-04 08:09:53 -08:00
Robert O'Callahan
5dbbdc2928
Bustage fix for bug 463307
2008-12-03 15:02:29 +13:00
Robert O'Callahan
262988e865
Bug 463307. Convert to float a bit earlier to avoid integer overflow. r+sr=dbaron
2008-12-03 14:32:18 +13:00
Robert O'Callahan
2356d63883
Bug 467283. Ignore dirty rect when doing any image resampling --- it will lead to artifacts. r+sr=dbaron,r=vlad
2008-12-03 09:46:44 +13:00
Gavin Sharp
f994940c6b
Bug 462887: document ignoreScrollFrame argument in nsLayoutUtils, rename it to ignoreRootScrollFrame, r=roc, sr=bzbarsky, a=beltzner
2008-11-28 14:53:33 -05:00
Robert O'Callahan
57bec6006e
Bug 460012. When recreating frames for a generated content node, reframe the nearest non-generated-content ancestor. r+sr=bzbarsky
2008-11-26 11:15:41 +13:00
L. David Baron
df90903560
Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
Robert O'Callahan
f5b9109022
Bug 464811. Snap the anchor point to pixels using a method that guarantees the source rect and the subimage rect intersect. r+sr=dbaron
2008-11-18 20:48:46 +13:00
Robert O'Callahan
db439546d0
Backed out changeset 0ced86fbf8ed (reftest failures)
2008-11-18 10:13:55 +13:00
Robert O'Callahan
9c78bd79e6
Bug 464811. Tweak the anchor point snapping algorithm again. This time we have a proof that the resulting snapping algorithm guarantees the subimage rectangle intersects the logical source rectangle. r+sr=dbaron
2008-11-18 09:32:11 +13:00
Robert O'Callahan
687210c214
Bug 463217. Don't let nsLayoutUtils::DrawSingleImage/DrawSingleUnscaledImage do any tiling, restrict their drawing to the single tile. r+sr=dbaron
2008-11-10 20:24:21 +13:00
Robert O'Callahan
77ae7c8abe
Bug 463204. Be more careful about snapping the anchor point. We must transform the anchor point to match the snapping of the fill rect before we actually snap it to device pixels. r+sr=dbaron
2008-11-07 13:58:42 +13:00
Robert O'Callahan
f27247750a
Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron
2008-11-04 14:01:21 -08:00
Gavin Sharp
f4d07ac65b
Bug 459604: add an optional parameter to SendMouseEvent to ignore the scroll frame, r+sr=roc
2008-10-27 16:16:23 -04:00
Taras Glek
e4062632a7
Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst
2008-10-09 16:23:07 -07:00
Zack Weinberg
f21ce60ac3
Bug 450652 – Style system changes to support CSS3 border-radius – data structures for elliptical borders (part 1) [r+sr=dbaron]
2008-10-01 00:50:52 -05:00
John Daggett
37c61248d6
Bug 441473. Implement user font set object. r+sr=roc
2008-10-01 12:01:53 +09:00
Robert O'Callahan
fa9c29cdcd
Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats
2008-10-01 13:51:05 +13:00
Robert O'Callahan
4fc9cfd0c6
Backing out bug 455984 to see if it fixed Tp crashes
2008-10-01 00:28:20 +13:00
Robert O'Callahan
4fdd181cd0
Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats
2008-09-30 21:47:20 +13:00
Robert O'Callahan
a39e457b50
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
4527d5d1a8
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc
2008-09-28 20:38:34 +13:00
Robert O'Callahan
5dbf5690ac
Backing out bug 448830
2008-09-26 13:10:26 +12:00
Jeremy Lea
7261376c29
Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc
2008-09-26 10:42:19 +12:00
Arpad Borsos
18b833c041
Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc
2008-09-20 15:42:03 +02:00
Keith Schwarz
48a87265ac
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
L. David Baron
67b916836d
Convert text-shadow and box-shadow storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky
2008-09-12 20:45:37 -07:00
Zack Weinberg
0299bad5bb
Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron
2008-09-12 08:35:53 -07:00
Robert O'Callahan
b52d3794d5
Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats
2008-09-11 12:24:16 +12:00
Robert O'Callahan
82aa805186
Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky
2008-09-04 09:35:52 +12:00
Neil Deakin
a6d6c664e4
Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc
2008-08-27 08:07:27 -04:00
Boris Zbarsky
350d6fc473
Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux
2008-08-25 11:08:28 -04:00
Neil Deakin
acd274d130
Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc
2008-08-25 21:56:29 +12:00
Jeremy Lea
2fab211d2a
Bug 379616. The mRect for SVG frames should be in appunits. r+sr=tor
2008-08-25 21:23:54 +12:00
Robert O'Callahan
5d0ccb30e6
Bug 451028. Don't offset the exclusion region, it's in non-moving coordinates. r+sr=dbaron
2008-08-25 20:54:24 +12:00
Dave Camp
2092b61045
Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295)
2008-08-19 17:55:30 -07:00
Neil Deakin
ca9461ce4b
Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc
2008-08-20 10:31:45 +12:00
Benjamin Smedberg
7a57f2972d
Backed out changeset e92e18d52d71 due to the following test failures on Windows:
...
*** 31290 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect width - got 45, expected 0
*** 31291 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect height - got 20, expected 0
*** 31292 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect right - got 45, expected 0
*** 31293 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect bottom - got 20, expected 0
*** 31306 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect width - got 45, expected 0
*** 31307 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect height - got 20, expected 0
*** 31308 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect right - got 45, expected 0
*** 31309 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect bottom - got 20, expected 0
2008-08-19 12:20:16 -04:00
Jeremy Lea
55db355540
Bug 379616 - Switch SVG's frame mRect to app units, r+sr=tor
2008-08-19 10:14:01 -04:00
Robert O'Callahan
edc33b1edc
Bug 238072. Make generated content take the normal frame construction path. Relanding with changes so that counter and quote nodes are initialized after their frames are available, more like the old code. r+sr=dbaron,bzbarsky
2008-08-18 13:16:42 +12:00
Robert Longson
d388bfe998
Bug 450495 - Make foreignObject a mandatory part of SVG. r+sr=roc
2008-08-17 12:18:21 +01:00
Robert O'Callahan
cd57e98a68
Bug 447739. When a uniform-color area is bitblitted to a new location while scrolling, the intersection of its old and new areas does not need to be invalidated. r+sr=dbaron
2008-08-16 21:22:02 +12:00
Rob Arnold
a99f6d56c4
Implement Aero Glass effect support - bug 418454 r=vlad r=roc
2008-08-12 17:44:14 -07:00
Simon Montagu
0d19165bc2
Bug 449577. Remove GetHints(), r+sr=roc
2008-08-11 18:19:01 +03:00
Robert O'Callahan
e77bdf3d25
Bug 238072 backout
2008-08-07 22:22:08 +12:00
Robert O'Callahan
dcf51d2a34
Bug 238072. Rework generated content support to match CSS 2.1, making generated content take the normal frame construction path so supporting any style applied to it (including 'position', 'float', etc). r+sr=bz,r=dbaron
2008-08-07 13:18:24 +12:00
L. David Baron
b9b034b9b5
Fix media queries calculation of screen size for at least multi-monitor mirroring cases (where test_media_queries fails). (Bug 156716) r+sr=roc
2008-07-26 09:14:49 -07:00
Zack Weinberg
a1072e86a3
Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron
2008-07-17 16:37:12 -07:00
Zack Weinberg
28a8588125
Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron
2008-07-15 14:31:36 -07:00
Karuna (karunasagark@gmail.com)
0eb449dd2a
Bug 409331. Instead of QIing to nsBlockFrame in various places, call an nsLayoutUtils method to do it. r+sr=roc
2008-07-14 10:10:23 +12:00
Michael Ventnor
b3e218a0a8
Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron]
2008-07-07 19:56:52 -05:00
L. David Baron
a6eaf5d9f2
Backed out changeset f6b609b0af6e
2008-06-17 16:10:53 -07:00
Zack Weinberg
5a32b9d546
Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units. (Bug 363706) r=roc sr=dbaron
2008-06-17 14:37:56 -07:00
Michael Ventnor
129d4dc805
Implement text-shadow rendering (bug 10713). r+sr=roc. Relanding with fixes to make tests pass on Mac
2008-06-13 10:02:32 +12:00
Robert O'Callahan
42904fb3e3
Backing out text-shadow due to Mac issues
2008-06-12 17:32:31 +12:00
Michael Ventnor
159e13c0ea
Implement text-shadow rendering.
2008-06-12 14:34:40 +12:00
L. David Baron
bee4adf604
Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc
2008-06-03 15:25:31 -07:00
roc+@cs.cmu.edu
a091e3d5c6
Bug 428156. Relanding. Make ComputeRepaintRegionForCopy handle non-moving frames that clip moving frames. r+sr=dbaron
2008-04-18 02:21:21 -07:00
fantasai.cvs@inkedblade.net
c799e1aaed
consider relevant overflow when balancing columns (fixes various crashes and hangs) b=404215 r+sr=roc a=beltzner
2008-04-18 00:40:35 -07:00
roc+@cs.cmu.edu
fe6c3d833b
Bug 428156 backout
2008-04-17 04:52:32 -07:00
roc+@cs.cmu.edu
ae2ff1b3c0
Bug 428156. ComputeRepaintRegionForCopy needs to handle non-moving frames that clip moving content. r+sr=dbaron,a=beltzner
2008-04-17 01:15:14 -07:00