Commit Graph

5281 Commits

Author SHA1 Message Date
Ehsan Akhgari
6c364e9615 Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Ehsan Akhgari
2fb9794854 Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Masayuki Nakano
512bc33b30 Bug 920377 part.26 Get rid of nsInputEvent r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
9b8afa1588 Bug 920377 part.18 Get rid of nsTextRangeStyle r=roc 2013-10-01 16:22:59 +09:00
Daniel Holbert
72c8a88724 Bug 922410: Consolidate loops in MainAxisPositionTracker constructor. r=mats 2013-09-30 20:30:24 -07:00
Cameron McCormack
05da3c0fd6 Bug 921716 - Don't paint column rules when element is visibility:hidden. r=sjohnson 2013-10-01 11:30:06 +10:00
Daniel Holbert
7c613d5a1a Bug 921522: Use already-established flex container content-box main size to determine packing space, instead of checking reflow state. r=mats
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1a.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1b.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1a.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1b.xhtml
2013-09-30 16:38:36 -07:00
Ehsan Akhgari
0a3a2ee94a Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
  be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
  nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
  places which require it implicitly.
2013-09-30 17:26:04 -04:00
James Kitchener
101f48c289 Bug 919164 - Rename TEXT_FORCE_TRIM_WHITESPACE to TEXT_IS_IN_TOKEN_MATHML. r=fredw, r=roc 2013-09-30 11:55:51 -04:00
Gregory Szorc
cc1da2c22a Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Ed Morley
038cae0901 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
483a776413 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Daniel Holbert
b04170dc24 Bug 913759 part 1: Treat buttonContent frames as block wrappers, so percent heights inside a button can resolve against button's height (minus focus border/padding). r=bz 2013-09-28 10:24:00 -07:00
Nathan Froyd
b095d63d5d Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan 2013-09-10 16:56:05 -04:00
Masayuki Nakano
96af2de548 Bug 920377 part.11 Get rid of nsScrollPortEvent r=roc 2013-09-27 15:20:56 +09:00
Masayuki Nakano
0d1e72a8e7 Bug 920377 part.10 Get rid of nsScrollAreaEvent r=roc 2013-09-27 15:20:56 +09:00
Blake Kaplan
919570efe5 Bug 917515 - Check for null before checking the document. r=ehsan 2013-09-26 18:42:53 +02:00
L. David Baron
0754b253b8 Bug 828312 patch 11: Don't generate change hints for restyling of later continuations, since the handling of the change hints from the first continuation is required to do the necessary work. r=bzbarsky
This depends on bug 898333 in order to avoid causing:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/test_focused_link_scroll.xul | Assertion count 1 is greater than expected range 0-0 assertions.
due to the assertion:
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 62

The assertion count change in layout/generic/crashtests/571995.xhtml is
expected because it changes us from having 7 of:
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 62
with the stack:
  mozilla::ElementRestyler::CaptureChange(nsStyleContext*, nsStyleContext*, nsChangeHint) [layout/base/nsChangeHint.h:191]
  mozilla::ElementRestyler::RestyleSelf(nsRestyleHint) [layout/base/RestyleManager.cpp:2304]
to only having one.  This is expected since this patch changes
RestyleSelf to only call CaptureChange for the first continuation or
block-in-inline sibling.
2013-09-25 12:28:08 -07:00
L. David Baron
4b9bce2616 Bug 828312 patch 9a: Make sticky positioning handle block-in-inline splits correctly. r=dholbert
This assumes that the specification for how position:sticky behaves for
block-in-inline splits matches the specification for position:relative,
in other words, matches
http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level .

It's also necessary for patch 9b since the new rule for handling of
style change hints is that a style change hint applies to all
continuations and all block-in-inline siblings ("special siblings").

The change in StickyScrollContainer::GetScrollRanges is really the fix
for bug 918994, but adjusted for the change here to use block-in-inline
siblings ("special siblings") in addition to continuations.
2013-09-25 12:28:08 -07:00
Daniel Holbert
179d9a65f6 Bug 919813 part 2: Upgrade NS_ERROR to MOZ_ASSERT in nsFrame's impl of SetPrevInFlow, SetNextInFlow, SetPrevContinuation, SetNextContinuation. rs=mats 2013-09-25 10:54:56 -07:00
Daniel Holbert
b99490dfd5 Bug 919813 part 1: Remove never-checked return value from frame methods SetPrevInFlow, SetNextInFlow, SetPrevContinuation, SetNextContinuation. r=mats 2013-09-25 10:54:55 -07:00
Birunthan Mohanathas
4198afdd73 Bug 919729 - Remove unnecessary MOZILLA_INTERNAL_API checks from nsIFrame.h. r=bz 2013-09-25 09:48:20 -04:00
Mats Palmgren
a7a36b9304 Bug 919318 - A few cosmetic changes after dropping the Get prefix on some methods. r=dholbert 2013-09-25 11:42:35 +00:00
Mats Palmgren
5a3cdd8297 Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert 2013-09-25 11:42:34 +00:00
Masayuki Nakano
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
ad647cc182 Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano
d37d273b83 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
f827f4667b Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Daniel Holbert
c191b38ac7 Bug 919871: Make .cpp files in layout/generic #include their corresponding .h file first. r=mats 2013-09-24 18:43:43 -07:00
Benoit Jacob
c1d7f88886 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Masayuki Nakano
9586dcc4ba Bug 912956 part.12 All event utils (macros and inline methods) should be methods of mozilla::WidgetEvent r=roc 2013-09-24 19:04:16 +09:00
Masayuki Nakano
2a465d3e36 Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Daniel Holbert
94a7238fff (no bug) Replace two c-style casts in nsFrame.cpp with const_cast<>. (no review; trivial/non-functional) 2013-09-23 21:04:08 -07:00
Ehsan Akhgari
37bbcfc9c9 Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc 2013-09-23 07:55:35 -04:00
Daniel Holbert
52a24bec16 Bug 918519 part 2: Replace GetMainComponent/GetCrossComponent invocations with macros to avoid unnecessarily constructing nsSize() on-the-fly. r=mats 2013-09-20 13:26:52 -07:00
Daniel Holbert
7935e04c63 Bug 918519 part 1: Add macros GET_MAIN_COMPONENT and GET_FLEX_COMPONENT to nsFlexContainerFrame.cpp, and use them to implement existing utility methods. r=mats 2013-09-20 13:26:52 -07:00
Ehsan Akhgari
d6d42640c3 Bug 886781 follow-up: Disable the test properly, we can't return from the global scope
Landed on a CLOSED TREE
2013-09-19 11:49:04 -04:00
Ed Morley
89543866cc Bug 886781 - Disable test_movement_by_characters.html on Windows 8 for too many intermittent failures
--HG--
extra : rebase_source : 608a5680e1e7bcd9ab87b732b0366512abbc1529
2013-09-19 14:25:23 +01:00
Corey Ford
1a19b79ce1 Bug 904197 - Use the union of continuations' rects in sticky positioning calculations. r=dholbert
Reftest inline-3.html fails because handling the sticky element's margin correctly will take more work; similarly, border/padding on containing-block continuations won't be handled quite right. Reftest column-contain-1a fails because some of the anonymous blocks inside an nsColumnSetFrame have 0 height.
2013-09-13 16:53:48 -07:00
Steven Michaud
81e7acabff Bug 909678 - Send right-mouse-dragged and other-mouse-dragged events to plugins. r=spohl,roc 2013-09-17 18:36:03 -05:00
Corey Ford
425e998f81 Bug 915475 - Don't sticky position frames with NS_FRAME_IS_NONDISPLAY. r=dholbert 2013-09-17 14:11:12 -07:00
Daniel Holbert
57aadd37fc Bug 917032 part 3: Move flex item physicalPosn computation up a bit higher. r=mats 2013-09-17 14:54:07 -07:00
Daniel Holbert
4d20a18dc9 Bug 917032 part 2: Make PhysicalPositionFromLogicalPosition() take the content-box size, so it can do polarity-flipping if necessary. r=mats 2013-09-17 14:54:02 -07:00
Daniel Holbert
4dac163182 Bug 917032 part 1: Do flex layout in content-box space, rather than in frame-rect (border-box) space, and adjust for border/padding at the end of reflow. r=mats 2013-09-17 14:53:56 -07:00
Martijn Wargers
3dbeb6c4a3 Bug 916086 - Remove some more enablePrivilege calls. r=jmaher
CLOSED TREE

--HG--
rename : layout/base/tests/test_bug458898.html => layout/base/tests/chrome/test_bug458898.html
2013-09-16 22:12:29 +02:00
Ehsan Akhgari
eaafff8ccb Bug 917301 - Remove some dead code in layout/; r=dholbert 2013-09-17 13:02:02 -04:00
L. David Baron
7fc7cb49ca Bug 911786 part 3: Add an assertion to check that part 2 only changes things for position:sticky. r=dholbert
I'm worried that part 2 was the cause of bug 916751.  If it was, I think
this assertion should catch the problem.  Even if it's not, I think it's
a good assertion to have.
2013-09-17 04:44:16 -07:00
L. David Baron
4d640839e9 Bug 916751: Do not use nsIFrame::MovePositionBy from nsLineLayout. r=dholbert
Since bug 916751 is hard (for me) to test, I haven't confirmed for sure
that this fixes the bug.

However, it fixes the assertions that bug 911786 part 3 triggers in
layout/base/crashtests/317934-1.html through this codepath.
2013-09-17 04:44:16 -07:00
L. David Baron
ef01bdd9f2 Bug 917021: We should not store the NormalPositionProperty on all frames, only relatively positioned ones. r=dholbert
This also fixes nsHTMLReflowState::ApplyRelativePositioning to no-op for
svg:text, as it should (since nsIFrame::IsRelativelyPositioned() checks
more than nsStyleDisplay::IsRelativelyPositionedStyle()).
2013-09-17 04:44:16 -07:00
Cameron McCormack
f5495def59 Bug 874507 - Make clip-path, filter, mask and opacity work on <marker> elements. r=longsonr 2013-09-16 15:06:29 +10:00
Rik Cabanier
37cda4a234 Bug 902525 - Part 3: create a layer for content that stores the blend mode r=roc 2013-09-14 20:40:11 -07:00
Rik Cabanier
48ef519963 Bug 902525 - Part 2: Create layers for isolated groups when blending is involved r=roc 2013-09-14 20:30:00 -07:00
Ryan VanderMeulen
68ba33db0f Backed out 7 changesets (bug 902525) for B2G reftest failures.
Backed out changeset bbca63772c83 (bug 902525)
Backed out changeset edb386989dbd (bug 902525)
Backed out changeset 3137dadb4fcd (bug 902525)
Backed out changeset e562afcb3c89 (bug 902525)
Backed out changeset 8ef3a516bd68 (bug 902525)
Backed out changeset 520fcd422150 (bug 902525)
Backed out changeset 4e553e8da44e (bug 902525)
2013-09-15 18:59:27 -04:00
Phil Ringnalda
6449089938 Bug 914919 followup followup, increase the assertion range for everyone 2013-09-15 13:34:08 -07:00
Rik Cabanier
47b70c43bf Bug 902525 - part 3: Create a layer for content that stores the blend mode. r=roc 2013-09-15 16:24:16 -04:00
Rik Cabanier
c9f23e97c5 Bug 902525 - Part 2: Create layers for isolated groups when blending is involved. r=roc 2013-09-15 16:24:06 -04:00
Timothy Nikkel
116e1aca5d Bug 915526. Take into account display port and scroll port clamping in image visibility. r=roc f=kats 2013-09-15 13:51:35 -05:00
Phil Ringnalda
6b0251f6d1 Bug 914919 followup, increase the assertion range for Windows 2013-09-14 21:39:16 -07:00
Corey Ford
1a8da8309d Bug 914919 - Downgrade BaseRect::Set*Edge assertions to be non-fatal. r=dholbert 2013-09-11 16:27:14 -07:00
Timothy Nikkel
10932d1189 Bug 847223. Part 10. Make the new code work when we have the image visibility analysis prefed off. r=mats 2013-09-14 19:05:06 -05:00
Timothy Nikkel
ff6006c467 Bug 847223. Part 6. Use the first reflow of relevant image frames to add/remove them from the visible list. r=mats 2013-09-14 19:05:05 -05:00
Timothy Nikkel
83defa774d Bug 847223. Part 4. Tweak the ExpandRect function to not expand in a direction that we cannot scroll. r=mats 2013-09-14 19:05:04 -05:00
Timothy Nikkel
929a7df9cb Bug 847223. Part 3. Factor out the expand the scrollport code so we can use it on individual images later. r=mats 2013-09-14 19:05:04 -05:00
Jonathan Watt
0cbbb98ce1 Bug 635240 - Implementation of the layout and anonymous shadow tree portion of <input type=number>. r=dholbert 2013-09-04 11:30:36 +01:00
Daniel Holbert
c2abdae85f Bug 941916: Drop unused constructor param "aItems" from SingleLineCrossAxisPositionTracker constructor. r=mats 2013-11-21 22:50:47 -08:00
Jonathan Kew
99f58ee59f bug 941638 - cache hyphen width in the gfxFontGroup, to improve layout performance for auto-hyphenated text. r=roc 2013-11-21 21:31:53 +00:00
Jonathan Kew
0a5b653da3 bug 941629 - take account of letter-spacing when adding the width of an automatic hyphen to the natural width of a justified line. r=roc 2013-11-21 21:31:43 +00:00
Masayuki Nakano
a8e21aa06f Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc 2013-09-14 11:39:41 +09:00
Ryan VanderMeulen
434a76b913 Backed out 6 changesets (bug 914826) for bustage.
Backed out changeset a4a029c13179 (bug 914826)
Backed out changeset d16460fc0518 (bug 914826)
Backed out changeset b28cb0ae1853 (bug 914826)
Backed out changeset 5b4ce1d4d09b (bug 914826)
Backed out changeset 58d96448609a (bug 914826)
Backed out changeset 52b319afe965 (bug 914826)
2013-09-13 16:32:42 -04:00
Nathan Froyd
c624a73fdb Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan 2013-09-10 16:56:05 -04:00
Daniel Holbert
36d2264c78 Bug 916115: In StickyScrollContainer::UpdatePositions, put do_QueryFrame result in a local var before comparing it for equality. r=corey 2013-09-13 10:04:23 -07:00
Edwin Flores
3b628f2098 Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Ryan VanderMeulen
eda259c9c3 Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures. 2013-09-13 11:15:54 -04:00
Corey Ford
54030945f9 Bug 897105 - Part 4: Build display items and layers for sticky positioned elements. r=roc 2013-09-12 18:56:57 -07:00
Corey Ford
dfec315ee7 Bug 897105 - Part 3: Keep sticky position layers fixed during async panning, within certain scroll ranges. r=roc 2013-09-11 21:24:32 -07:00
Jonathan Kew
1b8dc7ddfd bug 906643 - fix nsTextFrame build bustage on a CLOSED TREE. r=bustage 2013-09-13 12:57:27 +01:00
Robert O'Callahan
4a7f5f2157 Bug 906643. Part 5.6: Make nsTextFrames register themselves as observers when they have animated glyphs (but only the text frames that are the start of a run of continuations using a particulr textrun). r=jfkthame 2013-09-02 16:30:10 +12:00
Edwin Flores
4e93f109ae Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Daniel Holbert
e485c12c34 (no bug) fix a few s/it's/its/ typos in nsIFrame.h header-comments. DONTBUILD 2013-09-12 11:28:46 -07:00
Corey Ford
52c667104f Bug 911786 - Part 2: Reapply relative positioning when moving frames without reflowing them. r=dholbert 2013-09-11 11:51:42 -07:00
Corey Ford
82f1ea571b Bug 911786 - Part 1: Store computed relative position offsets. r=dholbert 2013-09-10 11:33:59 -07:00
Ryan VanderMeulen
1f1fb8a044 Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Corey Ford
edc42fda9e Bug 914891 - Bail gracefully on sticky positioning with no scroll container. r=dholbert 2013-09-11 16:30:56 -07:00
Martijn Wargers
1face898e0 Bug 914089 - b2g.json cleanup and reorder, part 3. r=jmaher 2013-09-11 13:52:42 +02:00
Daniel Holbert
8e7a66d2d6 (no bug) fix comment typos: s/incompete/incomplete/, s/th/the/
DONTBUILD because comment-only
2013-09-10 16:41:04 -07:00
Eitan Isaacson
13f929afc1 Bug 791916 - Make label tag a label accessible regardless of frame type. r=surkov 2013-09-11 17:06:22 -07:00
David Zbarsky
ee4bab6bcb Bug 911575 - Convert canvas callbacks to WebIDL r=bz 2013-09-11 18:35:51 -04:00
Daniel Holbert
5866ac9a1f Bug 914937: Remove nsFlexContainerFrame::GetSkipSides, now that we can inherit a useful impl from nsSplittableFrame. r=mats 2013-09-11 13:54:44 -07:00
Scott Johnson
999a47f33b Bug 794693, part 2: Perform parent reflow state calculation at the box-block interface before setting up child reflow state to prevent crashing when a parent reflow state is assumed to be non-null. [r=dbaron] 2013-09-09 15:29:06 -05:00
Scott Johnson
0aef9cf06c Bug 794693, part 1: Refactor nsHTMLReflowState constructor to allow initialization to be done by caller. [r=dbaron] 2013-09-09 15:29:05 -05:00
Daniel Holbert
f73a0134ab (no bug) Fix comment typo: s/frames/frame's/ DONTBUILD 2013-09-08 10:34:32 -07:00
Scott Johnson
16947600da Backout 8f09d30d3571 for crashtest orange. [r=me]
--HG--
extra : rebase_source : be0cfd30ce57072b83022f20955fd515041d56ed
2013-09-07 20:05:23 -05:00
Scott Johnson
18467cfb5d Backout dfe69eabbe47 for crashtest orange. [r=me]
--HG--
extra : rebase_source : 36898d587c098835af796d7588ba24b3b40b0558
2013-09-07 20:04:36 -05:00
Scott Johnson
3b3b31593d Bug 794693, part 2: Perform parent reflow state calculation at the box-block interface before setting up child reflow state to prevent crashing when a parent reflow state is assumed to be non-null. [r=dbaron] 2013-09-07 19:02:11 -05:00
Scott Johnson
c1e8429b4d Bug 794693, part 1: Refactor nsHTMLReflowState constructor to allow initialization to be done by caller. [r=dbaron] 2013-09-07 19:02:10 -05:00
Ehsan Akhgari
bdb172ee45 Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Benoit Jacob
bd8899eab6 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Corey Ford
b3400abc97 Bug 886646 - Part 6: Implement sticky positioning, calculated on reflow and scroll. r=dbaron, r=dholbert 2013-09-06 09:35:16 -04:00
Corey Ford
84181a5ffd Bug 886646 - Part 5: Always build a stacking context for sticky positioned elements. r=dbaron 2013-09-06 09:35:16 -04:00
Daniel Holbert
f6dbbf0736 Bug 883514: During block reflow, check floats after reflowing bullet frames, instead of before. r=dbaron 2013-09-05 11:59:09 -07:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Georg Fritzsche
e5ad830d3e Bug 899080 - Test fixup part 5 - layout. r=roc 2013-09-04 16:07:53 +02:00
Boris Zbarsky
94d64e0f7e Bug 911771. Remove uses of MOZ_DEBUG in .cpp files, since there is no such thing there. Use DEBUG instead. r=glandium 2013-09-04 16:43:12 -04:00
Masatoshi Kimura
e2bd26bb53 Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Robert O'Callahan
f106933a31 Bug 911889. Part 1: Fix mutationUpdate mutation count for first as well as subsequent mutations. r=benwa 2013-09-04 16:43:33 +12:00
Blake Kaplan
d00eb2fa5c Bug 860123 - Part 1: Disallow extending or collapsing selections across documents; r=ehsan 2013-08-29 10:14:15 -04:00
Masayuki Nakano
2876cef75a Bug 910978 part.2 Remove nsScrollbarEvent because its member is never used r=smaug+roc 2013-09-03 20:45:28 +09:00
Ehsan Akhgari
b283dbb4c7 Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Seth Fowler
764a367ab4 Bug 825771 (Part 3) - Add support for image-orientation to nsImageFrame. r=dholbert 2013-08-28 15:39:07 -07:00
Seth Fowler
8d4fcb37a7 Bug 825771 (Part 2) - Make nsImageFrame hold a reference to its image container. r=dholbert 2013-08-28 15:39:06 -07:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Matt Woodrow
30e7a9848d Bug 740580 - Follow-up for fix incorrect rebasing. mDestRect should have been destRect. 2013-08-27 16:51:37 +12:00
Anthony Jones
613f37d541 Bug 740580 - Add Azure support to nsCanvasFrame; r=Bas 2013-08-27 14:08:05 +12:00
Masayuki Nakano
d7ec8e6508 Bug 907612 part.2 Get rid of nsNativeKeyEvent r=roc+gps, sr=jst 2013-08-24 16:24:32 +09:00
Ehsan Akhgari
1362ea1611 Bug 908746 - Move some macros from nsHTMLReflowState.h to nsIFrame.h so that we can stop #including nsHTMLReflowState.h in nsLayoutUtils.h; r=mats 2013-08-23 18:20:19 -04:00
Ehsan Akhgari
7f8d74afc9 Bug 908778 - Don't #include nsAlgorithm.h in nsIFrame.h; r=mats 2013-08-23 18:17:19 -04:00
Ehsan Akhgari
35afe61310 Bug 908778 - Don't #include nsStyleStructFwd.h in nsIFrame.h; r=mats 2013-08-23 18:16:59 -04:00
Ehsan Akhgari
9f715b764c Bug 908778 - Don't #include nsRegion.h in nsIFrame.h; r=mats 2013-08-23 18:16:38 -04:00
Ehsan Akhgari
b07c7735a2 Bug 908778 - Don't #include gfxASurface.h in nsIFrame.h; r=mats 2013-08-23 18:16:16 -04:00
Ehsan Akhgari
ff95a5090f Bug 908778 - Don't #include nsIContent.h in nsIFrame.h; r=mats 2013-08-23 18:15:45 -04:00
Ehsan Akhgari
4ff8f0416e Bug 908724 - Avoid #including nsPresContext.h in nsIScrollableFrame.h; r=mats
nsPresContext.h pulls in a large number of headers which should not
be needed in nsIScrollableFrame, if we just move ScrollbarStyles to
its own header
2013-08-23 16:20:07 -04:00
David Zbarsky
31df3b590f Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir 2013-08-23 13:56:20 -04:00
David Zbarsky
6e2250a052 Backout c619171e0070 for windows assertion failure on a CLOSED TREE 2013-08-23 14:58:41 -04:00
David Zbarsky
f19c09b33c Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir 2013-08-23 13:56:20 -04:00
Robert O'Callahan
00a701ff71 Bug 906199. Ensure that nsDisplayTransforms being bubbled up by preserve-3d have the correct clip applied. r=mattwoodrow
--HG--
extra : rebase_source : 565cbebb5a7db17949a34cd41c9f0018db781caf
2013-08-21 15:04:23 +12:00
Ehsan Akhgari
80d135155d Bug 907883 - Minimize #includes in layout/generic; r=roc
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
add9ce17b9 Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ehsan Akhgari
1e7ca5d13f Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Nathan Froyd
58bf7f38ba Bug 906150 - initialize an empty RangeData at each point of use in nsSelection.cpp; r=smaug 2013-08-16 15:01:04 -04:00
Phil Ringnalda
c320c2d1e0 Back out 4dd5fb21e599 (bug 906199) for Android R2 orange
CLOSED TREE
2013-08-20 22:49:12 -07:00
Robert O'Callahan
8253361b24 Bug 906199. Ensure that nsDisplayTransforms being bubbled up by preserve-3d have the correct clip applied. r=mattwoodrow 2013-08-21 15:04:23 +12:00
Scott Johnson
2c9180dedd Bug 746015: Add a nsDisplayGenericOverflow class that uses a frame's visual overflow rect as its bounds to correctly display column rules that lie outside of a column set frame's bounds. [r=dbaron] 2013-08-20 16:38:29 -05:00
David Zbarsky
04ff4c97fa Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc 2013-08-20 15:45:30 -04:00
Ehsan Akhgari
5fa9157954 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Daniel Holbert
e68088982c (no bug) fix typo in comment in nsHTMLReflowState: s/frames/frame's/ DONTBUILD 2013-08-19 18:10:06 -07:00
James Kitchener
9c18d567be Bug 827713 - Use mmultiscripts to handle all script shift elements. r=fredw 2013-08-19 09:11:50 -04:00
David Zbarsky
0f565540a1 Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-19 06:15:55 -04:00
Phil Ringnalda
beddb21787 Merge m-c to fx-team 2013-08-17 08:42:11 -07:00
Mark Capella
0d5545ac39 Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan 2013-08-16 21:51:41 -04:00
Wes Kocher
ad2cf0b4fb Backed out changeset 2404f5888de3 (bug 864589) 2013-08-16 16:09:46 -07:00
Mark Capella
437a43e9ca Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan 2013-08-16 16:45:42 -04:00
Daniel Holbert
9663beb46d (no bug, whitespace only) Remove unnecessary newline in nsFlexContainerFrame.cpp. DONTBUILD 2013-08-16 18:00:13 -07:00
Brian O'Keefe
3a92f0ae7c Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger
2797100606 Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Jonathan Kew
5ef7fb8ece bug 904555 - clean up use of nsRect APIs in layout. r=roc 2013-08-14 13:27:20 +01:00
Ms2ger
df8525f77d Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Ms2ger
f2457c6b24 Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar 2013-08-14 08:55:46 +02:00
Kan-Ru Chen (陳侃如)
e2a7b7064f Bug 845169 - Update touch region from remote frame. r=roc 2013-08-13 15:56:57 +08:00
Mats Palmgren
13760051a7 Bug 883568 - Call UpdateOverflow() in the scroll frame base class to actually update the overflow areas. r=roc 2013-08-10 16:55:29 +00:00
Markus Stange
ed4042636b Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc 2013-08-14 13:33:03 +02:00
Markus Stange
a8a66130d6 Bug 904539 - Don't #include ImageLoader.h in nsIFrame.h. r=roc 2013-08-14 13:29:11 +02:00
Markus Stange
97605b2c55 Bug 904538 - Don't #include nsITheme.h in nsIWidget.h. r=roc 2013-08-14 13:19:55 +02:00
Mats Palmgren
da45949103 Bug 904810 - Restore old default behavior on Windows that UP/DOWN go to next/prev line also when there's a selection. r=ehsan 2013-08-16 16:20:04 +00:00
Trevor Saunders
e59057dee7 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Corey Ford
b2510f37c3 Bug 898794 - Store normal frame position before applying relative positioning. r=dbaron 2013-08-08 17:20:17 -07:00
Mats Palmgren
cd070d65f1 Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc 2013-08-08 22:04:59 +00:00
Mats Palmgren
61af25d2ee Bug 898871 - Add an assertion that the pres shell was not deleted by some script runner, which should not happen here since the caller must hold a strong ref before starting the scroll operation. r=roc 2013-08-08 22:04:59 +00:00
David Zbarsky
de328bd8e8 Bug 902732: Merge nsILink and dom::Link r=bz 2013-08-08 01:26:32 -04:00
Corey Ford
f1ba8e1385 Bug 901610 - Use nsStyleDisplay::IsRelativelyPositionedStyle in nsLineLayout. r=dbaron 2013-08-07 11:46:44 -07:00
Ehsan Akhgari
d8b97b0c48 Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky 2013-08-06 16:19:11 -04:00
John Schoenick
74e1555699 Bug 874843 - Fix focus race in test on windows 8. r=roc 2013-08-05 12:13:09 -07:00
Karl Tomlinson
7d25046a2e add crashtest for bug 893523 using testcase by jruderman@gmail.com
--HG--
extra : transplant_source : %C9y%C9%A3%DF%BF%01%E6%A25%D4%C4%28G%FE%FF%94%2B%E9%D5
2013-08-05 14:58:10 +12:00
Cameron McCormack
692234d456 Bug 899900 - Avoid null checking result of NS_NewBlahFrame. r=dbaron 2013-08-03 14:11:06 +10:00
Cameron McCormack
e9318247c3 Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron 2013-08-03 14:11:06 +10:00
Cameron McCormack
45b5388747 Bug 899881 - Don't allow frames to have a null style context. r=dbaron 2013-08-03 14:11:05 +10:00
Benoit Girard
a6f9a322cf Bug 894773 - Don't force layers on single opacity change. r=roc
--HG--
extra : rebase_source : 1f4807150ad7776aa1e90ded322149cf57f212ff
2013-07-16 22:56:16 -04:00
Ms2ger
5c2b63d2c7 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
78f9e66db8 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Mike Hommey
d01b5df996 Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Daniel Holbert
07aeb1873b Bug 900242: Mark overriding nsBlockFrame methods as MOZ_OVERRIDE. r=mats 2013-07-31 18:59:25 -07:00
Stephen Pohl
a198ffc2ab Bug 877097: Hold strong refs to instances of ScrollbarActivity to avoid crashing. r=mats 2013-07-31 21:43:56 -04:00
Corey Ford
9c2fee65d8 Bug 898797 - Use nsHTMLReflowState::ApplyRelativePositioning when placing floats. r=dbaron 2013-07-29 21:53:13 -07:00
Martijn Wargers
55022997b9 Bug 899939 - Fix some tests that still use prefBranch instead of SpecialPowers.pushPrefEnv. r=jmaher 2013-07-31 11:30:54 +02:00
Corey Ford
de9204984b Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron 2013-07-30 21:01:06 -07:00
Cameron McCormack
c3e4238af9 Bug 897887 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt 2013-07-31 10:39:04 +10:00
L. David Baron
75e4462ced Bug 898893: Rename nsTextFrameThebes.cpp back to nsTextFrame.cpp, from which it originally forked. r=roc
This was discussed in both:
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
https://groups.google.com/d/topic/mozilla.dev.tech.layout/Cmvapo3fWeg/discussion

--HG--
rename : layout/generic/nsTextFrameThebes.cpp => layout/generic/nsTextFrame.cpp
2013-07-30 17:36:09 -07:00
L. David Baron
c857e1a9dd Bug 898888: Transition manager should use SetStyleContext rather than SetStyleContextWithoutNotification. r=nrc
While debugging bug 858937 I noticed that the transition manager was
calling nsIFrame::SetStyleContextWithoutNotification rather than
nsIFrame::SetStyleContext.  SetStyleContextWithoutNotification should
only be used for things that aren't really style changes, but are
instead changes we make during frame construction before things are
really initialized.  Anything that's really a dynamic style change, as
these are, should use SetStyleContext.

I realize I said the opposite in bug 780692 comment 186, and bz said the
same in bug 780692 comment 204, which is why this is the state that it
is.
2013-07-30 17:36:08 -07:00
Timothy Nikkel
0c2d304b5a Bug 899745. Remove top most z-index tracking from views because it is unused. r=mats 2013-07-30 16:10:28 -05:00
Ehsan Akhgari
5ee21d6d3f Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Ryan VanderMeulen
fe2024e105 Backed out 6 changesets (bug 827713) for reftest failures.
Backed out changeset 014cc3de08fb (bug 827713)
Backed out changeset 4113172193aa (bug 827713)
Backed out changeset 27a5c8dd5ff7 (bug 827713)
Backed out changeset 6448c7e05f11 (bug 827713)
Backed out changeset b67a72618c66 (bug 827713)
Backed out changeset 1279664e0d41 (bug 827713)
2013-07-29 15:19:34 -04:00
James Kitchener
ee1f2fa75c Bug 827713 - Part 3: Use mmultiscripts to handle all script shift elements. r=fredw 2013-07-29 12:37:50 -04:00
Robert O'Callahan
b4b3da2365 Bug 885009. Handle clip-all-descendants cases with rounded corners. r=mats
--HG--
extra : rebase_source : 284587e5fa70532bc6435f987f03c1282edc9cb8
2013-07-26 13:36:05 +12:00
Stephen Pohl
d8a27a209b Bug 896443: Fix the z-ordering of overlay scrollbars to make them appear on top of content with z-index > 0. r=roc 2013-07-25 21:31:35 -04:00
John Schoenick
2ee0ec1124 Bug 874843 - Fix typo in test r=typo 2013-07-25 13:20:42 -07:00
Scott Johnson
fbf113619e Bug 743402, Part 5: Utilize new computed height calculations in nsSplittableFrame to correctly compute the height of a column set frame in paginated context. [r=roc] 2013-07-25 10:34:31 -05:00
Scott Johnson
894c1e922c Bug 743402, Part 4: Refactor ApplySkipSides() and GetSkipSides() to return the correct value during reflow by adding an optional nsHTMLReflowState parameter. [r=roc] 2013-07-25 10:34:27 -05:00
Scott Johnson
a860b0c4e2 Bug 743402, Part 3: Refactor nsBlockFrame to utilize new calculations for paginated content. [r=roc] 2013-07-25 10:34:22 -05:00
Scott Johnson
be7c5a1e25 Bug 743402, Part 2: Pull GetEffectiveComputedHeight() into nsSplittableFrame and refactor it to utilize consumed height for paginated content. [r=roc] 2013-07-25 10:34:16 -05:00
Scott Johnson
8e92c99740 Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc] 2013-07-25 10:34:12 -05:00
Max Vujovic
dd92ca0dd1 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-22 15:08:33 -07:00
Ryan VanderMeulen
6b307780d7 Backed out 6 changesets (bug 743402) for reftest failures on a CLOSED TREE.
Backed out changeset 19848fff857e (bug 743402)
Backed out changeset 049168537ae0 (bug 743402)
Backed out changeset 3098fea37f2d (bug 743402)
Backed out changeset ada93e976dca (bug 743402)
Backed out changeset c7907c54187f (bug 743402)
Backed out changeset 2edbbf6440c4 (bug 743402)
2013-07-24 15:14:04 -04:00
Scott Johnson
09919e2120 Bug 743402, Part 5: Utilize new computed height calculations in nsSplittableFrame to correctly compute the height of a column set frame in paginated context. [r=roc] 2013-07-24 12:47:21 -05:00
Scott Johnson
a2790e3b0b Bug 743402, Part 4: Refactor ApplySkipSides() and GetSkipSides() to return the correct value during reflow by adding an optional nsHTMLReflowState parameter. [r=roc] 2013-07-24 12:47:17 -05:00
Scott Johnson
1f13056eae Bug 743402, Part 3: Refactor nsBlockFrame to utilize new calculations for paginated content. [r=roc] 2013-07-24 12:47:12 -05:00
Scott Johnson
46a7e24a4c Bug 743402, Part 2: Pull GetEffectiveComputedHeight() into nsSplittableFrame and refactor it to utilize consumed height for paginated content. [r=roc] 2013-07-24 12:47:06 -05:00
Scott Johnson
b6e4526ae0 Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc] 2013-07-24 12:47:01 -05:00
Robert O'Callahan
95a0f3bc12 Bug 889219. Part 5: Remove nsSimplePageSequenceFrame::mCurrentPageFrame. r=mats
Holding onto frame pointers is potentially dangerous. It's not really necessary
to do so here.

--HG--
extra : rebase_source : d92798b59cd7b3032a2bb77a80f00ff590b2213a
2013-07-24 23:48:55 +12:00
Robert O'Callahan
fa04fb6b6d Bug 889219. Part 4: Stop heap-allocating nsSharedPageData::mHeadFootFont. r=mats
--HG--
extra : rebase_source : beaa74d12c905b4737ab3b6e736f8e5ad90942bb
2013-07-24 23:48:55 +12:00
Robert O'Callahan
7d894511d0 Bug 889219. Part 3: Clean up string usage for printing date/time headers. r=mats
--HG--
extra : rebase_source : 019de7d34f60f354a1ddd943d62c0656628f6263
2013-07-24 23:48:54 +12:00
Robert O'Callahan
aa021ed17f Bug 889219. Part 2: Clean up string usage for page numbers/formats. r=mats
--HG--
extra : rebase_source : 8088904e1f0d552368eb003cff6982710f6c9276
2013-07-24 23:48:54 +12:00
Robert O'Callahan
f51c1e6524 Bug 889219. Part 1: Clean up nsPrintEngine string usage for document titles/URLs. r=mats
--HG--
extra : rebase_source : 17a67d9956e9df9e19c86ea70ac3045e636c49ae
2013-07-24 23:48:37 +12:00
Ms2ger
834f814430 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
65809ecc1e Bug 896261 - Remove aAppendedThemedBackground arguments from nsDisplayBackgroundImage::AppendBackgroundItemsToTop, nsFrame::DisplayBackgroundUnconditional; r=roc 2013-07-24 09:38:55 +02:00
Cameron McCormack
4ff0f92bc1 Bug 895311 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt 2013-07-24 15:13:54 +10:00
Ed Morley
b8d2e3631d Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE 2013-07-23 16:36:45 +01:00
Max Vujovic
695c4ee979 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-23 10:47:16 -04:00
Simon Sapin
2db3b1337a Bug 483446 - CSS3 'background-attachment: local' support. r=roc 2013-07-23 09:22:58 -04:00
Stephen Pohl
213ea873be Bug 877857: Make hovered overlay scrollbars appear on top of non-hovered ones. r=roc 2013-07-23 00:21:55 -04:00
Stephen Pohl
5f44dec822 Bug 877097: Improve readability of ScrollbarActivity::GetRefreshDriver. r=mats 2013-07-22 22:46:27 -04:00
John Schoenick
36e6f1d03f Bug 874843 - Cleanup plugin_focus_helper test events to try and fix intermittent orange. r=roc 2013-07-22 08:55:19 -04:00
L. David Baron
af0d77ef1f Bug 896138 patch 6: Move restyle management code from nsFrameManager to RestyleManager. r=heycam
This is the second of two big chunks of code moved into the new
RestyleManager class from another sources.

Note that the undisplayed map remains in nsFrameManager, although it
could perhaps have moved.
2013-07-20 12:14:25 -07:00
L. David Baron
a187fb3edb Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Nicholas Cameron
88b5d20e12 Bug 700926; reshuffle background image drawing. r=roc
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Reuben Morais
c12172d5c5 Bug 873346 - Fix sometimes-unitialized warning in nsImageMap. r=dbaron
--HG--
extra : rebase_source : dcc8013bb0542a69edb43c86fddc3f4075b4e7d5
2013-07-17 20:28:23 -07:00
Ryan VanderMeulen
0439786998 Merge m-c to inbound on a CLOSED TREE. 2013-07-18 14:53:05 -04:00
Robert O'Callahan
3bf479558f Bug 870941. Make scrollframes put scrollbars etc above content in z-order if they're disappering scrollbars. r=mattwoodrow 2013-07-18 10:10:13 -04:00
Markus Stange
925f3877d6 Bug 894905 - Create a separate nsDisplayItem subclass for -moz-appearance backgrounds. r=roc 2013-07-18 08:34:58 +02:00
Markus Stange
a3bbc51f36 Bug 894905 - Make AppendBackgroundItemsToTop return a bool instead of an nsDisplayBackgroundImage. r=roc 2013-07-18 08:34:10 +02:00
Ryan VanderMeulen
a0ca37d26a Backed out changeset 9022f5fdcf98 (bug 483446) for mochitest-5 orange. 2013-07-16 10:45:35 -04:00
Brian O'Keefe
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Simon Sapin
f9d83485ab Bug 483446 - Add CSS3 'background-attachment: local' support. r=roc 2013-07-16 09:10:58 -04:00
Stephen Pohl
160820c8f3 Bug 868498: Enable switching between overlay and regular scrollbars without browser restart on Mac OSX. r=roc 2013-07-16 08:58:44 -04:00
Stephen Pohl
6fdf0a7164 Bug 890897 - Don't show overlay scrollbars when we don't end up scrolling the page because we're already at an acceptable place. r=roc 2013-07-16 00:51:21 -04:00
Corey Ford
a7574f8535 Bug 893962 - Refactor the application of relative positioning. r=dbaron 2013-07-15 17:28:09 -07:00
Blake Kaplan
c55ad9cb94 Bug 888787 - Restore old XBL behavior when a child of the bound element didn't match any of the <children/> in the binding. r=sicking 2013-07-11 17:05:54 -04:00
Cameron McCormack
7d630509ae Bug 893510 - Don't schedule reflow of non-display SVG text when a child text content frame was just created. r=jwatt 2013-07-15 18:15:49 +10:00
Mats Palmgren
6e1a1a8f90 Bug 883676 - Implement 'page-break-inside:avoid' also for the case where the block reflow is COMPLETE but does not fit in the available height. r=roc 2013-07-13 13:18:17 +00:00
Cameron McCormack
2b44ade39e Bug 890783 - Reflow non-display SVG text when a child text frame is restyled. r=roc 2013-07-12 17:13:07 +10:00
Cameron McCormack
723d3df830 Bug 890782 - Part 3: Inherit NS_FRAME_IS_NONDISPLAY by default. r=jwatt 2013-07-12 17:13:07 +10:00
Cameron McCormack
4d5eacea09 Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt 2013-07-12 17:13:07 +10:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Mike Hommey
784edc021e Bug 892401 - Remove NEW_H. r=ted 2013-07-12 09:16:41 +09:00
Daniel Holbert
48e5024923 Bug 885424 part 4: Refactor ComputeFlexContainerMainSize to have a clearer horizontal case vs. vertical case. r=dbaron 2013-07-11 16:47:03 -07:00
Ryan VanderMeulen
aaee3cf638 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger
5db9476062 Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc 2013-07-10 11:58:13 +02:00
Daniel Holbert
72c1fdc5a8 Bug 885424 part 3: Rename flexContainerMainSize to contentBoxMainSize, for clarity, and mark that & 'frameMainSize' as const. r=dbaron 2013-07-09 14:38:59 -07:00
Daniel Holbert
c77530ad52 Bug 885424 part 2: Perform flexbox main-axis alignment separately from cross-size determination, to more closely match the ordering of steps in flexbox spec. r=dbaron 2013-07-09 14:38:59 -07:00
Daniel Holbert
2a0690a89e Bug 885424 part 1: Set aStatus at the very beginning of flexbox reflow, and call NS_FRAME_SET_TRUNCATION at the very end. r=dbaron 2013-07-09 14:38:59 -07:00
Daniel Holbert
36aaafb064 Bug 885424 part 0: Shift declarion of 'frameCrossSize' down to where it's actually used. r=dbaron 2013-07-09 14:38:59 -07:00
Scott Johnson
59c0b63570 Bug 861184: Pull code providing binary search for valid column height into its own method. [r=roc] 2013-07-09 15:24:27 -05:00
Benoit Girard
123c3a85d6 Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats 2013-07-02 11:16:05 -04:00
Ryan VanderMeulen
e39cea1d90 Bug 891347 - Skip 385526.html on B2G due to frequent timeouts. 2013-07-09 16:02:04 -04:00
Joey Armstrong
a6b9800cfb bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Simon Montagu
74ecd8892c Use GetFrameBaseLevel to drill down to the first leaf frame instead of just looking at the first child when getting the line direction. Bug 889742, r=roc 2013-07-04 10:13:52 +03:00
Robert Longson
5d44648cb3 Bug 889329 - Implement deselectAll(). r=cam,sr=roc 2013-07-03 08:41:53 +01:00
Joey Armstrong
b931149ad7 bug 870407: move CMMSRCS to mozbuild (file batch #3). r=mshal 2013-07-02 17:09:08 -04:00
Jim Mathies
7a5fb0d2a7 Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange 2013-07-02 05:02:21 -05:00
Phil Ringnalda
2f47f82f77 Backed out changeset 77bd60758c53 (bug 879565) for still asserting, just not quite as much 2013-07-01 21:43:49 -07:00
Jim Mathies
f49be481e5 Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. (Debug osx assertions fixed.) r=mstange 2013-07-01 21:42:00 -05:00
Jim Mathies
4f19f4c50a Backed out changeset c2299dce9dbd (bug 879565) due to debug assertions. 2013-07-01 19:28:44 -05:00
Jim Mathies
d8e913c96a Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange 2013-07-01 16:53:17 -05:00
Ryan VanderMeulen
ecb96b9bb2 Backed out changeset 1f6132caf111 (bug 879565) for warnings-as-errors bustage.
CLOSED TREE
2013-07-01 14:50:25 -04:00
Jim Mathies
a1c6f99757 Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange 2013-07-01 13:29:24 -05:00
Ryan VanderMeulen
1a472aefb6 Merge inbound and m-c. 2013-07-01 08:12:24 -04:00
Ms2ger
9a38df8e56 Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc 2013-07-01 09:14:36 +02:00
Catalin Iacob
ff12d6de33 Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn. 2013-06-30 18:26:39 +02:00
Blake Kaplan
4f72049bc8 Bug 653881 - Bump the assertion count for 382745-1.xhtml. r=bz
--HG--
extra : rebase_source : e645bf99e368d97aca200c0db4c302a87abf3b1f
2013-06-28 18:48:12 -07:00
Justin Lebar
6c46d0633d Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Daniel Holbert
d717f69bc0 Bug 886313: Make DisplayLine generate display items in a temporary collection, so we can apply text-overflow clipping without affecting earlier lines. r=roc 2013-06-28 00:22:57 -07:00
Seth Fowler
1697ccd608 Bug 695763. Part 7. Invalidate img's if they are not decoded and we are asked to do a sync decode. r=matt.woodrow 2013-06-26 11:43:27 -05:00
Michael Harrison
04aac710fc Bug 534409 - Fix incorrect sizing of the <audio> element when it has a non-auto width or height. r=doublec 2013-06-25 18:00:04 -04:00
Catalin Iacob
4f03e5bb1a Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Seth Fowler
0a654b9497 Bug 695763. Part 2. Invalidate list style images if they are not decoded and we are asked to do a sync decode. r=roc 2013-06-22 11:30:57 -05:00
Daniel Holbert
821e839253 (no bug) Improve/correct some comments in nsFlexContainerFrame::Reflow. comment-only, DONTBUILD 2013-06-20 12:05:35 -07:00
Arnaud Sourioux
187cea8753 Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz 2013-06-18 17:25:50 -04:00
Daniel Holbert
604c0352a7 Bug 884564 followup: fix end-of-line whitespace in nsBlockFrame::CreateContinuationFor. (whitespace-only, DONTBUILD) 2013-06-18 23:23:45 -07:00
Daniel Holbert
9c3f45687f Bug 884576: Make some nsBlockFrame helper-methods (ReflowPushedFloats, PrepareResizeReflow, & SplitLine) infallible. r=bz 2013-06-18 23:09:22 -07:00
Daniel Holbert
6ad6366c8d Bug 884564: Make CreateContinuationFor() infallible and directly return its outparam. r=bz 2013-06-18 23:09:20 -07:00
Robert O'Callahan
04c0595c8f Bug 880854. Part 1: Make nsIFrame::DumpFrameTree virtual and take no parameter, to be easier to call from buggy debuggers like gdb. r=mats
--HG--
extra : rebase_source : 0986652eb1d9710ceeba8cda4ac3d1273532929d
2013-06-18 23:39:58 +12:00
Ehsan Akhgari
891ead97b0 Backed out changeset 57624f26be8f (bug 702080) on the suspicion of causing a b2g mochitest-3 failure, since it touches code near remote browser stuff
Landed on a CLOSED TREE
2013-06-18 23:52:07 -04:00
Arnaud Sourioux
84af79928e Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz 2013-06-18 17:25:50 -04:00
Robert O'Callahan
8b77b266e2 Bug 875060. Make display:-moz-stack/-moz-inline-stack elements which are overflow:hidden clip all their descendants, including those for which it is not the containing block. r=mats 2013-06-17 17:16:27 +12:00
Robert O'Callahan
5b98f9c1a4 Bug 876092. Copy the DisplayItemClip into OutOfFlowDisplayData instead of storing a pointer. r=mats 2013-06-18 21:15:39 +12:00
Robert O'Callahan
133d433fda Bug 876092. Part 1. Don't let effects of MarkFramesForDisplayList carry over between pages. r=mats 2013-06-18 21:15:37 +12:00
Trevor Saunders
9ee7f78167 bug 852129 - use HyperTextAccessible for invalid img r=surkov, bz
If the img is not valid then its children will be rendered, and the
sensible way to handle that is by giving the img a HyperTextAccessible
instead of an ImageAccessible.  Since the accessible name of such an img
should be the value of the alt attribute we add similar logic as
ImageAccessible::NativeName() to HyperTextAccessible::NativeName()
conditioned on the tag being img.
2013-06-12 05:13:34 -04:00
Martin Stransky
f672df1462 Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt 2013-06-12 08:04:28 -04:00
Ms2ger
5c6989f531 Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz 2013-06-12 09:00:09 +02:00
Rick Eyre
0b2523d851 Bug 833283 - Add do_QueryFrame support to nsVideoFrame. r=bz
Ms2ger recommended this instead of using do_QueryInterface on
nsVideoFrame.
2013-05-27 13:34:00 -07:00
Mats Palmgren
d94d666670 Bug 863935. r=roc 2013-06-10 18:31:59 +00:00
Stephen Pohl
ceb1835b43 Bug 881022: Check that the scrollable frame is still alive after each call to UnsetOpacityOnElement for the two scrollbars to avoid crashing. r=roc 2013-06-09 20:38:45 -07:00
Karl Tomlinson
1ce654b834 b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
--HG--
extra : transplant_source : %07%FC%14%84%D6%80%BD%5C%ECe%05%0D%8F%B3%0E%8F%7B%F8%90%1E
2013-06-10 12:37:16 +12:00
Karl Tomlinson
de4783e514 b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
--HG--
extra : transplant_source : %3BkY-X%D0%60lwm%C5XN%BEo%CA%AF%0E%10%08
2013-06-10 12:37:16 +12:00
Stephen Pohl
c76ead7bd6 Bug 877097: Check that the scrollable frame is still alive after each call to SetOpacityOnElement for the two scrollbars to avoid crashing. r=roc 2013-06-08 14:05:33 -07:00
Boris Zbarsky
ea6d9a6694 Bug 879628. Don't screw up the text from earlier counters when using counters() with various list styles. r=dbaron 2013-06-07 22:45:46 -04:00
Timothy Nikkel
4ba5b4599e Bug 880508. Remove defer invalidations code because we don't invalidate during painting anymore. r=matt.woodrow 2013-06-06 23:12:10 -05:00
Karl Tomlinson
67fd03b080 backout f4add9815dd1 and db258cb900a7 because gcc 4.4 builds don't use -std=gnu++0x for decltype b=810274 2013-06-06 18:03:21 +12:00
Karl Tomlinson
4745c650c4 b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
--HG--
extra : transplant_source : %CF%FE%015%5E%E6R%F0W%EB%1EoW%A5%3B%04%D9%F4C%0A
2013-06-06 15:49:23 +12:00
Karl Tomlinson
50bbd1b1db b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
--HG--
extra : transplant_source : %22c%20R%E6%BF%C6%10%02%7C%1E%9F%CA%C7%2B%8C%98A%28%D3
2013-06-06 15:49:10 +12:00
Karl Tomlinson
80c7229552 b=810274 ensure scrolled range is non-negative even in the presence of nscoord overflow r=roc
Instead of trying to detect all integer overflow at the source, this merely
keeps the sizes non-negative.  That may not mean they are less than
nscoord_MAX.

If we give in and accept that integer arithmetic may result in the scrolled
rect being smaller than the scroll port, then we shouldn't assert.

--HG--
extra : transplant_source : RP%15%84zx%B9%E8%2C%1E%0A%AB%82%F4%9C%A2y%AD5%27
2013-06-06 15:47:39 +12:00
Scott Johnson
154db4f170 Bug 877160: Backout patch for bug 794693 due to regressions. [r=mats] 2013-06-04 10:43:08 -05:00
Ehsan Akhgari
d49b8699e3 Bug 876194 - Remove 660451-1.html because we have another copy of it in the tree (656130-2.html) 2013-06-03 21:42:23 -04:00
Daniel Holbert
033d14389c Bug 877890: In CSS flexbox and XUL box model, sort placeholders using their out-of-flow frame's order/ordinal value. r=bz 2013-05-31 22:14:03 -07:00
Scott Johnson
51f6ad7ea1 Bug 730559: Limit the number of columns during layout of column sets to prevent hang. [r=mats]
In nsRuleNode, when we parse a number of columns from a CSS style sheet, we enforce
a rule that the number of columns cannot exceed 1000. This patch simply enforces
the same rule when we decide that the column count will be generated based on
the available width (e.g. the column-count property has a value of 'auto').
2013-05-31 10:51:43 -05:00
Joe Drew
c4c196188f Bug 867770 - Add a pref as to whether we layerize animated images, disabled by default. r=mattwoodrow 2013-05-30 21:33:17 -04:00
Joe Drew
9a5d492da7 Bug 867770 - Layerize all animated images. r=mattwoodrow 2013-05-30 09:50:50 -04:00
Kartikaya Gupta
99a4283e34 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
Robert O'Callahan
0cd25518d1 Bug 872254. Clear line/row cursors when overflow areas of lines or table rows change. r=bz
--HG--
extra : rebase_source : 81c1c4269e22ffad98433669ef152002b9d63533
2013-05-30 16:44:37 +12:00
Matt Woodrow
0d5f8e14b1 Bug 869133 - Recycle the ImageLayers created by nsDisplayImage/nsDisplayBackgroundImage instead of recreating them each time. r=roc 2013-05-30 14:42:28 +12:00
Timothy Nikkel
e6710aa1e3 Bug 877458. Bullet frame should honour the sync decode images flag. r=matt.woodrow 2013-05-29 18:23:31 -05:00
Arnaud Sourioux
043b0fd84c Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert 2013-05-29 12:37:49 -07:00
Ralph Giles
92d30af9b2 Bug 875305 - Replace slow webvtt caption selectors with classes. r=bz
We set the class caption-box class on the anonymous div which
acts as the parent container for the captions overlayed on
the video frame.

caption-text isn't currently used, but will be applied to
child elements by when bug 833382 lands.
2013-05-28 13:55:00 -07:00
Daniel Holbert
b005a90064 Bug 874418: Assert that placeholders are reflowed before their out-of-flows. r=bz 2013-05-21 12:15:57 -04:00
André Reinald
fe9b343359 Bug 873012 - In case we use overlay scrollbars, and we run on system 10.8 or later, make them overlap in the bottom right corner, r=smichaud
--HG--
extra : rebase_source : 300f78c1230a6f91a102c032b026b1fe2455f634
2013-05-23 14:14:00 -07:00
Daniel Holbert
47db2ab059 Bug 876074: Soften flexbox assertion about out-of-order children, since it's not dangerous and it can be triggered by unrelated-to-flexbox tree mutations. r=bz 2013-05-28 09:39:02 -07:00
Robert O'Callahan
898e42dd83 Bug 876426. Part 1: Fire 'resizevideocontrols' event on video controls element when the element's size is changed. r=mattwoodrow 2013-05-28 17:00:59 +12:00
Ed Morley
0a9e684f5e Backed out changeset 9395a7b2e54c (bug 876426) for crashtest timeouts on a CLOSED TREE 2013-05-28 08:50:53 +01:00
Robert O'Callahan
fc5da57107 Bug 876426. Part 1: Fire 'resize' event on video controls element when the element's size is changed. r=mattwoodrow 2013-05-28 17:00:59 +12:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Stephen Pohl
0cf8e74945 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-26 15:05:10 -07:00
Stephen Pohl
2acc2dfcba Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl
e41e125889 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. 2013-05-26 14:40:16 -07:00
Phil Ringnalda
507fcf058c Merge m-c to m-i 2013-05-25 18:18:55 -07:00
Phil Ringnalda
2bf7004860 Back out 6115fce2399d (bug 756241 crash test) for making Linux debug crashtest logs exceed the maximum size
CLOSED TREE
2013-05-25 18:13:40 -07:00
Phil Ringnalda
8b13c6c7d6 Back out affd9b74be00 (bug 874418) for unexpected crashtest assertions
CLOSED TREE
2013-05-24 19:00:38 -07:00
Daniel Holbert
72db50ae49 Bug 874418: Assert that placeholders are reflowed before their out-of-flows. r=bz 2013-05-21 12:15:57 -04:00
Daniel Holbert
70bc12ba64 Bug 842065: Remove no-longer-necessary method nsIFrame::StyleDataExternal(). r=dbaron 2013-05-25 00:21:53 +08:00
Jonathan Watt
bc912d5fdf Bug 874854 - Stop calling SchedulePaint for SVG transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Timothy Nikkel
250035010c Bug 865702. Don't move the frame in FinishReflowChild if we were told not to. r=roc 2013-05-23 00:37:05 -05:00
Scott Johnson
33874f92a8 Bug 794693: Fix font inflation crash by reordering logic in nsHTMLReflowState::InitResizeFlags(). [r=mats] 2013-05-23 11:14:12 +08:00
Bobby Holley
54ef3d2952 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Mats Palmgren
a754350c56 Bug 873926 - Don't store a scroll state if we never have been scrolled or restored a previous scroll state. r=roc 2013-05-22 12:49:49 +00:00
Daniel Holbert
5707dc9c19 Bug 825810 part 2: When digging for a flex item's first non-anonymous descendant, check table caption list & column-group list. r=bz 2013-05-22 11:59:36 +08:00
Daniel Holbert
d9fc4ef605 Bug 825810 part 1: Make GetFirstNonAnonBoxDescendant() okay with receiving & returning null frame pointers. r=bz 2013-05-22 11:59:35 +08:00
Daniel Holbert
c5ae959774 Bug 864553 part 2: Minor cleanup to formerly-ifdef-MOZ_FLEXBOX code. r=dbaron 2013-05-22 11:44:52 +08:00
Daniel Holbert
cc7305fa0e Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron 2013-05-22 11:44:25 +08:00
Ryan VanderMeulen
26a69bd344 Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
CLOSED TREE
2013-05-21 10:13:25 -04:00
Olli Pettay
c1bbed37d1 Bug 865511, make sure to keep track on the right imgIRequest in ImageLoader, r=khuey
--HG--
extra : rebase_source : 55ac3f73c0c6cb9440e662ffa34ddcd596a61627
2013-05-21 15:43:02 +03:00
Stephen Pohl
79f83908c9 Bug 869314 - Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-21 08:27:14 -04:00
Martijn Wargers
56a6342ee0 Bug 367360 - crash test 2013-05-19 18:20:21 +00:00
Martijn Wargers
0ab7877c04 Bug 368752 - crash test 2013-05-19 18:20:21 +00:00
Jesse Ruderman
b195fabd06 Bug 493649 - crash test 2013-05-19 18:20:20 +00:00
Daniel Holbert
d4368501c1 Bug 873172: When checking whether a flex item is generated content, skip past any anonymous boxes around it. r=bz
--HG--
rename : layout/reftests/flexbox/flexbox-with-pseudo-elements-1-ref.html => layout/reftests/flexbox/flexbox-with-pseudo-elements-3-ref.html
rename : layout/reftests/flexbox/flexbox-with-pseudo-elements-1.html => layout/reftests/flexbox/flexbox-with-pseudo-elements-3.html
2013-05-19 11:37:56 +08:00
Aki Helin
29be5669cb Bug 619021 - crash test 2013-05-18 18:38:34 +00:00
Jesse Ruderman
abc784380e Bug 571995 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
1da57d7a03 Bug 526217 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
ef73b53211 Bug 499138 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
9737c94dd8 Bug 496742 - crash test 2013-05-18 18:38:32 +00:00
Daniel Holbert
3d525c91d6 (no bug, comment-only) s/:before/::before/ in one comment, for consistency with rest of the comment. DONTBUILD 2013-05-16 15:02:16 -07:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Phil Ringnalda
2cef52d052 Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures 2013-05-15 20:53:30 -07:00
Edwin Flores
6dd45bbf3d Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Scott Johnson
0a7e2f0265 Bug 836565, Part 2: Perform a horizontal resize reflow instead of a full reflow when reflowing on zoom to get better performance. [r=dbaron] 2013-05-14 14:24:14 -05:00
Arnaud Sourioux
9a8c47ea32 Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Mats Palmgren
0400e0de00 Bug 756241 - crash test. 2013-05-14 10:36:51 +02:00
Jesse Ruderman
5d55c11b7d Bug 691210 - crash test 2013-05-14 10:36:51 +02:00
Martijn Wargers
83f66adf39 Bug 723108 - crash test 2013-05-14 10:36:51 +02:00
Abhishek Arya
b02d43a9f9 Bug 747688 - crash test. 2013-05-14 10:36:51 +02:00
Mats Palmgren
68b8527847 Bug 750066 crashtest. 2013-05-14 10:36:51 +02:00
Jesse Ruderman
b86e7643ff Bug 765409 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
0d4bcf20b7 Bug 765621 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
7e04962565 Bug 767765 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
9dd59c4ec5 Bug 769120 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
5a80cee053 Bug 769303 - crash tests 2013-05-14 10:36:50 +02:00
L. David Baron
1f1e3bad30 Bug 871338: Handle NS_BLOCK_LOOK_FOR_DIRTY_FRAMES lazy marking in GetMinWidth and GetPrefWidth in addition to Reflow. r=bzbarsky 2013-05-13 15:37:00 -07:00
Jesse Ruderman
908547aed5 Bug 791601 - crash test 2013-05-13 16:28:29 +02:00
Abhishek Arya
f1bf9125b1 Bug 827076 - crash test 2013-05-13 16:28:28 +02:00
Jesse Ruderman
2cb2371328 Bug 840787 - crash test 2013-05-13 16:28:28 +02:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Karl Tomlinson
6b23215177 backout bug 810274 for typeof VS compile failure 2013-05-13 13:50:42 +12:00
Karl Tomlinson
3a24a90e28 b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
--HG--
extra : transplant_source : %BE%DF%8BhHLmaB%D5%3F%DD7%AB%14%989%A0%CA%14
2013-05-02 15:04:20 +12:00
Karl Tomlinson
2e35f7fbc0 b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
--HG--
extra : transplant_source : a%E1S%03%CBB%D3%DE%DDn%96r%BC%B2%D6%7D%82%AB%EBv
2013-05-02 15:04:20 +12:00
Jesse Ruderman
39bb41d1c6 Bug 494283 - crash test 2013-05-12 23:09:31 +02:00
Martijn Wargers
c8f85c931b Bug 455407 - crash test 2013-05-12 23:09:30 +02:00
Jesse Ruderman
c80e06caa2 Bug 423098 - crash test 2013-05-12 23:09:30 +02:00
Martijn Wargers
2647049c29 Bug 420718 - crash tests 2013-05-12 23:09:30 +02:00
Martijn Wargers
de4575f796 Bug 416165 - crash tests 2013-05-12 23:09:30 +02:00
Martijn Wargers
f3b991d7d1 Bug 402872 - crash tests 2013-05-12 23:09:30 +02:00
Mats Palmgren
402c61c45f Bug 377522 - crash test 2013-05-12 23:09:29 +02:00
Martijn Wargers
57d3795d8f Bug 375831 - crash test 2013-05-12 23:09:29 +02:00
L. David Baron
9f8e9f40d7 Fix warnings-as-errors bustage from changeset 09552b219c3a (Bug 828312 patch 3). 2013-05-10 18:04:55 -07:00
L. David Baron
3f8575e3eb Bug 828312 patch 3: Wait to mark lines dirty until we're in reflow, to avoid O(N^2) behavior as a result of looking for lines. r=bzbarsky
The assertion count reduction from 12 to 8 in
layout/generic/crashtests/798020-1.html is the removal of the 4
###!!! ASSERTION: math on NS_UNCONSTRAINEDSIZE: 'NS_UNCONSTRAINEDSIZE != aState.mReflowState.mComputedBorderPadding.left && NS_UNCONSTRAINEDSIZE != aState.mReflowState.ComputedWidth()'
in nsBlockFrame::PrepareResizeReflow by avoiding calling
nsBlockFrame::PrepareResizeReflow.
2013-05-10 17:35:08 -07:00
L. David Baron
baf2225550 Bug 828312 patch 2: Make list renumbering code set NS_FRAME_HAS_DIRTY_CHILDREN correctly on intermediate blocks and inlines, and NS_FRAME_IS_DIRTY correctly on the bullets. r=bzbarsky
The change to mark NS_FRAME_IS_DIRTY on the bullets fixes a failure in
layout/reftests/bugs/418574-1.html exposed by patch 3.
2013-05-10 17:35:08 -07:00
Ed Morley
345c8d111b Merge latest green inbound changeset and mozilla-central 2013-05-10 09:13:03 +01:00
Ms2ger
c93541848e Bug 868726 - Outparamdel nsViewManager::GetDeviceContext; r=tn 2013-05-10 09:13:49 +02:00
Daniel Holbert
08dca0f21a Bug 870555 part 2: Add nsFlexContainerFrame::GetSkipSides specialization. r=mats 2013-05-09 20:10:49 -07:00
Daniel Holbert
448db15f5b Bug 870555 part 1: Add curly braces around early-return in nsBlockFrame::GetSkipSides, for clarity. r=mats 2013-05-09 20:10:47 -07:00
Mark Banner
cb92e38e0c Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Daniel Holbert
b29ad644fc Bug 870504: De-virtualize the unnecessarily virtual method nsBlockFrame::ComputeFinalSize. r=mats 2013-05-09 17:23:28 -07:00
Mats Palmgren
7ade6fec14 Bug 868906 - Make GetChildFrameContainingOffset() stable. r=roc 2013-05-07 20:48:59 +02:00
Timothy Nikkel
cffcd0ae38 Bug 868572. Move nsIScrollPositionListener file from view/ to layout/. r=mats
--HG--
rename : view/public/nsIScrollPositionListener.h => layout/generic/nsIScrollPositionListener.h
2013-05-03 17:31:08 -05:00
Daniel Holbert
be6e1d5836 Bug 855841: Remove unused constants NS_STYLE_CLEAR_BLOCK, NS_STYLE_CLEAR_COLUMN, NS_STYLE_CLEAR_PAGE. r=mats r=fantasai 2013-05-02 16:01:11 -07:00
Daniel Holbert
8618452256 Bug 867454: Treat a flex container's ::before and ::after generated content nodes as flex items. r=bz 2013-05-02 14:04:47 -07:00
Stephen Pohl
c997f428ce Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
954cd4dfaa Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
e474e01d79 Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Mats Palmgren
796a090f34 Bug 866785 - Move repeated nsIFrame::List implementations code to a new method, ListGeneric, for re-use. Cleanup and improve the code a bit. r=roc
Specifically:
* move all the frame dump methods to nsIFrame. Especially nsFrame::ListTag
  was annoying, often requiring a cast to nsFrame*.
* print common values in the same order for all types of frames
* print fluid continuations as "next-in-flow=%p" and non-fluid as
  "next-continuation=%p" (as before)
* print the style-context more compactly, e.g.
  "[sc=0x7faa6b60e0a0] pst=:first-line" becomes
  "[sc=0x7faa6b60e0a0:first-line]"
* suppress printing visual/scroll-overflow rects when they are identical
  to mRect and do the same for nsLineBox::List where it was especially
  hard to see which lines actually had real overflow
* fix a bug that printed the child list name at the far right when the
  principal list was empty (making it hard to see)
* print the address of child lists (other than the principal list) to
  help debug frame list property bugs
* s/NS_IMETHODIMP/void/
2013-04-30 20:38:52 +02:00
Masatoshi Kimura
761bf787f0 Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron 2013-04-28 19:02:35 +09:00
Takeshi Kurosawa
a71a2b0b26 Bug 338033 - No visible focus indicator on image map areas with black background r=roc 2013-04-27 17:54:36 +09:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Mats Palmgren
2aafec2e0c Bug 861643 - nsFirstLineFrame continuations should fixup its style context in Init instead of Reflow. r=bzbarsky 2013-04-26 10:49:07 +02:00
Joe Drew
e035b7c8eb Bug 832400 - Add an imgIContainer flag HIGH_QUALITY_SCALING that controls whether to use the high quality scaler, and only use it when we're drawing to a window. r=tn 2013-04-25 18:08:58 -04:00
Daniel Holbert
1ed5b0bc3f Bug 865477: Use Maybe<> instead of nsAutoPtr<> for lazily-constructed nsHTMLReflowState in nsBlockFrame::Reflow(). r=bz 2013-04-25 09:03:28 -07:00
Mats Palmgren
871e89e62a Bug 844178 - Make RecomputePosition adjust the CB size as ViewportFrame::Reflow does. r=tn 2013-04-24 18:17:55 +02:00