Xidorn Quan
6c553b0e05
Bug 1143535 - Fix condition of ruby leading/trailing whitespace trimming. r=bz a=kwierso
...
--HG--
extra : source : e3099e6a148be5c0e78e99686d313cf3b5eaa910
extra : amend_source : fce4db18aa4724df434f2f129d568b34896026db
2015-03-20 09:45:41 +11:00
Robert O'Callahan
77972f304e
Bug 1125767. Clarify aContextFrame parameter to nsStylePosition::IsFixedPosContainingBlock and nsStylePosition::HasTransform and make nsCSSFrameConstructor actually honor it. r=mats
...
--HG--
extra : rebase_source : e71b72254a56d54fe95410c5ccb7855b7d42d675
extra : histedit_source : ffddeedc9f2ec5a4ccdfcc41444c28a1a9da01f3
2015-03-11 00:18:49 +13:00
Robert O'Callahan
c7d1538273
Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
...
Also renames IsPositioned to IsAbsPosContainingBlock.
--HG--
extra : rebase_source : b412f6291d34e30e8d57e054645bd1e04f43593f
extra : histedit_source : 01a2bd57de4eec4ecf3f3712ee609d70ca14cda4
2015-03-12 16:21:01 +13:00
Mats Palmgren
73069181c8
Bug 1140579 - Additional tests and code comment update.
2015-03-09 17:29:00 +00:00
Xidorn Quan
d4289c7714
Bug 1139283 - Move some properties from nsStyleDisplay to nsStylePosition. r=dbaron
...
The moved properties are:
* clip
* transform-style
* transform-origin
* backface-visibility
* perspective
* perspective-origin
* will-change
--HG--
extra : source : 42bbf0328b450d1094250159fe9f7f0d07622290
2015-03-08 18:43:22 +11:00
Robert Longson
751b0c932b
Bug 1140080 - ensure we only create stop frames for gradients. r=dholbert
2015-03-08 06:49:33 +00:00
Mats Palmgren
b1a684cc86
Bug 1140579 - Make <legend>s have a legend frame when nearest ancestor frame is a fieldset frame. r=roc
...
IOW, drop the requirement that the parent *content* is a <fieldset>,
thus allowing a <legend> to become the fieldset legend also when it's
wrapped in one or more nodes that are styled with display:contents.
2015-03-07 14:53:46 +00:00
Mats Palmgren
4c74b7ca6b
Bug 1140579 - (backout rev 27ac269bb796 b/c wrong bug number in commit message)
2015-03-07 14:53:45 +00:00
Mats Palmgren
5bf718435c
Bug 1140198 - display:contents on the root element (but not else-where) should compute to 'block'. r=roc
2015-03-07 14:35:02 +00:00
Mats Palmgren
c8890df726
Bug 1140198 - Make <legend>s have a legend frame when nearest ancestor frame is a fieldset frame. r=roc
...
IOW, drop the requirement that the parent *content* is a <fieldset>,
thus allowing a <legend> to become the fieldset legend also when it's
wrapped in one or more nodes that are styled with display:contents.
2015-03-07 14:35:01 +00:00
Mats Palmgren
baf253e663
Bug 1140160 - Handle insertions into a <fieldset> child with display:contents correctly. r=roc
2015-03-07 14:35:01 +00:00
Kearwood (Kip) Gilbert
2d11a5911a
Bug 945584: Part 2 - Add CSS scroll snapping attributes to ScrollbarStyles (v10 Patch),r=mstange
...
- ScrollbarStyles now carries additional variables to support new
CSS scroll snapping attributes:
- scroll-snap-type / scroll-snap-type-x / scroll-snap-type-y
- scroll-snap-points-x / scroll-snap-points-y
- scroll-snap-destination
- (scroll-snap-coordinate does not apply to the scroll container)
- Simplified the constructor and operator== for ScrollbarStyles.
--HG--
extra : rebase_source : 91377588f8ae6b00f5ec0198000251820d4d2f85
2014-02-04 14:54:22 +13:00
Andrea Marchesini
e09c883eef
Bug 1134280 - Get rid of Tag() - patch 2.6 - layout/base and layout/form - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Frédéric Wang
209cc4bfbd
Bug 1110056 - Merge nsMathMLmphantomFrame into nsMathMLmrowFrame. r=jkitch
...
--HG--
extra : rebase_source : aafda35ac6c7b647b18259cbaca09161b8aac58b
2015-02-09 11:19:00 +01:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Mats Palmgren
63d92f5fee
Bug 1116714 part 3 - Use GetParentOrPlaceholderFor (not GetParent) so that reframing anonymous content frames works also for fixed pos frames. r=roc
2015-01-20 18:20:04 +00:00
L. David Baron
ffe839138c
Bug 1110277 patch 3 - Look for the GenConPseudos() property on the first continuation/ib-split so that we can find it when looking for the ::after frame. r=bzbarsky
...
The change to GetAfterFrameForContent prevents the reframe that is part
of the chain of events leading to this bug, and thus fixes the bug on
its own. The change to GetBeforeFrameForContent seems desirable for
symmetry.
Note that patch 6 also independently fixes the reported bug.
This probably needs somewhat careful review. We should examine:
(1) what the rules for calling nsLayoutUtils::GetBeforeFrame and
nsLayoutUtils::GetAfterFrame are, and whether both (or neither)
need to be patched.
(2) What the rules are for which frame the GenConProperty() lives on,
and whether we should adjust nsIFrame::GetGenConPseudos() to either
do something more intelligent, or assert about callers.
(We should probably clean up some of these things in a followup bug.)
Since the symptom of this bug is (once patch 4 is in the tree) only
causing extra reframes, it can only be tested using the new API (from
bug 1115691) for observing reframes. I confirmed that the test for this
bug fails without the patch and passes with the patch (as noted by the
removal of its todo annotation).
This patch fixes the assertion on layout/generic/crashtests/600100.xhtml,
though I haven't investigated why.
2015-01-11 15:43:11 -08:00
Mats Palmgren
f427f5ad3c
Bug 1116104 - Null-check the do_QueryFrame result before using it. r=roc
2014-12-31 07:10:11 +00:00
Mats Palmgren
6aa40ed676
Bug 1116236 - Fix a typo. r=me
2014-12-30 07:29:40 +00:00
Mats Palmgren
042c1202a1
Bug 1109571 part 4 - Frame construction bits to create the appropriate frame tree for table captions. r=roc
...
Note that this also makes IsPositioned() table captions be abs.pos.
containers, which was broken before.
2014-12-26 07:21:32 +00:00
Mats Palmgren
ee39486143
Bug 1109571 part 2 - Remove nsGkAtoms::tableCaptionFrame. Implement nsIFrame::IsTableCaption() and use that instead. r=roc
2014-12-26 07:21:32 +00:00
David Anderson
3423968662
Fix a layout bug with columnset, transforms, and fixed positions. (bug 1112501, r=dbaron)
2014-12-20 19:14:03 -08:00
Nicholas Nethercote
208ab0c4e1
Bug 1113010 (part 0) - Remove impossible path in AddFrameConstruct(). r=dholbert.
...
Infallible new ensures that |item| is always non-null. And even if it didn't,
AppendItem() dereferences |item| before this code is reached.
--HG--
extra : rebase_source : 9abb8704ba03f455d6b77c5735fcb6cde4f8fef8
2014-12-18 14:14:31 -08:00
Xidorn Quan
27fa8603a2
Bug 1087872 - Reconstruct ruby frames for frame insertion when necessary. r=bz
...
--HG--
extra : rebase_source : dfbb5179a5e3f438214e3d41e2f43ed9ff2331c4
extra : source : d82b661ffdba5319d98e363b18266b118b9072a0
2014-12-10 15:58:40 +11:00
Xidorn Quan
465fe16671
Bug 1087872 - Reconstruct ruby frames for frame removal when necessary. r=bz
...
--HG--
extra : rebase_source : 321d6249be4ec89bcb8f43c9a8c1c59ab52bce36
extra : source : 97115d9d8217f7ffbed866e11648299c47b97862
2014-12-10 15:58:40 +11:00
Xidorn Quan
56d367a884
Bug 1088489 - Implement ruby pseudo box generation. r=bz
...
--HG--
extra : rebase_source : 3d722db5a9f896a7083d385e65f0d1d7b694d9e2
extra : source : c7f276c6f764aa28e8b178230f0a9f12372f1db0
2014-12-08 21:45:56 +11:00
Xidorn Quan
6213868258
Bug 1088489 - Separate wrapping frame construction items into a method. r=bz
...
--HG--
extra : rebase_source : bee1cea6a9f11399369fbebc0b17d96e0165841e
extra : source : 9950c01c8d222d2df50667ba44d0d821c321574c
2014-12-08 21:45:56 +11:00
Mats Palmgren
a222d49570
Bug 1108104 part 1 - Remove mFixedContainingBlock. Make GetAbsoluteContainingBlock() check for an ancestor with the right frame type instead. r=roc
2014-12-14 17:22:06 +00:00
Xidorn Quan
e464df4013
Bug 1052924 - Implement basic line breaking for ruby. r=dbaron
...
Known problem:
It would cause infinite loop if there is any line break happens inside
ruby base or annotation, or the width of container is not enough for
the widest pair/span. This might be fixed in bug 1098272.
2014-11-26 15:52:50 +11:00
Xidorn Quan
0574ed0fc4
Bug 1083004 - Create anonymous ruby base container when necessary. r=bz
2014-11-26 15:52:07 +11:00
Mats Palmgren
b0f013a10d
Bug 907396 - Make RestyleManager::RestyleElement and nsCSSFrameConstructor::MaybeRecreateFramesForElement deal with display:contents elements. r=bzbarsky
2014-11-20 18:24:10 +00:00
Mats Palmgren
debd2f3e4d
Bug 907396 - Replace GetParentStyleContextFrame with GetParentStyleContext which can return frame-less display:contents style contexts. r=bzbarsky
2014-11-20 18:24:10 +00:00
Mats Palmgren
96ad0f2c46
Bug 907396 - Frame constructor changes for display:contents. r=bzbarsky
2014-11-20 18:24:09 +00:00
Mats Palmgren
994ddfd821
Bug 907396 - Frame manager support for display:contents. r=bzbarsky
2014-11-20 18:24:09 +00:00
Carsten "Tomcat" Book
ed5d6b9e18
Backed out changeset 61fa2ff606b8 (bug 1083004)
2014-11-12 11:25:51 +01:00
Xidorn Quan
f06648f619
Bug 1083004 - Create anonymous ruby base container when necessary. r=bz
2014-11-12 17:31:37 +11:00
Xidorn Quan
07ac0c4e67
Bug 1088489 - Meet the specification for pseudo ruby box generation. r=bz
2014-11-12 14:44:36 +11:00
Mats Palmgren
3f61e03687
Bug 1083855 - part 6, Make RecreateFramesForContent params non-optional. r=bz
2014-10-23 13:19:26 +00:00
Mats Palmgren
3be9dbfbb8
Bug 1083855 - part 3, Implement nsIPresShell::DestroyFramesFor/CreateFramesFor. r=bz
2014-10-23 13:19:25 +00:00
Mats Palmgren
565da376d4
Bug 1083855 - part 2, Add a REMOVE_DESTROY_FRAMES value to RemoveFlags. Make RecreateFramesForContent skip recreating the frames when aFlags has that value. r=bz
2014-10-23 13:19:25 +00:00
Mats Palmgren
250b34decf
Bug 1083855 - part 1, Add an aDestroyedFramesFor out param to ContentRemoved and propagate it (and aFlags) to RecreateFramesForContent etc. (idempotent change) r=bz
2014-10-23 13:19:25 +00:00
Kearwood (Kip) Gilbert
66cbd490cf
Bug 1010538 - Part 2 - Add scroll-behavior to ScrollbarStyles. r=mstange
...
- ScrollbarStyles extended to support the scroll-behavior CSS property
- Corrected naming of parameters to ScrollbarStyles CTOR
2014-09-15 12:30:00 -07:00
Alexander Surkov
d205486a00
Bug 1040735 - DOM node reinsertion under anonymous content may trigger a11y child adoption, r=bz, tbdaunde, davidb
2014-09-19 20:02:30 -04:00
Nick Lebedev
ac745b44f1
Bug 1024808 - Part 1: Remove OOM null checks of CounterListFor return result. r=dholbert
2014-09-12 01:25:00 -04:00
Mats Palmgren
3ba14a8d9d
Bug 1061028 - IsInlineFrame() is a synonym for IsFrameOfType(nsIFrame::eLineParticipant) so it matches text frames too, which are not nsContainerFrames. r=roc
2014-09-03 14:14:01 -04:00
Ehsan Akhgari
60360fc645
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
Olli Pettay
d72906c30d
Bug 314095 - Eliminate nsIContent::GetDocument, r=jst
...
--HG--
extra : rebase_source : dd8f690940825b298a478b65b68a57418a9962ff
2014-08-22 23:11:27 +03:00
Daniel Holbert
4752030d6b
Bug 1053035: Don't give <body> its own scroll frame, when it's styled as 'flex' or 'grid' and we've propagated its scrollability to the viewport. r=mats
2014-08-20 08:01:32 -07:00
Daniel Holbert
171665617d
Bug 1054563: Remove unnecessary nsresult return value from BuildScrollFrame, and de-indent it. r=tn
2014-08-15 20:22:09 -07:00
Susanna Bowen
c622b18e05
Bug 1030993 - Fix assertion failure in reftest css-ruby/ruby-whitespace-1.html. r=dbaron
...
Fixes the assertion failure with text:
"###!!! ASSERTION: Wrong line container
hint: '!aForFrame || (aLineContainer == FindLineContainer(aForFrame) ||
aLineContainer->GetType() == nsGkAtoms::rubyTextContainerFrame ||
(aLineContainer->GetType() == nsGkAtoms::letterFrame &&
aLineContainer->IsFloating()))', file
/home/sgbowen/builds/mozilla-central/layout/generic/nsTextFrame.cpp, line 1259"
which occasionally appears when opening pages with ruby or when running ruby
reftests.
Updates the manifest for ruby reftests to the current expectations (adjust
assertion counts, etc.)
2014-08-15 10:34:20 -07:00
Susanna Bowen
779f8cef59
Bug 1030993 - Basic reflow implementation for ruby frame classes. r=dbaron
...
To account for spacing between bases or text boxes during reflow, the line
layout which manages the bases updates its inline direction coordinate based on
the preferred inline size for the corresponding text boxes. Next, the base is
reflowed at the correct inline coordinate. Each paired text box is then also
reflowed at the proper inline position determined by (1) the current position of
its corresponding base and (2) its own preferred width.
In computing intrinsic widths, accounting for spacing is less complicated. The
minimum intrinsic width is the width of the widest ruby column, and the
preferred intrinsic width is the sum of all the ruby column widths. Each ruby
column width is the maximum width of its base box and text boxes. These
individual widths are determined using GetPrefISize on the base and text boxes.
Ruby base container frames store a list of pointers to the ruby text container
frames in the segment they denote. This list of pointers is created in the ruby
frame reflow method before calling the reflow method for the ruby base
container. The list exists and is used only during reflow of the main ruby frame
and is cleared before returning from reflow.
2014-08-15 10:34:20 -07:00
L. David Baron
70c4a5a6b9
Bug 625289 patch 11 - Call RestyleManager::TryStartingTransition during frame construction. r=heycam
2014-08-13 15:39:02 -07:00
L. David Baron
f09205e661
Bug 625289 patch 9 - Convert nsCSSFrameConstructor::ResolveStyleContext away from early returns. r=heycam
2014-08-13 15:39:02 -07:00
L. David Baron
7f3d0a2286
Bug 625289 patch 8 - Add FIXME comments suggesting additional use of ResolveStyleContext when resolving the root frame. r=heycam
...
This isn't actually a problem for this patch series because the root
element can't have an ancestor that's reframed because it has no
ancestors, and reframes of the element itself trigger a restyling
operation that does actually start transitions.
That said, later patches in this bug hook in to ResolveStyleContext, and
other things might as well in the future, thus the FIXME.
2014-08-13 15:39:02 -07:00
Seth Fowler
3be514e0be
Bug 981924 - Update ReportToConsole calls in layout code to use the right category. r=dbaron
2014-08-11 16:52:01 -07:00
Susanna Bowen
ee6cb50c8a
Bug 1039017 - Remove whitespace according to the CSS ruby spec when performing anonymous box generation. r=dholbert,f=bz
2014-08-11 13:07:51 -07:00
Olli Pettay
87b818700b
Bug 1026164, improve focus handling in shadow dom, r=wchen
...
--HG--
extra : rebase_source : 026b9ee49cdce82a703700593d7a1f0e5d27969f
2014-08-06 02:23:02 +03:00
William Chen
b120db058e
Bug 1022866 - Fix insertion point frame for content distributed to insertion points. r=bz
2014-08-04 21:37:25 -07:00
Susanna Bowen
bf06af5d74
Bug 1021952 - Generate anonymous boxes to preserve proper ruby structure r=bz
2014-07-22 19:08:08 -07:00
Susanna Bowen
a3e95afeef
Bug 1021952 - Add ruby display values and ruby frames. r=dholbert,bz
2014-07-22 19:08:01 -07:00
Mats Palmgren
32fe7d9bf6
Bug 767593 - Don't call SetUndisplayedContent() when aState.mCreatingExtraFrames is true because we should have already done that. r=bz
2014-07-16 14:10:48 +00:00
Seth Fowler
22dabfaad3
Bug 1027611 (Part 1) - Don't use a frame before initializing it in CreateContinuingTableFrame. r=bz
2014-07-02 17:58:53 -07:00
Kyle Huey
b1e3198eed
Bug 737976: Remove nsINodeInfo. r=smaug
...
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Susanna Bowen
64b0116f8b
Bug 1025308 - Rename the variables associated with skipping style fixups for children element's based on parent display value. r=mats
2014-06-16 09:55:00 -04:00
Xidorn Quan
c011970f03
Bug 966166 - Part 3: Link to other parts. r=dbaron
2014-06-11 21:12:00 -04:00
Jonathan Watt
730ae601c6
Bug 1016680, part 3 - DeCOMify nsGenConNode::mText. r=dholbert
2014-06-11 23:11:15 +01:00
William Chen
00bef8c70a
Bug 992521 - Part 5: Bind native anonymous content to null document when node is contained by a ShadowRoot. r=smaug
2014-06-07 01:42:55 -07:00
William Chen
603c74dbeb
Bug 992521 - Part 1: Remove "in document" flag on ShadowRoot and its descendants. r=smaug
2014-06-07 01:42:53 -07:00
Phoebe Chang
a37fc5efe4
Bug 924692 - Part 1: Add touch caret rendering support; r=roc
2014-06-03 15:08:25 +08:00
Mats Palmgren
f13d6efb21
Bug 1015562 - [css-grid] Add a missing grid container check. Add a convenience function to check for flex/grid container frames and use that throughout this file. r=dholbert
2014-05-28 23:16:18 +00:00
Mats Palmgren
f08f841973
Bug 1015781 - part 1+2, Make the SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods return void (scripted change). Remove code handling the return values. r=roc
2014-05-28 19:36:58 +00:00
Mats Palmgren
75bad2215e
Bug 508665 - part 9, Remove now redundant static_cast<nsContainerFrame*> and do_QueryFrame() calls. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
0d14b4f2ec
Bug 508665 - part 8, Move child frame insertion/removal methods from nsIFrame to nsContainerFrame. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
05d8c81f4e
Bug 508665 - part 7, Require a nsContainerFrame* for aParent in nsFrameManager methods. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
2831fb8a6a
Bug 508665 - part 4, Make nsCSSFrameConstructor use nsContainerFrame* for frames used as parent frames. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
273ad272f1
Bug 508665 - part 3, Change GetContentInsertionFrame() to return a nsContainerFrame*, and return null for leaf frames. Deal with GetContentInsertionFrame() returning null in a couple of places. r=roc
2014-05-24 22:20:39 +00:00
Mats Palmgren
31ebc7ec9b
Bug 508665 - part 2, Move nsCSSFrameConstructor::GetFrameFor to a static function in nsCSSFrameConstructor.cpp. r=roc
2014-05-24 22:20:39 +00:00
Mats Palmgren
a6feda0f22
Bug 508665 - part 1, Change the signature of SetParent/GetParent from nsIFrame* to nsContainerFrame*. r=roc
2014-05-24 22:20:39 +00:00
Markus Stange
a772659b8d
Bug 1009478 - Make LayerActivity properties survive across reframes of an element. r=roc
2014-05-13 19:30:11 +02:00
Mats Palmgren
4933aef60a
Bug 1000376 - part 3, s/FlexItemStyleFixup/FlexOrGridItemStyleFixup/ and corresponding comment changes. r=dholbert
2014-05-03 13:42:33 +00:00
Mats Palmgren
8e16a78e6c
Bug 1000376 - part 2, Implement frame construction part for anonymous grid items (reusing the anon flex item code). r=dholbert
2014-05-03 13:42:33 +00:00
Robert O'Callahan
458a675e16
Bug 983465. Disable collapsing-text frame construction optimization on a per-document basis. r=bz
...
--HG--
extra : rebase_source : fc2059ac826e001660fb7233d775f8a046467f6b
2014-04-03 03:48:51 -04:00
L. David Baron
a33c62e8cd
Bug 991928 - Make warning about wrapping XUL boxes chrome-only. r=bzbarsky
2014-04-09 21:47:57 -07:00
Masayuki Nakano
3cc4e99fc0
Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
...
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Gorman Ho
2f3c5ba795
Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz
2014-03-25 09:25:47 -04:00
Matt Woodrow
be161f1c7c
Bug 976365 - Make 'perspective' create a containing block for absolute and fixed positioned children. r=dbaron
2014-03-25 11:45:43 +13:00
Daniel Holbert
3e522dd72d
(no bug) Remove whitespace at end of line in nsCSSFrameConstructor. (whitespace-only, DONTBUILD)
2014-03-20 14:49:26 +08:00
Kyle Huey
b564544cf7
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Seth Fowler
874e445c7b
Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron
2014-03-10 15:41:17 -07: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
Seth Fowler
f34547a086
Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron
2014-03-03 19:40:29 -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
Mats Palmgren
0dfff6825d
Bug 976411 - Use ConstructFramesFromItemList in more places, and some minor cleanup. r=bz
2014-02-27 09:15:16 +00: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
Wes Kocher
323c184017
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
6cd5243e74
Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron
2014-02-19 16:03:30 -08:00
Daniel Holbert
4a6b278f7e
Bug 973390: Call SetPrimaryFrame for root element *after* processing its children, to fix assertion & for consistency with behavior on other elements. r=bz
2014-02-19 08:36:03 -08:00
Simon Montagu
90aff7d278
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
Daniel Holbert
7772871b39
Bug 969460 part 2: Use EnsureBlockDisplay to determine the 'display' of the root node, and let nsCSSFrameConstructor::ConstructDocElementFrame create flex containers. r=bz
2014-02-15 10:42:37 -08:00
Daniel Holbert
6fb4fe6001
Bug 972119: Simplify logic in nsCSSFrameConstructor::ConstructDocElementFrame. r=bz
2014-02-12 23:47:02 -08:00
Robert Longson
0c051bba75
Bug 964200 (Part 3b activate) - Implement Filter Effects Module feDropShadow filter r=mstange
2014-02-09 09:46:16 +00:00
L. David Baron
d31701cad1
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
f47695e72d
Bug 91419 patch 8: Miscellaneous function and variable name changes. r=mats
2014-02-06 17:45:32 -08:00
L. David Baron
9a62684661
Bug 91419 patch 7: Rename everything with SpecialPrevSibling to IBSplitPrevSibling. r=mats
2014-02-06 17:45:31 -08:00
L. David Baron
09c9451bd3
Bug 91419 patch 6: Rename everything with IBSplitSpecialPrevSibling to IBSplitPrevSibling. r=mats
2014-02-06 17:45:31 -08:00
L. David Baron
82503f4eca
Bug 91419 patch 5: Rename everything with SpecialSibling to IBSplitSibling. r=mats
2014-02-06 17:45:31 -08:00
L. David Baron
1841dbc18e
Bug 91419 patch 3: Rename everything with IBSplitSpecialSibling to IBSplitSibling. r=mats
2014-02-06 17:45:30 -08:00
L. David Baron
b059ffbc05
Bug 91419 patch 2: Rename IsFrameSpecial to IsFramePartOfIBSplit. r=mats
2014-02-06 17:45:29 -08:00
L. David Baron
c5c5881d3f
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
03c54ea5eb
Bug 967287 part 1: Remove unnecessary nsPresContext* argument from functions defined in nsContainerFrame.h. r=mats
2014-02-06 14:07:47 -08:00
Phil Ringnalda
c078f2a99a
Backed out 2 changesets (bug 964200) for build bustage
...
CLOSED TREE
Backed out changeset 7dbe53176a38 (bug 964200)
Backed out changeset 19993e76f4a0 (bug 964200)
2014-02-05 09:19:08 -08:00
Robert Longson
80ad62d1ce
Bug 964200 (Part 3 main) - Implement Filter Effects Module feDropShadow filter. r=mstange
...
--HG--
rename : content/svg/content/src/SVGFEGaussianBlurElement.cpp => content/svg/content/src/SVGFEDropShadowElement.cpp
rename : content/svg/content/src/SVGFEGaussianBlurElement.h => content/svg/content/src/SVGFEDropShadowElement.h
rename : dom/webidl/SVGFEGaussianBlurElement.webidl => dom/webidl/SVGFEDropShadowElement.webidl
2014-02-05 16:46:47 +00:00
Cameron McCormack
15cc32b681
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
Matt Woodrow
ff3e7f88a3
Bug 965030 - Pass the correct positioned frame to PushAbsoluteContainingBlock. r=roc
2014-01-30 18:40:23 +13:00
Ms2ger
4f1e9b830b
Bug 956015 - Add an infallible nsIDocShellTreeItem::ItemType; r=bz
2014-01-20 08:58:26 +01:00
Robert O'Callahan
974bbc4dfb
Bug 960277. Part 3: nsFieldSetFrame's anonymous child should not inherit CSS 'position', but should still be an abs-pos containing block if the fieldset is. r=mats
...
--HG--
extra : rebase_source : 9e1109c3c1216df58281b7c81447e44da97f681b
2014-01-17 23:39:04 +13:00
Cameron McCormack
859698bb4e
Backout 3635e6adde70, 8600c8ad593f and 1f72556326be (bug 960848 and bug 960899) for lots of red.
2014-01-18 19:03:30 +11:00
Cameron McCormack
32f0532fc2
Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron
2014-01-18 18:07:54 +11:00
Frédéric Wang
36618efb4f
Bug 838509 - Part 2: Remove mstyle presentation data and frame class. r=roc
2014-01-15 10:07:45 -05:00
Ehsan Akhgari
2e67154d02
Merge m-c into inbound
2014-01-04 12:14:57 -05:00
Ehsan Akhgari
1b83407ce9
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
Mats Palmgren
edddcab186
Bug 952827 - Remove unused methods from nsIScrollable. r=roc
2014-01-03 21:08:50 +00:00
Robert Longson
2b4ee5d7ba
Bug 940193 - rename nsSVGTextFrame2 to SVGTextFrame. r=dholbert
...
--HG--
rename : layout/svg/nsSVGTextFrame2.cpp => layout/svg/SVGTextFrame.cpp
rename : layout/svg/nsSVGTextFrame2.h => layout/svg/SVGTextFrame.h
2013-12-20 16:38:51 +00:00
Trevor Saunders
ae517971ad
bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz
2013-11-20 14:18:25 -05:00
Jonathan Watt
df02daef15
Bug 946184 - Make sure that we reframe the nsIAnonymousContentCreator if any nsIAnonymousContentCreator::ContentInfo created content needs reframing. r=bz
2013-12-11 11:41:51 +00:00
Boris Zbarsky
0a707e23b5
Bug 945572 part 4. Make NS_NewXMLElement take an Element** outparam instead of an nsIContent** one. r=smaug
2013-12-03 09:40:11 -05:00
William Chen
ad649152bc
Bug 929885 - Implement web components ShadowRoot style sheet behavior. r=mrbkap
2013-12-02 02:26:12 -08:00
William Chen
d22dcd56b5
Bug 806506 - Part 1: Implement ShadowRoot interface with DOM accessor methods. r=mrbkap,ehsan
2013-12-02 02:26:11 -08:00
Robert O'Callahan
251b3222b4
Bug 936988. nsCSSFrameConstructor::IsValidSibling should check for fieldset legends even if the legend also has a table-part display type. r=mats
...
--HG--
extra : rebase_source : 046c8da065ee624bf7f589e8087aa3e50d133ed6
2013-11-23 22:48:27 +13:00
Robert O'Callahan
154278f277
Bug 931460. Part 1: When a <legend>'s frame is reparented to the <fieldset>, update StickyScrollContainers to match if necessary. r=mats
...
--HG--
extra : rebase_source : 05a224b4cf49b93c529a476f5c667d91a6e9f3e5
2013-11-23 22:48:26 +13:00
Cameron McCormack
c350837b66
Bug 922669 - Part 4: Pass in anonymous content nodes when restyling any pseudo-elements that can match user action pseudo-classes. r=bz
2013-11-28 17:46:38 +11:00
Jonathan Watt
f8dfb4d33f
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
d1258eda0f
Bug 811024 part 1: Teach nsCSSFrameConstructor how to split a flex container. r=mats
2013-11-21 10:20:01 -08:00
Jonathan Watt
3e9c738eb3
Bug 889736, part 4 - Remove nsSVGTextContainerFrame. r=heycam
2013-11-18 14:29:53 +00:00
Jonathan Watt
76311b51eb
Bug 889736, part 3 - Remove nsSVGTSpanFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
99e5777279
Bug 889736, part 2 - Remove nsSVGTextPathFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
a2e2acfb91
Bug 889736, part 1 - Remove nsSVGTextFrame and nsSVGGlyphFrame. r=heycam
2013-11-18 14:29:51 +00:00
Cameron McCormack
2a2711ccb3
Bug 933044 - Push style scopes even if we would skip pushing ancestors when there is no ancestor filter. r=bz
2013-11-17 17:51:04 +11:00
Robert O'Callahan
232c266ced
Bug 931464. Part 1: GetFieldSetBlockFrame needs to drill down through a scrollframe if necessary. r=mats
...
--HG--
extra : rebase_source : 858213f65b5bd7d8872afd8205424c3bfdfe1e98
2013-11-05 23:04:00 -08:00
Robert O'Callahan
662b96cf0e
Bug 261037. Support scrolled fieldsets. r=mats
...
--HG--
extra : rebase_source : 248521189921b2a46f0805582a3789b27c26ecbd
2013-10-23 00:46:40 +02:00
Ed Morley
7e0379a38e
Backed out changeset ce20f4b16d56 (bug 261037) for reftest failures in 478811-1.html on a CLOSED TREE
2013-10-24 10:28:44 +01:00
Robert O'Callahan
71c26b9e54
Bug 261037. Support scrolled fieldsets. r=mats
...
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.
--HG--
extra : rebase_source : d737eebdc25b3b748a84de676d5e8e066505e00b
2013-10-23 00:46:40 +02:00
Ed Morley
45a4b4555f
Backed out changeset ffd9c7bbd2fe (bug 261037) for compilation failures in nsCSSFrameConstructor on a CLOSED TREE
2013-10-23 15:44:19 +01:00
Robert O'Callahan
c911ce58ef
Bug 261037. Support scrolled fieldsets. r=mats
...
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.
--HG--
extra : rebase_source : 6ca585f685965d3a538bde64ad4057c5fd7b538f
2013-10-23 00:46:40 +02:00
Daniel Holbert
cfc09cb4b1
Bug 875275 part 3: Make nsColorControlFrame inherit from nsHTMLButtonControlFrame instead of nsBlockFrame. r=jwatt f=arnaud.bienner
2013-10-22 17:29:20 +02:00
Arnaud Bienner
574b47d090
Bug 875275 part 1: Implement layout support for <input type="color">. r=dbaron,dholbert
2013-07-10 00:25:27 +02:00