Cameron McCormack
56be0350f9
Bug 655877 - Part 41b: Make SVG text selectable with the mouse. r=roc,jwatt
2013-02-11 17:22:18 +11:00
Cameron McCormack
25743624b2
Bug 655877 - Part 31b: New frame class nsSVGTextFrame2 for SVG text using CSS block/inline/text frames for layout. r=jwatt
2013-02-11 17:22:16 +11:00
Mats Palmgren
4e5d7218fd
Bug 839839 - Minor nsPlaceholderFrame code cleanup. r=dholbert
2013-02-11 03:28:50 +01:00
Mats Palmgren
7f33878bb1
Bug 606642 - Do not remove the [Excess]OverflowContainers properties before destroying its frames. Carefully check after destroying each frame that the property is still alive. r=roc
2013-02-11 03:28:50 +01:00
Daniel Holbert
99698ae1d8
Bug 839302: Simplify logic in nsBlockFrame::DrainSelfOverflowList, and replace delete w/ nsAutoPtr. r=mats
2013-02-07 17:19:57 -08:00
Trevor Saunders
d763024384
bug 838570 - selection code can sometimes leak a range r=smaug
2013-02-07 06:05:24 -05:00
Mats Palmgren
aa5d71d116
Bug 837007 - Make CollectFloats ignore floats that belong to some other block. r=roc
2013-02-07 02:13:34 +01:00
Daniel Holbert
dc317f65f5
Bug 838462: Remove unused method nsBlockReflowState::Margin(). r=mats
2013-02-05 23:36:37 -08:00
Daniel Holbert
47feaf8d0c
Bug 836957 part 3: Mark remaining nsIFrame::GetSkipSides() overrides as MOZ_OVERRIDE, and remove stale comments. r=mats
2013-02-04 08:17:31 -08:00
Daniel Holbert
9a11e7cf68
Bug 836957 part 2: Remove unnecessary nsIFrame::GetSkipSides() overrides whose implementations are in .cpp files. r=mats
2013-02-04 08:17:20 -08:00
Daniel Holbert
87dbf4f3ae
Bug 836974: Move nsInlineFrame's #include of nsLineLayout from the .h file into .cpp file. r=mats
2013-02-01 08:01:47 -08:00
Daniel Holbert
57c05d58e1
Bug 836899: Remove nsBlockReflowState constructor unused parameter 'aMetrics'. r=dbaron
2013-01-31 14:40:05 -08:00
Jeff Walden
be633156a5
Bug 835648 - Move typed enum support to a new header. r=Ms2ger
2013-01-28 16:33:17 -08:00
Ryan VanderMeulen
11e2a8437f
Backed out changeset 3eb633a97c1f (bug 835648) for suspected Windows orange on a CLOSED TREE.
2013-01-29 19:01:45 -05:00
Jeff Walden
88df194b4b
Bug 835648 - Move typed enum support to a new header. r=Ms2ger
...
--HG--
extra : rebase_source : 8c912fba889c1c5435e3619714071502fbfb30a3
2013-01-28 16:33:17 -08:00
Robert O'Callahan
880b2eeee8
Bug 833542. Make scrollWidth/scrollHeight for overflow:visible match what they would be for overflow:hidden on the same element. r=mats
...
--HG--
extra : rebase_source : 42d1018cf48caf1eec4bc9251ec1cb3eee30001b
2013-01-29 14:38:22 +13:00
Daniel Holbert
2caf7e05de
Bug 832440: Fix inconsistency on appUnitsPerDevPixels's signedness in gfxFont and its clients by converting all instances to be signed. r=jfkthame
2013-01-28 11:01:59 -08:00
Martijn Wargers
4070f91917
Bug 385681 - crashtest
2013-01-26 21:28:57 +01:00
Martijn Wargers
4a67e74a55
Bug 385526 - crashtest
2013-01-26 21:28:57 +01:00
Martijn Wargers
e44aeb7ac8
Bug 385344 - crashtest
2013-01-26 21:28:57 +01:00
Martijn Wargers
c9ff4cd4e3
Bug 376419 - crashtest
2013-01-26 21:28:56 +01:00
Mats Palmgren
233d34473e
Bug 375462 - crashtest
2013-01-26 21:28:56 +01:00
Robert O'Callahan
705d3f82f4
Bug 369542 - crash tests
2013-01-26 21:28:56 +01:00
Martijn Wargers
5ac9adb500
Bug 368568 - crashtest
2013-01-26 21:28:56 +01:00
Martijn Wargers
e961127bb8
Bug 364220 - crashtest.
2013-01-26 14:15:30 +01:00
Martijn Wargers
82142a2400
Bug 363448 - crashtest.
2013-01-26 14:15:29 +01:00
Martijn Wargers
45fc07373c
Bug 361109 - crashtest.
2013-01-26 14:15:29 +01:00
Martijn Wargers
bbe162d134
Bug 360599 - crashtest
2013-01-26 14:15:29 +01:00
Martijn Wargers
eefd27408f
Bug 350370 - crashtest.
2013-01-26 14:15:29 +01:00
Joonas Marttila
d134f645f9
Bug 348510 - crashtests.
2013-01-26 14:15:29 +01:00
Martijn Wargers
b2aec9d208
Bug 331292 - crashtest.
2013-01-26 14:15:29 +01:00
Mats Palmgren
70c96c5bef
Bug 344557 - Add crashtests.
2013-01-25 18:34:30 +01:00
Mats Palmgren
19c49c3cf5
Bug 321224 - Add crashtest.
2013-01-25 18:34:29 +01:00
Mats Palmgren
994b7bce59
Bug 309322 - Add crashtests.
2013-01-25 18:34:29 +01:00
Mats Palmgren
ec9c915cfa
Bug 286491 - Add crashtest.
2013-01-25 18:34:29 +01:00
Mats Palmgren
fc09629f74
Bug 255982 - Add crashtests.
2013-01-25 18:34:29 +01:00
Mats Palmgren
c87af9090c
Bug 812893 - When inserting a frame into the [Excess]OverflowContinuations list, also move its continuations there if they are in the same parent. r=roc
2013-01-25 00:12:48 +01:00
Mats Palmgren
d59f924161
Bug 825999 - Apply overflow:hidden also to replaced elements. r=roc
2013-01-24 21:44:38 +01:00
Chris Peterson
f644840333
Bug 816298 - Part 1: Allow child elements to override -moz-user-select:none. r=ehsan
...
--HG--
extra : rebase_source : f4e08713be0691c25b22510977c978088655ec8b
2013-01-08 16:33:17 -08:00
Masayuki Nakano
880788e17f
Bug 832120 cursor: auto; should be cursor: text; on editable element r=dbaron
2013-01-23 23:36:48 +09:00
Ms2ger
753eea44c2
Bug 763399: Add a comment describing NS_CSS_MINMAX. r=dbaron
2013-01-21 14:14:49 +00:00
Cervantes Yu
6af45facc9
Bug 830299: Check for scrollcorner in nsGfxScrollFrameInner::ReloadChildFrames(). r=roc
2013-01-21 10:31:40 +00:00
Daniel Holbert
5dd1b8b1fe
(no bug) Fix comment in typo, and remove stale XXXdholbert comment. Comment-only, DONTBUILD
2013-01-17 21:32:31 -08:00
Boris Zbarsky
dfc19163c1
Bug 831780. Only count the broken-image placeholder in the visual overflow, not the scrollable overflow. r=mattwoodrow
2013-01-17 23:17:41 -05:00
Mats Palmgren
90a7affbcc
Bug 821479. r=roc
2013-01-17 13:48:44 +01:00
Mats Palmgren
ece72001d4
Bug 821479. r=roc
2013-01-17 13:48:44 +01:00
Trevor Saunders
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Cameron McCormack
1d60950312
Bug 830214 - Avoid crashing when printing a document with many mozPrintCallback canvases. r=roc
...
--HG--
extra : rebase_source : 98ae3180cb36f040241ae0b6850485923afe4570
2013-01-15 09:45:53 +11:00
Ryan VanderMeulen
c78c56e1d2
Backed out changeset c8fe09ac1842 (bug 825720) on suspicion of making bug 772443 nearly perma-orange.
2013-01-12 21:00:30 -05:00
David Zbarsky
fd7bd329e5
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05:00
Seth Fowler
e9042e47c6
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Trevor Saunders
df3d973915
bug 828138 - remove out arg from Selection::GetPresContext() r=ehsan
2012-12-19 13:44:58 -05:00
Trevor Saunders
feeb1d7c66
bug 828138 - make Selection::GetPresShell() return the pres shell instead of use an out arg r=ehsan
2012-12-18 19:55:11 -05:00
Trevor Saunders
b78687bf94
bug 828138 - remove nsISelectionPrivate::SetPresShell() r=ehsan
2012-12-18 17:30:11 -05:00
L. David Baron
34069e0cfe
Add crashtest for bug 621424 / bug 588237.
2013-01-11 14:51:21 -08:00
L. David Baron
82502ba1e3
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
1ada7edf5b
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
e2afcf2e7d
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
63e242521e
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
f572ffaeb8
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
f2d9e9501c
Bug 829388 - Remove unused functions and macros from nsCoord.h. r=roc
2013-01-11 20:37:52 +09:00
Ed Morley
35d2ca17ee
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
9cde6031e7
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-11 02:15:05 -05:00
L. David Baron
0ccc9b3b75
Back out bug 588237, patches 2 through 5.
2013-01-10 22:20:16 -08:00
L. David Baron
2831688c44
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
a859764e31
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
a3a9087561
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
3a4183a377
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
4b6abee5f4
bug 829288 - fix layout/ warnings on mingw r=dholbert
2013-01-10 02:04:09 -05:00
Daniel Holbert
e46967256c
Bug 826149 - Add IsFrameTreeTooDeep() early-return in flex container reflow. r=dbaron
2013-01-07 21:29:22 -05:00
Shih-Chiang Chien
e370cdd609
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
5e9420f6c3
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
970988bc3c
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
d44dff5096
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
0bda13504b
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
100ae41c83
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
47cf762c14
Bug 826411 - Remove obsolete comment about compiler-specific workaround. r=mats
2013-01-04 10:12:11 -05:00
Ehsan Akhgari
4222259458
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
c0e76d61c8
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
09f3b656b4
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Robert O'Callahan
943cb99eff
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
af86d99bc3
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
9a4812e054
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
90b99242be
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
cd648c5fa0
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
28a212ee67
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
951234cefc
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
da50f2d2d2
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
be69455939
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
a25fc4286f
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
8eac1dfb3c
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
4fc4b6a092
Bug 814252 - Should not process HandleDrag for touch event. r=smaug
2012-12-23 22:08:15 -05:00
Peter Van der Beken
d837e37c50
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
4b5034efa3
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
1b275fa2a0
Bug 822141 - Invalidate bullet display items when their value changes. r=roc
2012-12-21 22:09:23 +13:00
Justin Lebar
e73a12f35f
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
ca3f4c5e2b
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
29945b3499
Bug 810572, part 3 - merge Accessible::AccessibleTypes with AccTypes, r=tbsaude
2012-12-18 14:22:26 +09:00
Robert O'Callahan
c0033a480e
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
9ca55cbd90
Bug 810572, part 2.5 - rename AccType constants again, r=tbsaunde, sr=roc
2012-12-18 10:25:52 +09:00
Masayuki Nakano
4581677d83
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
120886ca73
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
47c921e73e
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
8d7e7dd8d7
bug 781409 - remove nsITableLayout r=roc,davidb
2012-08-08 09:05:17 -04:00
Matt Woodrow
ac128fe507
Backout changeset 3ba90f85653a (Bug 805343) for regressing android talos tests
2012-12-14 11:51:00 +13:00
Matt Woodrow
68519c9314
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
012ebe70a2
Bug 820246 - Split nsDisplayCanvasBackground into separate color and image items. r=roc
2012-12-13 14:15:55 +13:00
Ed Morley
8755366625
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
fa640e62d5
Bug 820246 - Split nsDisplayCanvasBackground into separate color and image items. r=roc
2012-12-13 14:15:55 +13:00
Jeff Muizelaar
e8f3ea53ef
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
f52aca4834
Bug 810572, part2 - remove 'Accessible' postfix from AccTypes constants, r=tbsaunde, sr=roc
2012-12-12 19:04:12 +09:00
Shih-Chiang Chien
ad934e8b01
Bug 815943 - prevent drag detection while invoking preventDefault() on touch move event. r=smaug.
2012-11-28 12:01:21 +08:00
Nicholas Cameron
c54f8d4754
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Matt Woodrow
b8c6a8736d
Bug 820131 - Compute a more accurate bounds for nsDisplayBoxShadowOuter. r=roc
2012-12-12 09:36:54 +13:00
Robert O'Callahan
a72930aa6a
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
96737c37d8
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
67ac0979d2
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
cebb3c32c4
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
8e7070bef2
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
01f8a59a96
Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc
2012-09-18 10:34:21 +12:00
Mats Palmgren
9c310a2c9f
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
a13eed37dc
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
924e59e0d0
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Daniel Holbert
59a0ac88ec
Bug 817744: Fix whitespace issues in nsFrameSetFrame.cpp. whitespace-only, DONTBUILD
2012-12-03 11:47:10 -08:00
Paul Adenot
c5ae9a8f92
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
357abc0ada
Bug 814995. r=roc
2012-12-01 03:28:02 +01:00
Daniel Holbert
7ccdd360a1
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
f128dda378
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
49e9f0770b
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
67a12f8263
Bug 816603 - Set the correct canvas background color during print preview. r=tn
2012-11-30 17:34:39 +13:00
Ryan VanderMeulen
eb28b72392
Backed out changeset 9430676f5442 (bug 808767) for Android R3 failures.
2012-11-29 17:55:50 -05:00
Matt Woodrow
a294f6e3de
Bug 810302 - Force playing videos to always get an active layers. r=roc
2012-11-30 11:11:06 +13:00
Matt Woodrow
6d2e1e3a69
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
8e8918314d
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
f0c76c3f82
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
880fc40feb
Bug 815593 - Remove unused variable. r=bustage
2012-11-29 19:01:48 +13:00
Robert O'Callahan
01b72b4b81
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
528576f042
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
8868e9761e
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
948f478584
Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan]
2012-11-28 18:26:39 -06:00
Mats Palmgren
0fbf252553
Bug 812879. r=fantasai
2012-11-28 19:55:36 +01:00
Josh Matthews
f79fafc605
Bug 788959 - Clear the listener associated with cancelled bullet frame image requests. r=bz
2012-11-28 10:30:05 -05:00
Daniel Holbert
200a4ad7d0
Bug 815972: Remove unneeded nsDisplayListCollection from nsBlockFrame.cpp's DisplayLine() helper-function. r=roc
2012-11-28 00:08:30 -08:00
Daniel Holbert
a5d2fb69c6
(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
3f615fa660
Bug 810592 - Make nsSubDocumentFrames that are actively scrolling build their own layer. r=roc
2012-11-22 18:33:33 +13:00
Nicholas Nethercote
0e97b98462
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
1b93616df8
Bug 812517. Part 1: Add nsIScrollableFrame::ScrollToCSSPixelsApproximate. r=mats
...
--HG--
extra : rebase_source : abf7313cdcf5a2a670dbbbd5b59363d7c60aa3e7
2012-11-23 14:25:23 +13:00
Nicholas Cameron
4e42aee667
Bug 812908; add a debug pref for forcing active layers; r=roc
2012-11-23 12:29:05 +13:00
Ed Morley
68f1c3e84e
Backout d30b99cfd933 (bug 802385), 58ce0ddf7611 (bug 810275), 1c96b4a67d38 (bug 810592) for reftest failures
2012-11-22 09:59:23 +00:00
Matt Woodrow
e0d92d15d0
Bug 810592 - Make nsSubDocumentFrames that are actively scrolling build their own layer. r=roc
2012-11-22 18:33:33 +13:00
Boris Zbarsky
27793548d6
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
c882c3bf6c
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
8dd0402085
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
b7cc9710e0
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
bc4ecacb2b
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
cd421a0e5e
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
Daniel Holbert
0361ac7c61
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
dffa997887
Bug 811570 - Allow inactive scroll frames to become active when scrolled. r=roc
2012-11-19 17:19:22 +13:00
Matt Woodrow
c4935c5621
Bug 811927 - Allow conversion of nsDisplayBackgroundImage into ImageLayers. r=roc
2012-11-19 16:28:18 +13:00
Jeff Muizelaar
102fccacd8
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
b69838cecd
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
f4f4ec813d
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
54d9dcfd01
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
c97490c3bd
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
65b20a64a3
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
e039b9a03d
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
986ee1a065
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
b59945f6e8
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
d38f22466b
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
eef569aa0e
Bug 759993. Make nsIFrame::GetTransformMatrix robust for popup frames. r=tnikkel
...
* * *
[mq]: tmp
2012-11-11 00:02:56 -08:00
Ryan VanderMeulen
98268dbc6a
Backed out 8 changesets (bug 810470) due OSX reftest failures.
2012-11-14 22:14:44 -05:00
Brendan Dahl
c64bca7ed1
Bug 115199 - CSS2 @page rule rendering support. r=roc
2012-08-31 14:20:56 -07:00
Robert O'Callahan
c80cec9ffc
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
8426f3df21
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
520414d72b
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
e8e49104f4
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
b528a1b610
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
702aabf464
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
bfd89d6ff5
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
c284cd4124
Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert
2012-11-13 22:47:33 -08:00
Matt Woodrow
bf9c5a8fc9
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
7b6e12bdcd
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
9cb0f91d55
Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures.
2012-11-13 20:19:18 -05:00
Brendan Dahl
416d875170
Bug 115199 - CSS2 @page rule rendering support. r=roc
2012-08-31 14:20:56 -07:00
Peter Van der Beken
1cbf908fb5
Fix for bug 810597 (crash in GetPrintCanvasElementsInFrame). r=bz
2012-11-12 17:48:49 -05:00
Daniel Holbert
a677b659cc
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
665cccfa66
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
ba2b51206c
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
db6979f76c
bug 774560 pt 2 - implement text-transform:full-width. r=smontagu
2012-11-09 09:43:48 +00:00
Daniel Holbert
be761c3faf
Bug 806002: Convert nsDidReflowStatus into an enum. r=dbaron
2012-11-08 17:27:48 -08:00
Mats Palmgren
bcece6a3cb
Bug 798867 - Use the content offset that GetFrameForNodeOffset returns. r=roc
2012-11-08 17:09:38 +01:00
Mats Palmgren
ddad154fe9
Bug 685012 - Implement page-break-inside:avoid in layout. r=fantasai,sr=roc
2012-11-08 17:09:38 +01:00
Ehsan Akhgari
2ec85750e6
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
dc32bd1462
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
bc5cfc9648
Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc
2012-11-07 11:55:53 -08:00
Matt Woodrow
8a2c2a0e02
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
ed128c73b5
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
7864e2fd96
Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe
2012-11-03 23:04:07 -04:00
Robert O'Callahan
11676b36b3
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
9a45cc9183
Bug 796452. Add mozpasspointerevents attribute for IFRAMEs in chrome windows. r=mats
2012-11-02 23:42:59 +13:00
Mats Palmgren
1a123c0b7d
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
7eb78c7eb5
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
608df10dff
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
1509c7378c
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
1e71bde82b
Bug 806256 - Don't clobber the cached initial overflow. r=roc
2012-11-01 14:25:45 +13:00
Matt Woodrow
2bc273f870
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
1f21bb1052
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
3777cbbf23
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
cbc5b0241b
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
bd975a8cda
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
a55ebc12a4
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
4c61ef9ec5
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Mats Palmgren
1b2160e789
Bug 804486 - s/fontHeight/increment/ to make some code less confusing. r=roc
2012-10-29 06:44:31 +01:00
Mats Palmgren
44d463b8b2
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
e159304352
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
540667d3ba
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
efed2be218
Fix typo; no bug; DONTBUILD
2012-10-26 12:03:07 +01:00
Jonathan Watt
1d591da571
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
935f4ee58f
Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky
2012-10-26 22:11:24 +13:00
Andrew Quartey
5d03f6af91
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
1d7a36eb51
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
f531358b85
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
3de0463992
Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky
2012-10-25 00:35:29 +13:00
Mats Palmgren
7953c01da2
Bug 804641 - Work around Android armv6 compiler bug (again). r=roc
2012-10-24 01:34:54 +02:00
Robert O'Callahan
4d048c679c
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
c899cd7b0c
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
aef1d59b6f
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
e3e9927f6c
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
ca1ed04511
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
5553914e13
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
b2195953fb
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
ba899bba5a
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
92da422434
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
bb021b1e90
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
90b6155078
bug 794038 pt 3 - plugins support for resolution change. r=bgirard
2012-10-16 20:41:21 +01:00
Daniel Holbert
f6b7d73947
Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron
2012-10-15 12:42:43 -07:00
David Zbarsky
e1da975f5f
Backout bug 779684 for topcrash
2012-10-15 14:35:50 -04:00
Trevor Saunders
244a675d42
bug 542039 - accessible object types r=surkov, roc
2012-09-28 17:53:44 -04:00
Josh Aas
1f16e46c3e
Bug 598397: Remove support for Carbon NPAPI. r=smichaud
2012-10-15 08:38:34 -04:00
Robert O'Callahan
a268d55cd8
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
702db3a51e
Bug 799407: Turn on FAIL_ON_WARNINGS under layout/generic r=roc
2012-10-14 21:28:23 -04:00
David Zbarsky
b0781b2879
Bug 799407: Fix warnings under layout/generic, r=roc
2012-10-14 16:56:03 -04:00
Ehsan Akhgari
dfa180c13e
Remove nsSelectionIterator::mType because it is unused, no bug
2012-10-13 17:37:09 -04:00
Robert O'Callahan
d5a0e1a420
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
9850d4f0f5
Backed out changeset 3884ab03451d (bug Bug 799407) because new warnings have
...
been added.
2012-10-13 14:49:35 -04:00
David Zbarsky
2cb86cabd4
Bug 799407: Fix warnings under layout/generic, r=roc
2012-10-13 14:31:19 -04:00
Andrew Quartey
00edc52f9c
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Josh Matthews
c8eb573b6f
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
f905bcf9ea
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
b84562cef3
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
37f97f9704
Merge backout.
2012-10-11 21:58:41 -04:00
Josh Matthews
138935b14a
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Daniel Holbert
3fed6d82ae
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
fcd1ce5c84
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
1d3700a537
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
abbb0715c2
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
000b6e89a1
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Daniel Holbert
f87b41ba5a
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
7a6d31cb1c
Remove some unused variables, no bug
2012-10-11 09:19:35 -04:00
Matt Woodrow
a70a9063e5
Bug 797295 - Add support for the layer attribute to nsImageBoxFrame. r=roc
2012-10-11 18:44:59 +13:00
David Zbarsky
4085f74a3f
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Daniel Holbert
06b33bf856
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
3f348ab8ad
Bug 799196: Update signature for nsHTMLFramesetBlankFrame::List(). r=bz
2012-10-08 12:58:54 -07:00
Ed Morley
42c894c446
Bug 752786 - Disable one part of test_bug469613.xul for too many intermittent failures
2012-10-08 14:10:54 +01:00
Masayuki Nakano
7718f4b75d
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
985cc75710
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
58aa97ec8b
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Andrew Quartey
6a3e28f73b
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
fc36d68166
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
4519571cb1
Bug 796129 - remove prtypes #includes in layout/
2012-10-01 17:12:57 -04:00
Ed Morley
1c8a7ade37
Backout a5c50066ecbb (bug 787947), ee9f796b8416 (bug 794709) for crashtest/reftest assertions
2012-10-04 13:15:00 +01:00
Robert O'Callahan
35db8fe81d
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
d069aa6366
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
bae3518548
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
657d66adaf
Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391.
2012-10-03 22:13:14 -04:00
Chris Jones
38cde694be
Back out bug 790505 for leaking
2012-10-03 00:21:08 -07:00
Chris Jones
3d0d3d6cab
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
6f9a885d04
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
45e10cee30
Bug 789507 - Add watchdog for mozPrintCallbacks. r=smaug
2012-10-02 10:42:21 -07:00
Anthony Jones
fadf9023d4
Bug 740580 - Add Azure support to nsCanvasFrame. r=roc
2012-10-02 22:09:12 -04:00
Steven Michaud
144130a844
Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard
2012-10-02 14:48:05 -05:00
Matt Woodrow
c398cd266e
Bug 795796 - Fix empty transactions. r=cjones
2012-10-01 17:29:02 +13:00
Kyle Huey
43e58e33c8
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
38529e6433
Merge m-i inm-c.
2012-09-30 13:19:15 +01:00
Daniel Holbert
8d95ac617b
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
e71e5f4161
Bug 666041 patch 7: implementation of flex container class for CSS3 flexbox. r=dbaron
2012-09-29 23:38:46 -07:00
Daniel Holbert
8f5c5c9f3f
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
930cae2bd2
Bug 795611 - Call virtual InvalidateFrame from InvalidateFrameSubtree since nsTable*Frame overloads it. r=cjones
2012-09-30 19:20:25 +13:00
Matt Woodrow
6f574cafa6
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
5c7b6d0bc2
Bug 795313: Modify order of conditionals in UpdateFontInflationDataWidthFor() for performance enhancements. [r=dbaron]
2012-09-28 14:38:33 -05:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Ed Morley
aed12527c9
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
6c9ec69e94
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
638b4002cb
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
17610240f2
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Matt Woodrow
a382cc1373
Bug 539356 - Avoid some causes of unnecessary painting. r=roc
2012-09-26 11:59:56 +12:00
Matt Woodrow
30f635b6f8
Bug 539356 - Correctly invalidate SVG observers. r=roc
2012-08-29 17:49:16 +12:00
Matt Woodrow
5b90207e93
Bug 539356 - Make the table code use rect invalidation to avoid over invalidation. r=roc
2012-08-29 17:48:45 +12:00