Trevor Saunders
acb9fa5812
bug 828138 - remove nsISelectionPrivate::SetPresShell() r=ehsan
2012-12-18 17:30:11 -05:00
L. David Baron
64f2af2b05
Add crashtest for bug 621424 / bug 588237.
2013-01-11 14:51:21 -08:00
L. David Baron
d162a80b30
Bug 588237, patch 5: remove the optimization of skipping FlowAndPlaceFloat for some pushed floats, simply because the optimization looks fishy to me. r=roc
2013-01-11 14:51:21 -08:00
L. David Baron
236d1979ed
Bug 588237, patch 4: Pull pushed floats back from the next-in-flow at the start of reflow. r=roc
2013-01-11 14:51:21 -08:00
L. David Baron
3a06831348
Bug 588237, patch 2: Fix comment that is now incorrect due to work in bug 563584 or followups. r=roc
2013-01-11 14:51:21 -08:00
Chris Peterson
f913a80fc9
Bug 829344 - Part 4: Fix gcc -Wlogical-op warnings from PRBool/bool conversion. r=ehsan
2013-01-10 17:56:51 -08:00
Cervantes Yu
7870585aaf
Bug 820571: Don't show remote frame on restyles until reflow finished. r=roc
...
Original work from :roc.
Add check in nsFrameLoader::ShowRemoteFrame() so restyle of subdocument frames
doesn't resize remote content until first reflow finished and size is decided.
--HG--
extra : rebase_source : 24959ad409eb4e8993ae9eb0a82f5d670866ba54
2013-01-10 15:23:55 +08:00
Masatoshi Kimura
0e056cc892
Bug 829388 - Remove unused functions and macros from nsCoord.h. r=roc
2013-01-11 20:37:52 +09:00
Ed Morley
3543eadcba
Backout 7f4f96dbf94f (bug 827172), 661847c6e48b (bug 827724), 00e357dd1458 (bug 827149) to fix the build on a CLOSED TREE
2013-01-11 11:13:17 +00:00
David Zbarsky
b20442f721
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-11 02:15:05 -05:00
L. David Baron
862cbc2417
Back out bug 588237, patches 2 through 5.
2013-01-10 22:20:16 -08:00
L. David Baron
32ce324129
Bug 588237, patch 5: remove the optimization of skipping FlowAndPlaceFloat for some pushed floats, simply because the optimization looks fishy to me. r=roc
2013-01-10 21:14:51 -08:00
L. David Baron
f47d93e47f
Bug 588237, patch 4: Pull pushed floats back from the next-in-flow at the start of reflow. r=roc
2013-01-10 21:14:51 -08:00
L. David Baron
6139cb52c3
Bug 588237, patch 3: Remove the pushed floats list when it is empty. r=roc
2013-01-10 21:14:51 -08:00
L. David Baron
56eccb84a1
Bug 588237, patch 2: Fix comment that is now incorrect due to work in bug 563584 or followups. r=roc
2013-01-10 21:14:51 -08:00
Trevor Saunders
0f5eb0fd07
bug 829288 - fix layout/ warnings on mingw r=dholbert
2013-01-10 02:04:09 -05:00
Daniel Holbert
fd297c7cef
Bug 826149 - Add IsFrameTreeTooDeep() early-return in flex container reflow. r=dbaron
2013-01-07 21:29:22 -05:00
Shih-Chiang Chien
c7b1f55e57
Bug 820660 - Test case for prevent selection on mouse event and touch event. r=smaug
2013-01-07 21:29:21 -05:00
Mats Palmgren
16625ae9ba
Bug 734777 - Call NoteFrameRemoved also when it's the last frame on the line to avoid an assertion. r=roc
2013-01-06 03:04:59 +01:00
Robert O'Callahan
85884b1a4b
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b56cdd701e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Ehsan Akhgari
f204022ad2
Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Kartikaya Gupta
1b8ff9a1c0
Bug 826411 - Remove obsolete comment about compiler-specific workaround. r=mats
2013-01-04 10:12:11 -05:00
Ehsan Akhgari
11b68a76e0
Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
...
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00
Ehsan Akhgari
c8deef991c
Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Trevor Saunders
96c9daa6be
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Robert O'Callahan
f9b9491b81
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Jeff Muizelaar
510a4007bb
Bug 825692. Avoid layerizing scrollframes that don't have scrollbar boxes. r=roc
...
Input boxes have overflow:auto but don't have scrollbar boxes. This prevents
us from layerizing them.
--HG--
extra : rebase_source : 24d305a019f67ea2d2529bd25815209bff4485c7
2013-01-02 11:26:51 -05:00
Masatoshi Kimura
b5e27745c8
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Robert O'Callahan
d4874041bb
Bug 816359. Part 2: Make nsStyleDisplay::HasTransform take a frame parameter and check that the frame supports transforms. r=mats"
2012-12-31 11:45:57 +13:00
Masayuki Nakano
d3fb533d82
Bug 812143 Include text-decoration rect as solid style in text frame's overflow rect when the style is none r=dbaron
2012-12-28 09:00:50 +09:00
Mats Palmgren
c9e82ac45b
Bug 822053 - Nested balancing column sets restriction shouldn't affect non-balancing column sets. r=roc
2012-12-27 22:24:08 +01:00
Robert O'Callahan
d610e1e879
Bug 808466. When invalidating a popup frame stop there because popup frames are display roots, don't look at the parent frame's needs paint bits as they are not relevant to the popup frame. r=tnikkel
2012-12-27 14:06:46 -06:00
Daniel Holbert
bc0245358f
Bug 821449: Marked flex items whose height is stretched (via "align-items/align-self") as having a relative height. r=dbaron
...
--HG--
rename : layout/reftests/flexbox/flexbox-dyn-changePadding-1a.xhtml => layout/reftests/flexbox/flexbox-dyn-changePadding-1b.xhtml
2012-12-26 12:31:23 -08:00
Daniel Holbert
bc6d982e65
Bug 821426: Call FinishReflowChild() instead of DidReflow() after flex container's "measuring" reflow for a flex item. r=dbaron
2012-12-26 12:29:27 -08:00
Daniel Holbert
5d939706e3
Bug 811521: When reflowing a flex container, ensure its children are sorted by 'order'. r=dbaron
2012-12-26 12:17:52 -08:00
Nicholas Nethercote
df43bc1128
Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf.
2012-12-23 20:45:57 -08:00
Shih-Chiang Chien
9c778509e9
Bug 814252 - Should not process HandleDrag for touch event. r=smaug
2012-12-23 22:08:15 -05:00
Peter Van der Beken
6b82e32e41
Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings) - move some HTML element classes to mozilla::dom. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLDivElement.cpp => content/html/content/src/HTMLDivElement.cpp
rename : content/html/content/src/nsHTMLDivElement.h => content/html/content/src/HTMLDivElement.h
rename : content/html/content/src/nsHTMLElement.cpp => content/html/content/src/HTMLElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
rename : content/html/content/src/nsHTMLUnknownElement.cpp => content/html/content/src/HTMLUnknownElement.cpp
rename : content/html/content/src/nsHTMLUnknownElement.h => content/html/content/src/HTMLUnknownElement.h
extra : rebase_source : 99a2b1764bfd34db1375939b967f816dc2a42a91
2012-12-21 15:06:50 +01:00
Masatoshi Kimura
4a07dc4302
Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo
2012-12-21 20:47:52 +09:00
Matt Woodrow
e7ac2cfa42
Bug 822141 - Invalidate bullet display items when their value changes. r=roc
2012-12-21 22:09:23 +13:00
Justin Lebar
7bef45ba1a
Bug 819791 - Part 3: Make typeof nsTArray == typeof InfallibleTArray. r=bz
...
Also make typeof nsAutoTArray == typeof AutoInfallibleTArray and switch
files to using nsTArrayForwardDeclare.h.
2012-12-18 20:16:06 -05:00
Joe Drew
d070cfdc5f
Bug 716140 - Convert the XPCOM imgIDecoderObserver interface into a private C++ interface, imgDecoderObserver, so we can more easily make changes to it. r=jrmuizel
2012-12-18 11:37:15 -05:00
Alexander Surkov
f177b6062c
Bug 810572, part 3 - merge Accessible::AccessibleTypes with AccTypes, r=tbsaude
2012-12-18 14:22:26 +09:00
Robert O'Callahan
6bd4298b70
Bug 820496. Put bounds in correct coordinate system when setting up the canvas background for a page. r=mattwoodrow
...
--HG--
extra : rebase_source : 1927c9c5c26dea200b9df618bb5798e5f37d6b86
2012-12-18 15:45:14 +13:00
Alexander Surkov
db23e3552b
Bug 810572, part 2.5 - rename AccType constants again, r=tbsaunde, sr=roc
2012-12-18 10:25:52 +09:00
Masayuki Nakano
792137f340
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Jeff Muizelaar
b4e2a8d95a
Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
...
This doesn't switch all of the users yet, but is a step in the right
direction.
--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
Trevor Saunders
cdabdac86e
bug 781409 - remove nsITableLayout r=roc,davidb
2012-08-08 09:05:17 -04:00
Matt Woodrow
f995da7b0f
Backout changeset 3ba90f85653a (Bug 805343) for regressing android talos tests
2012-12-14 11:51:00 +13:00
Matt Woodrow
800b08b7f2
Bug 821477 - Don't build nsDisplay{Canvas}BackgroundImage items when the image is empty. r=roc
2012-12-14 11:16:14 +13:00
Matt Woodrow
bb271e80fa
Bug 820246 - Split nsDisplayCanvasBackground into separate color and image items. r=roc
2012-12-13 14:15:55 +13:00
Ed Morley
5c0064f135
Backout 4777ad9776ec (bug 820246) for causing frequent failures in background-image-zoom-1.html on Android
2012-12-13 12:25:12 +00:00
Matt Woodrow
0ef5d0e471
Bug 820246 - Split nsDisplayCanvasBackground into separate color and image items. r=roc
2012-12-13 14:15:55 +13:00
Jeff Muizelaar
baf84acb23
Bug 811157. Use GetBaseTransform() instead of GetTransform(). r=roc
...
It makes sense to check against the BaseTransform because that's what
we're setting.
--HG--
extra : rebase_source : 8529c24bb9c0caef1d6da5b786afc54e2a8bf243
2012-12-12 17:01:18 -05:00
Alexander Surkov
e3cd8d0be2
Bug 810572, part2 - remove 'Accessible' postfix from AccTypes constants, r=tbsaunde, sr=roc
2012-12-12 19:04:12 +09:00
Shih-Chiang Chien
8614b515f3
Bug 815943 - prevent drag detection while invoking preventDefault() on touch move event. r=smaug.
2012-11-28 12:01:21 +08:00
Nicholas Cameron
04002c184f
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Matt Woodrow
d12fc1cdaf
Bug 820131 - Compute a more accurate bounds for nsDisplayBoxShadowOuter. r=roc
2012-12-12 09:36:54 +13:00
Robert O'Callahan
4f25ab855f
Bug 805343. Part 2: Update FrameLayerBuilder::HasVisibleRetainedDataFor to account for occluded display items. r=mattwoodrow
...
--HG--
extra : rebase_source : 293895627ef5f37c508a23fe9e9a5639527aafcc
2012-12-10 18:49:17 +13:00
Robert O'Callahan
06e395c355
Bug 818643. Issue an NotifyRenderingChanged callback on nsDisplayItems when we invalidate anything to do with the display item. Make nsDisplayCanvasBackground override NotifyRenderingChanged to invalidate the cached background image. r=mattwoodrow
...
--HG--
extra : rebase_source : c28b2804d647a991f7d2cb8167fcf039c1835d75
2012-12-10 18:34:31 +13:00
Matt Woodrow
f14a907820
Bug 815666 - Use OverflowUpdateTracker to avoid calling UpdateOverflow on the same frame multiple times. r=roc
2012-12-10 15:33:04 +13:00
Matt Woodrow
19e409b961
Bug 815666 - Add a helper class to coalesce frames that need their overflow updated. r=roc
2012-12-10 15:32:55 +13:00
Robert O'Callahan
af829db568
Bug 816458. Instead of removing the MAY_BE_TRANSFORMED bit in certain frame classes, add an nsIFrame::SupportsCSSTransforms method and call it when necessary. r=mats
2012-12-04 17:50:05 +13:00
Matt Woodrow
d79e024902
Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc
2012-09-18 10:34:21 +12:00
Mats Palmgren
4795bfa1d7
Bug 806284 - Resizing a RTL block with text-align:left does not reposition the lines. r=roc
2012-12-05 23:26:28 +01:00
Scott Johnson
d51eed6115
Bug 811825: Make max line box width ignored if frame has constrained height in order to prevent cut-off data when a user reflows-to-zoom. [r=dbaron]
2012-12-04 22:14:56 -06:00
Mats Palmgren
60ccae9fe3
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Daniel Holbert
a3e52c5d43
Bug 817744: Fix whitespace issues in nsFrameSetFrame.cpp. whitespace-only, DONTBUILD
2012-12-03 11:47:10 -08:00
Paul Adenot
b82ab109c9
Bug 817404 - Compilation error in layout/generic/nsFrameSetFrame.cpp with gcc 4.7. r=ehsan
2012-12-03 15:44:26 +01:00
Mats Palmgren
a4582c2dca
Bug 814995. r=roc
2012-12-01 03:28:02 +01:00
Daniel Holbert
bdad1e8b01
Bug 813358 part 1: Remove unnecessary nsBoxLayoutState argument from various XUL frame-sorting-related methods. r=dbaron
2012-11-30 15:25:32 -08:00
Mats Palmgren
0bae59cdf1
Bug 814677 - Replace XP_IS_SPACE with dom::IsSpaceCharacter and add form-feed to match DOM spec. r=bz
2012-11-30 17:04:11 +01:00
Daniel Holbert
df05d755e9
Bug 808767: Put flex items' borders & backgrounds into the BlockBorderBackgrounds display-list, so that overlapping flex items & their contents will paint in the right order. r=dbaron
2012-11-30 00:13:23 -08:00
Matt Woodrow
7a101b8796
Bug 816603 - Set the correct canvas background color during print preview. r=tn
2012-11-30 17:34:39 +13:00
Ryan VanderMeulen
35da76566c
Backed out changeset 9430676f5442 (bug 808767) for Android R3 failures.
2012-11-29 17:55:50 -05:00
Matt Woodrow
636edf7eb9
Bug 810302 - Force playing videos to always get an active layers. r=roc
2012-11-30 11:11:06 +13:00
Matt Woodrow
56ba57d515
Bug 810302 - Don't try to draw layers with a singular transform on BasicLayers. r=roc
2012-11-30 11:11:04 +13:00
Daniel Holbert
f5f871312c
Bug 808767: Put flex items' borders & backgrounds into the BlockBorderBackgrounds display-list, so that overlapping flex items & their contents will paint in the right order. r=dbaron
2012-11-29 12:46:22 -08:00
Boris Zbarsky
9a2a0bca08
Bug 815671 part 7. Fixes to layout code to not copy arrays implicitly. r=roc
2012-11-29 11:14:14 -05:00
Matt Woodrow
37850af866
Bug 815593 - Remove unused variable. r=bustage
2012-11-29 19:01:48 +13:00
Robert O'Callahan
4fd3be0cc7
Bug 815593. Don't layerize images that exceed MaxTextureSize. r=mattwoodrow
...
--HG--
extra : rebase_source : f94300b24b90d063df095324663c9d8fa49e42e9
2012-11-28 15:34:45 +13:00
Robert O'Callahan
036ee3bed5
Bug 801842. Treat windowless plugins in popups as always visible, since we don't compute proper geometry for them. r=tnikkel
...
--HG--
extra : rebase_source : a6ad44a8dc4b596f3a83fcd19ba97cda43e4def1
2012-11-28 02:18:39 +13:00
Robert O'Callahan
75b3d3cf88
Bug 815030. Invalidate cached background images in when a frame gets a visual style change. r=mattwoodrow
...
--HG--
extra : rebase_source : eef4784ea2d4ef0f88d6dfdbf3258d1b8416f443
2012-11-27 22:05:10 +13:00
Scott Johnson
29411d3842
Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan]
2012-11-28 18:26:39 -06:00
Mats Palmgren
6f2db95cbc
Bug 812879. r=fantasai
2012-11-28 19:55:36 +01:00
Josh Matthews
3db6e574aa
Bug 788959 - Clear the listener associated with cancelled bullet frame image requests. r=bz
2012-11-28 10:30:05 -05:00
Daniel Holbert
02eac01c15
Bug 815972: Remove unneeded nsDisplayListCollection from nsBlockFrame.cpp's DisplayLine() helper-function. r=roc
2012-11-28 00:08:30 -08:00
Daniel Holbert
ddc8804d43
(no bug) Capitalize & clean up inline-comments next to nsFlexContainer member-var declarations, to keep them from looking like a single large comment. comment-only, DONTBUILD
2012-11-28 00:08:25 -08:00
Matt Woodrow
a02d116ece
Bug 810592 - Make nsSubDocumentFrames that are actively scrolling build their own layer. r=roc
2012-11-22 18:33:33 +13:00
Nicholas Nethercote
885bd89c9e
Bug 814312 - Avoid PL_ArenaPool recycling in the layout engine. r=roc.
...
--HG--
extra : rebase_source : 7aaa3d745583c595692f1effd933cc70931194ff
2012-11-25 14:40:28 -08:00
Robert O'Callahan
255ad30a0a
Bug 812517. Part 1: Add nsIScrollableFrame::ScrollToCSSPixelsApproximate. r=mats
...
--HG--
extra : rebase_source : abf7313cdcf5a2a670dbbbd5b59363d7c60aa3e7
2012-11-23 14:25:23 +13:00
Nicholas Cameron
75dacf4dde
Bug 812908; add a debug pref for forcing active layers; r=roc
2012-11-23 12:29:05 +13:00
Ed Morley
2f9dc50bd2
Backout d30b99cfd933 (bug 802385), 58ce0ddf7611 (bug 810275), 1c96b4a67d38 (bug 810592) for reftest failures
2012-11-22 09:59:23 +00:00
Matt Woodrow
600a54d887
Bug 810592 - Make nsSubDocumentFrames that are actively scrolling build their own layer. r=roc
2012-11-22 18:33:33 +13:00
Boris Zbarsky
10febd02e6
Bug 776443 part 2. Support percent-less calc for internal table element widths. r=dbaron
2012-11-21 11:19:37 -05:00
Boris Zbarsky
e4050f92f8
Bug 776443 part 1. Support percent-less calc for internal table element heights. r=dbaron
2012-11-21 11:19:30 -05:00
Ryan VanderMeulen
47710276d9
Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
...
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
c02fa4914b
Bug 776443 part 2. Support percent-less calc for internal table element widths. r=dbaron
2012-11-21 11:19:37 -05:00
Boris Zbarsky
ad2325fe75
Bug 776443 part 1. Support percent-less calc for internal table element heights. r=dbaron
2012-11-21 11:19:30 -05:00
Seth Fowler
630ed49838
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
Daniel Holbert
0b963e527d
Bug 807897: Make non-auto values for "z-index" turn flex items into stacking contexts, even if they're not positioned. r=dbaron
2012-11-20 17:24:59 -08:00
Matt Woodrow
208ddd52f5
Bug 811570 - Allow inactive scroll frames to become active when scrolled. r=roc
2012-11-19 17:19:22 +13:00
Matt Woodrow
5dc466f953
Bug 811927 - Allow conversion of nsDisplayBackgroundImage into ImageLayers. r=roc
2012-11-19 16:28:18 +13:00
Jeff Muizelaar
0827ec3aaa
Bug 794957. Use imgLoader instead of imgILoader. r=joe
...
This makes use of imgLoader instead of imgILoader in more places.
--HG--
extra : rebase_source : 6b391e5ecc2fd9558516c7493116e7e7852b71b3
2012-11-16 10:24:58 -08:00
Robert O'Callahan
57460ca6e6
Bug 810470. Part 8: Limit the BasicLayers background-caching optimization to cases where the destination context has an integer translation only, and snap the image rectangle. r=mattwoodrow
...
Previous patches in this bug enabled the nsDisplayCanvasBackground
background-caching optimization for the test 402807-1.html. That exposed
an existing bug where we don't snap the background image to pixel
boundaries when drawing through that path. This patch fixes it.
This patch also stops the IsSingleFixedPositionImage path from using
mDestRect, returning the rect as an out-parameter instead.
--HG--
extra : rebase_source : b7a496dfc7584dd8c73cddd0809fc5aa31992d53
2012-11-14 17:35:18 -08:00
Robert O'Callahan
9c308072cc
Bug 810470. Part 6: Rename nsDisplayBackground to nsDisplayBackgroundImage. r=mattwoodrow
...
--HG--
extra : rebase_source : c532ae41706db6c9d5488bc2b7901c3bf0f0fc25
2012-11-09 18:14:59 -05:00
Robert O'Callahan
9e3732f25f
Bug 810470. Part 4: Make only background-attachment:fixed backgrounds that have propagated to the viewport use a dedicated layer, and refactor how we do that. r=mattwoodrow
...
--HG--
extra : rebase_source : f1085ce640e50617b687f9902edd83816512f786
2012-11-09 18:14:14 -05:00
Robert O'Callahan
14d5cbdb22
Bug 810470. Part 3: Remove code for invalidating background-attachment:fixed content when scrolling. r=mattwoodrow
...
New invalidation logic takes care of this automatically.
--HG--
extra : rebase_source : 0112cfe02dbaaabf04e4010823a3cceeb6549fcd
2012-11-09 18:14:14 -05:00
Robert O'Callahan
e8d8fdb494
Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow
...
--HG--
extra : rebase_source : c9141ba46d034fc496a3e9e33efce5b022bec41c
2012-11-08 10:05:32 -05:00
Robert O'Callahan
98fc051fd7
Bug 810470. Part 1: Cache nsStyleBackground pointer in nsDisplayBackground. r=mattwoodrow
...
--HG--
extra : rebase_source : a104cfa5d8c72e208866b56507c56174e14ef143
2012-11-07 23:08:40 -05:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Robert O'Callahan
ef63ff8332
Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats
2012-11-14 22:40:17 -08:00
Robert O'Callahan
8a0e4f635b
Bug 811301. Part 1: Save and restore state of root scroll frame when reframing the root element, and treat root scroll frame state like any other frame. r=mats
2012-11-14 22:39:58 -08:00
Robert O'Callahan
c29356c1a5
Bug 759993. Make nsIFrame::GetTransformMatrix robust for popup frames. r=tnikkel
...
* * *
[mq]: tmp
2012-11-11 00:02:56 -08:00
Ryan VanderMeulen
25c2ea1279
Backed out 8 changesets (bug 810470) due OSX reftest failures.
2012-11-14 22:14:44 -05:00
Brendan Dahl
a893fe4500
Bug 115199 - CSS2 @page rule rendering support. r=roc
2012-08-31 14:20:56 -07:00
Robert O'Callahan
31c5fd6b1a
Bug 810470. Part 8: Limit the BasicLayers background-caching optimization to cases where the destination context has an integer translation only, and snap the image rectangle. r=mattwoodrow
...
Previous patches in this bug enabled the nsDisplayCanvasBackground
background-caching optimization for the test 402807-1.html. That exposed
an existing bug where we don't snap the background image to pixel
boundaries when drawing through that path. This patch fixes it.
This patch also stops the IsSingleFixedPositionImage path from using
mDestRect, returning the rect as an out-parameter instead.
--HG--
extra : rebase_source : 314cd040d3041b050f9eb1a0c39dfce3c4d6d0e6
2012-11-14 17:35:18 -08:00
Robert O'Callahan
3bfd677602
Bug 810470. Part 6: Rename nsDisplayBackground to nsDisplayBackgroundImage. r=mattwoodrow
...
--HG--
extra : rebase_source : f1253ac9aeff0384dcbcc319c88744713d3b22a3
2012-11-09 18:14:59 -05:00
Robert O'Callahan
3c634e99a3
Bug 810470. Part 4: Make only background-attachment:fixed backgrounds that have propagated to the viewport use a dedicated layer, and refactor how we do that. r=mattwoodrow
...
--HG--
extra : rebase_source : 957eb0d5f45cd756fc121135ff6d8dff483c8bf4
2012-11-09 18:14:14 -05:00
Robert O'Callahan
a198ed8fb6
Bug 810470. Part 3: Remove code for invalidating background-attachment:fixed content when scrolling. r=mattwoodrow
...
New invalidation logic takes care of this automatically.
--HG--
extra : rebase_source : f598635e58390ef868a057e8ea8ab0cf2410b8a9
2012-11-09 18:14:14 -05:00
Robert O'Callahan
6c79567ebe
Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow
...
--HG--
extra : rebase_source : 2a4f44b98000d52301053c685e50f81e251e7e8c
2012-11-08 10:05:32 -05:00
Robert O'Callahan
eb37630a01
Bug 810470. Part 1: Cache nsStyleBackground pointer in nsDisplayBackground. r=mattwoodrow
...
--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openLocationLastURL.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_openLocationLastURL.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_popupblocker.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_popupblocker.js
rename : browser/components/privatebrowsing/test/browser/perwindow/popup.html => browser/components/privatebrowsing/test/browser/global/popup.html
extra : rebase_source : cddca78450149e80131208f76b4cebd96b7526a1
2012-11-07 23:08:40 -05:00
Boris Zbarsky
4cadfe05c8
Bug 810876. Don't double-count the size of our placeholder when determining the overflow area for an image frame. r=mattwoodrow
2012-11-14 10:05:41 -08:00
Ehsan Akhgari
303a79fb7c
Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert
2012-11-13 22:47:33 -08:00
Matt Woodrow
bd7b89cb6f
Bug 811570 - Make the root content scroll frame inactive initially if it is overflow hidden. r=roc
2012-11-13 22:26:33 -08:00
Robert O'Callahan
bed3e28e39
Bug 811173. Part 2: Add other cases for nsDisplayItems that snap their bounds. r=mattwoodrow
...
--HG--
extra : rebase_source : 716ea707140907ccbed6d739ef81db1256a7b51b
2012-11-13 11:56:47 -08:00
Ryan VanderMeulen
8f46b7f654
Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures.
2012-11-13 20:19:18 -05:00
Brendan Dahl
909d765772
Bug 115199 - CSS2 @page rule rendering support. r=roc
2012-08-31 14:20:56 -07:00
Peter Van der Beken
9744ea0e6b
Fix for bug 810597 (crash in GetPrintCanvasElementsInFrame). r=bz
2012-11-12 17:48:49 -05:00
Daniel Holbert
d48e4785c6
Bug 804089: Call DidReflow() after "measuring" reflow of flex item, to clear any intermediate state before our *real* ReflowChild() call. r=dbaron
2012-11-11 10:53:57 -08:00
Vivien Nicolas
a73e4e96fe
Bug 808724 - Application with embed-apps permission can not use the mozpasspointerevents attribute. r=roc
2012-11-09 22:46:28 +01:00
Peter Van der Beken
584658dc3e
Fix for bug 804991 (Make FromContent expect a non-null pointer and add FromContentOrNull). r=bz.
...
--HG--
extra : rebase_source : 52e1c9171d05ba034971cfa16741e12061e7335d
2012-09-26 16:17:51 +02:00
Jonathan Kew
a6f11a5eff
bug 774560 pt 2 - implement text-transform:full-width. r=smontagu
2012-11-09 09:43:48 +00:00
Daniel Holbert
e8e1e0774c
Bug 806002: Convert nsDidReflowStatus into an enum. r=dbaron
2012-11-08 17:27:48 -08:00
Mats Palmgren
e9e241d66a
Bug 798867 - Use the content offset that GetFrameForNodeOffset returns. r=roc
2012-11-08 17:09:38 +01:00
Mats Palmgren
b1a520c604
Bug 685012 - Implement page-break-inside:avoid in layout. r=fantasai,sr=roc
2012-11-08 17:09:38 +01:00
Ehsan Akhgari
55beb1a63f
Bug 775350 - Update the overflow areas of the lines containing floats based on the overflow areas of the floats in the containing block; r=dbaron
2012-11-06 12:11:50 -05:00
Karl Tomlinson
01bff252cf
b=807925 revert to calling GetImageContainer() before NotifyPaintWaiter() to check for null instance first r=roc
...
--HG--
extra : transplant_source : %FF%24%B7%29%DB%F7%88%F4%60%AEg-%26%EF%1Bd%A6%FF8%0E
2012-11-08 10:15:27 +13:00
L. David Baron
0f4a543158
Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc
2012-11-07 11:55:53 -08:00
Matt Woodrow
ef3978c9e9
Bug 807563 - Update the overflow areas of all preserve-3d children when the transform changes. r=roc
2012-11-05 12:12:05 +13:00
Mats Palmgren
8f83670945
Bug 806755 - Don't call scroll methods on the pres shell after the Selection was disconnected. r=roc
2012-11-04 07:41:42 +01:00
Seth Fowler
4388c1b02d
Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe
2012-11-03 23:04:07 -04:00
Robert O'Callahan
c71a6efb72
Bug 805331. Part 1: Refactor nsDisplayList::GetList
...
Renames GetList to GetSameCoordinateSystemChildren, and adds an assertion
to verify that the children have the same reference frame as the parent.
Adds nsDisplayList::GetChildren to return whatever children there are.
Obsoletes nsDisplayTransform::GetStoredList.
2012-11-03 01:59:03 +13:00
Robert O'Callahan
e8d5856ece
Bug 796452. Add mozpasspointerevents attribute for IFRAMEs in chrome windows. r=mats
2012-11-02 23:42:59 +13:00
Mats Palmgren
cffb2e72e9
Bug 806056 - Add a frame bit that says if a frame is allowed to have abs/fixed pos. children when the style so indicates (position/transform usually). Copy the bit to next-in-flows. Don't call MarkAsAbsoluteContainingBlock for style changes on an existing frame unless that bit is set (style changes that recreates the frame resets it of course). Assert in MarkAs[Not]AbsoluteContainingBlock() that the bit is set. r=bz
2012-11-02 01:52:59 +01:00
Mats Palmgren
6f7901eebf
Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc
2012-11-02 01:52:59 +01:00
Matt Woodrow
c8c84db46a
Bug 806256 - Improve WrapPreserve3DList's behaviour by walking through nsDisplayWrapList without flushing the temp list. r=roc
2012-11-01 14:25:45 +13:00
Matt Woodrow
4d1760e067
Bug 806256 - Only recompute preserve-3d/perspective children overflow areas if the frame size changed. r=roc
2012-11-01 14:25:45 +13:00
Matt Woodrow
9061c644c4
Bug 806256 - Don't clobber the cached initial overflow. r=roc
2012-11-01 14:25:45 +13:00
Matt Woodrow
b631e0b634
Bug 806256 - Don't invalidate frames when the overflow area changes, DLBI will handle it. r=roc
2012-11-01 14:25:44 +13:00
Matt Woodrow
36a85808b8
Bug 805696 - Always invalidate nsImageFrames when we change to a new image request. r=joe
2012-11-01 14:25:44 +13:00
Karl Tomlinson
27dc381d85
b=797568 only GetImageContainer in BuildLayer if the container will be used r=roc
...
--HG--
extra : transplant_source : %F3%C3%E4%AC%28%D3_%1C%A0%EB%19%EE%0E%F6Z%D8%EF%AE%94%F0
2012-10-31 15:54:06 +13:00
Karl Tomlinson
38ce885ab7
b=797568 don't try to get non-existant ImageContainer with in-process Mac plugins r=BenWa
...
--HG--
extra : transplant_source : %3F%06%DF%B3%90g%F7if%D4%DC%E4%B2x%C6a%C1%1C%E6Z
2012-10-31 15:54:05 +13:00
Karl Tomlinson
9da873f8c3
b=797568 remove obsolete nsObjectFrame::GetImageContainer() r=roc
...
--HG--
extra : transplant_source : h%CB%86%8A%E4%9B%1A%7DqS9%AC6%93s%0D%099%0A%B2
2012-10-31 15:53:37 +13:00
Jet Villegas
3727936e46
Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert
2012-10-30 16:57:36 +01:00
Nathan Froyd
bd55a07f0e
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Mats Palmgren
b23b6c84db
Bug 804486 - s/fontHeight/increment/ to make some code less confusing. r=roc
2012-10-29 06:44:31 +01:00
Mats Palmgren
cbfa147ac8
Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc
2012-10-29 06:44:31 +01:00
Robert O'Callahan
6eeb1f29fd
Bug 805697. There is no point in checking for the existence of a caret in the presshell --- it will always have one, and it wouldn't matter if it didn't. r=mats
...
--HG--
extra : rebase_source : 1ab91d2d60db433da09acead53853bfec351f574
2012-10-29 17:31:45 +13:00
Robert O'Callahan
5b94df5bb2
Bug 805697. Remove StCaretHider since it's not needed anymore. r=mats
...
--HG--
extra : rebase_source : c2c8652585958ddaeb9e01ed1fe47a391339c2ec
2012-10-29 17:31:26 +13:00
Jonathan Watt
8545ec6439
Fix typo; no bug; DONTBUILD
2012-10-26 12:03:07 +01:00
Jonathan Watt
cd8b189e2f
Bug 795592 - Stop calling nsIFrame::FinishAndStoreOverflow on NS_STATE_SVG_NONDISPLAY_CHILD frames. r=mattwoodrow.
2012-10-26 11:56:48 +01:00
Robert O'Callahan
c23292286b
Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky
2012-10-26 22:11:24 +13:00
Andrew Quartey
549c0bfc08
Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan
2012-10-25 19:25:59 -04:00
Scott Johnson
1327ccea79
Bug 802311: Make max line box width adjustment API compute right edge of line boxes correctly to fix reflow-on-zoom issues. [r=dbaron]
2012-10-25 16:38:54 -05:00
Ryan VanderMeulen
3150bb83c2
Backout 1ebc3b1b8feb, 205c1c846d70 (bug 801488), and e4367fd2043f (bug 804323) due to b-c crashes.
2012-10-25 07:53:36 -04:00
Robert O'Callahan
ea16f5ba48
Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky
2012-10-25 00:35:29 +13:00
Mats Palmgren
906ea93b96
Bug 804641 - Work around Android armv6 compiler bug (again). r=roc
2012-10-24 01:34:54 +02:00
Robert O'Callahan
58ec21a7d9
Bug 802457. Ensure that positioned children of intrinsic-height viewports are reflowed with the correct container height. r=mats
...
--HG--
extra : rebase_source : 389b5916de9b7a7bd4232f2c541ae0db7500ba2e
2012-10-23 14:48:12 +13:00
Robert O'Callahan
91ac2b984a
Bug 703241. Part 3: nsLayoutUtils::GetTransformToAncestor should handle the case where aAncestor == aFrame. r=matspal
2012-10-17 16:13:24 +13:00
Robert O'Callahan
62de45cba6
Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal
...
--HG--
extra : rebase_source : e1a16f9a19e78ea71044ee78af9fdbf00ec48c0b
2012-06-22 17:06:49 +12:00
Robert O'Callahan
fe1244558e
Bug 801763. Don't try to update geometry for plugin widgets with no parent. r=mats
...
--HG--
extra : rebase_source : d7d0f7c5536adc2cd0ad77c2b3169410f237d206
2012-10-17 17:51:57 +13:00
Timothy Nikkel
ada10776c7
Bug 642257. If there are no plugins in the display list skip a potentially expensive compute visibility pass with accurate visible regions to determine plugin geometry because it is not needed. r=roc
...
If there is a plugin in a background tab and a complex scene in a foreground tab the accurate visible regions can cause us to bog down, for no good reason.
2012-10-18 00:34:58 -05:00
Matt Woodrow
efa6b0782d
Bug 801784 - Only add invalidate children state flags up to the nearest display root. r=roc
2012-10-17 21:00:00 +13:00
Daniel Holbert
b2c3861a3a
Bug 799207: Reduce severity of assertion that checks baseline of flex item against sentinel value. r=dbaron
2012-10-16 19:04:33 -07:00
Daniel Holbert
cf67cb6e07
Bug 798666: Constrain cross size of auto-sized flex containers to be within min/max range. r=dbaron
2012-10-16 19:04:30 -07:00
Daniel Holbert
b4614f52ed
Bug 798235: For flex items in a vertical flex container, treat enumerated values for flex-basis as "auto". r=dbaron
2012-10-16 19:04:29 -07:00
Daniel Holbert
c1c75cb34f
Bug 798020: Reduce severity of fatal assert about unconstrained-width flexbox, since gigantic widths in web content can reach our "unconstrained" sentinel value, and it's not actually dangerous. r=dbaron
2012-10-16 19:04:23 -07:00
Steven Michaud
5038f543ad
bug 794038 pt 3 - plugins support for resolution change. r=bgirard
2012-10-16 20:41:21 +01:00
Daniel Holbert
93791d3f3b
Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron
2012-10-15 12:42:43 -07:00
David Zbarsky
ebd6229e0a
Backout bug 779684 for topcrash
2012-10-15 14:35:50 -04:00
Trevor Saunders
b51bb304d8
bug 542039 - accessible object types r=surkov, roc
2012-09-28 17:53:44 -04:00
Josh Aas
da0ff685ab
Bug 598397: Remove support for Carbon NPAPI. r=smichaud
2012-10-15 08:38:34 -04:00
Robert O'Callahan
7d6e031363
Bug 786740. When destroying all the frames in a line list, keep the line list and frame list valid at each step in case someone tries to walk the frame tree during frame destruction. r=mats
...
--HG--
extra : rebase_source : 7045daffc35fdaca02a74caa52a93a270c94cf74
2012-10-15 14:34:23 +13:00
David Zbarsky
f16ecc6e9f
Bug 799407: Turn on FAIL_ON_WARNINGS under layout/generic r=roc
2012-10-14 21:28:23 -04:00
David Zbarsky
4304df5794
Bug 799407: Fix warnings under layout/generic, r=roc
2012-10-14 16:56:03 -04:00
Ehsan Akhgari
4e37e1c2f8
Remove nsSelectionIterator::mType because it is unused, no bug
2012-10-13 17:37:09 -04:00
Robert O'Callahan
e7f231d6c8
Bug 626245. Part 4: Compute plugin widget geometry updates via the refresh driver's painting, and defer actual widget updates until we've just composited the window. r=mats
...
Updating plugin widget geometry every time we paint means we don't have to
explicitly request plugin geometry updates.
This patch stops us from flushing plugin geometry changes in
FlushPendingNotifications(Flush_Layout). There are too many Flush_Layouts and
flushing plugin geometry changes on them produces frequent
desynchronization of the plugin geometry with the rendered window contents.
There is some Web compatibility risk there --- it means we have to change
our tests, for one thing --- but hopefully it's OK.
--HG--
extra : rebase_source : 87adde45795ea2cab362ed9df54e62c5cc97e16c
2012-10-07 02:03:23 +13:00
David Zbarsky
e601e292c3
Backed out changeset 3884ab03451d (bug Bug 799407) because new warnings have
...
been added.
2012-10-13 14:49:35 -04:00
David Zbarsky
00416cfb9c
Bug 799407: Fix warnings under layout/generic, r=roc
2012-10-13 14:31:19 -04:00
Andrew Quartey
0e23b26077
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Josh Matthews
80112a2809
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-12 12:11:23 -04:00
Josh Matthews
36511684e4
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
2c57ae944e
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
e7ec57cfce
Merge backout.
2012-10-11 21:58:41 -04:00
Josh Matthews
08a5eceeeb
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Daniel Holbert
8fe0749a1d
Bug 799647 part 1: Use style-context parent instead of frame parent when resolving "align-self:auto" on a flex item. r=dbaron
2012-10-11 18:41:05 -07:00
Josh Matthews
ae359191a3
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
de69f2ada1
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-11 21:34:23 -04:00
Josh Matthews
f3459980ad
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-11 21:34:23 -04:00
Trevor Saunders
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Daniel Holbert
02e1006451
Bug 800535: Switch var to unsigned in nsSimplePageSequenceFrame::PrePrintNextPage, to fix signed/unsigned-comparison build warning. r=bdahl
2012-10-11 14:33:25 -07:00
Ehsan Akhgari
5e79046259
Remove some unused variables, no bug
2012-10-11 09:19:35 -04:00
Matt Woodrow
479663fd71
Bug 797295 - Add support for the layer attribute to nsImageBoxFrame. r=roc
2012-10-11 18:44:59 +13:00
David Zbarsky
307c734c43
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Daniel Holbert
89ff8f3754
Bug 799199: Use IndentBy() instead of looped "fputs" in nsHTMLFramesetBlankFrame's and nsLineBox's List() methods. r=bz
2012-10-08 13:06:04 -07:00
Daniel Holbert
bb610b95ae
Bug 799196: Update signature for nsHTMLFramesetBlankFrame::List(). r=bz
2012-10-08 12:58:54 -07:00
Ed Morley
220a57883c
Bug 752786 - Disable one part of test_bug469613.xul for too many intermittent failures
2012-10-08 14:10:54 +01:00
Masayuki Nakano
a4e119b5dc
Bug 795785 part.2 Scroll editor when caret is moved even if it's specified overflow: hidden; r=smaug
2012-10-08 03:45:51 +09:00
Masayuki Nakano
cbffcf6ade
Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug
2012-10-08 03:45:51 +09:00
Andrew Quartey
e0477b23d8
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Andrew Quartey
9f926a0d71
Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Robert O'Callahan
54750a7264
Bug 794709. Don't bother trying to compute an intelligent dirty rect when building display lists for nsSimplePageSequence and nsPageContentFrame children; it's nontrivial due to the transforms they introduce, and it doesn't matter anyway. r=mattwoodrow
...
--HG--
extra : rebase_source : 6e51ff9514f66e24765bae74a6348afc65367d76
2012-10-05 15:29:56 +13:00
Nathan Froyd
e888ba80f4
Bug 796129 - remove prtypes #includes in layout/
2012-10-01 17:12:57 -04:00
Ed Morley
2ac2a2ad99
Backout a5c50066ecbb (bug 787947), ee9f796b8416 (bug 794709) for crashtest/reftest assertions
2012-10-04 13:15:00 +01:00
Robert O'Callahan
7c893c88ec
Bug 794709. Don't bother trying to compute an intelligent dirty rect when building display lists for nsSimplePageSequence and nsPageContentFrame children; it's nontrivial due to the transforms they introduce, and it doesn't matter anyway. r=mattwoodrow
2012-10-04 23:02:17 +13:00
Chris Jones
ca55cb45de
Bug 790505, part 4: If we're just updating the transform of a prerendered layer, then schedule an empty transaction to skip unnecessary display-list overhead. r=mattwoodrow,roc
2012-10-02 22:55:52 -07:00
Chris Jones
cac4904e11
Bug 790505, part 2: Add a GetLayerTransformForFrame() helper for computing a frame's layer transform outside a proper transaction, and mark frames that have been fully prerendered. r=roc
2012-10-02 22:55:50 -07:00
Ryan VanderMeulen
c0d8585b0b
Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391.
2012-10-03 22:13:14 -04:00
Chris Jones
17867c12a8
Back out bug 790505 for leaking
2012-10-03 00:21:08 -07:00
Chris Jones
4f1e40ca75
Bug 790505, part 4: If we're just updating the transform of a prerendered layer, then schedule an empty transaction to skip unnecessary display-list overhead. r=roc
2012-10-02 22:55:52 -07:00
Chris Jones
7180e78526
Bug 790505, part 3: Add a GetLayerTransformForFrame() helper for computing a frame's layer transform outside a proper transaction, and mark frames that have been fully prerendered. r=roc
2012-10-02 22:55:50 -07:00
Brendan Dahl
9cd9401f71
Bug 789507 - Add watchdog for mozPrintCallbacks. r=smaug
2012-10-02 10:42:21 -07:00
Anthony Jones
65dd0aff19
Bug 740580 - Add Azure support to nsCanvasFrame. r=roc
2012-10-02 22:09:12 -04:00
Steven Michaud
c109a6325b
Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard
2012-10-02 14:48:05 -05:00
Matt Woodrow
543dfebcda
Bug 795796 - Fix empty transactions. r=cjones
2012-10-01 17:29:02 +13:00
Kyle Huey
e5eb83ac5a
Bug 760331: Coalesce data for inline style across nodes. r=bz
...
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules. MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit). This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley. A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet. MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache. This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.
The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value. This can happen easily with large pages that are automatically generated. An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change. Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node. Eliminating duplicate style rules enables further savings in layout through style context sharing. The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.
Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules. We also do not attempt to share MiscContainers when the node's base URI differs from the document URI. The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Mounir Lamouri
ebe616f9e1
Merge m-i inm-c.
2012-09-30 13:19:15 +01:00
Daniel Holbert
4d32a021d6
Bug 666041 patch 8: Add special handling for "min-width: auto" value on flex items. r=dbaron
2012-09-29 23:38:46 -07:00
Daniel Holbert
bd68c21394
Bug 666041 patch 7: implementation of flex container class for CSS3 flexbox. r=dbaron
2012-09-29 23:38:46 -07:00
Daniel Holbert
3544930bb5
Bug 666041 patch 6.5: Add flag to nsHTMLReflowState & ComputeSize for measuring auto height. r=dbaron
2012-09-29 23:38:46 -07:00
Matt Woodrow
04f480d859
Bug 795611 - Call virtual InvalidateFrame from InvalidateFrameSubtree since nsTable*Frame overloads it. r=cjones
2012-09-30 19:20:25 +13:00
Matt Woodrow
61b00ebf38
Bug 795576 - Correctly add the NS_FRAME_UPDATE_LAYER_TREE when invalidating inside a popup. r=cjones
2012-09-30 19:20:24 +13:00
Scott Johnson
e7b108bf5e
Bug 795313: Modify order of conditionals in UpdateFontInflationDataWidthFor() for performance enhancements. [r=dbaron]
2012-09-28 14:38:33 -05:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Ed Morley
9d3a09a092
Bug 752786 - Disable one part of test_bug469613.xul on OS X 10.8 for too many intermittent failures
2012-09-28 15:45:29 +01:00
Robert O'Callahan
4af0a9996d
Bug 539356. Make PruneDisplayListForExtraPage prune print preview properly. r=mattwoodrow
...
PruneDisplayListForExtraPage wasn't pruning properly in print preview. It
was pruning to the RootReferenceFrame, which is per-page when printing normally,
but is the ancestor of all pages in print preview, so it wasn't doing anything in
print preview.
So, pass in the nsPageFrame we want to prune to. This prevents bogus
entirely-clipped-out display items appearing in the display list for the page.
2012-09-28 23:19:39 +12:00
Matt Woodrow
3fb0e93449
Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc
2012-09-25 08:31:30 +12:00
Matt Woodrow
28ef42bcbf
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Matt Woodrow
bc48b0711b
Bug 539356 - Avoid some causes of unnecessary painting. r=roc
2012-09-26 11:59:56 +12:00
Matt Woodrow
f0d7341b98
Bug 539356 - Correctly invalidate SVG observers. r=roc
2012-08-29 17:49:16 +12:00
Matt Woodrow
1572061ab5
Bug 539356 - Make the table code use rect invalidation to avoid over invalidation. r=roc
2012-08-29 17:48:45 +12:00
Matt Woodrow
5f32437ca2
Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc
2012-08-29 17:48:45 +12:00
Robert O'Callahan
0cff39f9ec
Bug 770058. InvalidateFrame doesn't need flags, we can just avoid calling ScheduleRepaint if we find any ancestor frame with a descendant that needs invalidation. r=mattwoodrow
2012-08-29 17:48:44 +12:00
Matt Woodrow
2478cd23a6
Bug 769922 - Implement nsDisplayAltFeedback, since it can draw outside of the frame's overflow rect. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
79eed389a6
Bug 539356 - Part 27 - Make nsImageFrame's overflow include the AltFeedback image if it will use one. r=roc
2012-08-29 17:48:44 +12:00