Kartikaya Gupta
a387c59ff5
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
c999db9386
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
30d41ba3a3
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
be0595a818
(no bug) fix a few whitespace issues in nsFlexContainerFrame.cpp. whitespace-only, DONTBUILD
2014-02-26 23:28:38 -08:00
Reuben Morais
f954df12ae
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
136d9870b7
Merge m-c to inbound.
2014-02-27 17:33:47 -05:00
Benoit Jacob
ee29e131b0
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
afe4d2bb46
Bug 975455 - Move more Mochitests to manifests. r=jmaher
2014-02-20 10:14:52 -05:00
Matt Woodrow
5c0203ae3f
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
d04a0ecef6
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
aefed2ae72
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
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
Daniel Holbert
d4be11de22
Bug 967287 part 2: Adjust indentation after removal of nsPresContext* args. r=mats
2014-02-06 14:07:48 -08:00
Daniel Holbert
50a0c7d717
Bug 967287 part 1: Remove unnecessary nsPresContext* argument from functions defined in nsContainerFrame.h. r=mats
2014-02-06 14:07:47 -08:00
Alex Henrie
13975faf63
Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron
2014-02-06 12:32:05 -07:00
Daniel Holbert
fa18f78ac7
Bug 965897: Assert that we have the right prescontext in nsHTMLReflowState constructor, and convert some existing NS_PRECONDITION null-checks into MOZ_ASSERTs. r=mats
2014-02-06 01:02:12 -08:00
Kartikaya Gupta
5fde241c65
Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm
2014-02-05 17:43:20 -05:00
Cameron McCormack
419de4225e
Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
2014-01-18 18:08:22 +11:00
Phil Ringnalda
956d3a06a0
Back out 191a71ff02bf (bug 960899)
...
CLOSED TREE
2014-02-04 21:37:12 -08:00
Cameron McCormack
20fa29ce78
Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
...
--HG--
extra : rebase_source : 6c83922c24727d03830de31b3407fa0e6a0e350e
2014-01-18 18:08:22 +11:00
Cameron McCormack
d110223fd1
Bug 960848 - Part 3: Generate consts rather than enum values for nsFrameState bits for VS2010. r=dbaron,f=glandium
2014-02-05 13:00:03 +11:00
Cameron McCormack
c5ff2c555d
Bug 960848 - Part 2: Swap NS_BLOCK_HAS_FIRST_LETTER_CHILD and NS_BLOCK_FRAME_HAS_INSIDE_BULLET bit values. r=dbaron
2014-02-05 12:59:57 +11:00
Cameron McCormack
c8236b6779
Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron
2014-02-05 12:59:39 +11:00
Timothy Nikkel
5e670b8449
Bug 967758. Disable newly added assert because it is triggering too much. r=roc on a CLOSED TREE
2014-02-04 19:04:50 -06:00
Mats Palmgren
80236f0d76
Bug 966419 - Update the global ShrinkToFitRatio when the current page overflows and requires additional scaling to fit horizontally on the page in Print/Preview. r=dholbert
2014-02-04 02:12:13 +00:00
Mats Palmgren
8a8fb80e38
Bug 946929 - Part 2, Disable painting for the shell while the child views are detached. r=roc
2014-02-03 23:47:57 +00:00
Mats Palmgren
0fffe71735
Bug 946929 - Part 1, Don't schedule paint related events in a detached pres context. r=roc
2014-02-03 23:47:57 +00:00
Ryan VanderMeulen
cb279069ad
Merge m-c to inbound.
2014-01-31 21:16:16 -05:00
Ryan VanderMeulen
17982a941a
Backed out changeset 4f0d8916386e (bug 962791) for causing various regressions.
2014-01-31 20:40:29 -05:00
L. David Baron
5d5c43a1a6
Bug 964529 pre-patch: Make things that were syntax errors prior to enabling scientific notation continue to be syntax errors, by changing e+ to x+.
2014-01-31 16:06:46 -08:00
Blake Kaplan
84e26c524d
Bug 966398 - Kill nsIBidiKeyboard::SetLangFromBidiLevel. r=roc
...
--HG--
extra : rebase_source : 3a8a5a58e6bf56f8201a0ffbe0efc22e686507ec
2014-01-31 15:02:44 -08:00
Daniel Holbert
97667e3d8d
(no bug) Tweak a comment in nsFlexContainerFrame.cpp to make it accurate in the post-bug-939901 multi-line flexbox world. (no review, comment-only; DONTBUILD)
2014-01-31 14:54:08 -08:00
Nicholas Cameron
7c3bcdd494
Bug 700926. Use nsStyleImage and nsRenderingContext to draw border-images. r=roc
2014-01-31 16:36:41 +13:00
Daniel Holbert
74c130c331
(no bug) whitespace fix in nsFlexContainerFrame.cpp (reindent some function-parameters). no review, whitespace-only, DONTBUILD
2014-01-30 13:02:05 -08:00
James Kitchener
4e5786a150
Bug 953385 - Set math script flag on textruns belonging to MathML tokens. r=roc
2014-01-30 10:59:16 -05:00
Robert O'Callahan
a6d3b2e9c0
Bug 946502. Part 4: Remove mStickyPosFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : 71bcbd246cf6806196a3e64d32fdde169bddfa07
2014-01-04 18:14:27 +13:00
Matt Woodrow
eec83a3058
Bug 946952 - Run a 'compressed' paint up to 1 second after skipping the ColorLayer optimization. r=roc
2014-01-30 18:41:17 +13:00
Kartikaya Gupta
f7c2ff47dd
Bug 956690 - Ensure we descend into the root scroll frame if there is a displayport set. r=tn
2014-01-29 17:40:01 -05:00
Benoit Girard
2947052490
Bug 940842 - 2/3 - Implement will-change in layers-building code - r=mattwoodrow
2013-11-22 13:14:34 -05:00
Botond Ballo
9bea243ff4
Bug 962791 - Do not wrap a position:absolute item into a ScrollLayer item if its containing block if outside the scrolled frame. r=roc
2014-01-27 19:51:35 -05:00
Kartikaya Gupta
a3716e9b05
Bug 961280 - Prevent the APZ repaint request from clobbering a layout-driven async scroll. r=tn
2014-01-28 17:54:59 -05:00
Mats Palmgren
a2056036ca
Bug 964078. r=roc
2014-01-28 09:15:24 -05:00
David Zbarsky
bed5a418db
Bug 952977: Convert Layer's mTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:29:06 -05:00
David Zbarsky
1e61d187aa
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
James Kitchener
960b22bfa9
Bug 941611 - More consistent rounding of text metrics. r=karlt, r=fredw
2014-01-27 08:18:26 -05:00
Timothy Nikkel
2acbda27fd
Bug 963771. Remove code accidentally landed that was only ever intended for local debugging.
2014-01-26 16:50:31 -06:00
Timothy Nikkel
efba92d9ee
Bug 963771. Add a debug dump function to print a single display item (and not just an entire display list). r=mats
2014-01-26 16:09:14 -06:00
Timothy Nikkel
be86ba744c
Bug 962443. Make layout frame tree dumping code work better for Fennec and b2g. r=mats
2014-01-26 16:07:02 -06:00
Benoit Jacob
67a17b1047
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
93826fc6b0
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
046f19e630
Bug 959380 - 1/5 - Make gfxBreakPriority a typed enum - r=jrmuizel
2014-01-23 13:26:39 -05:00
Daniel Holbert
ac7ee96123
Bug 962267: Move nsFlexContainerFrame.h's forward-decls into the class's scope. r=mats
2014-01-21 17:05:07 -08:00
Daniel Holbert
93349644a3
Bug 783470 part 5: Add assertion to ensure we don't create FlexItems for abspos children. rs=mats
2014-01-21 14:52:32 -08:00
Daniel Holbert
ba6b5c54fa
Bug 783470 part 3: Use the strut metadata we've saved to actually build special "strut" FlexItems on our second pass through reflow. r=mats
2014-01-21 14:52:27 -08:00
Daniel Holbert
d53b425443
Bug 783470 part 2: Create an array with information about each visibility:collapse "strut" that we need to build. r=mats
2014-01-21 14:51:58 -08:00
Daniel Holbert
a42f13cbbc
Bug 783470 part 1: Split most of flex reflow into a helper-function, so that we can easily restart it by reinvoking that helper. r=mats
2014-01-21 14:51:57 -08:00
Daniel Holbert
c0b5e30210
Bug 961354 part 2: Don't consider absolutely-positioned elements to be flex items, since they don't participate in normal flex layout. r=mats
2014-01-20 14:02:20 -08:00
Daniel Holbert
75786a2bcd
Bug 961354 part 1: Move nsCSSOffsetState constructor definition to .cpp file. r=mats
2014-01-20 14:02:18 -08:00
Peiyong Lin
d755410afb
Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert
2014-01-16 17:34:44 -08:00
Vivien Nicolas
738ac97473
Bug 942246 - Event fluffing fails to generate a click under certain conditions. r=smaug
2014-01-16 15:52:27 +01:00
Cameron McCormack
1206b16424
Bug 960312 - Rename TEXT_IS_IN_SINGLE_CHAR_MI to NS_FRAME_IS_IN_SINGLE_CHAR_MI to make it clear it's global. r=roc
2014-01-16 16:10:09 +11:00
Cameron McCormack
9e1e091470
Backout rev 994659cbc145 (bug 960312) for various test failures.
2014-01-16 14:45:01 +11:00
Cameron McCormack
bb9aeefe51
Bug 960312 - Move TEXT_IS_IN_SINGLE_CHAR_MI to a class specific frame state bit value. r=roc
2014-01-16 13:55:19 +11:00
Robert O'Callahan
0be67e5b3d
Bug 157846. Part 0.1: When reflowing a non-rootframe reflow root, preserve its used padding in case that differs from its CSS computed padding for some reason. r=mats
...
--HG--
extra : rebase_source : 15631dc5a5f40dc2d95b1eaa7698fba635763626
2014-01-15 22:47:36 +13:00
James Kitchener
0e56295460
Bug 442637 - Apply ssty font feature setting to appropriate MathML elements. r=roc
...
--HG--
rename : layout/generic/MathVariantTextRunFactory.cpp => layout/generic/MathMLTextRunFactory.cpp
rename : layout/generic/MathVariantTextRunFactory.h => layout/generic/MathMLTextRunFactory.h
2014-01-15 09:49:20 -05:00
Wes Kocher
7d76112767
Merge b2g-inbound to m-c
2014-01-14 15:44:06 -08:00
Ed Morley
dd5098c7a7
Bug 916143 - Disable test_movement_by_words.html on Windows for intermittent failures
2014-01-14 16:38:26 +00:00
Botond Ballo
361555f141
Bug 957835 - Move operator|(FrameChildListID, FrameChildListID) to mozilla::layout. r=mats
...
--HG--
extra : rebase_source : 25fe8f29a6c826a5181e18880c393df9930f9d5c
2014-01-02 16:28:19 -05:00
Cameron McCormack
30c58e646d
Bug 959016 - Add lldb Python command handlers for debugging Gecko, starting with frametree and frametreelimited. (DONTBUILD) r=ehsan
2014-01-14 09:24:22 +11:00
Robert Longson
a39e9c490a
Bug 889235 - Make text-shadow work on SVG text. r=cam
2014-01-13 12:21:42 +00:00
Robert O'Callahan
d55331eef0
Bug 917416. Force the background color of an <iframe> with a remote subdocument into its own layer. r=tnikkel
...
--HG--
extra : rebase_source : 41692d16014209430fa68973dfa0296921083aae
2014-01-10 15:59:59 +13:00
Mats Palmgren
fb67e96d3a
Bug 958249 - The first ::first-letter continuation should display all sides of the border, the following continuations none. r=dholbert
2014-01-12 04:05:49 +00:00
Mats Palmgren
0b5c8bb86e
Bug 943249 - Make <[i]frame scrolling> compatible with IE/Chrome; that is scrolling="no" (and synonyms) suppress scrollbars (as before), anything else has no effect. r=bz
2014-01-12 04:05:49 +00:00
Cameron McCormack
e0aba8def2
Bug 957770 - Take SVG font size scaling into account when vertically aligning text. r=roc
2014-01-11 12:13:09 +11:00
Benoit Jacob
2a2376313b
Bug 958375 - 9/9 - NS_SIDE_TOP was inadvertently used as the (1<<NS_SIDE_TOP) bit - r=roc
2014-01-10 14:06:17 -05:00
Benoit Jacob
55e7c24065
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Jonathan Kew
556db08b34
bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc
2014-01-10 09:42:05 +00:00
Carsten "Tomcat" Book
acedd32ca7
Backed out changeset 4b54755de2a7 (bug 955957) for Build Bustage on a CLOSED TREE
2014-01-10 09:30:28 +01:00
Jonathan Kew
48bf0ba949
bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc
2014-01-10 07:48:01 +00:00
Daniel Holbert
ee83dc9964
(no bug) fix typo in code comment (s/it's prev continuation/its prev continuation). Comment-only, so DONTBUILD
2014-01-09 17:44:58 -08:00
Cameron McCormack
feea036f53
Bug 945074 - Give continuing nsFirstLetterFrame child a style context that inherits from what the nsFirstLetterFrame inherits from. r=dbaron
2014-01-09 10:12:42 +11:00
Daniel Holbert
77b5ed4ac3
Bug 956046: Allow adjacent anonymous flex items if we've reordered items with the "order" property. r=dbaron
2014-01-08 14:37:13 -08:00
Markus Stange
18ed1adea3
Bug 941887. r=roc
2014-01-08 10:30:03 +01:00
Daniel Holbert
aebd99223c
Bug 807565: Don't let border/padding push minimum content-box size for themed flex items below 0. r=mats
2014-01-06 19:17:26 -08:00
Daniel Holbert
15caa9885d
Bug 893496: Avoid doing bogus infinity*0 multiplication when producing a flex weight from huge flex-shrink and 0 flex-basis. r=mats
2014-01-05 20:18:12 -08:00
Mats Palmgren
0346fbe46a
Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc
2014-01-05 23:31:14 +00:00
Ehsan Akhgari
58ee2029fd
Merge m-c into inbound
2014-01-04 12:14:57 -05:00
Ehsan Akhgari
ebd358dfd7
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Robert Longson
5b8417d928
Bug 956311 - Remove nsSVGGeometryFrame. r=dholbert
2014-01-04 08:29:02 +00:00
Mats Palmgren
705f70fc60
Bug 950411 - Initialize mNCAWidth to zero. r=roc
2014-01-03 21:08:50 +00:00
Mats Palmgren
5d36dfea24
Bug 949294 - Mark the delegating frame as being IN_REFLOW while reflowing abs.pos. children. r=roc
2014-01-03 21:08:50 +00:00
Timothy Nikkel
062b61cbfb
Bug 942189. Only avoid creating scroll info layers for root scroll frames in display root documents (not root content documents) because those have already had RecordFrameMetrics on them. r=roc
2014-01-03 14:48:57 -06:00
Cameron McCormack
5ab78a1a10
Bug 897763 - Take into account nsChangeHint_{NeedReflow,ClearAncestorIntrinsics} never being inherited for difference calculations on certain style structs. r=dbaron
2014-01-03 13:39:54 +11:00
Robert O'Callahan
8e30a75452
Bug 953438 - Change nsIFrame::HasTerminalNewline to HasSignificantTerminalNewline since it doesn't make sense to check for a newline that gets converted to regular whitespace. r=jfkthame
2014-01-02 16:22:12 -05:00
Daniel Holbert
e5a75d49f4
Bug 944909, part 3: add crashtest. (test-only)
2013-12-31 08:47:49 -08:00
Daniel Holbert
bf011f4870
Bug 944909 part 2: add comment noting that assertion can be upgraded later. (comment-only)
2013-12-31 08:47:47 -08:00
Mats Palmgren
f51c2930dd
Bug 944909 part 1: On the final call to FreezeOrRestoreEachFlexibleSize, assert (and enforce) that each flex item ends up frozen. r=dholbert
2013-12-31 08:47:43 -08:00
Ms2ger
9b8e245bf9
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
David Zbarsky
2ba3c734ce
Bug 952977: Switch GetBBoxContribution to gfx::Matrix r=nical
2013-12-30 01:50:07 -05:00
Robert O'Callahan
ddd88c039d
Bug 945203. Part 4: Add nsDisplayEventRegions and build it when painting. r=mats
...
--HG--
extra : rebase_source : 26b71b6a18681e8fc48c6082c8df6263c1bd3739
2013-12-17 00:22:11 +13:00
David Zbarsky
ca9e9d862a
Bug 952977: Switch IsSVGTransformed to gfx::Matrix r=nical
2013-12-29 18:35:53 -05:00
Jonathan Kew
44092e5161
backout changeset 8b6f20bda157 (bug 735577 followup 1) for build failure
2013-12-29 22:48:13 +00:00