Commit Graph

5282 Commits

Author SHA1 Message Date
Ted Mielczarek
afe4d2bb46 Bug 975455 - Move more Mochitests to manifests. r=jmaher 2014-02-20 10:14:52 -05:00
Arnaud Sourioux
1d21dd1816 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
bea44014b1 Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
Mats Palmgren
a55e5025cb Bug 966992 - Implement layout for the overflow-clip-box property. r=roc 2014-02-22 01:18:24 +00:00
Mats Palmgren
b54fde738f Bug 974905 - Warn and ignore SchedulePaint calls in a detached pres context. r=roc 2014-02-21 08:40:45 +00:00
Cameron McCormack
7fb76440ca Bug 974749 - Make nsFrame::DumpFrameTree wrapper functions use stderr so they can go to logcat. r=tn 2014-02-20 14:57:02 +11:00
Wes Kocher
3caf9fa516 Backed out 3 changesets (bug 63895) for debug crashtest failures on a CLOSED TREE
Backed out changeset 02e057fea56c (bug 63895)
Backed out changeset 80bd36a3d4f1 (bug 63895)
Backed out changeset 6609365ee797 (bug 63895)
2014-02-19 17:35:03 -08:00
Seth Fowler
627688c181 Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron 2014-02-19 16:03:24 -08:00
Benoit Girard
c42801cb0f Bug 964885 - Implement stacking context behavior of CSS will-change. r=dbaron
--HG--
extra : rebase_source : 9417239e40a13df22c207838faf64b67d9027f6e
2014-02-05 23:50:22 -05:00
Ehsan Akhgari
8577cd5685 Backed out 5 changesets (bug 966992, bug 965237) because of a PGO only build failure on Linux, landed on a CLOSED TREE
Backed out changeset f11cad93ceee (bug 966992)
Backed out changeset c84d530c9a51 (bug 965237)
Backed out changeset 740b13866bac (bug 966992)
Backed out changeset 8c3420cc77d8 (bug 966992)
Backed out changeset 7ddfc587edda (bug 966992)
2014-02-19 13:28:33 -05:00
Mats Palmgren
ba39d3fc56 Bug 966992 - Implement layout for the overflow-clip-box property. r=roc 2014-02-19 14:14:52 +00:00
Arnaud Sourioux
11d704b1f0 Bug 973805 part 2: Adds MOZ_OVERRIDE in layout/ forms/nsImageControlFrame.cpp, generic/nsImageFrame.h, generic/nsObjectFrame.h r=dholbert 2014-02-19 00:21:57 -08:00
Arnaud Sourioux
eecc00c114 Bug 973805 part 1: Change #define classA classB to typedef classB classA, in some frame classes. r=dholbert 2014-02-19 00:21:56 -08:00
Arnaud Sourioux
aee863ed4c Bug 973087: Rename nsSimplePageSequence[.h|.cpp] to nsSimplePageSequenceFrame[.h|.cpp] r=roc
--HG--
rename : layout/generic/nsSimplePageSequence.cpp => layout/generic/nsSimplePageSequenceFrame.cpp
rename : layout/generic/nsSimplePageSequence.h => layout/generic/nsSimplePageSequenceFrame.h
2014-02-18 00:58:22 -08:00
Daniel Holbert
c390fe1fc8 Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD 2014-02-18 00:36:33 -08:00
Arnaud Sourioux
bc988b83ca Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert 2014-02-17 23:47:48 -08:00
L. David Baron
51c52a48cc Bug 709014 patch 1: Honor margin-left and margin-right on elements in inline layout that have 0 width and/or height (commonly, inline-blocks). r=roc
Prior to this patch, we failed to honor:
 * margin-left on elements in inline layout with 0 width and 0 height
 * margin-right on elements in inline layout with 0 width
I think that was because the code in CanPlaceFrame to discard both
margins when the width was 0 was running after the left-margin was
applied, unless the later code in PlaceFrame (checking both width 0 and
height 0) un-applied that left margin.

The assertion count change in test_value_computation.html is due to 2
additional "bad width" assertions (I presume from honoring large
margins that were previously ignored).

The change to 538935-1-ref.html is to match an improvement in rendering
of the margins in the test, where both sides of the margin are now
honored.

The change to layout/reftests/text-overflow/marker-basic-ref.html is to
keep the reference (which uses margins) rendering the same way following
the changes to margin handling.

The new behavior (in the reftests added in layout/reftests/inline/)
matches at least Chromium; I didn't check any other browsers.
2014-02-17 20:07:45 -08:00
Simon Montagu
c8b4ecb6d5 Fix a hang by using a dedicated state bit instead of overloading NS_FRAME_IS_DIRTY. Bug 964821, r=roc 2014-02-17 14:46:40 -08:00
L. David Baron
a25879617f Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-16 16:05:10 -08:00
Jim Mathies
69558792a9 Bug 967671 - Set nsGfxScrollFrame's mOriginOfLastScroll default to 'other', insures apzc will receive a scroll offset update when frames are created. Also remove display port reset in metrofx front end code when window size changes. r=kats, tnikkel 2014-02-15 07:06:27 -06:00
Vaibhav Agarwal
d109cb3fc7 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
L. David Baron
137229c984 Back out changeset dd1f8adbfecc (bug 480888 patch 4) for failing reftests 402338-1.html and 412352-2.html on Android and B2G only. 2014-02-14 23:45:31 -08:00
L. David Baron
64fce4b117 Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-14 21:29:13 -08:00
L. David Baron
7ed7e8ed86 Bug 480888 patch 3: Refactor a common pattern into a FrameMaintainsOverflow helper function. r=roc 2014-02-14 21:29:13 -08:00
L. David Baron
56df9ce565 Bug 480888 patch 2: Remove always-true aStoreRectProperties parameter to ComputeEffectsRect. r=roc 2014-02-14 21:29:12 -08:00
L. David Baron
e4a5561d0e Bug 480888 patch 1: Rename ComputeOutlineAndEffectsRect to ComputeEffectsRect. r=roc 2014-02-14 21:29:12 -08:00
L. David Baron
e7fb9a0468 Bug 972088: Make nsIFrame::Preserves3DChildren not call nsStyleDisplay::HasTransform (pure refactoring). r=mattwoodrow
The purpose of this change is to make the code less confusing (since it's not clear to me why one would check HasTransform here), and in general to reduce the number of callers of HasTransform, since HasTransform is a complicated check that checks too many things and probably isn't the right thing for many of its callers (see, e.g., bug 968555).

This is pure refactoring because:
 (1) We're calling HasTransform only if mTransformStyle is
     NS_STYLE_TRANSFORM_STYLE_PRESERVE_3D.
 (2) HasTransform can return false for either of two reasons:
     (a) because HasTransformStyle is false, which cannot be the case
         here because HasTransformStyle checks mTransformStyle, and we
         already know that check passes because of (1)
     (b) because IsFrameOfType(nsIFrame::eSupportsCSSTransforms) is
         false.
This means that we can replace the HasTransform check with solely the
IsFrameOfType check.
2014-02-14 21:29:12 -08:00
Mats Palmgren
5fda835e57 Bug 971655 - The inner (-moz-fieldset-content) frame have the correct padding area and is the abs.pos. containing block so don't use the outer FieldSetFrame. r=roc 2014-02-15 02:00:08 +00:00
Masayuki Nakano
b3b19a9e2f Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Jonathan Kew
8f1906d8c5 bug 970710 - ensure GetTrimmedOffsets is called with consistent parameters from PropertyProvider::InitializeForMeasure and SetupJustificationSpacing. r=roc 2014-02-13 08:38:48 +00:00
Simon Montagu
c66497e14c Extend the WritingModes API. Bug 735577, r=jfkthame 2014-02-12 23:55:08 -08:00
Simon Montagu
c4fb327c6a Add some logical setters/getters to nsIFrame.h. Bug 735577, r=jfkthame 2014-02-12 23:55:06 -08:00
Daniel Holbert
1d8c23fa21 Bug 971913: Use DISPLAY_MIN_WIDTH / DISPLAY_PREF_WIDTH logging macros in nsFlexContainerFrame. r=jwatt 2014-02-12 23:47:01 -08:00
Alexander Surkov
70c143f2c1 Bug 956032 - text selection change event is missed when selected text becomes unselected, r=tbsaunde 2014-02-11 20:18:31 -05:00
Max Vujovic
ea7b318066 Bug 948265 - [CSS Filters] Change nsSVGFilterProperty to track an nsStyleFilter chain instead of a single nsIURI and nsSVGFilterFrame. r=roc 2014-02-09 20:31:03 -08:00
Brian O'Keefe
ce139cc580 Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
L. David Baron
d076978c58 Bug 970647 patch 3: Rename (to match convention) and better share nsStyleDisplay* variable in nsIFrame::Preserves3DChildren. r=mattwoodrow 2014-02-10 17:03:25 -08:00
L. David Baron
134497c2f0 Bug 970647 patch 2: Fix indentation and bracing in nsIFrame::Preserves3DChildren. r=mattwoodrow 2014-02-10 17:03:25 -08:00
L. David Baron
5a1494a9c2 Bug 970647 patch 1: Remove some null-checks and simplify control flow in nsIFrame::HasPerspective and nsIFrame::ChildrenHavePerspective. r=mattwoodrow 2014-02-10 17:03:25 -08:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Mats Palmgren
73bca3faa9 Bug 968174 - Don't schedule a paint if the pres context was detached during the delay. Re-enable the assertions from bug 967758. r=roc 2014-02-10 02:14:38 +00:00
Robert O'Callahan
5f6debb054 Bug 947588. Part 3: Map nsStyleText::mControlCharacterVisibility to TEXT_HIDE_CONTROL_CHARACTERS flag in nsTextFrame. r=jfkthame
Note that this is set up so any use of gfxTextRun outside of nsTextFrame
shows hexboxes for control characters.

--HG--
extra : rebase_source : 83335c85c4db4a6391f18924aad566b00fd6a66c
2014-02-05 23:16:23 +13:00
L. David Baron
653e952e94 Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats 2014-02-06 17:45:33 -08:00
L. David Baron
5a0b6907fd Bug 91419 patch 8: Miscellaneous function and variable name changes. r=mats 2014-02-06 17:45:32 -08:00
L. David Baron
1cd8290c55 Bug 91419 patch 6: Rename everything with IBSplitSpecialPrevSibling to IBSplitPrevSibling. r=mats 2014-02-06 17:45:31 -08:00
L. David Baron
d1d272808d Bug 91419 patch 5: Rename everything with SpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:31 -08:00
L. David Baron
5bcd3b8d67 Bug 91419 patch 4: Rename everything with IBSpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:30 -08:00
L. David Baron
9a314c5e74 Bug 91419 patch 3: Rename everything with IBSplitSpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:30 -08:00
L. David Baron
f33181c366 Bug 91419 patch 1: Rename NS_FRAME_IS_SPECIAL to NS_FRAME_PART_OF_IBSPLIT. r=mats 2014-02-06 17:45:28 -08:00
Daniel Holbert
06d42b32c5 Bug 969147: Compute (and sum) the cross sizes of flex lines as we go, to make pagination easier. r=mats 2014-02-06 17:04:52 -08:00