Masatoshi Kimura
bd200be110
Bug 926580 - Kill unused layout.enable_japanese_specific_transform pref. r=roc
2013-10-15 19:48:48 +09:00
Phil Ringnalda
022752892d
Bug 859424 - Disable layout/generic/crashtests/309322-4.html for loading a bmo attachment as an img src
2013-10-12 15:20:21 -07:00
André Reinald
0361202aaa
Bug 868648: Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. Credits to Markus for his help getting this right. r=mstange,masayuki,smichaud
2013-08-16 23:17:40 +02:00
Steven Michaud
9c2b8c282f
Bug 925411 - Temporarily backout patch for bug 868646 for causing this bug. r=spohl
2013-10-10 16:22:02 -05:00
Daniel Holbert
b922a25b2e
Backout e67dad88f860 and assertion-count-tweak followups (bug 914919), since including nsDebug.h in gfx/2d causes issues with some skia headers.
2013-10-09 17:03:35 -07:00
André Reinald
08f36be2ef
Bug 868648 - Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. r=mstange, r=masayuki
...
Credits to Markus for his help getting this right.
2013-08-16 23:17:40 +02:00
Birunthan Mohanathas
e3709383ec
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
...
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Masatoshi Kimura
ab2dd4c4b2
Bug 922931 - Display a placeholder for broken images if the alt attribute is unset even in no-quirks mode. r=bz
2013-10-06 05:25:49 +09:00
Matt Woodrow
12a9956074
Bug 916034 - remove + character from a broken rebase. r=bustage
2013-10-02 22:35:19 +13:00
Matt Woodrow
9ce84d5903
Bug 916034 - Use a similar surface rather than an image surface for the canvas background cache when using azure. r=ajones
2013-10-02 22:12:34 +13:00
Masayuki Nakano
9aaf116c1c
Bug 920377 part.32 Get rid of nsMouseEvent r=roc
2013-10-02 15:38:27 +09:00
Daniel Holbert
7e62c91bb4
Bug 919865: Replace #ifdef DEBUG with DebugOnly<> in a few spots in layout/generic. r=mats
2013-10-01 22:02:23 -07:00
Masayuki Nakano
5dbc2a60e4
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Masayuki Nakano
a4221a463f
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Matt Woodrow
76ab12a6bc
Bug 921910 - Invalidate when we change the frame of an asynchronous ImageContainer that is part of a main-thread layer tree. r=roc
2013-10-02 16:05:49 +13:00
Robert O'Callahan
2a2b4a5f10
Bug 898444. Wrap nsDisplayScrollLayer only around the scrolled content. r=tn
...
--HG--
extra : rebase_source : 828c5e4a33a26d958117357b439955cfb8dee1dd
2013-10-01 22:29:24 -04:00
Jonathan Watt
cd607d4385
Bug 917386 - Make frame construction handle trees of nsIAnonymousContentCreator::ContentInfo objects, including support for associating CSS pseudo-elements with deeply nested anonymous elements. r=bz
2013-10-01 22:51:29 +01:00
Martijn Wargers
de9e54b7e9
Bug 918258 - Convert reftests 448987.html and 449653-1.html to mochitests. r=dholbert
...
--HG--
rename : layout/reftests/bugs/448987.html => layout/generic/test/file_bug448987.html
rename : layout/reftests/bugs/448987-ref.html => layout/generic/test/file_bug448987_ref.html
rename : layout/reftests/bugs/449653-1.html => layout/generic/test/file_bug449653_1.html
rename : layout/reftests/bugs/449653-1-ref.html => layout/generic/test/file_bug449653_1_ref.html
2013-09-24 15:01:00 +02:00
Ehsan Akhgari
fa0f489466
Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Ehsan Akhgari
44cb2c6702
Bug 921753 - Part 3: Avoid #including nsStyleStructInlines.h in nsHTMLReflowState.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1362 to 1268.
2013-10-01 17:01:49 -04:00
Ehsan Akhgari
b155782d0a
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
77b5078c36
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
84078f9904
Bug 920377 part.26 Get rid of nsInputEvent r=roc
2013-10-01 16:23:02 +09:00
Masayuki Nakano
393cc936d4
Bug 920377 part.18 Get rid of nsTextRangeStyle r=roc
2013-10-01 16:22:59 +09:00
Daniel Holbert
c802aa00c3
Bug 922410: Consolidate loops in MainAxisPositionTracker constructor. r=mats
2013-09-30 20:30:24 -07:00
Cameron McCormack
c9626f8959
Bug 921716 - Don't paint column rules when element is visibility:hidden. r=sjohnson
2013-10-01 11:30:06 +10:00
Daniel Holbert
73ed891def
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
290feb1ade
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
b95d9a291a
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
e6acf6270f
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Ed Morley
53a451894a
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Gregory Szorc
0b4364c6f3
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Daniel Holbert
a4f533376a
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
e8316ed759
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
a8c4022dfb
Bug 920377 part.11 Get rid of nsScrollPortEvent r=roc
2013-09-27 15:20:56 +09:00
Masayuki Nakano
323a652628
Bug 920377 part.10 Get rid of nsScrollAreaEvent r=roc
2013-09-27 15:20:56 +09:00
Blake Kaplan
e2d7482db4
Bug 917515 - Check for null before checking the document. r=ehsan
2013-09-26 18:42:53 +02:00
L. David Baron
d01753dad0
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
d0255c650f
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
ffdecec1a8
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
aa859ecb8b
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
64f8d6e459
Bug 919729 - Remove unnecessary MOZILLA_INTERNAL_API checks from nsIFrame.h. r=bz
2013-09-25 09:48:20 -04:00
Mats Palmgren
eb2304a29c
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
4974add798
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
f90a5b1125
Bug 912956 part.18 Remove nsGUIEvent.h r=roc
2013-09-25 20:21:22 +09:00
Masayuki Nakano
80d3ef9ea0
Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc
2013-09-25 20:21:20 +09:00
Masayuki Nakano
015140fe0d
Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc
2013-09-25 20:21:19 +09:00
Masayuki Nakano
4983de6d4c
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
Daniel Holbert
90f7eae182
Bug 919871: Make .cpp files in layout/generic #include their corresponding .h file first. r=mats
2013-09-24 18:43:43 -07:00