Commit Graph

716 Commits

Author SHA1 Message Date
Chris Jones
8e9ba51327 Bug 590294, part 5: Add a setDisplayPort() API to allow the frontend (or whatever else) to set an arbitrary visible region for the purposes of invalidation and layer retaining. r=roc sr=dbaron 2010-09-03 15:10:46 -05:00
Chris Jones
1b5ef66463 Bug 590294, part 4: IGNORE_VIEWPORT_SCROLLING currently implies interpreting the visible region as being relative to document space. Displayport rendering wants everything IGNORE_VIEWPORT_SCROLLING implies, except it wants the visible region to be relative to the viewport. So, split the coordinate-space interpretation into a new flag DOCUMENT_RELATIVE, which interprets the visible region as document-relative. r=tn sr=roc 2010-09-03 15:10:46 -05:00
L. David Baron
29a3c7ade2 Expose RectToGfxRect on nsLayoutUtils. (Bug 459144, patch 10) r=roc a2.0=blocking:beta6+ 2010-09-07 15:20:35 -07:00
Daniel Holbert
c37afa047e Bug 276431 Patch 10: Make imgContainer::Draw take image-viewport-size, and improve nsLayoutUtils drawing wrappers. r=roc r=joe a=blocking 2010-09-08 13:40:39 -07:00
Timothy Nikkel
f554d84e9a Bug 591435. Need to honour paint suppression in subdocuments. r=roc a=blocking beta6+ 2010-09-01 15:44:48 -05:00
Robert O'Callahan
9325f060d3 Bug 590468. Part 6: Fix setting of nsDisplayList::mOpaque, and return it from nsDisplayWrapList::IsOpaque. r=tnikkel 2010-08-27 18:15:08 -05:00
L. David Baron
b52a7e2eb1 Make IsAutoHeight be a member of nsLayoutUtils so we don't have to have two copies of it. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
a99334a539 Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
4ff5861e6e Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
L. David Baron
bd750d1204 Introduce nsStyleCoord::HasPercent to check for either a percent value or a calc() value containing a percent. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
L. David Baron
3a6e38156a Add support for calc() to ComputeWidthDependentValue and ComputeHeightDependentValue. Also change calc() handling of percents from using round to using floor, which changes our handling of percents on 'width' back to using floor, reverting an earlier change in this bug. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
Timothy Nikkel
e8ed729db6 Bug 588692. If we can't paint with widget layers, don't try to. r=roc 2010-08-21 19:55:55 -05:00
Karl Tomlinson
52589fee57 b=588306 only invalidate all layers on PAINT_IGNORE_SUPPRESSION when there is suppression to ignore r=roc a=bsmedberg 2010-08-20 15:49:16 +12:00
Timothy Nikkel
7689beafd5 Bug 572599. If we get an event on a child widget that is in a disconnected view subtree the view subtree might not have a root widget. r=roc 2010-08-18 20:16:58 -05:00
Timothy Nikkel
5f5f0cfd71 Bug 587539. When we get a paint event for a widget in a disconnected view subtree there isn't a display root widget. r=roc 2010-08-18 20:16:58 -05:00
Rob Arnold
0de633f9ee Bug 554982 - Add support for borderless glass and remove the borders from the main window. r=roc,dao a=blocking2.0 2010-08-17 23:07:10 -04:00
Markus Stange
2cd20d4450 Bug 506826 - Make nsLayoutUtils::PaintFrame able to draw all continuations of a frame. r=roc 2010-08-13 15:32:04 +02:00
Markus Stange
eefa14ba48 Bug 572680 - Add nsLayoutUtils::DrawPixelSnapped. r=roc 2010-08-13 15:30:37 +02:00
Robert O'Callahan
dd09d71cfd Bug 580834. Make nsLayoutUtils::GetActiveScrolledRoot stop at the nearest popup ancestor instead of asserting. r=tnikkel,a=dbaron 2010-08-13 22:03:51 +12:00
Robert O'Callahan
cace06b530 Bug 579258. Remove the 'before move' region parameter to ComputeVisibility. r=tnikkel,a=joe 2010-08-13 21:55:54 +12:00
L. David Baron
a08510dddd Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:53 -07:00
Timothy Nikkel
b6ab71f04a Bug 584617. Part 2. If we get passed an unusual backstop color we need to flush layers. r=roc a=dbaron 2010-08-08 13:49:07 -05:00
Timothy Nikkel
e50ee1ea1d Bug 584617. Part 1. Make sure that we don't use the overflow rect of the root frame instead of the dirty region when we are drawing ignoring viewport scrolling because that might be wrong. r=roc a=dbaron 2010-08-08 13:49:07 -05:00
Timothy Nikkel
73fa507bc1 Bug 584516. With linked view manager hierarchies we need to draw the print preview background on subdocument frames as well. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel
12ae6b7aa6 Bug 579663. Part 1. Remove unused offset param from GetActiveScrolledRootFor. r=roc 2010-08-08 13:49:06 -05:00
Chris Jones
f96d155a2e Bug 570620, part b: Fix a hidden header depedency and add a PresShell::GetLayerManager() helper. r=tn 2010-08-05 17:11:23 -05:00
Boris Zbarsky
23e32c6cf0 Bug 582037. When computing intrinsic widths, take the viewport's dimensions into account when it has percent-height descendants. r=dbaron 2010-08-05 17:59:36 -04:00
Boris Zbarsky
eb8f339388 Bug 577838. The first line baseline of a fieldset should be the first line baseline of its legend (if it has one), or of its content if it does not. r=dbaron 2010-08-04 22:40:19 -04:00
Felipe Gomes
ea6fc2bc0e Bug 508906. Add experimental MozTouch events. r=smaug,jimm 2010-08-02 15:34:54 +02:00
Neil Deakin
41968fdc26 Bug 552982, Part 4: change nsXULPopupManager::GetVisiblePopups to also return noautohide panels, r=mats 2010-07-27 09:38:03 -04:00
Timothy Nikkel
80321610da Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats 2010-07-18 21:23:48 -05:00
Robert O'Callahan
f235f5c301 Bug 564991. Part 14: Scroll using the layer system. r=mats,sr=dbaron 2010-07-16 09:08:02 +12:00
Robert O'Callahan
ffbfe8b480 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
b09602c6ef Bug 564991. Part 12: Refactor RenderDocument to use nsLayoutUtils::PaintFrame. r=mats 2010-07-16 09:07:52 +12:00
Robert O'Callahan
e4cb10e0af Bug 564991. Part 11: Start retaining layer trees. r=mats 2010-07-16 09:07:51 +12:00
Robert O'Callahan
7166351c49 Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats 2010-07-16 09:07:51 +12:00
Timothy Nikkel
69e644de71 Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats 2010-07-02 14:11:04 -05:00
Markus Stange
6c78abf546 Bug 572680 - Pull the image snapping algorithm out of DrawImageInternal. r=roc 2010-07-01 18:43:06 +02:00
L. David Baron
015033ef23 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
51bba9be84 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
d1b226591b 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
b9aa4054f1 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
c3f2d86acc backout ce0bec337cdd due to bad message 2010-06-11 10:53:01 +12:00
Rob Arnold
fe6b1a36e8 Attempt to infer whether or not theme parts are transparent r=roc,rob sr=vlad 2010-06-11 10:25:15 +12:00
Oleg Romashin
f8dca110b9 Bug 558308 - More GFX optimizations needed for Image Layers. r=vlad 2010-04-20 12:36:00 -04:00
Robert O'Callahan
43da4f4722 Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron 2010-05-13 12:56:11 +12:00
Vladimir Vukicevic
f105732465 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
Robert O'Callahan
db9a84a471 Backed out changeset 054698c2cb8f 2010-05-13 14:21:53 +12:00
Robert O'Callahan
d01d529e1b Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron 2010-05-13 12:56:11 +12:00
Robert O'Callahan
a5c84d16d1 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