Matt Woodrow
63559fb631
Bug 1402204 - Remove NS_SCROLLFRAME_INVALIDATE_CONTENTS_ON_SCROLL as it doesn't appear to be needed any more. r=mats
2017-09-20 13:12:37 +12:00
Jonathan Watt
e2c953afc8
Bug 1342951, part 3 - Support recording of SVGTextFrame correspondence before reflow. r=heycam
...
MozReview-Commit-ID: IG2etgpZCHN
2017-09-01 18:07:40 +01:00
Mats Palmgren
3009528973
Bug 1367209 part 3 - Add a generic frame state bit, NS_FRAME_HAS_CSS_COUNTERS, to indicate that a frame maybe has some counter styles and thus be known by nsCounterManager. r=jfkthame
...
If a frame doesn't have that bit then skip mCounterManager.DestroyNodesFor()
when the frame is destroyed because it's definitely not known by
the CounterManager.
MozReview-Commit-ID: Ky3575QvZME
2017-06-04 16:45:15 +02:00
Mats Palmgren
49057b2c0a
Bug 1369037 - Make the assertions about NS_FRAME_PART_OF_IBSPLIT stricter and update the associated frame properties in nsContainerFrame::DestroyFrom instead of nsFrame::DestroyFrom. r=jfkthame
...
MozReview-Commit-ID: G8NQ70xzkQU
2017-05-31 21:29:49 +02:00
Jonathan Kew
4dcf0fe444
Bug 1365982 - Attach frame properties to each frame instead of looking them up in a hashtable on the prescontext. r=mats
2017-05-27 12:36:00 +01:00
Mats Palmgren
40fc698fe7
Bug 1359341 part 2 - Add a couple of private frame state bits to nsPlaceholderFrame to be used for propagating "line emptiness" during reflow. r=jfkthame
...
MozReview-Commit-ID: Ds98Sn5PZav
2017-05-23 19:09:26 +02:00
Thinker K.F. Li
6cd51d348a
Bug 1342009 - Provide a shortcut in BuildDisplayListForChild. r=mattwoodrow
2017-05-04 02:06:00 +08:00
Daniel Holbert
75d2d72989
Bug 812687 part 6: Rename & invert polarity of a flexbox frame-state-bit, for consistency with grid. r=mats
...
This patch is just flipping some logic in a way that should produce the same
outcome, so it shouldn't affect behavior.
MozReview-Commit-ID: LM4HbJD3D9w
2017-04-05 19:31:47 -07:00
L. David Baron
def036d24e
Bug 1353187 - Guard access to the frame property table with a frame state bit. r=dholbert
...
This protects all accesses to the frame property table with a bit stored
on the frame. This means we avoid hashtable operations when asking
about frame properties on frames that have no properties.
The changes to RestyleManager, and the new HasSkippingBitCheck API, are
needed because RestyleManager depended on being able to ask for
properties on a deleted frame (knowing that the property in question
could not have been set on any new frames since the deleted frame was
destroyed), in order to use the destruction of the properties that
happens at frame destruction as a mechanism for learning that the frame
was destroyed. The changes there preserve the use of that mechanism,
although it becomes a bit uglier. The ugliness is well-deserved.
MozReview-Commit-ID: BScmDUlWq65
2017-04-04 20:59:21 -07:00
L. David Baron
c15a8354b3
Backed out changeset 74eb0b08e42b (bug 1353187 patch 2) for test failures (assertions firing).
2017-04-03 22:47:57 -07:00
L. David Baron
7e7aeec478
Bug 1353187 - Guard access to the frame property table with a frame state bit. r=dholbert
...
This protects all accesses to the frame property table with a bit stored
on the frame. This means we avoid hashtable operations when asking
about frame properties on frames that have no properties.
The changes to RestyleManager, and the new HasSkippingBitCheck API, are
needed because RestyleManager depended on being able to ask for
properties on a deleted frame (knowing that the property in question
could not have been set on any new frames since the deleted frame was
destroyed), in order to use the destruction of the properties that
happens at frame destruction as a mechanism for learning that the frame
was destroyed. The changes there preserve the use of that mechanism,
although it becomes a bit uglier. The ugliness is well-deserved.
MozReview-Commit-ID: BScmDUlWq65
2017-04-03 20:43:31 -07:00
Jonathan Watt
8e9411768a
Bug 1349244 - Rename nsISVGChildFrame to nsSVGDisplayableFrame to reduce confusion. r=longsonr
...
MozReview-Commit-ID: IQCv2ebZbwk
2017-02-09 18:24:31 +00:00
Boris Zbarsky
24571d844b
Bug 1340723 part 1. Add an nsIFrame function that can be called from the stylo restyle manager to update style contexts on anonymous boxes associated with that frame, and a frame state bit that can be used to optimize out the virtual calls. r=emilio
...
MozReview-Commit-ID: 2niUdJPSXKa
2017-03-03 15:44:24 -05:00
Mats Palmgren
0f2892ddf6
Bug 1322191 part 2b - Replace "NS_BLOCK_FLOAT_MGR | NS_BLOCK_MARGIN_ROOT" with NS_BLOCK_FORMATTING_CONTEXT_STATE_BITS. r=dholbert
2016-12-23 19:11:04 +01:00
Mats Palmgren
a20d15d791
Bug 1313811 - [css-flexbox] Synthesize the flex container baseline per alignment context when needed. r=dholbert
2016-12-20 23:56:34 +01:00
Mats Palmgren
4d072fe01c
Bug 1313068 - [css-grid] Synthesize a grid container baseline from the margin-box when in an inline-level context, and from the border-box otherwise. r=dholbert
2016-12-20 23:56:34 +01:00
Daniel Holbert
5525e62a8c
Bug 1321698 part 1: Set a frame state bit on nsFlexContainerFrame if it's emulating -webkit-box. r=mats
...
MozReview-Commit-ID: 5eL55atUBnT
2016-12-02 01:02:00 -08:00
Daniel Holbert
6f4f739c51
Bug 1269046 part 4: Set flags on nsPlaceholderFrame & ReflowInput to track abspos frames that need CSS Box Alignment to resolve static position. r=mats
...
(We'll react to the ReflowInput flags and do the actual CSS Box Alignment in a
later patch in this series.)
MozReview-Commit-ID: EZd7npWSzQI
2016-10-31 08:58:18 -07:00
Ting-Yu Lin
cf0619146d
Bug 1294628 - Replace block reflow input flags with a bit fields struct. r=dholbert
...
MozReview-Commit-ID: 2ZSm9hTrsuh
2016-08-12 15:28:45 +08:00
Kearwood (Kip) Gilbert
f9fd286412
Bug 1250244 - Part 2: Remove old VR rendering paths,r=gw280
...
MozReview-Commit-ID: 8H7spQggI2w
2016-05-27 13:49:04 -07:00
Ting-Yu Lin
61c507eb10
Bug 1277129 Part 2c - Rename nsBlockReflowState to BlockReflowInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "nsBlockReflowState" "BlockReflowInput"
MozReview-Commit-ID: FtjqkQpGfcI
2016-07-21 18:36:36 +08:00
Ting-Yu Lin
3b76557e22
Bug 1273049 - Migrate documentation in block-and-line.html into the tree. r=dholbert
...
I also adjust some of the old flag name to their logical name, and
rewrite some of the content where I see fit.
MozReview-Commit-ID: 7wAsDUOiN0a
2016-07-08 18:24:49 +08:00
Brad Werth
3a43ab0c26
Bug 1241932 - Expose decoded CSS grid line properties via a Chrome API. r=mats
2016-07-07 11:38:12 -07:00
Carsten "Tomcat" Book
01cccf1928
Backed out changeset e98d1ac584d6 (bug 1241932)
2016-07-06 05:59:52 +02:00
Brad Werth
c553a45f33
Bug 1241932 - Expose decoded CSS grid line properties via a Chrome API. r=mats
2016-07-05 13:35:52 -07:00
Ting-Yu Lin
76981555b4
Bug 1272840 - Resurrect the URL to block-and-line.html r=dbaron
...
DONTBUILD (NPOTB)
MozReview-Commit-ID: Hqk3kSUftRM
2016-05-14 11:44:38 +08:00
Seth Fowler
0f24c44100
Bug 1157546 - Replace the image visibility API with a more general API that tracks visibility for any kind of frame. r=mstange
2016-03-25 14:49:43 -07:00
Mats Palmgren
d580a9b157
Bug 1144096 part 21 - [css-grid] Deal with dynamically inserted/appended/removed child frames. r=dholbert
2016-03-11 17:39:27 +01:00
Mats Palmgren
2be449903e
Bug 1144096 part 5 - [css-grid] Create a couple of Grid container frame bits. r=dholbert
2016-03-11 17:39:26 +01:00
Kartikaya Gupta
35f18df549
Bug 1205473 - Add a state bit to optimize building event regions. r=mattwoodrow
...
MozReview-Commit-ID: CPSgChJc92L
2016-03-09 17:29:41 -05:00
Xidorn Quan
4213a7c9b9
Bug 1064843 part 4 - Add a placeholder type for top layer. r=roc
2016-01-28 10:11:00 +11:00
Robert O'Callahan
374220dcc3
Bug 1172239. Add NS_FRAME_DESCENDANT_INTRINSIC_ISIZE_DEPENDS_ON_BSIZE. r=bz
2015-07-18 12:24:53 +12:00
Jonathan Kew
108cd5899a
Bug 1174711 - patch 3 - Rename a couple more frame-state bits from physical to logical. r=dholbert
2015-06-22 10:33:34 +01:00
Jonathan Kew
a45bc02094
Bug 1174507 - Replace the frame flag CONTAINS_RELATIVE_HEIGHT with CONTAINS_RELATIVE_BSIZE, and adjust callsites appropriately. r=dholbert
2015-06-18 07:33:50 +01:00
Jonathan Kew
e8b0aaddab
Bug 1138495 - pt 1 - Rename NS_FRAME_IN_CONSTRAINED_HEIGHT flag to NS_FRAME_IN_CONSTRAINED_BSIZE, and set it appropriately according to writing mode. r=smontagu
2015-03-10 14:28:23 +00:00
Robert O'Callahan
fc5dc44a74
Bug 1082249. Invalidate background-attachment:fixed table-part backgrounds when scrolled. r=mattwoodrow
2015-03-05 00:02:14 +13:00
Robert O'Callahan
609121ffea
Bug 1099977. Part 3: Skip creating nsDisplayText when all glyphs are invisible. r=jfkthame
2014-11-18 23:23:46 +13:00
Xidorn Quan
d1ef25d527
Bug 1116037 part 2 - Use frame state bit to mark rtc of span. r=dbaron
2014-12-29 13:34:07 +11:00
Xidorn Quan
8b07b46948
Bug 1052123 - Autohide ruby annotations which are identical to their ruby bases. r=dbaron
2014-12-15 14:37:15 +11:00
Wes Kocher
c6a9fc1926
Backed out changeset 50d264e4ffa4 (bug 1052123) for android/linux reftest failures
2014-12-16 15:44:15 -08:00
Xidorn Quan
18bc76ac38
Bug 1052123 - Autohide ruby annotations which are identical to their ruby bases. r=dbaron
2014-12-15 14:37:15 +11:00
Vladimir Vukicevic
7d174d6f06
Bug 1036604 - add VR display item and VR frame state bit; r=roc
2014-07-09 12:25:31 -07:00
Markus Stange
a15e939a69
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
2014-09-26 13:06:08 -04:00
Robert O'Callahan
c6c9b51a7f
Bug 1014252. Optimize clearing of textruns via RemoveInFlows. r=matspal
...
We're keeping the core idea that, before we remove the frames-to-be-destroyed
from the continuation chain, their textruns need to be disconnected/destroyed.
However, nsContinuingTextFrame::DestroyFrom tries to optimize when the
destroying frames that aren't mentioned in the userdata for the textrun, and
certain other conditions are met; we need a similar optimization here. It's
simpler here because the other conditions are definitely met, since all the
text for the frames being deleted has already been consumed and reflowed by
previous frames.
We don't need the TEXT_STYLE_MATCHES_PREV_CONTINUATION state bit anymore
because nsContinuingTextFrame::DestroyFrom will never see any textruns when
called via RemoveEmptyInFlows.
2014-05-28 15:39:25 +12:00
Ehsan Akhgari
c01e9369ee
Bug 491863 - Remove IBMBIDI; r=roc
2014-04-23 21:15:29 -04:00
Simon Montagu
66f792cc59
Use logical text layout API for GetSkipSides, bug 789096, r=jfkthame
2014-03-13 00:39:33 -07:00
Carsten "Tomcat" Book
aaf2226136
Backed out changeset 534a0efe7d3d (bug 789096)
2014-03-11 09:22:48 +01:00
Simon Montagu
98a24d63df
Use logical text layout API for GetSkipSides. Bug 789096, r=jfkthame
2014-03-10 22:19:03 -07:00
Daniel Holbert
cdc41fd5d4
Bug 981116: Convert nsFlexContainerFrame boolean member-var into frame state bit. r=heycam
2014-03-07 15:58:38 -08:00
Simon Montagu
b16ca6bbce
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