Xidorn Quan
21abf370d5
Bug 1134432 part 1 - Suppress break inside ruby when calculating intrinsic isize. r=dbaron
...
Breaks during reflow have been suppressed in bug 1098272.
2015-02-22 00:39:33 +13:00
Cameron McCormack
09fd736766
Bug 1127198 - Part 1: Add a DEBUG-only count of frames that use a style context. r=dbaron
2015-02-18 09:28:53 +11:00
Carsten "Tomcat" Book
ba1adc5463
Merge mozilla-central to mozilla-inbound
2015-02-11 15:00:07 +01:00
Seth Fowler
102bc61b10
Bug 1130328 (Part 1) - Add support for an optional frame-space damage rect to nsIFrame::InvalidateLayer. r=mattwoodrow
2015-02-11 01:11:41 -08:00
Kartikaya Gupta
9f15723476
Bug 1125422 - Fold touch and scroll listener flags into a single apz-aware flag for better code reuse. r=roc
2015-02-10 16:28:07 -05:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Mats Palmgren
056edf034f
Bug 1129356 - Traverse the placeholder's parent for abs.pos. frames when determining the used value for 'user-select'. r=roc
2015-02-09 00:16:11 +00:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Seth Fowler
72fb0505de
Bug 1128356 - Add template functions for common frame property destructors. r=dbaron
2015-02-04 15:22:27 -08:00
David Zbarsky
520ac2cad8
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Carsten "Tomcat" Book
c8e3b591c0
Backed out changeset c80e36def0ad (bug 1128356) for bustage on a CLOSED TREE
2015-02-03 09:58:14 +01:00
Seth Fowler
f7fd44d1df
Bug 1128356 - Add template functions for common frame property destructors. r=dbaron
2015-02-03 00:24:13 -08:00
Paul Rouget
ef19109268
Bug 1118169 - Support -moz-window-dragging:drag in HTML. r=mstange r=bz
2015-02-02 15:10:51 -05:00
Phil Ringnalda
8ff441aa5a
Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
...
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
baa5df4d99
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
Kartikaya Gupta
57dddf20e0
Bug 1116588 - Don't optimize away opacity:0 items if we're building event regions, unless the frame also has pointer-events:none. r=tn
2015-01-28 17:42:23 -05:00
Kartikaya Gupta
7e20cf1bf0
Back out bug 1116588 for introducing the regression in bug 1126427. r=me
2015-01-28 08:58:47 -05:00
Ehsan Akhgari
7d51a91018
Bug 989012 - Part 2: Don't get stuck when seeing an image without a src or alt attribute; r=roc
...
We do not want to traverse inside native anonymous elements, but we
should still be able to skip over generated content, to avoid getting
stuck on such images.
2015-01-27 23:11:29 -05:00
Ehsan Akhgari
a916924d05
Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc
...
The caret movement code already handles unselectable text frames if we
happen to land in the middle of one in nsTextFrame::PeekOffsetCharacter/Word.
However, when performing frame traversal to find the next frame to jump
to, we don't remember if we skipped over an unselectable frame, which causes
us to jump one offset too much when the caret is on the boundary of
selectable and unselectable content. The test cases demonstrate the
scenario. Note that an <img alt=foo> is implemented by adding a
generated content to the inline frame representing it, so as far as
the caret movement code is concerned, both test cases are treated similarly.
Note that we need to do this only when moving the selection, and not
when extending it. We are adding an aExtend argument to
nsPeekOffsetStruct's constructor in order to be able to special case
that.
2015-01-27 23:11:26 -05:00
Ehsan Akhgari
d4c6d2cd2e
Backed out 2 changesets (bug 989012) because of test failure on Linux32 opt mochitest-a11y on a CLOSED TREE
...
Backed out changeset 9698f6f3f72e (bug 989012)
Backed out changeset 22fb05349a10 (bug 989012)
2015-01-27 16:40:30 -05:00
Ehsan Akhgari
fdec2351fe
Bug 989012 - Part 2: Don't get stuck when seeing an image without a src or alt attribute; r=roc
...
We do not want to traverse inside native anonymous elements, but we
should still be able to skip over generated content, to avoid getting
stuck on such images.
2015-01-27 15:35:48 -05:00
Ehsan Akhgari
59c2df2758
Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc
...
The caret movement code already handles unselectable text frames if we
happen to land in the middle of one in nsTextFrame::PeekOffsetCharacter/Word.
However, when performing frame traversal to find the next frame to jump
to, we don't remember if we skipped over an unselectable frame, which causes
us to jump one offset too much when the caret is on the boundary of
selectable and unselectable content. The test cases demonstrate the
scenario. Note that an <img alt=foo> is implemented by adding a
generated content to the inline frame representing it, so as far as
the caret movement code is concerned, both test cases are treated similarly.
Note that we need to do this only when moving the selection, and not
when extending it. We are adding an aExtend argument to
nsPeekOffsetStruct's constructor in order to be able to special case
that.
2015-01-27 15:35:32 -05:00
Kartikaya Gupta
e3e7f4b706
Bug 1116588 - Remove an optimization codepath that prevents building event-regions correctly. r=tn
2015-01-26 09:46:33 -05:00
Robert O'Callahan
011f46c79f
Bug 1119117. Don't clip nsDisplayOpacity items, since some of its descendants maybe should not be clipped with the nsDisplayOpacity clip. r=mattwoodrow
2015-01-11 00:12:33 +13:00
L. David Baron
3e9953e61d
Bug 1115691 patch 1 - Store counts of frames constructed and reflowed on the pres context. r=roc
...
(I've tested the frame construction counts in my test for bug 1110277; I
haven't actually tested the reflow counts.)
2015-01-11 15:43:10 -08:00
Ms2ger
bd536d16ee
Backed out changeset f5a5f7463224 (bug 1119117)
2015-01-10 20:23:06 +01:00
Robert O'Callahan
9ce76d8ef3
Bug 1119117. Don't clip nsDisplayOpacity items, since some of its descendants maybe should not be clipped with the nsDisplayOpacity clip. r=mattwoodrow
2015-01-11 00:12:33 +13:00
Kartikaya Gupta
a261b887dd
Bug 1117828 - When building event regions for a pseudo-stacking context, use the child frame instead of the parent. r=roc
2015-01-09 10:12:35 -05: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
Mats Palmgren
055fe56a7c
Bug 1109571 part 3 - Implement table caption specific code for ComputeAutoSize(), GetCorrectedParent() (for getting the style parent frame) and AccessibleType(). r=roc
2014-12-26 07:21:32 +00:00
Mats Palmgren
5e7a3ef78d
Bug 1109571 part 2 - Remove nsGkAtoms::tableCaptionFrame. Implement nsIFrame::IsTableCaption() and use that instead. r=roc
2014-12-26 07:21:32 +00:00
Seth Fowler
725fba4434
Bug 35168 (Part 1) - Add GetNormalRect to nsIFrame. r=dbaron
2014-08-19 18:24:57 -07:00
Jonathan Kew
fd9f4bada9
Bug 1111525 - Remove unused lineFlags returned by nsILineIterator. r=roc
2014-12-19 14:55:30 +00:00
David Anderson
b4d046c803
Add scroll listeners to dispatch-to-content regions. (bug 1013432 part 5, r=tn)
2014-12-09 02:38:23 -08:00
Robert O'Callahan
88161ea5e1
Bug 1098266. Set correct visible rect on nsDisplayOpacity items that are shuffled around during preserve-3d display list wrapping. r=tn
2014-11-24 14:03:49 +13:00
Jonathan Kew
cdf9a3916d
Bug 1077528 - part 1 - Provide physical and logical accessors for the m{HV}Resize flags in nsHTMLReflowState, and convert all flag users to the accessor methods. r=smontagu
2014-11-28 09:44:02 +00:00
Jonathan Kew
3038ba1068
Bug 1105268 - part 1 - Fix the logical/physical confusion with min- and max- dimensions in nsFrame::ComputeSize(). r=smontagu
2014-11-27 15:01:11 +00:00
Ryan VanderMeulen
c49434b7b2
Merge inbound to m-c. a=merge
2014-11-26 20:34:29 -05:00
Kartikaya Gupta
3c5af01ca0
Bug 1104809 - When building display lists for non-stacking children don't discard the event regions. r=mstange,tn
2014-11-25 17:05:58 -05:00
Xidorn Quan
704757cdf8
Bug 1052924 - Treat ruby text containers as inline elements for the purposes of finding a font inflation container so that ruby text gets the same font inflation as its ruby bases. r=dbaron
2014-11-26 15:52:48 +11:00
Daniel Holbert
50490b2d65
Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec.
2014-11-25 11:28:15 -08:00
Jonathan Watt
0377162314
Bug 1103623 - Port most remaining gfxContext::Fill() calls to Moz2D. r=mattwoodrow
2014-11-24 00:04:33 +00:00
Jonathan Kew
6a5c361e8b
Bug 1077515 - part 3 - Change desiredX (nscoord) to desiredPos (nsPoint) in nsPeekOffsetStruct, to support maintaining either vertical or horizontal position on inter-line moves. r=roc
2014-11-22 14:39:03 +00: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
David Anderson
6ade94f883
Make sure event regions propagate to more layers. (bug 1101260 part 2, r=roc)
2014-11-20 16:58:19 -08:00
Mats Palmgren
b443587a09
Bug 907396 - DEBUG only; make frame tree dumps print up to 2 style context parents in the unusual case when they are not the parent frame's style context (e.g. display:contents). r=bzbarsky
2014-11-20 18:24:10 +00:00
Mats Palmgren
567ed3a34f
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
bfc9b6f5d9
Bug 907396 - Frame constructor changes for display:contents. r=bzbarsky
2014-11-20 18:24:09 +00:00
Simon Montagu
3c04c06924
Bug 1100071 patch 3: don't pass around bidi levels when we only need the direction, r=dholbert
2014-11-20 12:45:23 +02:00