Xidorn Quan
c80b532ea2
Bug 1201798 part 1 - Move PropagateScrollToViewport() from nsCSSFrameConstructor to nsPresContext as a public method. r=roc
2015-09-30 10:48:41 +10:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Mats Palmgren
7e86280181
Bug 1009214 part 1 - [css-grid] Don't wrap placeholders in an anonymous grid item. r=dholbert
2015-05-05 21:53:22 +00:00
Andrea Marchesini
f0aa02df0b
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Ehsan Akhgari
a7f747ec15
Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Nicholas Nethercote
0a8532758b
Bug 1113010 (part 2) - Shrink FrameConstructionItem by using bitfields. r=dholbert.
...
This reduces its size from 168 bytes to 160 bytes on 64-bit platforms.
2014-12-18 14:15:18 -08:00
Nicholas Nethercote
17b6b42428
Bug 1113010 (part 1) - Shrink FrameConstructionItem by reordering some fields. r=dholbert.
...
This reduces its size from 176 bytes to 168 bytes on 64-bit platforms.
2014-12-18 14:14:58 -08:00
Nicholas Nethercote
a2ab398e5e
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.
2014-12-18 14:14:31 -08:00
Xidorn Quan
fad0cb2389
Bug 1088489 - Implement ruby pseudo box generation. r=bz
2014-12-08 21:45:56 +11:00
Xidorn Quan
f15922819e
Bug 1088489 - Add const overload of item() & add assertion in them. r=bz
2014-12-14 09:19:46 +11:00
Xidorn Quan
0255532617
Bug 1088489 - Separate wrapping frame construction items into a method. r=bz
2014-12-08 21:45:56 +11:00
Mats Palmgren
a0051e8d3e
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
52c4635778
Bug 1083004 - Create anonymous ruby base container when necessary. r=bz
2014-11-26 15:52:07 +11:00
Mats Palmgren
bfc9b6f5d9
Bug 907396 - Frame constructor changes for display:contents. r=bzbarsky
2014-11-20 18:24:09 +00:00
Carsten "Tomcat" Book
96fb57d49e
Backed out changeset 61fa2ff606b8 (bug 1083004)
2014-11-12 11:25:51 +01:00
Xidorn Quan
11ef5e952f
Bug 1083004 - Create anonymous ruby base container when necessary. r=bz
2014-11-12 17:31:37 +11:00
Mats Palmgren
77b1598415
Bug 1083855 - part 6, Make RecreateFramesForContent params non-optional. r=bz
2014-10-23 13:19:26 +00:00
Mats Palmgren
680bb65642
Bug 1083855 - part 3, Implement nsIPresShell::DestroyFramesFor/CreateFramesFor. r=bz
2014-10-23 13:19:25 +00:00
Mats Palmgren
50ee9b1c84
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
5e8b0f96c4
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
912497df59
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
Ehsan Akhgari
8bb87f8a27
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
Daniel Holbert
d4ecd16223
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
f728e0d83a
Bug 1021952 - Generate anonymous boxes to preserve proper ruby structure r=bz
2014-07-22 19:08:08 -07:00
Mats Palmgren
32ce53a846
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
Xidorn Quan
b214cee292
Bug 966166 - Part 3: Link to other parts. r=dbaron
2014-06-11 21:12:00 -04:00
Jonathan Watt
2cba1bd1c2
Bug 1016680, part 3 - DeCOMify nsGenConNode::mText. r=dholbert
2014-06-11 23:11:15 +01:00
Phoebe Chang
b9fcaae0c1
Bug 924692 - Part 1: Add touch caret rendering support; r=roc
2014-06-03 15:08:25 +08:00
Mats Palmgren
a26b4d368e
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
93a6cff703
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
616b800741
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
a73e99dbc1
Bug 508665 - part 1, Change the signature of SetParent/GetParent from nsIFrame* to nsContainerFrame*. r=roc
2014-05-24 22:20:39 +00:00
Mats Palmgren
aba02256fd
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
6a905fd99d
Bug 983465. Disable collapsing-text frame construction optimization on a per-document basis. r=bz
2014-04-03 03:48:51 -04:00
Daniel Holbert
54efc55ac0
(no bug) Remove whitespace at end of line in nsCSSFrameConstructor. (whitespace-only, DONTBUILD)
2014-03-20 14:49:26 +08:00
Kyle Huey
18bbe187f5
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Seth Fowler
9900999767
Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron
2014-03-10 15:41:17 -07:00
Seth Fowler
f695beb3ae
Backed out 3 changesets (bug 63895)
...
Backed out changeset ceafe92c7716 (bug 63895)
Backed out changeset 0199299ac111 (bug 63895)
Backed out changeset d78110a5cffa (bug 63895)
2014-03-06 16:59:56 -08:00
Seth Fowler
ed73167466
Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron
2014-03-03 19:40:29 -08:00
Mats Palmgren
95f7768d7c
Bug 976411 - Use ConstructFramesFromItemList in more places, and some minor cleanup. r=bz
2014-02-27 09:15:16 +00:00
Wes Kocher
993afa9efb
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
46a9efa068
Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron
2014-02-19 16:03:30 -08:00
L. David Baron
2e0070401d
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
afbd9ffdb9
Bug 91419 patch 8: Miscellaneous function and variable name changes. r=mats
2014-02-06 17:45:32 -08:00
Jonathan Watt
52ac9ba40c
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
Ehsan Akhgari
efc3e90cac
Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst
2013-10-02 07:40:07 -04:00
Jonathan Watt
9910708fc7
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
Jonathan Watt
6390351f3f
Bug 920154 - Rename nsIContent's SetNativeAnonymous method to SetIsNativeAnonymousRoot to be clear that it should only be called for the root native anonymous element. r=bz
2013-09-24 21:29:27 +01:00
Robert O'Callahan
d81ffcf627
Bug 918185. When Range.getBoundingClientRect/getClientRects needs a textframe for a node, create one if the textframe was optimized away. r=bz
2013-09-19 16:23:48 +12:00
Cameron McCormack
3dd9d16ec9
Bug 874507 - Make clip-path, filter, mask and opacity work on <marker> elements. r=longsonr
2013-09-16 15:06:29 +10:00