L. David Baron
d6992d5f88
Bug 898333, patch 1: Restyle the :after pseudo-element after the content children. r=bzbarsky
2013-09-25 12:28:07 -07:00
Mats Palmgren
ae50ca5ce4
Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert
2013-09-25 11:42:34 +00:00
Masayuki Nakano
ee772d1cbc
Bug 912956 part.18 Remove nsGUIEvent.h r=roc
2013-09-25 20:21:22 +09:00
Masayuki Nakano
18aa9b09b2
Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc
2013-09-25 20:21:19 +09:00
Masayuki Nakano
715f30b959
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
Masayuki Nakano
a362049807
Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc
2013-09-25 20:21:16 +09:00
Benoit Jacob
0f90257361
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Jonathan Watt
a4bbce1e0f
Bug 920158 - Make nsCSSFrameConstructor::ConstructFrameFromItemInternal handle frames that should suppress floating of descendants. r=bz
...
--HG--
extra : rebase_source : 3f0b806dad1c1381bd30bd25e943866415e226f2
2013-09-24 21:29:29 +01:00
Jonathan Watt
602832e7f6
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
...
--HG--
extra : rebase_source : 9be498a3ae51a4a4587c8035cb7bc58002b3a268
2013-09-24 21:29:27 +01:00
Jonathan Watt
8ee1e8e7cf
Bug 920146 - Rename NODE_IS_ANONYMOUS to NODE_IS_ANONYMOUS_ROOT to avoid misinterpretation and for symmetry with NODE_IS_NATIVE_ANONYMOUS_ROOT. r=bz
...
--HG--
extra : rebase_source : ea8c2377f1f85248239a3f6b0f6f64bfe40e44ea
2013-09-24 20:28:32 +01:00
Ryan VanderMeulen
ddd5c1bb75
Backed out changeset dec7ac293e74 (bug 782546) for breaking the test it was trying to annotate.
2013-09-24 13:45:59 -04:00
Ryan VanderMeulen
d17cc33501
Bug 782546 - Mark test_transformed_scrolling_repaints_3.html as random on Linux 64.
2013-09-24 11:56:29 -04:00
Masayuki Nakano
224a14c928
Bug 912956 part.12 All event utils (macros and inline methods) should be methods of mozilla::WidgetEvent r=roc
2013-09-24 19:04:16 +09:00
Masayuki Nakano
0b6d808310
Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
...
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Jeff Muizelaar
035e883752
Bug 916535. Avoid using repeating gradients for tiling when it won't work. r=roc
...
Avoiding normalization introduced in bug 895135 caused gradientStart/Stop to
not correspond to the firstStop and lastStop. This can cause us to incorrectly
decide to use the repeat fast path. This patch switches takes us back to the
same condition as we had before the regression.
--HG--
extra : rebase_source : f335e1db9166213115354eb14dbe90b09127a68b
2013-09-24 00:04:36 -04:00
Ehsan Akhgari
9890a8c148
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Ehsan Akhgari
39c223b372
Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc
2013-09-23 07:55:35 -04:00
Ehsan Akhgari
5dc78a019a
Bug 919355 - Part 1: Don't #include nsDeviceContext.h in nsPresContext.h; r=roc
2013-09-23 07:52:25 -04:00
Timothy Nikkel
3d5bc6688c
Bug 919129. Fix nsLayoutUtils::UpdateImageVisibilityForFrame so that it doesn't expand the image rect so much by replacing it with the scroll port rect. r=matspal
2013-09-21 16:20:22 -05:00
Matt Woodrow
bec09ce09b
Bug 907926 - Try avoid having multiple path objects around since this is slow with DrawTargetCairo. r=Bas
2013-09-19 17:23:30 +12:00
Robert O'Callahan
c2f9462ad3
Bug 913438. Remove mAnchor check since it doesn't help correct inconsistency between ImageLayer snapping and regular snapped image drawing, and can hurt performance. r=tnikkel
...
--HG--
extra : rebase_source : 5f62e052d20a9acb0a428b988e2d9b16c7b19dbc
2013-09-09 17:08:41 -07:00
Phil Ringnalda
59e3df3c1e
Backed out 2 changesets (bug 918176) for assertions
...
CLOSED TREE
Backed out changeset 9d5728797e77
Backed out changeset 1a895d95c88b (bug 918176)
2013-09-19 19:56:02 -07:00
Cameron McCormack
1c1fbf5ef6
Bug 918176 - Silence uninitialized variable warning in nsRuleNode::ComputeContentData. r=dholbert
2013-09-20 11:24:04 +10:00
Wes Kocher
b03b0b7668
Backed out 5 changesets (bug 907926, bug 911393, bug 917703) due to OSX reftest bustage during an unrelated CLOSED TREE
...
Backed out changeset 94a6733b01dc (bug 907926)
Backed out changeset 44108fb6f7cc (bug 917703)
Backed out changeset f2dd2a27af69 (bug 911393)
Backed out changeset fdb0d1053128 (bug 907926)
Backed out changeset b3616b786e8f (bug 907926)
2013-09-19 17:56:18 -07:00
Matt Woodrow
989c6f730f
Bug 907926 - Try avoid having multiple path objects around since this is slow with DrawTargetCairo. r=Bas
2013-09-19 17:23:30 +12:00
Phil Ringnalda
059782fbe5
Merge m-c to m-i
2013-09-18 23:28:41 -07:00
Phil Ringnalda
fbd6eb9d18
Backed out 10 changesets (bug 907926, bug 911393, bug 740200, bug 917703) for b2g build bustage
...
CLOSED TREE
Backed out changeset ae02054863f7 (bug 907926)
Backed out changeset 8fcdbbc2dac2 (bug 917703)
Backed out changeset aa253a1fd7e5 (bug 911393)
Backed out changeset ec63e6d6d874 (bug 907926)
Backed out changeset 0042a2722aab (bug 907926)
Backed out changeset dc8bddfca5f1 (bug 740200)
Backed out changeset 439ff7e64d35 (bug 740200)
Backed out changeset d871c0d61510 (bug 740200)
Backed out changeset 3b248c5a0dc2 (bug 740200)
Backed out changeset 3466e81d3a41 (bug 740200)
2013-09-18 23:08:41 -07:00
Wes Kocher
0d414f78a1
Merge inbound to m-c
2013-09-18 16:48:24 -07:00
Matt Woodrow
f4321dd17a
Bug 907926 - Try avoid having multiple path objects around since this is slow with DrawTargetCairo. r=Bas
2013-09-19 17:23:30 +12:00
Robert O'Callahan
294cedd09d
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
Paul Rouget
dc3c24c2ef
Backed out changeset 184a0076278b (bug 890195). Almost-perma orange
2013-09-18 17:53:15 +02:00
Ryan VanderMeulen
5be5179c2d
Merge m-c to fx-team on a CLOSED TREE.
2013-09-17 20:27:03 -04:00
Martijn Wargers
0b217fe87f
Bug 916086 - Remove some more enablePrivilege calls. r=jmaher
...
CLOSED TREE
--HG--
rename : layout/base/tests/test_bug458898.html => layout/base/tests/chrome/test_bug458898.html
2013-09-16 22:12:29 +02:00
Daniel Holbert
fc2f41d897
Bug 918109: Move some null-initialized static variables in nsLayoutUtils.cpp to function-scope. r=mats
2013-09-18 19:19:23 -07:00
Corey Ford
3fc43261c7
Bug 904197 - Use the union of continuations' rects in sticky positioning calculations. r=dholbert
...
Reftest inline-3.html fails because handling the sticky element's margin correctly will take more work; similarly, border/padding on containing-block continuations won't be handled quite right. Reftest column-contain-1a fails because some of the anonymous blocks inside an nsColumnSetFrame have 0 height.
2013-09-13 16:53:48 -07:00
Cameron McCormack
0127877d37
Bug 874507 - Make clip-path, filter, mask and opacity work on <marker> elements. r=longsonr
2013-09-16 15:06:29 +10:00
Rik Cabanier
a160602f49
Bug 902525 - Part 7: fix to turn off text anti-aliasing r=roc
2013-09-15 16:48:14 -07:00
Rik Cabanier
f7c9c54b27
Bug 902525 - Part 3: create a layer for content that stores the blend mode r=roc
2013-09-14 20:40:11 -07:00
Rik Cabanier
8c970079ca
Bug 902525 - Part 2: Create layers for isolated groups when blending is involved r=roc
2013-09-14 20:30:00 -07:00
Paul Rouget
9492494622
Bug 890195 - device-width media queries should use the page width, not the actual device width. r=bz
2013-07-17 05:08:00 +02:00
Phil Ringnalda
c396549686
Backed out 5 changesets (bug 904720, bug 915757, bug 902909) for b2g bustage
...
CLOSED TREE
Backed out changeset 2980ed8667f3 (bug 902909)
Backed out changeset 8c6ea94c7a9e (bug 902909)
Backed out changeset 2cd9d6be6dc2 (bug 902909)
Backed out changeset c00c7a77c130 (bug 904720)
Backed out changeset e385645fb787 (bug 915757)
2013-09-15 22:48:30 -07:00
Kyle Huey
d2a1d81ffa
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-09-16 09:06:02 +08:00
Ehsan Akhgari
d5d3a9ae84
Bug 916610 - Minimize the #includes in layout/style; r=roc
2013-09-15 21:06:52 -04:00
Ryan VanderMeulen
336d08aee2
Backed out 7 changesets (bug 902525) for B2G reftest failures.
...
Backed out changeset bbca63772c83 (bug 902525)
Backed out changeset edb386989dbd (bug 902525)
Backed out changeset 3137dadb4fcd (bug 902525)
Backed out changeset e562afcb3c89 (bug 902525)
Backed out changeset 8ef3a516bd68 (bug 902525)
Backed out changeset 520fcd422150 (bug 902525)
Backed out changeset 4e553e8da44e (bug 902525)
2013-09-15 18:59:27 -04:00
Rik Cabanier
9e7b0cbff4
Bug 902525 - Part 7: Fix to turn off text anti-aliasing. r=roc
2013-09-15 16:24:57 -04:00
Rik Cabanier
9f1afe3eea
Bug 902525 - part 3: Create a layer for content that stores the blend mode. r=roc
2013-09-15 16:24:16 -04:00
Rik Cabanier
b58954693a
Bug 902525 - Part 2: Create layers for isolated groups when blending is involved. r=roc
2013-09-15 16:24:06 -04:00
Timothy Nikkel
6193557598
Bug 847223. Part 10. Make the new code work when we have the image visibility analysis prefed off. r=mats
2013-09-14 19:05:06 -05:00
Timothy Nikkel
5a0f35ceaa
Bug 847223. Part 6. Use the first reflow of relevant image frames to add/remove them from the visible list. r=mats
2013-09-14 19:05:05 -05:00
Timothy Nikkel
6099e77b01
Bug 847223. Part 5. Make AssumeAllImagesVisible usuable outside of PresShell. r=mats
2013-09-14 19:05:05 -05:00
Timothy Nikkel
dc31dc79cb
Bug 847223. Part 2. Add a function to remove an image from the visible list. r=mats
2013-09-14 19:05:04 -05:00
Timothy Nikkel
5da4fdfe20
Bug 847223. Part 1. Use a hashtable instead of an array to store list of visible images on the presshell. r=mats
2013-09-14 19:05:04 -05:00
Masayuki Nakano
8f393ec07c
Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc
2013-09-14 11:39:41 +09:00
Ryan VanderMeulen
8dcb23387e
Merge m-c to b2g-inbound.
2013-09-13 16:11:28 -04:00
Botond Ballo
9a202d2a4e
Bug 914825 - Compute FrameMetrics::mCompositionBounds correctly for the root scroll frame. r=tn
2013-09-10 17:47:14 -04:00
Corey Ford
9f2ee21577
Bug 897105 - Part 4: Build display items and layers for sticky positioned elements. r=roc
2013-09-12 18:56:57 -07:00
Robert O'Callahan
11cb51eb99
Bug 906643. Part 5: Add nsIPresShell::AddPostRefreshObserver/RemovePostRefreshObserver. r=mats
2013-08-26 11:57:45 +12:00
Robert O'Callahan
e3f448411b
Bug 906643. Part 1: Add nsRefreshDriver::Add/Remove/PostRefreshObserver so we can receive notifications when a refresh has occurred, without triggering one. r=dbaron
...
--HG--
extra : rebase_source : fbfdd2678f4561f421fda2eb17e9e7ae8754f8d3
2013-08-20 01:08:44 +12:00
Tom Schuster
195b18c157
Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug
2013-09-12 15:24:11 -04:00
Ryan VanderMeulen
9283daa4fd
Merge b2g-inbound to m-c.
2013-09-11 20:58:14 -04:00
Kartikaya Gupta
7ea9a2c18b
Bug 912806 - Special-case the resolution behaviour on Fennec to work around other bugs. r=tn
2013-09-11 18:17:20 -04:00
Botond Ballo
13d4e37c9e
Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats
2013-09-05 18:26:59 -04:00
Martijn Wargers
b489a617dd
Bug 914089 - b2g.json cleanup and reorder, part 3. r=jmaher
2013-09-11 13:52:42 +02:00
Kartikaya Gupta
abd5cb0f8b
Bug 909281 - Add some strongly-typed conversion functions for margins and use them in RecordFrameMetrics. r=BenWa
2013-09-11 13:20:43 -04:00
Nicholas Nethercote
fd238cabbe
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Jeff Muizelaar
c18eea3d30
Bug 908726. Add AppUnits.h so we don't need nsDeviceContext.h for AppUnitsPerCSSPixel(). r=ehsan
2013-09-06 16:15:04 -04:00
Ed Morley
50ba829a39
Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Nethercote
9d7bc3d7f1
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Benoit Jacob
5479e2b22e
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Benoit Jacob
8dc80c7e0c
Bug 913603 - Trim nsRect.h - r=jrmuizel
2013-09-06 22:14:27 -04:00
Ryan VanderMeulen
62156c1cd4
Merge inbound to m-c.
2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
66630c23e9
Merge m-c to b2g-inbound.
2013-09-06 18:01:09 -04:00
Bobby Holley
0fcc3886ab
Bug 912322 - Fix tests. r=bz
...
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07: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
Daniel Holbert
d7bc491639
Bug 913247 followup: Remove superfluous call to imagesToRefresh.Clear(). rs=bz
2013-09-06 10:57:40 -07:00
Ed Morley
9bfc81af4d
Merge mozilla-central and b2g-inbound
2013-09-06 16:24:22 +01:00
Botond Ballo
410f65165c
Bug 913205 - Compute offset of FrameMetrics::mCompositionBounds correctly. r=tn
2013-09-05 18:36:07 -04:00
Ms2ger
158740a338
Bug 774124 - Part b: Add include-what-you-use annotations to nsDisplayItemTypes.h and nsDisplayItemTypesList.h; r=roc
2013-09-06 08:40:30 +02:00
Ms2ger
db90573f0e
Merge m-c to inbound.
2013-09-06 12:31:58 +02:00
Markus Stange
6ebf300a4f
Bug 912953 - Use consistent rounding for the scroll offset transform. r=roc
2013-09-06 11:28:34 +02:00
Markus Stange
f6f7290494
Bug 912953 - Apply the scroll offset transform to inactive layer managers for LAYER_SVG_EFFECTS, too. r=roc
2013-09-06 11:28:02 +02:00
Daniel Holbert
c122699022
Bug 913247: Don't call imgIContainer::RequestRefresh during hashtable enumeration. r=jwatt
2013-09-06 09:48:26 +01:00
Corey Ford
1b743eac38
Bug 886646 - Part 1: Support position:sticky in the CSS parser, enabled by a preference. r=heycam
2013-09-05 15:47:08 -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
Phil Ringnalda
3914af6be4
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Phil Ringnalda
cf2028664c
Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage
2013-09-04 21:49:16 -07:00
Nicholas Nethercote
86b7ae4c3a
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Bobby Holley
e903e0f569
Bug 912322 - Fix tests. r=bz
...
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Botond Ballo
8991615154
Bug 904533 - Compute FrameMetrics::mCompositionBounds correctly for subframes. r=tn
2013-08-30 13:22:33 -04:00
Georg Fritzsche
682e0d1143
Bug 899080 - Test fixup part 5 - layout. r=roc
2013-09-04 16:07:53 +02: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
Ed Morley
f509dcbf07
Merge mozilla-central and inbound
2013-09-04 16:53:03 +01:00
Ed Morley
18a47a0e8e
Merge latest green inbound changeset and mozilla-central
2013-09-04 12:54:46 +01:00
Jonathan Watt
01b166fcef
Bug 907503 - Fix invalidation for SMIL animation in SVG-as-an-image. r=roc
2013-09-04 11:39:31 +01:00
Robert O'Callahan
e7a331a54e
Bug 909603. Remove invalid assertion. r=tn
2013-09-04 16:44:48 +12:00
Ryan VanderMeulen
c6e97adff4
Merge m-c to b2g-inbound.
2013-09-03 17:44:34 -04:00
Kartikaya Gupta
e928b156af
Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:24 -04:00
Kartikaya Gupta
c1c69a59bf
Bug 910322 - Strongly type the zoom factors in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:23 -04:00
Blake Kaplan
9225fd4fbb
Bug 860123 - Use the right window's selection in some tests; r=ehsan
2013-09-03 15:01:00 -04:00
Nicholas Cameron
a937f9cc25
BUg 910160. IWYU for gfx/src. r=roc
2013-09-02 10:21:01 +12:00
Ryan VanderMeulen
50d75135b0
Merge m-c to b2g-inbound.
2013-08-30 13:42:41 -04:00
Kartikaya Gupta
f5f0ff5641
Bug 907754 - Ensure that the zoom on the FrameMetrics is initialized correctly for all frames. r=tn
...
RecordFrameMetrics gets called on a variety of layers. Previously it would
incorrectly set mZoom for a number of these layers. For scrollable container
layers inside the main document, it would set the mResolution from the
presShell's resolution, thus compounding the painted resolution.
Furthermore, for iframes inside the document, it would assign mZoom the
value from TabChild's mLastMetrics, which is only meant to apply to the
top-level document. Prior to multi-apzc work these values were never used
so it didn't matter but now they are so they should be assigned correctly.
2013-08-30 13:11:01 -04:00
Masayuki Nakano
4a9d769635
Bug 910156 Add AssignKeyEventData() and AssignMouseEventData() for sharing the code in nsDOMEvent::DuplicatePrivateData() and nsDelayed*Event r=smaug
2013-08-30 11:10:32 +09:00
Timothy Nikkel
e870d6f974
Bug 910529. Part 2. In nsLayoutUtils::PaintFrame, display port and ignoring viewport scrolling should only happen when we are drawing the root frame. r=matt.woodrow
2013-08-28 22:38:15 -05:00
Timothy Nikkel
0e119dfb25
Bug 910529. Part 1: Remove second unneeded declaration of rootScrollFrame in nsLayoutUtils::PaintFrame. r=matt.woodrow
2013-08-28 22:37:42 -05: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
Brian O'Keefe
0ee041b9fd
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
9c0eab254b
Bug 831193 (part 14) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in layout/. r=jlebar.
...
--HG--
extra : rebase_source : 371e32e98e3c36daa5d70c40bace457d7072ddaa
2013-01-17 16:45:12 -08:00
Mark Banner
7251ececf1
Bug 909870 nsIContentViewerFile::printWithParent is unused. r=bz
2013-08-28 08:28:03 +01:00
Justin Lebar
4aeeb65d91
Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
...
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Tom Schuster
6bbb683509
Bug 905441 - Load style sheets from the parent into the child. r=bz
2013-08-27 13:10:39 -04:00
Martijn Wargers
173f9f5ada
Bug 909043 - test_reftests_with_caret.html failing on b2g mochitest because of spellcheck test. r=ehsan
2013-08-26 17:46:42 +02:00
Avi Halachmi
5bc68011b2
Bug 858737 - check monotonic arg of requestAnimationFrame instead of the prefixed version. r=roc
2013-08-26 02:39:53 +03: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
9b11a89362
Bug 908778 - Don't #include nsRegion.h in nsIFrame.h; r=mats
2013-08-23 18:16:38 -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
Nicholas Cameron
ec36fa0912
Bug 893330. Invalidate the frame area for box shadow display list items with border radius. r=mattwoodrow
2013-08-23 13:47:54 +12:00
Bill McCloskey
67aa4665dd
Bug 907495 - Scrollbars cause content to be shifted in e10s (r=kats,mattwoodrow)
2013-08-22 13:18:11 -07:00
Kartikaya Gupta
0089237c64
Bug 907906 - Finish templating the gfx::Margin type, and add a gfx::IntMargin type to go with it. r=Cwiiis
2013-08-22 12:41:51 -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
Ehsan Akhgari
d57def1e9f
Bug 681152 - Disable bug512295-1.html on all platforms because of intermittent failures
...
Landed on a CLOSED TREE with RyanVM's blessing
2013-08-21 11:07:03 -04:00
Bill McCloskey
d827fa534c
Bug 907489 - PresShell::HandleEvent() never initializes its "flags" variable (r=mattwoodrow)
2013-08-20 18:35:18 -07:00
Ehsan Akhgari
d703cca0e3
Bug 906790 follow-up: Unbreak ASAN builds
2013-08-20 17:48:00 -04: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
Ehsan Akhgari
c2ce7e67ab
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
James Kitchener
20c9e8a036
Bug 827713 - Use mmultiscripts to handle all script shift elements. r=fredw
2013-08-19 09:11:50 -04:00
Wes Kocher
26854193d4
merge b2g-inbound to central
2013-08-16 15:30:59 -07:00
Kartikaya Gupta
9f500493a9
Bug 901962 - Allow touch events to hit targets outside the CSS viewport. r=roc
2013-08-16 08:29:46 -04:00
Botond Ballo
cc9d060ff1
Bug 895905 - Eliminate some of the special handling of ROOT_SCROLL_ID. r=kats, r=tn
2013-08-08 15:56:08 -04:00
Botond Ballo
c7e59f7954
Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats
2013-08-08 15:56:08 -04:00
L. David Baron
38b264af07
Bug 893308: Move hashtable of @keyframes rules (keyed by name) from nsAnimationManager to RuleCascadeData. r=heycam
2013-08-14 21:58:37 -07:00
Robert O'Callahan
a97288e546
Bug 900785. Part 2: Make nsRefreshDriver use the WinUtils DWM APIs instead of loading the DLL itself. r=avih
2013-08-15 16:25:58 +12:00
Ms2ger
6c3982af30
Merge m-c to inbound.
2013-08-14 14:47:39 +02:00
Ms2ger
106e39af77
Bug 904030 - Remove unnecessary make rules in layout/base/Makefile.in; r=glandium
2013-08-14 09:00:29 +02:00
Ms2ger
0c3b97da57
Bug 901063 - Remove HB_DONT_DEFINE_STDINT defines; r=gps
...
These defines have been unnecessary since we removed mozilla/StandardInteger.h.
The upstream code will default to stdint.h typedefs without them.
2013-08-14 08:57:22 +02: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
Ryan VanderMeulen
a9619b4c64
Merge m-c to b2g-inbound.
2013-08-13 15:38:58 -04:00
Kartikaya Gupta
d8c768311d
Bug 902888 - Fix coordinate system mismatch with pre-Honeycomb plugins on Android. r=snorp
...
The plugin code was returning a rect in LayoutDevicePixels whereas Java
was treating it as a CSS-pixel rect. This patch makes the types more
explicit and adds a conversion in AndroidBridge to convert from the
LayoutDevicePixels to CSSPixel rects.
2013-08-13 11:49:21 -04:00
Kan-Ru Chen (陳侃如)
78cb6892fb
Bug 845169 - Add test case test_remote_passpointerevents.html r=roc
2013-08-08 15:43:59 +08: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
cc1f5b7f03
Bug 898913 - Look for the floating first-letter frame to remove on the kPushedFloatsList too. r=dholbert
2013-08-10 23:00:46 +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
ca83e38918
Bug 904540 - Don't #include nsRefreshDriver.h in nsPresContext.h. r=roc
2013-08-14 13:29:51 +02: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
Nicholas Cameron
5c3ac83aa6
Bug 899884. Take into account the app unit to dev pixel ratio when reusing mask layers. r=roc
2013-08-09 21:42:05 +12:00
Corey Ford
894f250f52
Bug 901610 - Use nsStyleDisplay::IsRelativelyPositioned in constructing frames for IB splits. r=dbaron
2013-08-07 16:30:34 -07:00
Neil Deakin
0f0430de5b
Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan
2013-08-07 14:52:38 -04:00
Benoit Girard
5d7998f39f
Bug 873378 - Add a limit on mobile of 20 layers per container layer. r=roc
2013-07-16 16:17:18 -04:00
Ryan VanderMeulen
7c6cdde735
Merge m-c to inbound.
2013-08-06 17:07:23 -04:00
Ryan VanderMeulen
569226ba78
Merge m-c to fx-team.
2013-08-06 14:23:55 -04:00
Ryan VanderMeulen
1ff98491e9
Merge m-c to inbound.
2013-08-06 14:24:39 -04:00
Mats Palmgren
d8c7a2d3c5
Bug 873083 - Re-enable the 813372-1.html crashtest. r=ryanvm
2013-08-06 12:43:41 -04:00
Mats Palmgren
e9ea9fcfb5
Bug 874073 - Re-enable the 852293.html test and disable the real culprit, 802902.html. r=ryanvm
2013-08-05 23:14:06 +00:00
Wes Johnston
78b040e4ca
Bug 901117 - Positioned event targetting should fluff even if there are body event listeners. r=tn
2013-08-05 11:25:27 -07:00
Tim Abraldes
43f4a03e54
bug 864247. If PermitUnload is called while another PermitUnload is being processed, simply allow the unload to happen. r=roc
2013-08-05 23:29:55 -07:00
Karl Tomlinson
48dac2e5b6
b=893523 clamp CSS pixel to nscoord conversion to nscoord_MIN,MAX r=roc
...
--HG--
extra : transplant_source : P%87%C2l%86%9AWu%CD%06%E5%22%D3%88/%80a%CE%80p
2013-08-05 14:58:41 +12:00
Matt Brubeck
5342ab9b44
Bug 901175 - Test to verify that covered elements are not clickable [r=roc]
2013-08-03 09:01:49 -07:00
Timothy Nikkel
4a491c37be
Bug 901175. Properly handle when the frame has an empty intersection with the exposed region for events. r pending roc
2013-08-03 00:46:19 -05:00
Cameron McCormack
975a0a23c3
Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron
2013-08-03 14:11:06 +10:00
Avi Halachmi
7de7d90131
Bug 888899 - Part 2 - Uses layout.frame_rate=0 for ASAP mode instead of 10k. r=jrmuizel
2013-08-02 23:29:57 +03:00
Ms2ger
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
f28bde905f
Bug 900096 - Cleanup Touch some; r=dzbarsky
2013-08-02 09:06:35 +02:00
Ms2ger
625b832e4f
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Ms2ger
65b9d384bf
Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc
2013-08-02 09:04:22 +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
Nicolas Silva
f46dc128f3
Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa
2013-08-02 01:02:06 +02:00
David Zbarsky
4fa5d9c4b0
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-08-01 15:24:24 -07:00
Timothy Nikkel
9170934245
Bug 900662. Pass sync decode flags through moz-element painting so images inside moz-element work correctly with reftests. r=mstange
2013-08-01 15:42:34 -05:00
David Zbarsky
93caf8a63e
backout Bug 893117 for mochitest failure
2013-08-01 01:54:09 -07:00
David Zbarsky
aa2fc03e9f
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-07-31 23:12:40 -07:00
Nicholas Cameron
f0ce281635
Bug 897787. Use background-size in preference to background positioning area size for a background-image's preferered size. r=roc
2013-08-01 16:22:40 +12:00
Alex Xu
59fcd38f0a
Bug 900284: Use #ifdef ACCESSIBILITY around member variables only used inside #ifdef ACCESSIBILITY, to avoid clang warnings (and reduce object size with --disable-accessibility). r=dbaron
2013-07-31 19:15:19 -07:00
Timothy Nikkel
156274f060
Bug 900214. Remove unused aFlags argument to nsImageRenderer::Draw. r=nrc
...
Instead use mFlags.
2013-07-31 17:09:30 -05:00
Corey Ford
df05870c1e
Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron
2013-07-30 21:01:06 -07:00
Nicholas Cameron
a2cdf1ab09
Bug 895873 - backout bug 893117 for Win8 mc bustage
2013-07-30 23:32:35 -04:00
Cameron McCormack
f4ab75b068
Bug 899385 - Update comments that incorrectly state nsIPresShell::AllocateBlah are fallible. r=dbaron
2013-07-31 10:52:32 +10:00
L. David Baron
17fe37d76a
Bug 898329 patch 10: Fix wrapping of comment that I just reintended. r=heycam
2013-07-30 17:36:12 -07:00
L. David Baron
9d6733d78c
Bug 898329 patch 9: Fix indentation from previous patches. r=heycam
2013-07-30 17:36:12 -07:00
L. David Baron
9b7ac3d29e
Bug 898329 patch 8: Use for loops instead of while loops for iterating extra style contexts. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
016d6d8b55
Bug 898329 patch 7: Split ElementRestyler::Restyle into multiple functions. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
720d37a092
Bug 898329 patch 6: Avoid using pseudoTag outside of what will be in RestyleManager::RestyleSelf. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
372c024c0e
Bug 898329 patch 5: Create and use ElementRestyler::mResolvedChild. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
0d0cdd5410
Bug 898329 patch 4: Avoid using newContext outside of what will be in RestyleManager::RestyleSelf. r=heycam
...
This replaces newContext with mFrame->StyleContext(), which is a valid
replacement since all of the replacements are inside a test that we
don't have a framechange hint. If we have a framechange hint, then
mFrame still has its old style context.
2013-07-30 17:36:11 -07:00
L. David Baron
8c39cda548
Bug 898329 patch 3.5: Don't check undisplayed content if we're going to reframe. r=heycam
...
This avoids doing work that is unnecessary; if we're going to reframe
anyway, the frame destruction will clear the undisplayed content list,
and we'll then rebuild it when we recreate the frame (if needed).
It is also a prerequisite for patch 4, which replaces some uses of
newContext with mFrame->StyleContext(). These are the same as long as
we don't have a framechange hint, since when we do have a framechange
hint we leave the old style context on the frame to avoid violating
invariants. This patch ensures that all such uses replaced in patch 4
are actually inside a check that we don't have a framechange hint.
(Most of them already were.)
2013-07-30 17:36:11 -07:00
L. David Baron
069d654106
Bug 898329 patch 3: Create and use ElementRestyler::mWasFrameVisible. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
6edf3e771d
Bug 898329 patch 2: Fix indentation in ReParentStyleContext from patch 1. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
7b10df02a0
Bug 898329 patch 1: Remove null-checks on oldContext and newContext and avoid manual reference counting. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
aee2be3fd9
Bug 898209 patch 15: Use constructor flags on ElementRestyler's regular constructor to avoid manipulating mHintsHandled from the outside. r=heycam
...
This is the second of two patches added on top to address review
comments on patch 2.
2013-07-30 17:36:10 -07:00
L. David Baron
07bdb25977
Bug 898209 patch 14: Add constructor flags to ElementRestyler's regular constructor so we can avoid manipulating mHintsHandled from the outside. r=heycam
...
This is the first of two patches added on top to address review comments
on patch 2.
2013-07-30 17:36:10 -07:00
L. David Baron
8c05c48f7d
Bug 898209 patch 13: Create and use ElementRestyler::mTreeMatchContext. r=heycam
2013-07-30 17:36:10 -07:00