Daniel Holbert
cded82fd98
Bug 981116: Convert nsFlexContainerFrame boolean member-var into frame state bit. r=heycam
2014-03-07 15:58:38 -08:00
Daniel Holbert
a72e872bab
Bug 981127: Mark nsIFrame methods HasAllStateBits() & HasAnyStateBits() as 'const'. r=heycam
2014-03-07 15:58:37 -08:00
Alex Henrie
d20c8222c4
Bug 963970 - Place combobox button where a scrollbar would be. r=roc
2014-03-06 16:24:01 -07:00
L. David Baron
0461432ae1
Bug 979748 - Simplify code based on already having checked the NS_FRAME_OUT_OF_FLOW bit. r=heycam
...
Since we've already returned if the NS_FRAME_OUT_OF_FLOW bit is not set,
and since FirstInFlow() is the same as this when GetPrevInFlow() is
null, this is a straightforward simplification of the code and should
not change behavior.
2014-03-06 22:08:57 -08:00
Seth Fowler
026e40d451
Backed out 3 changesets (bug 63895)
...
Backed out changeset ceafe92c7716 (bug 63895)
Backed out changeset 0199299ac111 (bug 63895)
Backed out changeset d78110a5cffa (bug 63895)
--HG--
extra : rebase_source : 76d8a63672dfdb000ff6db5d362231ed6e90c1bc
2014-03-06 16:59:56 -08:00
Vaibhav Agarwal
64e20261db
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
Jonathan Kew
c2c11aa0a5
bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
2013-12-31 13:50:31 +00:00
Joel Maher
00ea367a93
Bug 971025 - move testing/mochitest/test/test_* to testing/mochitest/test/Harness_sanity. r=ted
...
--HG--
rename : testing/mochitest/tests/SpecialPowersLoadChromeScript.js => testing/mochitest/tests/Harness_sanity/SpecialPowersLoadChromeScript.js
rename : testing/mochitest/tests/file_SpecialPowersFrame1.html => testing/mochitest/tests/Harness_sanity/file_SpecialPowersFrame1.html
rename : testing/mochitest/tests/test_SimpleTestGetTestFileURL.html => testing/mochitest/tests/Harness_sanity/test_SimpleTestGetTestFileURL.html
rename : testing/mochitest/tests/test_SpecialPowersExtension.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension.html
rename : testing/mochitest/tests/test_SpecialPowersExtension2.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension2.html
rename : testing/mochitest/tests/test_SpecialPowersLoadChromeScript.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript.html
rename : testing/mochitest/tests/test_SpecialPowersPushPermissions.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersPushPermissions.html
rename : testing/mochitest/tests/test_SpecialPowersPushPrefEnv.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersPushPrefEnv.html
rename : testing/mochitest/tests/test_bug362788.xhtml => testing/mochitest/tests/Harness_sanity/test_bug362788.xhtml
rename : testing/mochitest/tests/test_bug816847.html => testing/mochitest/tests/Harness_sanity/test_bug816847.html
rename : testing/mochitest/tests/test_sanity.html => testing/mochitest/tests/Harness_sanity/test_sanity.html
rename : testing/mochitest/tests/test_sanityEventUtils.html => testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html
rename : testing/mochitest/tests/test_sanityException.html => testing/mochitest/tests/Harness_sanity/test_sanityException.html
rename : testing/mochitest/tests/test_sanityException2.html => testing/mochitest/tests/Harness_sanity/test_sanityException2.html
rename : testing/mochitest/tests/test_sanitySimpletest.html => testing/mochitest/tests/Harness_sanity/test_sanitySimpletest.html
rename : testing/mochitest/tests/test_sanityWindowSnapshot.html => testing/mochitest/tests/Harness_sanity/test_sanityWindowSnapshot.html
rename : testing/mochitest/tests/test_sanity_cleanup.html => testing/mochitest/tests/Harness_sanity/test_sanity_cleanup.html
rename : testing/mochitest/tests/test_sanity_cleanup2.html => testing/mochitest/tests/Harness_sanity/test_sanity_cleanup2.html
2014-03-05 10:32:02 -05:00
Simon Montagu
b3b07173a0
Add more logical-coordinate API to nsIFrame. Bug 735577, r=jfkthame
2014-03-04 23:31:47 -08:00
L. David Baron
31c94b630e
Bug 828173 patch 5: Call AddAnimationsAndTransitionsToLayer when we choose not to repaint when handling an UpdateTransformLayer hint, so that any new animations resulting from the style change get sent to the layer. r=mattwoodrow
2014-03-04 20:13:22 -08:00
Masayuki Nakano
08a11f7934
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Daniel Holbert
dfd6a77df9
Bug 973701: Check NS_FRAME_OUT_OF_FLOW state bit instead of IsAbsolutelyPositioned(), when excluding out-of-flow frames from being considered as flex items. r=mats
2014-03-04 11:08:54 -08:00
Seth Fowler
af955838a6
Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron
2014-03-03 19:40:27 -08:00
Ehsan Akhgari
ff2ce53025
Bug 977418 - Special case opacity:0.99 to treat it as opacity:1 for display purposes; r=roc
...
This helps avoid significant costs in our graphics code when websites
use opacity:0.99 as a hint for creating a stacking context only.
2014-03-03 09:42:16 -05:00
L. David Baron
0511ab14ec
Bug 439204: Remove assertion "We placed a float where there was no room!" r=roc
2014-03-03 00:54:39 -08:00
L. David Baron
c4abafa948
Bug 978620: Make nsFrameSetFrame call FinishAndStoreOverflow. r=roc
2014-03-03 00:54:39 -08:00
Makoto Kato
094de05309
Bug 968647 - Part 1. Add position change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Makoto Kato
564414b6a0
Backed out changeset d06ee3f1e9a3 (bug 968647)
2014-03-03 11:53:43 +09:00
Makoto Kato
9857fbb5f0
Bug 968647 - Part 1. Add postion change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Timothy Nikkel
6fa728f68f
Bug 978542. If paint dumping is enabled at build time also enable frame dumping so we can get frame names in display list dumps. r=mattwoodrow
...
Also makes DidComputeVisibility available during non-debug painting so we can use it.
2014-03-02 16:22:29 -06:00
Mats Palmgren
917c123399
Bug 978443 - Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. r=dholbert
...
Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. Also fix whitespace and remove unnecessary parens in a few places and enumerate the possible break types in an assertion so that it doesn't make assumptions on the actual property values.
2014-03-02 17:42:16 +00:00
Jesse Ruderman
391239f2cb
Bug 513110 - tests
2014-03-01 10:36:39 +00:00
Mats Palmgren
ee65ddbae1
Bug 513110 - Adjust the maximum break type (only used in assertions) to reflect reality. r=dholbert
2014-03-01 10:36:39 +00:00
Geoff Brown
9bd379383e
Bug 891347 - Disable layout/generic/crashtests/385526.html on Android 2.3
2014-02-28 14:58:34 -07:00
Ryan VanderMeulen
bc6f7d9058
Merge m-c to inbound.
2014-02-28 10:15:57 -05:00
Horia Iosif Olaru
fa88879e4b
Bug 976533 - In case there is are both a MixBlendMode and BlendContainer wrapping the same stacking display list, reverse the order so that the BlendContainer comes first. This way, it will not isolate the legitimate MixBlendMode item. r=roc
2014-02-28 09:11:37 -05:00
Carsten "Tomcat" Book
0983fbe801
merge b2g-inbound to mozilla-central
2014-02-28 14:42:11 +01:00
Carsten "Tomcat" Book
3aa46dfe4f
Backed out changeset e670f691e2b9 (bug 968647) for mochitest test bustage on OS X on a CLOSED TREE
2014-02-28 09:30:34 +01:00
Makoto Kato
062ff17d11
Bug 968647 - Part 1. Add postion change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Timothy Nikkel
d283416014
Bug 959847. Part 11. Use nsLayoutUtils::ViewportHasDisplayPort instead of repeating boilerplate code. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
9071126dd1
Bug 959847. Part 5. Only call RecordFrameMetrics for subdocuments if we are ignoring viewport scrolling so that we don't call it twice for the same scroll frame (the other one being the scroll layers created by nsGfxScrollFrame). r=roc
2014-02-27 16:01:53 -06:00
Timothy Nikkel
30c667bcf3
Bug 959847. Part 4. Call RecordFrameMetrics for subdocument layers. r=roc
...
We do this by creating a new display item type: nsDisplaySubDocument.
Original patch by Kartikaya Gupta <kgupta@mozilla.com>.
2014-02-27 16:01:53 -06:00
Timothy Nikkel
b1372b9c82
Bug 959847. Part 3. Make zoom items be contained in resolution items for subdocuments if they occur together. r=roc
...
Wrap the zoom item in the resolution item if we have both because we want the resolution scale applied on top of the app units per dev pixel conversion. Resolution is just a scale transform and app units per dev pixel affect layout, so conceptually the resolution gets applied after.
2014-02-27 16:01:52 -06:00
Timothy Nikkel
502b511f5a
Bug 959847. Part 2. Don't ignore "ignore viewport scrolling" on subdocuments. r=roc
...
This means that the layer we create in nsSubDocumentFrame::BuildDisplayList becomes the scrollable layer for the document and we early early from ScrollFrameHelper::BuildDisplayList before it gets to the nsDisplayScrollLayer creation.
2014-02-27 16:01:52 -06:00
Timothy Nikkel
8c37717882
Bug 959847. Part 1. Retrieve the displayport of the root scroll frame the same way as everywhere else does in nsSubDocumentFrame::BuildDisplayList. r=roc
2014-02-27 16:01:52 -06:00
Carsten "Tomcat" Book
01f93d64ea
Merge mozilla-central to b2g-inbound
2014-02-27 15:59:39 +01:00
Kartikaya Gupta
7f0fe87e4c
Bug 975033 - If the displayport is too big, it's better to pretend it's not there at all. r=tn
2014-02-27 08:42:40 -05:00
Simon Sapin
4ada4b1b26
Bug 975501 part 2: Add display:{inline-,}grid behind a pref, and a stub nsGridContainerFrame. r=dholbert
2014-02-26 23:45:29 -08:00
Simon Sapin
d75e3393a7
Bug 975501 part 1: Add a XUL prefix to existing internal GRID constants. r=dholbert
2014-02-26 23:43:18 -08:00
Daniel Holbert
667dcb83ca
(no bug) fix a few whitespace issues in nsFlexContainerFrame.cpp. whitespace-only, DONTBUILD
2014-02-26 23:28:38 -08:00
Reuben Morais
bde629dd63
Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
...
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
Ryan VanderMeulen
5fcc92f054
Merge m-c to inbound.
2014-02-27 17:33:47 -05:00
Benoit Jacob
a7ee4f58be
Bug 975789 - Sync the computation of whether we have a pseudo stacking context between two different places - r=dbaron
2014-02-27 15:09:09 -05:00
Ted Mielczarek
04dadd3d7d
Bug 975455 - Move more Mochitests to manifests. r=jmaher
2014-02-20 10:14:52 -05:00
Matt Woodrow
6fa6614065
Bug 968555 - Don't create a stacking context for backface-visibility:hidden. r=dbaron
2014-02-27 15:57:45 +13:00
L. David Baron
443d4364bc
Bug 976364: Make 'perspective' create a stacking context. r=mattwoodrow
...
While it seems a little silly since 'perspective' doesn't require
atomicity (rather, it adds an additional transformation to any 3-D
descendants, which already require atomicity), the spec requires it, and
it matches WebKit.
2014-02-26 13:36:36 -08:00
L. David Baron
99fcdb03af
Bug 975741 patch 2: Remove checks of nsStyleDisplay::mChildPerspective.GetCoordValue() > 0 because it's now always greater than 0. r=mattwoodrow
...
Now that the first patch in this bug changed things so that 'none' is
reliably stored as eStyleUnit_None (rather than being stored as a 0
length when it comes from the initial value), we know mChildPerspective
is always > 0 when it is eStyleUnit_Coord, and there's no point making
the additional check.
2014-02-26 13:36:35 -08:00
Arnaud Sourioux
e53280194e
Bug 974687 - Part 2: Fix more than 80cols issues caused by MOZ_OVERRIDE annotation. r=dholbert
2014-02-24 09:41:56 -05:00
Arnaud Sourioux
a127266e74
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Mats Palmgren
acae11cf02
Bug 966992 - Implement layout for the overflow-clip-box property. r=roc
2014-02-22 01:18:24 +00:00