Scott Johnson
978434dea3
Backout 8f09d30d3571 for crashtest orange. [r=me]
...
--HG--
extra : rebase_source : be0cfd30ce57072b83022f20955fd515041d56ed
2013-09-07 20:05:23 -05:00
Scott Johnson
310960b128
Backout dfe69eabbe47 for crashtest orange. [r=me]
...
--HG--
extra : rebase_source : 36898d587c098835af796d7588ba24b3b40b0558
2013-09-07 20:04:36 -05:00
Scott Johnson
eab39f30c9
Bug 794693, part 2: Perform parent reflow state calculation at the box-block interface before setting up child reflow state to prevent crashing when a parent reflow state is assumed to be non-null. [r=dbaron]
2013-09-07 19:02:11 -05:00
Scott Johnson
440d49e2f6
Bug 794693, part 1: Refactor nsHTMLReflowState constructor to allow initialization to be done by caller. [r=dbaron]
2013-09-07 19:02:10 -05:00
Ehsan Akhgari
61d8f84eb7
Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
...
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Benoit Jacob
5479e2b22e
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Corey Ford
5db567cbb1
Bug 886646 - Part 6: Implement sticky positioning, calculated on reflow and scroll. r=dbaron, r=dholbert
2013-09-06 09:35:16 -04:00
Corey Ford
367d66a9a7
Bug 886646 - Part 5: Always build a stacking context for sticky positioned elements. r=dbaron
2013-09-06 09:35:16 -04:00
Daniel Holbert
a4ed8c910a
Bug 883514: During block reflow, check floats after reflowing bullet frames, instead of before. r=dbaron
2013-09-05 11:59:09 -07:00
Robert O'Callahan
8ca63f18ef
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Georg Fritzsche
682e0d1143
Bug 899080 - Test fixup part 5 - layout. r=roc
2013-09-04 16:07:53 +02:00
Boris Zbarsky
7a50c66936
Bug 911771. Remove uses of MOZ_DEBUG in .cpp files, since there is no such thing there. Use DEBUG instead. r=glandium
2013-09-04 16:43:12 -04:00
Masatoshi Kimura
216f76200c
Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley
2013-09-05 01:02:34 +09:00
Robert O'Callahan
a67691ee12
Bug 911889. Part 1: Fix mutationUpdate mutation count for first as well as subsequent mutations. r=benwa
2013-09-04 16:43:33 +12:00
Blake Kaplan
3388e7fa71
Bug 860123 - Part 1: Disallow extending or collapsing selections across documents; r=ehsan
2013-08-29 10:14:15 -04:00
Masayuki Nakano
144f6d5e26
Bug 910978 part.2 Remove nsScrollbarEvent because its member is never used r=smaug+roc
2013-09-03 20:45:28 +09:00
Ehsan Akhgari
dc804b0ed5
Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats
2013-08-30 17:17:07 -04:00
Seth Fowler
c9627e154d
Bug 825771 (Part 3) - Add support for image-orientation to nsImageFrame. r=dholbert
2013-08-28 15:39:07 -07:00
Seth Fowler
2c454b34e8
Bug 825771 (Part 2) - Make nsImageFrame hold a reference to its image container. r=dholbert
2013-08-28 15:39:06 -07:00
Brian O'Keefe
0ee041b9fd
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Matt Woodrow
25c513e3f0
Bug 740580 - Follow-up for fix incorrect rebasing. mDestRect should have been destRect.
2013-08-27 16:51:37 +12:00
Anthony Jones
c8ee0257bc
Bug 740580 - Add Azure support to nsCanvasFrame; r=Bas
2013-08-27 14:08:05 +12:00
Masayuki Nakano
e16d8e4b0e
Bug 907612 part.2 Get rid of nsNativeKeyEvent r=roc+gps, sr=jst
2013-08-24 16:24:32 +09:00
Ehsan Akhgari
52416f5705
Bug 908746 - Move some macros from nsHTMLReflowState.h to nsIFrame.h so that we can stop #including nsHTMLReflowState.h in nsLayoutUtils.h; r=mats
2013-08-23 18:20:19 -04:00
Ehsan Akhgari
a40e4b39e7
Bug 908778 - Don't #include nsAlgorithm.h in nsIFrame.h; r=mats
2013-08-23 18:17:19 -04:00
Ehsan Akhgari
bf4cca3bc2
Bug 908778 - Don't #include nsStyleStructFwd.h in nsIFrame.h; r=mats
2013-08-23 18:16:59 -04:00
Ehsan Akhgari
9b11a89362
Bug 908778 - Don't #include nsRegion.h in nsIFrame.h; r=mats
2013-08-23 18:16:38 -04:00
Ehsan Akhgari
1b1e8f296f
Bug 908778 - Don't #include gfxASurface.h in nsIFrame.h; r=mats
2013-08-23 18:16:16 -04:00
Ehsan Akhgari
2d782339fa
Bug 908778 - Don't #include nsIContent.h in nsIFrame.h; r=mats
2013-08-23 18:15:45 -04:00
Ehsan Akhgari
2faab8bc9e
Bug 908724 - Avoid #including nsPresContext.h in nsIScrollableFrame.h; r=mats
...
nsPresContext.h pulls in a large number of headers which should not
be needed in nsIScrollableFrame, if we just move ScrollbarStyles to
its own header
2013-08-23 16:20:07 -04:00
David Zbarsky
214420a48a
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir
2013-08-23 13:56:20 -04:00
David Zbarsky
2dcee164d7
Backout c619171e0070 for windows assertion failure on a CLOSED TREE
2013-08-23 14:58:41 -04:00
David Zbarsky
c76b222982
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir
2013-08-23 13:56:20 -04:00
Robert O'Callahan
555d6e8e35
Bug 906199. Ensure that nsDisplayTransforms being bubbled up by preserve-3d have the correct clip applied. r=mattwoodrow
...
--HG--
extra : rebase_source : 565cbebb5a7db17949a34cd41c9f0018db781caf
2013-08-21 15:04:23 +12:00
Ehsan Akhgari
f56168072d
Bug 907883 - Minimize #includes in layout/generic; r=roc
...
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
Ms2ger
dd3ed79f0d
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
19f3e043e3
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
4e45b3d52e
Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted
2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ehsan Akhgari
2a87c95927
Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst
2013-08-21 15:28:26 -04:00
Nathan Froyd
c25e61d121
Bug 906150 - initialize an empty RangeData at each point of use in nsSelection.cpp; r=smaug
2013-08-16 15:01:04 -04:00
Phil Ringnalda
21991b1148
Back out 4dd5fb21e599 (bug 906199) for Android R2 orange
...
CLOSED TREE
2013-08-20 22:49:12 -07:00
Robert O'Callahan
98330c01bc
Bug 906199. Ensure that nsDisplayTransforms being bubbled up by preserve-3d have the correct clip applied. r=mattwoodrow
2013-08-21 15:04:23 +12:00
Scott Johnson
bb83cf55dd
Bug 746015: Add a nsDisplayGenericOverflow class that uses a frame's visual overflow rect as its bounds to correctly display column rules that lie outside of a column set frame's bounds. [r=dbaron]
2013-08-20 16:38:29 -05:00
David Zbarsky
826b4c099f
Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc
2013-08-20 15:45:30 -04:00
Ehsan Akhgari
c2ce7e67ab
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Daniel Holbert
c7d45cc573
(no bug) fix typo in comment in nsHTMLReflowState: s/frames/frame's/ DONTBUILD
2013-08-19 18:10:06 -07:00
James Kitchener
20c9e8a036
Bug 827713 - Use mmultiscripts to handle all script shift elements. r=fredw
2013-08-19 09:11:50 -04:00
David Zbarsky
46c6e64d77
Bug 903283: Don't include EventTarget.h in headers r=Ms2ger
2013-08-19 06:15:55 -04:00
Phil Ringnalda
dca3d35d2b
Merge m-c to fx-team
2013-08-17 08:42:11 -07:00
Mark Capella
d531c0d7aa
Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan
2013-08-16 21:51:41 -04:00
Wes Kocher
26a0024de1
Backed out changeset 2404f5888de3 (bug 864589)
2013-08-16 16:09:46 -07:00
Mark Capella
0bd933ae38
Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan
2013-08-16 16:45:42 -04:00
Daniel Holbert
faacc53e3b
(no bug, whitespace only) Remove unnecessary newline in nsFlexContainerFrame.cpp. DONTBUILD
2013-08-16 18:00:13 -07:00
Brian O'Keefe
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Ms2ger
6c3982af30
Merge m-c to inbound.
2013-08-14 14:47:39 +02:00
Jonathan Kew
65526d27a3
bug 904555 - clean up use of nsRect APIs in layout. r=roc
2013-08-14 13:27:20 +01:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ms2ger
772a9d87b7
Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar
2013-08-14 08:55:46 +02:00
Kan-Ru Chen (陳侃如)
f186023681
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Mats Palmgren
6c8170cc92
Bug 883568 - Call UpdateOverflow() in the scroll frame base class to actually update the overflow areas. r=roc
2013-08-10 16:55:29 +00:00
Markus Stange
a16556961c
Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc
2013-08-14 13:33:03 +02:00
Markus Stange
2486ab13ca
Bug 904539 - Don't #include ImageLoader.h in nsIFrame.h. r=roc
2013-08-14 13:29:11 +02:00
Markus Stange
ca3ed71e54
Bug 904538 - Don't #include nsITheme.h in nsIWidget.h. r=roc
2013-08-14 13:19:55 +02:00
Mats Palmgren
b60b108772
Bug 904810 - Restore old default behavior on Windows that UP/DOWN go to next/prev line also when there's a selection. r=ehsan
2013-08-16 16:20:04 +00:00
Trevor Saunders
a8a12176ad
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Corey Ford
c1f2a8126d
Bug 898794 - Store normal frame position before applying relative positioning. r=dbaron
2013-08-08 17:20:17 -07:00
Mats Palmgren
b84c388d5e
Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc
2013-08-08 22:04:59 +00:00
Mats Palmgren
1105f19374
Bug 898871 - Add an assertion that the pres shell was not deleted by some script runner, which should not happen here since the caller must hold a strong ref before starting the scroll operation. r=roc
2013-08-08 22:04:59 +00:00
David Zbarsky
9dd8b1ad80
Bug 902732: Merge nsILink and dom::Link r=bz
2013-08-08 01:26:32 -04:00
Corey Ford
6ee6484653
Bug 901610 - Use nsStyleDisplay::IsRelativelyPositionedStyle in nsLineLayout. r=dbaron
2013-08-07 11:46:44 -07:00
Ehsan Akhgari
b9560fc7d9
Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky
2013-08-06 16:19:11 -04:00
John Schoenick
1dd711cad0
Bug 874843 - Fix focus race in test on windows 8. r=roc
2013-08-05 12:13:09 -07:00
Karl Tomlinson
b9829289b8
add crashtest for bug 893523 using testcase by jruderman@gmail.com
...
--HG--
extra : transplant_source : %C9y%C9%A3%DF%BF%01%E6%A25%D4%C4%28G%FE%FF%94%2B%E9%D5
2013-08-05 14:58:10 +12:00
Cameron McCormack
4e94222e60
Bug 899900 - Avoid null checking result of NS_NewBlahFrame. r=dbaron
2013-08-03 14:11:06 +10:00
Cameron McCormack
975a0a23c3
Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron
2013-08-03 14:11:06 +10:00
Cameron McCormack
7389a04520
Bug 899881 - Don't allow frames to have a null style context. r=dbaron
2013-08-03 14:11:05 +10:00
Benoit Girard
f8ebbcf885
Bug 894773 - Don't force layers on single opacity change. r=roc
...
--HG--
extra : rebase_source : 1f4807150ad7776aa1e90ded322149cf57f212ff
2013-07-16 22:56:16 -04:00
Ms2ger
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
625b832e4f
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Daniel Holbert
a3e2043aac
Bug 900242: Mark overriding nsBlockFrame methods as MOZ_OVERRIDE. r=mats
2013-07-31 18:59:25 -07:00
Stephen Pohl
723220566e
Bug 877097: Hold strong refs to instances of ScrollbarActivity to avoid crashing. r=mats
2013-07-31 21:43:56 -04:00
Corey Ford
c0b1bad70a
Bug 898797 - Use nsHTMLReflowState::ApplyRelativePositioning when placing floats. r=dbaron
2013-07-29 21:53:13 -07:00
Martijn Wargers
644fe8405f
Bug 899939 - Fix some tests that still use prefBranch instead of SpecialPowers.pushPrefEnv. r=jmaher
2013-07-31 11:30:54 +02:00
Corey Ford
df05870c1e
Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron
2013-07-30 21:01:06 -07:00
Cameron McCormack
1fce0370f0
Bug 897887 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt
2013-07-31 10:39:04 +10:00
L. David Baron
02fccb4492
Bug 898893: Rename nsTextFrameThebes.cpp back to nsTextFrame.cpp, from which it originally forked. r=roc
...
This was discussed in both:
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
https://groups.google.com/d/topic/mozilla.dev.tech.layout/Cmvapo3fWeg/discussion
--HG--
rename : layout/generic/nsTextFrameThebes.cpp => layout/generic/nsTextFrame.cpp
2013-07-30 17:36:09 -07:00
L. David Baron
40c4d9c17c
Bug 898888: Transition manager should use SetStyleContext rather than SetStyleContextWithoutNotification. r=nrc
...
While debugging bug 858937 I noticed that the transition manager was
calling nsIFrame::SetStyleContextWithoutNotification rather than
nsIFrame::SetStyleContext. SetStyleContextWithoutNotification should
only be used for things that aren't really style changes, but are
instead changes we make during frame construction before things are
really initialized. Anything that's really a dynamic style change, as
these are, should use SetStyleContext.
I realize I said the opposite in bug 780692 comment 186, and bz said the
same in bug 780692 comment 204, which is why this is the state that it
is.
2013-07-30 17:36:08 -07:00
Timothy Nikkel
d173081945
Bug 899745. Remove top most z-index tracking from views because it is unused. r=mats
2013-07-30 16:10:28 -05:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Ryan VanderMeulen
5857445120
Backed out 6 changesets (bug 827713) for reftest failures.
...
Backed out changeset 014cc3de08fb (bug 827713)
Backed out changeset 4113172193aa (bug 827713)
Backed out changeset 27a5c8dd5ff7 (bug 827713)
Backed out changeset 6448c7e05f11 (bug 827713)
Backed out changeset b67a72618c66 (bug 827713)
Backed out changeset 1279664e0d41 (bug 827713)
2013-07-29 15:19:34 -04:00
James Kitchener
213cb47d0c
Bug 827713 - Part 3: Use mmultiscripts to handle all script shift elements. r=fredw
2013-07-29 12:37:50 -04:00
Robert O'Callahan
0410954212
Bug 885009. Handle clip-all-descendants cases with rounded corners. r=mats
...
--HG--
extra : rebase_source : 284587e5fa70532bc6435f987f03c1282edc9cb8
2013-07-26 13:36:05 +12:00
Stephen Pohl
8b91f3ec9a
Bug 896443: Fix the z-ordering of overlay scrollbars to make them appear on top of content with z-index > 0. r=roc
2013-07-25 21:31:35 -04:00
John Schoenick
079da813c0
Bug 874843 - Fix typo in test r=typo
2013-07-25 13:20:42 -07:00
Scott Johnson
948546c7e3
Bug 743402, Part 5: Utilize new computed height calculations in nsSplittableFrame to correctly compute the height of a column set frame in paginated context. [r=roc]
2013-07-25 10:34:31 -05:00
Scott Johnson
a5680b3063
Bug 743402, Part 4: Refactor ApplySkipSides() and GetSkipSides() to return the correct value during reflow by adding an optional nsHTMLReflowState parameter. [r=roc]
2013-07-25 10:34:27 -05:00
Scott Johnson
c9182b38da
Bug 743402, Part 3: Refactor nsBlockFrame to utilize new calculations for paginated content. [r=roc]
2013-07-25 10:34:22 -05:00
Scott Johnson
5a676adbce
Bug 743402, Part 2: Pull GetEffectiveComputedHeight() into nsSplittableFrame and refactor it to utilize consumed height for paginated content. [r=roc]
2013-07-25 10:34:16 -05:00
Scott Johnson
e84205029b
Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc]
2013-07-25 10:34:12 -05:00
Max Vujovic
a3d913c879
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-22 15:08:33 -07:00
Ryan VanderMeulen
a692880c23
Backed out 6 changesets (bug 743402) for reftest failures on a CLOSED TREE.
...
Backed out changeset 19848fff857e (bug 743402)
Backed out changeset 049168537ae0 (bug 743402)
Backed out changeset 3098fea37f2d (bug 743402)
Backed out changeset ada93e976dca (bug 743402)
Backed out changeset c7907c54187f (bug 743402)
Backed out changeset 2edbbf6440c4 (bug 743402)
2013-07-24 15:14:04 -04:00
Scott Johnson
426922c7be
Bug 743402, Part 5: Utilize new computed height calculations in nsSplittableFrame to correctly compute the height of a column set frame in paginated context. [r=roc]
2013-07-24 12:47:21 -05:00
Scott Johnson
6003af5e8d
Bug 743402, Part 4: Refactor ApplySkipSides() and GetSkipSides() to return the correct value during reflow by adding an optional nsHTMLReflowState parameter. [r=roc]
2013-07-24 12:47:17 -05:00
Scott Johnson
9a8d912f0d
Bug 743402, Part 3: Refactor nsBlockFrame to utilize new calculations for paginated content. [r=roc]
2013-07-24 12:47:12 -05:00
Scott Johnson
a652917e76
Bug 743402, Part 2: Pull GetEffectiveComputedHeight() into nsSplittableFrame and refactor it to utilize consumed height for paginated content. [r=roc]
2013-07-24 12:47:06 -05:00
Scott Johnson
a156823e7f
Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc]
2013-07-24 12:47:01 -05:00
Robert O'Callahan
dcfca73b20
Bug 889219. Part 5: Remove nsSimplePageSequenceFrame::mCurrentPageFrame. r=mats
...
Holding onto frame pointers is potentially dangerous. It's not really necessary
to do so here.
--HG--
extra : rebase_source : d92798b59cd7b3032a2bb77a80f00ff590b2213a
2013-07-24 23:48:55 +12:00
Robert O'Callahan
d05b847812
Bug 889219. Part 4: Stop heap-allocating nsSharedPageData::mHeadFootFont. r=mats
...
--HG--
extra : rebase_source : beaa74d12c905b4737ab3b6e736f8e5ad90942bb
2013-07-24 23:48:55 +12:00
Robert O'Callahan
87c8aeddbf
Bug 889219. Part 3: Clean up string usage for printing date/time headers. r=mats
...
--HG--
extra : rebase_source : 019de7d34f60f354a1ddd943d62c0656628f6263
2013-07-24 23:48:54 +12:00
Robert O'Callahan
eb11dbe068
Bug 889219. Part 2: Clean up string usage for page numbers/formats. r=mats
...
--HG--
extra : rebase_source : 8088904e1f0d552368eb003cff6982710f6c9276
2013-07-24 23:48:54 +12:00
Robert O'Callahan
e9025f3008
Bug 889219. Part 1: Clean up nsPrintEngine string usage for document titles/URLs. r=mats
...
--HG--
extra : rebase_source : 17a67d9956e9df9e19c86ea70ac3045e636c49ae
2013-07-24 23:48:37 +12:00
Ms2ger
8ab83f380e
Merge m-c to inbound.
2013-07-24 11:53:22 +02:00
Ms2ger
a9d7b5923b
Bug 896261 - Remove aAppendedThemedBackground arguments from nsDisplayBackgroundImage::AppendBackgroundItemsToTop, nsFrame::DisplayBackgroundUnconditional; r=roc
2013-07-24 09:38:55 +02:00
Cameron McCormack
f6ecf9798f
Bug 895311 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt
2013-07-24 15:13:54 +10:00
Ed Morley
97e3c032bc
Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE
2013-07-23 16:36:45 +01:00
Max Vujovic
cac859d2f2
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-23 10:47:16 -04:00
Simon Sapin
d6f3091b8f
Bug 483446 - CSS3 'background-attachment: local' support. r=roc
2013-07-23 09:22:58 -04:00
Stephen Pohl
a95c8487b3
Bug 877857: Make hovered overlay scrollbars appear on top of non-hovered ones. r=roc
2013-07-23 00:21:55 -04:00
Stephen Pohl
f42800452f
Bug 877097: Improve readability of ScrollbarActivity::GetRefreshDriver. r=mats
2013-07-22 22:46:27 -04:00
John Schoenick
de24790f09
Bug 874843 - Cleanup plugin_focus_helper test events to try and fix intermittent orange. r=roc
2013-07-22 08:55:19 -04:00
L. David Baron
33de67ec1b
Bug 896138 patch 6: Move restyle management code from nsFrameManager to RestyleManager. r=heycam
...
This is the second of two big chunks of code moved into the new
RestyleManager class from another sources.
Note that the undisplayed map remains in nsFrameManager, although it
could perhaps have moved.
2013-07-20 12:14:25 -07:00
L. David Baron
0354744354
Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
...
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.
This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Nicholas Cameron
efbfb06759
Bug 700926; reshuffle background image drawing. r=roc
...
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Reuben Morais
21dc4ba5b0
Bug 873346 - Fix sometimes-unitialized warning in nsImageMap. r=dbaron
...
--HG--
extra : rebase_source : dcc8013bb0542a69edb43c86fddc3f4075b4e7d5
2013-07-17 20:28:23 -07:00
Ryan VanderMeulen
ba97a4cddb
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Robert O'Callahan
9ae1116bfe
Bug 870941. Make scrollframes put scrollbars etc above content in z-order if they're disappering scrollbars. r=mattwoodrow
2013-07-18 10:10:13 -04:00
Markus Stange
3e8b8685fb
Bug 894905 - Create a separate nsDisplayItem subclass for -moz-appearance backgrounds. r=roc
2013-07-18 08:34:58 +02:00
Markus Stange
b62c7b8f7a
Bug 894905 - Make AppendBackgroundItemsToTop return a bool instead of an nsDisplayBackgroundImage. r=roc
2013-07-18 08:34:10 +02:00
Ryan VanderMeulen
5eb45c3588
Backed out changeset 9022f5fdcf98 (bug 483446) for mochitest-5 orange.
2013-07-16 10:45:35 -04:00
Brian O'Keefe
f98dd45a72
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Simon Sapin
bd5786c9dd
Bug 483446 - Add CSS3 'background-attachment: local' support. r=roc
2013-07-16 09:10:58 -04:00
Stephen Pohl
fee7bac8dd
Bug 868498: Enable switching between overlay and regular scrollbars without browser restart on Mac OSX. r=roc
2013-07-16 08:58:44 -04:00
Stephen Pohl
bcad140bc2
Bug 890897 - Don't show overlay scrollbars when we don't end up scrolling the page because we're already at an acceptable place. r=roc
2013-07-16 00:51:21 -04:00
Corey Ford
ce6ef13b9a
Bug 893962 - Refactor the application of relative positioning. r=dbaron
2013-07-15 17:28:09 -07:00
Blake Kaplan
89177ea95a
Bug 888787 - Restore old XBL behavior when a child of the bound element didn't match any of the <children/> in the binding. r=sicking
2013-07-11 17:05:54 -04:00
Cameron McCormack
dbc7e72e2d
Bug 893510 - Don't schedule reflow of non-display SVG text when a child text content frame was just created. r=jwatt
2013-07-15 18:15:49 +10:00
Mats Palmgren
9ff1b84050
Bug 883676 - Implement 'page-break-inside:avoid' also for the case where the block reflow is COMPLETE but does not fit in the available height. r=roc
2013-07-13 13:18:17 +00:00
Cameron McCormack
d1d5e49d22
Bug 890783 - Reflow non-display SVG text when a child text frame is restyled. r=roc
2013-07-12 17:13:07 +10:00
Cameron McCormack
cc69f69b39
Bug 890782 - Part 3: Inherit NS_FRAME_IS_NONDISPLAY by default. r=jwatt
2013-07-12 17:13:07 +10:00
Cameron McCormack
e57c8ad0ef
Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt
2013-07-12 17:13:07 +10:00
Trevor Saunders
238525e2d8
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Mike Hommey
b20f881e7c
Bug 892401 - Remove NEW_H. r=ted
2013-07-12 09:16:41 +09:00
Daniel Holbert
3ae760d817
Bug 885424 part 4: Refactor ComputeFlexContainerMainSize to have a clearer horizontal case vs. vertical case. r=dbaron
2013-07-11 16:47:03 -07:00
Ryan VanderMeulen
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ms2ger
fae15265a4
Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc
2013-07-10 11:58:13 +02:00
Daniel Holbert
83cb6e3bec
Bug 885424 part 3: Rename flexContainerMainSize to contentBoxMainSize, for clarity, and mark that & 'frameMainSize' as const. r=dbaron
2013-07-09 14:38:59 -07:00
Daniel Holbert
cb14d920e1
Bug 885424 part 2: Perform flexbox main-axis alignment separately from cross-size determination, to more closely match the ordering of steps in flexbox spec. r=dbaron
2013-07-09 14:38:59 -07:00
Daniel Holbert
257df7c379
Bug 885424 part 1: Set aStatus at the very beginning of flexbox reflow, and call NS_FRAME_SET_TRUNCATION at the very end. r=dbaron
2013-07-09 14:38:59 -07:00
Daniel Holbert
79f5993a00
Bug 885424 part 0: Shift declarion of 'frameCrossSize' down to where it's actually used. r=dbaron
2013-07-09 14:38:59 -07:00
Scott Johnson
2279d0f027
Bug 861184: Pull code providing binary search for valid column height into its own method. [r=roc]
2013-07-09 15:24:27 -05:00
Benoit Girard
fe89091f81
Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats
2013-07-02 11:16:05 -04:00
Ryan VanderMeulen
42dc56caf5
Bug 891347 - Skip 385526.html on B2G due to frequent timeouts.
2013-07-09 16:02:04 -04:00
Joey Armstrong
df6123b0bc
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Simon Montagu
f52ec81b93
Use GetFrameBaseLevel to drill down to the first leaf frame instead of just looking at the first child when getting the line direction. Bug 889742, r=roc
2013-07-04 10:13:52 +03:00
Robert Longson
6c040f049e
Bug 889329 - Implement deselectAll(). r=cam,sr=roc
2013-07-03 08:41:53 +01:00
Joey Armstrong
b7ee853939
bug 870407: move CMMSRCS to mozbuild (file batch #3 ). r=mshal
2013-07-02 17:09:08 -04:00
Jim Mathies
edeb1b9598
Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange
2013-07-02 05:02:21 -05:00
Phil Ringnalda
2bded297ef
Backed out changeset 77bd60758c53 (bug 879565) for still asserting, just not quite as much
2013-07-01 21:43:49 -07:00
Jim Mathies
aab926d3cd
Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. (Debug osx assertions fixed.) r=mstange
2013-07-01 21:42:00 -05:00
Jim Mathies
2734375c82
Backed out changeset c2299dce9dbd (bug 879565) due to debug assertions.
2013-07-01 19:28:44 -05:00
Jim Mathies
bfe1ab63c4
Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange
2013-07-01 16:53:17 -05:00
Ryan VanderMeulen
20d3da50b0
Backed out changeset 1f6132caf111 (bug 879565) for warnings-as-errors bustage.
...
CLOSED TREE
2013-07-01 14:50:25 -04:00
Jim Mathies
71359ba1c1
Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange
2013-07-01 13:29:24 -05:00
Ryan VanderMeulen
c6e480b87f
Merge inbound and m-c.
2013-07-01 08:12:24 -04:00
Ms2ger
0a7d6a39da
Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc
2013-07-01 09:14:36 +02:00
Catalin Iacob
088b9fe162
Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn.
2013-06-30 18:26:39 +02:00
Blake Kaplan
9a0d5df639
Bug 653881 - Bump the assertion count for 382745-1.xhtml. r=bz
...
--HG--
extra : rebase_source : e645bf99e368d97aca200c0db4c302a87abf3b1f
2013-06-28 18:48:12 -07:00
Justin Lebar
09d2312322
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Daniel Holbert
3f6239a071
Bug 886313: Make DisplayLine generate display items in a temporary collection, so we can apply text-overflow clipping without affecting earlier lines. r=roc
2013-06-28 00:22:57 -07:00
Seth Fowler
1d2edbfa2d
Bug 695763. Part 7. Invalidate img's if they are not decoded and we are asked to do a sync decode. r=matt.woodrow
2013-06-26 11:43:27 -05:00
Michael Harrison
58fc2af3ce
Bug 534409 - Fix incorrect sizing of the <audio> element when it has a non-auto width or height. r=doublec
2013-06-25 18:00:04 -04:00
Catalin Iacob
83b78343dc
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Seth Fowler
79aee060df
Bug 695763. Part 2. Invalidate list style images if they are not decoded and we are asked to do a sync decode. r=roc
2013-06-22 11:30:57 -05:00
Daniel Holbert
c464542fde
(no bug) Improve/correct some comments in nsFlexContainerFrame::Reflow. comment-only, DONTBUILD
2013-06-20 12:05:35 -07:00
Arnaud Sourioux
b435a6ca03
Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz
2013-06-18 17:25:50 -04:00
Daniel Holbert
802a0acff1
Bug 884564 followup: fix end-of-line whitespace in nsBlockFrame::CreateContinuationFor. (whitespace-only, DONTBUILD)
2013-06-18 23:23:45 -07:00
Daniel Holbert
8c8ad220f1
Bug 884576: Make some nsBlockFrame helper-methods (ReflowPushedFloats, PrepareResizeReflow, & SplitLine) infallible. r=bz
2013-06-18 23:09:22 -07:00
Daniel Holbert
35f013099f
Bug 884564: Make CreateContinuationFor() infallible and directly return its outparam. r=bz
2013-06-18 23:09:20 -07:00
Robert O'Callahan
46c791393d
Bug 880854. Part 1: Make nsIFrame::DumpFrameTree virtual and take no parameter, to be easier to call from buggy debuggers like gdb. r=mats
...
--HG--
extra : rebase_source : 0986652eb1d9710ceeba8cda4ac3d1273532929d
2013-06-18 23:39:58 +12:00
Ehsan Akhgari
838a193e63
Backed out changeset 57624f26be8f (bug 702080) on the suspicion of causing a b2g mochitest-3 failure, since it touches code near remote browser stuff
...
Landed on a CLOSED TREE
2013-06-18 23:52:07 -04:00
Arnaud Sourioux
3a81b24d11
Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz
2013-06-18 17:25:50 -04:00
Robert O'Callahan
0202dcc4d5
Bug 875060. Make display:-moz-stack/-moz-inline-stack elements which are overflow:hidden clip all their descendants, including those for which it is not the containing block. r=mats
2013-06-17 17:16:27 +12:00
Robert O'Callahan
f3277d1b19
Bug 876092. Copy the DisplayItemClip into OutOfFlowDisplayData instead of storing a pointer. r=mats
2013-06-18 21:15:39 +12:00
Robert O'Callahan
784c573287
Bug 876092. Part 1. Don't let effects of MarkFramesForDisplayList carry over between pages. r=mats
2013-06-18 21:15:37 +12:00
Trevor Saunders
42584173ca
bug 852129 - use HyperTextAccessible for invalid img r=surkov, bz
...
If the img is not valid then its children will be rendered, and the
sensible way to handle that is by giving the img a HyperTextAccessible
instead of an ImageAccessible. Since the accessible name of such an img
should be the value of the alt attribute we add similar logic as
ImageAccessible::NativeName() to HyperTextAccessible::NativeName()
conditioned on the tag being img.
2013-06-12 05:13:34 -04:00
Martin Stransky
3399b67572
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
Ms2ger
7cdd3a5243
Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz
2013-06-12 09:00:09 +02:00
Rick Eyre
33a35bdf32
Bug 833283 - Add do_QueryFrame support to nsVideoFrame. r=bz
...
Ms2ger recommended this instead of using do_QueryInterface on
nsVideoFrame.
2013-05-27 13:34:00 -07:00
Mats Palmgren
30feba8b8d
Bug 863935. r=roc
2013-06-10 18:31:59 +00:00
Stephen Pohl
43969691bb
Bug 881022: Check that the scrollable frame is still alive after each call to UnsetOpacityOnElement for the two scrollbars to avoid crashing. r=roc
2013-06-09 20:38:45 -07:00
Karl Tomlinson
55c41ed5f4
b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
...
--HG--
extra : transplant_source : %07%FC%14%84%D6%80%BD%5C%ECe%05%0D%8F%B3%0E%8F%7B%F8%90%1E
2013-06-10 12:37:16 +12:00
Karl Tomlinson
4c8386df31
b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
...
--HG--
extra : transplant_source : %3BkY-X%D0%60lwm%C5XN%BEo%CA%AF%0E%10%08
2013-06-10 12:37:16 +12:00
Stephen Pohl
6100487947
Bug 877097: Check that the scrollable frame is still alive after each call to SetOpacityOnElement for the two scrollbars to avoid crashing. r=roc
2013-06-08 14:05:33 -07:00
Boris Zbarsky
6a359eb980
Bug 879628. Don't screw up the text from earlier counters when using counters() with various list styles. r=dbaron
2013-06-07 22:45:46 -04:00
Timothy Nikkel
6f4a1b5f7f
Bug 880508. Remove defer invalidations code because we don't invalidate during painting anymore. r=matt.woodrow
2013-06-06 23:12:10 -05:00