L. David Baron
861d8da5a3
Bug 898892: Move nsStyleConsts.h from layout/base to layout/style. r=heycam
...
This fixes a mistake from bug 272151, as discussed in the thread
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
--HG--
rename : layout/base/nsStyleConsts.h => layout/style/nsStyleConsts.h
2013-07-30 17:36:09 -07:00
L. David Baron
dec690eacf
Bug 896138 patch 10: Move beginning and ending of ProcessPendingRestyles into helper functions on the RestyleManager. r=heycam
2013-07-30 17:36:08 -07:00
Ryan VanderMeulen
2ebd22d781
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
David Zbarsky
0246c16dd7
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-07-30 14:55:12 -07:00
Kartikaya Gupta
5371e49e39
Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow
2013-07-30 14:03:42 -04:00
Robert O'Callahan
9d7b42cb9c
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
2013-07-26 14:31:41 +12:00
David Zbarsky
4a272eb16a
Backout 4c89002460da (Bug 873378) for breaking the settings app on B2G
2013-07-26 13:20:23 -07:00
Ryan VanderMeulen
6f9d09c6ba
Bug 874073 - Skip crashtests/852293.html due to frequent timeouts.
2013-07-26 13:35:33 -04:00
Ryan VanderMeulen
29571661ef
Bug 873083 - Skip crashtests/813372-1.html due to frequent timeouts.
2013-07-26 13:35:33 -04:00
Ehsan Akhgari
5ee21d6d3f
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
Carsten "Tomcat" Book
d6c5183f6b
Backed out changeset 44c751cee3b1 (bug 837242) for suspicion of causing OSX Bustage CLOSED TREE
2013-07-26 09:25:03 +02:00
Robert O'Callahan
7e76ab4eb6
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
...
--HG--
extra : rebase_source : e59fe41c41f2be6b4f0c78528cf954093f3011bd
2013-07-26 14:31:41 +12:00
Robert O'Callahan
b4b3da2365
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
Ryan VanderMeulen
1a6cb4b613
Merge m-c to inbound.
2013-07-26 01:24:55 -04:00
Ryan VanderMeulen
e8b26d740c
Backed out changesets 4f35e943f939 and da5fa63e90cb (bug 896250) for causing frequent OSX debug asserts on a CLOSED TREE.
2013-07-26 01:22:40 -04:00
Milan Sreckovic
54932e81d6
Bug 896250: Return the max number, not the flag checking if the number was set. r=joe
2013-07-22 17:05:21 -04:00
Max Vujovic
dd92ca0dd1
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
bc61d30573
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Eitan Isaacson
a06caea296
Bug 895711 - Mark new touches in touchstart as changed in HandleEventInner. r=smaug
2013-07-25 08:52:29 -07:00
Timothy Nikkel
33438547b6
Bug 837242. Part 3. Keep track of what area is exposed to events so that covered frames don't get events. r=roc
2013-07-30 11:22:46 -05:00
Timothy Nikkel
3cbce855ee
Bug 837242. Part 2. Add a function to calculate the area of an nsRegion. r=roc
2013-07-30 11:22:43 -05:00
Mats Palmgren
dbea38ef61
Bug 897852 - Don't flush if we were destroyed. r=roc
2013-07-30 15:47:19 +00:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
82250218e6
Backout 40683014a638 for causing mochitest orange
2013-07-29 21:11:01 -07:00
David Zbarsky
3b2bbf2c84
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-07-29 16:04:09 -07:00
Ryan VanderMeulen
fe2024e105
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
ee1f2fa75c
Bug 827713 - Part 3: Use mmultiscripts to handle all script shift elements. r=fredw
2013-07-29 12:37:50 -04:00
Ms2ger
65809ecc1e
Bug 896261 - Remove aAppendedThemedBackground arguments from nsDisplayBackgroundImage::AppendBackgroundItemsToTop, nsFrame::DisplayBackgroundUnconditional; r=roc
2013-07-24 09:38:55 +02:00
Ms2ger
a7fe79ef2e
Bug 893925 - Cleanup nsILayoutHistoryState and nsGenericHTMLElement::GetPrimaryPresState; r=smaug
2013-07-24 09:38:13 +02:00
Ryan VanderMeulen
18c13d9bac
Backed out changeset 1e1b4d5c51b7 (bug 896250) to see if it fixes the Android reftest orange.
...
CLOSED TREE
2013-07-23 14:06:40 -04:00
Ed Morley
b8d2e3631d
Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE
2013-07-23 16:36:45 +01:00
Milan Sreckovic
e41e09833c
Bug 896250 - Return the max number, not the flag checking if the number was set. r=joe
2013-07-22 17:05:21 -04:00
Max Vujovic
695c4ee979
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
Milan Sreckovic
7482429c48
Bug 895003 - Introduce a second preference to control the chrome paint flashing - nglayout.debug.paint_flashing_chrome. r=roc
...
The original pref still controls content and chrome when set. The preference is now live, for content and chrome, the change will be seen on the next refresh. The cached value is now in nsPresContext, rather than nsRefreshDriver.
2013-07-22 11:51:38 -04:00
Simon Sapin
2db3b1337a
Bug 483446 - CSS3 'background-attachment: local' support. r=roc
2013-07-23 09:22:58 -04:00
Corey Ford
2e7839e1b0
Bug 894629 - Reference containing block's content box for relatively positioned elements in RestyleManager::RecomputePosition. r=dbaron
2013-07-22 09:28:31 -07:00
Chris Lord
f6b2427db2
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01:00
Chris Lord
3404ab9f9d
Bug 886298 - Add a typed-units Margin. r=kats
2013-07-22 09:50:11 +01:00
Chris Lord
28526bfea8
Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats
2013-07-22 09:50:09 +01:00
Robert O'Callahan
f263be618e
Fix bustage for bug 886295
2013-07-22 16:30:18 +12:00
Robert O'Callahan
b8737f4a7f
Bug 886295. Backout fix for bug 880854 to fix regression. r=mats
...
--HG--
extra : rebase_source : 66bc089c3ece4dbe4f6533fce97a902abdd4871a
2013-07-22 14:04:46 +12:00
L. David Baron
a7c92a8198
Bug 896138 patch 9: Move RecomputePosition to a more logical place in the .cpp file, near other hint handling implementations. No review.
2013-07-20 12:14:25 -07:00
L. David Baron
bddec5dcdc
Bug 896138 patch 8: Add setter for RestyleManager::mInStyleRefresh rather than using friend. r=heycam (within review comments for patch 4)
...
(The friend declaration is still needed for access to RestyleElement,
which I'd rather leave private.)
2013-07-20 12:14:25 -07:00
L. David Baron
2f2bcdb660
Bug 896138 patch 7: Remove unused aFrameManager parameters to some functions. r=heycam
2013-07-20 12:14:25 -07:00
L. David Baron
af0d77ef1f
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
f6bcebd856
Bug 896138 patch 5: Expose UndisplayedNode list from nsFrameManager. r=heycam
...
This is needed for the following patch, which leaves the undisplayed map
in nsFrameManager rather than moving it to RestyleManager (I think one
could argue for either way, but it was easier not to move it).
2013-07-20 12:14:25 -07:00
L. David Baron
a187fb3edb
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
L. David Baron
11ba191059
Bug 896138 patch 3: Remove forward declaration of struct that hasn't been in this class since changeset e0df6dfdaaca (Bug 479655 part 3). r=heycam
2013-07-20 12:14:24 -07:00
L. David Baron
7a1d9ead26
Bug 896138 patch 2: Add a RestyleManager class. r=heycam
...
The later patches in this series will move restyling code into this file
from nsCSSFrameConstructor and nsFrameManager.
2013-07-20 12:14:24 -07:00
L. David Baron
247e5c9e81
Bug 896138 patch 1: Move RestyleTracker and OverflowChangedTracker out of nested namespace mozilla::css (which shouldn't exist) into namespace mozilla. r=heycam
2013-07-20 12:14:24 -07:00
Jeff Muizelaar
033b09aa7a
Bug 895135. Avoid normalizing gradients to a smaller interval than 0..1. r=roc
...
Previously if we had all the stops at the same location, we'd end up putting
them all at 0. This makes things harder for backends that implement gradients
with a lookup table because they don't have room for multiples entries at the
zero location. If instead we leave the stops at the same location on the 0-1
line we'll have a better chance of drawing them correctly.
--HG--
extra : rebase_source : d57553d90e3eef288ca41576573f1c1def97da7e
2013-07-20 08:58:10 -04:00
Nicholas Cameron
88b5d20e12
Bug 700926; reshuffle background image drawing. r=roc
...
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Nicholas Cameron
1e0a3c643f
Bug 700926. Refactor image sizing to be closer to the spec and not tied to backgrounds. r=roc
...
--HG--
extra : rebase_source : b6fa8a526f8642089d9cd6af47948006f2673ab6
2013-07-19 20:39:58 +12:00
Simon Montagu
a5867e85dd
Move the caret invalidation from CharacterDataChanged to CharacterDataWillChange so that the text doesn't change under the caret before invalidation. Bug 887631, r=ehsan
2013-07-19 17:44:46 +03:00
Benoit Girard
72ce20909b
Bug 873378 - Add a limit on mobile of 20 layers per container layer. r=roc
2013-07-16 16:17:18 -04:00
Ehsan Akhgari
81b0d336c3
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
2013-07-18 12:06:38 -04:00
Graeme McCutcheon
3b2ae36916
Bug 819930 - Part 1: Implement an API for emulating CSS media types. r=dbaron
2013-07-17 16:39:19 +01:00
Markus Stange
925f3877d6
Bug 894905 - Create a separate nsDisplayItem subclass for -moz-appearance backgrounds. r=roc
2013-07-18 08:34:58 +02:00
Markus Stange
a3bbc51f36
Bug 894905 - Make AppendBackgroundItemsToTop return a bool instead of an nsDisplayBackgroundImage. r=roc
2013-07-18 08:34:10 +02:00
William Chen
9e883ad8f5
Bug 796061 - Part 2: Remove mInsertionParentTable from nsBindingManager. r=mrbkap
2013-07-17 09:05:06 -07:00
Ryan VanderMeulen
a0ca37d26a
Backed out changeset 9022f5fdcf98 (bug 483446) for mochitest-5 orange.
2013-07-16 10:45:35 -04:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Simon Sapin
f9d83485ab
Bug 483446 - Add CSS3 'background-attachment: local' support. r=roc
2013-07-16 09:10:58 -04:00
Bem Jones-Bey
c704e3c762
Bug 829958 - Fix intrinsic width calculation to take into account the scroll frame created when overflow isn't visible. r=bz
2013-07-12 17:24:17 -04:00
Cameron McCormack
4d5eacea09
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
82e5558b37
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
Blake Kaplan
2a5c30ab9f
Bug 890775 - Not all xbl:children elements should be treated specially. r=peterv
2013-07-11 17:52:49 -04:00
Botond Ballo
3d283a5a5d
Bug 891468 - Convert nsEventStateManager::GetChildProcessOffset to return a LayoutDeviceIntPoint instead of an nsIntPoint. r=smaug
2013-07-11 10:43:35 -04:00
Ryan VanderMeulen
aaee3cf638
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Matt Woodrow
93da75702f
Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc
2013-07-09 10:11:00 -04:00
Olli Pettay
2bf2214fbe
bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
...
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Benoit Girard
123c3a85d6
Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats
2013-07-02 11:16:05 -04:00
Matt Woodrow
68a23b3791
Backout a17b6115cdd7 for causing reftest failures
2013-07-09 12:05:04 -04:00
Ms2ger
aa023d93d4
Bug 884748 - Make nsTouchEvent::touches store Touch instead of nsIDOMTouch; r=dzbarsky
2013-07-10 11:53:09 +02:00
Blake Kaplan
ea4da60962
Bug 891088 - Rename nsXBLChildrenElement -> mozilla::dom::XBLChildrenElement. r=peterv
...
--HG--
rename : content/xbl/src/nsXBLChildrenElement.cpp => content/xbl/src/XBLChildrenElement.cpp
rename : content/xbl/src/nsXBLChildrenElement.h => content/xbl/src/XBLChildrenElement.h
2013-07-01 15:09:37 -07:00
Robert O'Callahan
4880204640
Bug 722923. Part 4: Don't walk continuation chain in SyncViewsAndInvalidateDescendants since DoApplyRenderingChangeToTree already does that. r=matspal
...
--HG--
extra : rebase_source : 76d249a52afdcb999f56da6842cf8c96c9e8088a
2013-07-06 23:53:42 +12:00
Robert O'Callahan
cd568e152e
Bug 722923. Part 3: Rename UpdateViewsForFrame and document it properly. r=matspal
...
--HG--
extra : rebase_source : cc54527bec2d7d049b1abfb079587c183d35899d
2013-07-06 23:53:40 +12:00
Matt Woodrow
c39a74c126
Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc
2013-07-09 10:11:00 -04:00
Kartikaya Gupta
819022d7ab
Bug 866265 - Revert a line from bug 883646 because it was incorrect. r=kentuckyfriedtakahe
2013-07-03 09:04:48 -04:00
L. David Baron
933fa9de5b
Bug 606125 followup: Reattach comment to the code that it was commenting (and rewrap it to a shorter line length too). No review.
2013-07-01 15:22:24 -07:00
Ryan VanderMeulen
1a472aefb6
Merge inbound and m-c.
2013-07-01 08:12:24 -04:00
Ms2ger
4019955ea2
Bug 888235 - Use CSSIntSize for nsGlobalWindow::GetInnerWidth/Height; f=kats r=mrbkap
2013-07-01 09:14:24 +02:00
Catalin Iacob
ff12d6de33
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
Cameron McCormack
40bd0412fb
Bug 842181 - Prevent text zoom from affecting SVG text. r=dbaron
2013-06-29 13:28:50 +10:00
William Chen
6bfbad03fc
Bug 653881 - Normalize the undisplayed map entry for <xbl:children>. r=dbaron
...
--HG--
extra : rebase_source : b851a3dc8f5bf576a42f0b639bdd51375413b123
2013-06-20 16:21:15 -07:00
William Chen
4adfddabf1
Bug 653881 - Push <xbl:children> in ancestor filter. r=bz,dbaron
...
--HG--
extra : rebase_source : 9aafffadd2451ca7274e99d7e07d0d71ea52ca02
2013-05-30 17:39:08 -07:00
Blake Kaplan
55ee93f1af
Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
...
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Justin Lebar
6c46d0633d
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
75c400493b
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
Vivien Nicolas
e5049a2b28
Bug 873418 - ContentEditable elements are ignored when fluffing is activated. r=roc
2013-08-06 12:33:29 +02:00
Timothy Nikkel
3efded2df1
Bug 695763. Part 5. Invalidate background images 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
Timothy Nikkel
89a1d139e5
Bug 695763. Part 3. Invalidate the background images of buttons, fieldsets, and mathml chars if they are not decoded and we are asked to do a sync decode. r=matt.woodrow
2013-06-26 11:43:26 -05:00
Simon Montagu
85331d97de
Unfocus the text area before snapshotWindow so that the caret doesn't appear in the snapshot. Bug 886737; r=ehsan
2013-06-26 08:54:25 +03:00
Cameron McCormack
4dd982ffc1
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
Ed Morley
de6da097d6
Backed out changeset d7c237784ce9 (bug 886230) for B2G mochitest-9 failures in test_bug582181-1.html
2013-06-25 13:45:09 +01:00
L. David Baron
10bf116e6a
Bug 858937 patch 1: Add nsLayoutUtils::GetStyleFrame() variant taking nsIContent*, and use it for two existing users of the variant taking nsIFrame*. r=nrc
2013-06-24 22:32:10 -07:00
Phil Ringnalda
42e2a3397c
Back out 2332bb3fe186:10f70b8b04fe (bug 858937) for warnings-as-errors bustage
...
CLOSED TREE
2013-06-24 23:42:05 -07:00
Cameron McCormack
abf1179f39
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
L. David Baron
60056772e7
Bug 858937 patch 1: Add nsLayoutUtils::GetStyleFrame() variant taking nsIContent*, and use it for two existing users of the variant taking nsIFrame*. r=nrc
2013-06-24 22:32:10 -07:00
Catalin Iacob
4f03e5bb1a
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
Phil Ringnalda
20c50535f9
Merge m-c to m-i
2013-06-22 15:56:20 -07:00
David Zbarsky
f693e46b40
Bug 881121: Remove the 3d-transforms-enabled pref because it is always enabled and has been for a while r=dbaron
2013-06-22 13:35:09 -07:00
Kartikaya Gupta
f39a3aa067
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-21 17:03:57 -04:00
Kartikaya Gupta
e6d307eeca
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Kartikaya Gupta
c6b20af712
Bug 883646 - Add the LayoutDevicePixel type. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
89cd9674cd
Backed out 7 changesets (bug 883646) for reftest-ipc failures.
...
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
f1493d9dae
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
bc7a93a250
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
b32755d0f5
Bug 883646 - Add the LayoutDevicePixel type. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Robert O'Callahan
fcc41b30be
Bug 880854. Part 2: Support reflows/frame reconstruction in print/print-preview documents by promoting them to frame reconstruction of the whole document. r=mats
...
--HG--
extra : rebase_source : e81c5cd0f9da7bbcd876669c4b9de46dac825a5d
2013-06-18 23:41:30 +12:00
Robert O'Callahan
8b77b266e2
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
5b98f9c1a4
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
133d433fda
Bug 876092. Part 1. Don't let effects of MarkFramesForDisplayList carry over between pages. r=mats
2013-06-18 21:15:37 +12:00
Matt Woodrow
6d01a3cdf3
Bug 873944 - When we have OMTC, don't invalidate and wait for the widget paint event, just call DidPaint immediately. If we do get a widget paint event (from an OS initiated resize or similar), then block until the compositor has drawn the frame. r=roc
2013-06-18 19:59:29 +12:00
Matt Woodrow
5dcae950c4
Bug 873944 - Remove unecessarily callers to nsView::Invalidate. r=roc
2013-06-18 19:59:00 +12:00
Daniel Holbert
8916bad070
Bug 403297: Skip "Unable to test style tree integrity" warning for viewport frames. r=bz
2013-06-17 19:44:09 -07:00
Kartikaya Gupta
a53496f124
Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe
2013-06-14 16:11:44 -04:00
Kartikaya Gupta
94dd1b2c73
Bug 880676 - Replace a couple of Rect scaling functions with strongly typed operators. r=BenWa
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
3c498464ed
Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
5ce3e1c211
Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
d63b7612cb
Bug 880676 - Units.h cleanup for easier reading of future patches. r=BenWa
2013-06-14 16:11:30 -04:00
Kartikaya Gupta
d93f0bdac3
Bug 880676 - Convert some things in APZC::SampleContentTransformForFrame. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
aef5a03609
Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
fa8050e549
Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe
2013-06-11 18:13:11 -04:00
Ms2ger
5855c26d0d
Bug 880694 - Improve HTMLSelectElement::IsCombobox and use it in nsCSSFrameConstructor; r=bz
2013-06-12 09:00:08 +02:00
Ms2ger
96c3eb60de
Bug 879739 - Use CSSIntRect for nsGenericHTMLElement::GetOffsetRect; r=kats
2013-06-12 09:00:08 +02:00
Ms2ger
cec83706d9
Bug 878874 - Introduce CSSIntPoint and use it for HTMLImageElement::GetXY(); r=kats
2013-06-12 09:00:08 +02:00
Kartikaya Gupta
1d2c4c97c5
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Joe Drew
db95b0ece7
Bug 881459 - Don't include nsView.h from nsLayoutUtils.h r=jrmuizel
2013-06-10 17:00:00 -04:00
Kartikaya Gupta
752fd9f999
Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
09fbbbf606
Bug 879004 - Cleanups for consistency; no functional changes. r=BenWa, ketuckyfriedtakahe
2013-06-10 09:05:43 -04:00
Kartikaya Gupta
480d3251f0
Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa
2013-06-10 09:05:43 -04:00
Kartikaya Gupta
8cf123d18d
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
Matt Woodrow
949de08277
Backout Bug 861805 for causing Bug 871729. rs=roc
2013-06-10 12:13:10 +12:00
Timothy Nikkel
4ba5b4599e
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
Joe Drew
d9d987295b
Bug 878037 - print preview crash test for printing a bullet with an animated image. r=smaug
...
--HG--
extra : rebase_source : 2bba8a640fd6c5099fbaa7ae28970f941d27efb3
2013-06-06 13:35:41 -04:00
Drew Willcoxon
eab886ee41
Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 4: update reftests). r=ehsan
2013-06-05 17:07:55 -07:00
Rick Eyre
76072f4667
Bug 772321 - Implement CSS parsing of writing-mode r=dbaron
2013-05-28 12:00:49 -04:00
Scott Johnson
154db4f170
Bug 877160: Backout patch for bug 794693 due to regressions. [r=mats]
2013-06-04 10:43:08 -05:00
David Zbarsky
4e666d420d
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Timothy Nikkel
c3a504ac61
Bug 878612. Make sure to pass through the background painting flags through in all cases. r=matt.woodrow
2013-06-03 23:49:03 -05:00
Joe Drew
c1f4978ba3
Bug 878062 - Don't call TryOptimizeToImageLayer if we are definitely not going to optimize to an image layer, since it uses lots of memory. r=mattwoodrow
2013-06-03 10:57:06 -04:00
Kartikaya Gupta
7a734ca654
Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa
2013-06-03 09:58:34 -04:00
Kartikaya Gupta
87e727d3cd
Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa
2013-06-03 09:58:07 -04:00
Kartikaya Gupta
ad6e359f34
Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
...
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
e1db212150
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
Michael Harrison
947ff9b473
Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz
2013-06-03 08:49:38 -04:00
David Zbarsky
a6b5f8508d
Bug 788549: Fix matrix animations (patch hunk got lost in rebasing) r=dbaron
2013-06-02 13:35:17 -07:00
Tim Taubert
a3515f5036
Bug 453650 - implement reflow observers for docShells; r=bz
2013-06-01 12:00:12 +02:00
David Zbarsky
33132a9bdb
Bug 788549 Part 9: matrix() animations interpret arguments in wrong order r=dbaron
2013-05-31 11:06:56 -07:00