Commit Graph

357 Commits

Author SHA1 Message Date
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
Robert O'Callahan
fffc1d9a6f bug 563864. Add mozPaintCount API. r=smaug,sr=vlad 2010-05-13 12:56:08 +12:00
Boris Zbarsky
cd27fc6a1c 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
fb38b1cb38 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
b799eebaa2 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
d8effcff7f 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
21cb9c6c41 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Dave Townsend
539da9e285 Bug 544277: Cannot build layout with MOZ_MEDIA disabled. r=enn, a=#developers 2010-04-25 12:52:23 -07:00
Masayuki Nakano
b2b8aa83f0 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Felipe Gomes
c8e1ff9545 Bug 489127 - nodesFromRect required for better usability on mobile devices (part 3) [r=roc] 2010-04-07 20:31:26 -04:00