Commit Graph

14614 Commits

Author SHA1 Message Date
Kyle Huey
30cef0f1d5 Merge m-c to b-s. 2012-08-14 11:14:40 -07:00
Ehsan Akhgari
805b10b6d6 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Kyle Huey
4dcafaedea Bug 697230: Part 3 - Make style images block onload. r=bz 2012-08-13 16:04:17 -07:00
Kyle Huey
0cc1c18795 Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-08-13 15:04:19 -07:00
Kyle Huey
3e8f37baab Bug 697230: Part 0 - Make table frame classes call into their superclass in DidSetStyleContext. r=bz 2012-08-13 14:13:34 -07:00
David Anderson
7ef28ac5ac Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Kyle Huey
f8ba220f4b Bug 685516: Disable a bunch of failing tests on Android XUL. r=jrmuizel 2012-08-13 11:22:11 -07:00
Matt Woodrow
79137e0a05 Bug 780868 - Only reuse MaskLayers on LayerManagers with the same backend type. r=nrc 2012-08-13 22:11:40 +12:00
Matt Woodrow
8dc586057a Bug 539356 - Add to pref to disable painting from the refresh driver. r=roc 2012-08-13 22:11:33 +12:00
Matt Woodrow
5b782df2fa Bug 781362 - Delay the start time of some SVG animation reftests to prevent intermittent failures. r=dholbert 2012-08-13 22:11:32 +12:00
Matt Woodrow
383f47e35e Bug 539356 - Part 33 - Change test-overflow/single-value reftest to use MozReftestInvalidate. r=roc 2012-08-13 22:11:16 +12:00
Matt Woodrow
7f18c01d05 Bug 539356 - Part 32 - Change some SVG deferred animation tests to not require calling GetBaseValue. r=dholbert 2012-08-13 22:11:02 +12:00
Matt Woodrow
c9d19fc306 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Aryeh Gregor
6a9cec29c8 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Chris Pearce
fc75b382a6 Bug 782517 - Make nsFrame:MakeFrameName() annotate an iframe's src. r=roc 2012-08-14 17:39:11 +12:00
Chris Pearce
e847557147 Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Chris Pearce
80a5c4e003 Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc 2012-08-14 16:06:42 +12:00
Simon Montagu
3c9b427025 Don't split inline ancestors of bidi frames if we don't have any child frames after the split. Bug 779003, r=roc 2012-08-13 20:51:36 -07:00
Timothy Nikkel
f81eea2fd8 Bug 781086. Accidentally misplaced argument meant we were getting the min size instead of the pref size causing scroll bars to appear where they shouldn't. r=roc 2012-08-13 21:59:44 -05:00
Chris Lord
6bdbf9e99e Bug 777260 - Fix invalidations on transform items in container layers. r=roc
Since Bug 758620, it's possible for an nsDisplayTransform to appear as the
child of a container layer. This caused problems when it was inactive, as the
invalidation would not be transformed in this case.

Fix this in FrameLayerBuilder by mandating that InvalidateThebesLayerContents
takes the untransformed invalidation and apply the transform in
BuildContainerLayer.
2012-08-13 22:54:38 -04:00
Chris Lord
669a81223c Bug 777260 - Respect LAYER_ACTIVE_FORCE in ChildrenCanBeInactive. r=roc
ChildrenCanBeInactive returns false if any child items have active layer states,
but was only checking LAYER_ACTIVE and not LAYER_ACTIVE_FORCE.
2012-08-13 22:54:09 -04:00
David Anderson
efd9a9feee Merge from mozilla-central. 2012-08-10 14:50:20 -07:00
Alexandros Chronopoulos
b42d0e9db4 Bug 748144 - Support multichannel Opus files. r=rillian
The Opus audio format supports multichannel (surround) audio, but our initial implementation used a simpler API which only supported mono and stereo output.

To handle these files gracefully, this patch uses the multichannel api and downmixes the output, if possible, to stereo, since we don't currently support surround sound playback.
2012-08-09 15:53:23 -07:00
Ryan VanderMeulen
870142e530 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
fef53e910a Bug 719320 part.11 Fix new test failures r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
9cd0b82303 Bug 719320 part.8-10 Remove the code handling legacy mouse events in layout r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
5ef8537b0b Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
c748a0f833 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Scott Johnson
a126fbce3c Bug 777089: Add preference to control the function used to map specified font sizes to inflated font sizes. [r=dbaron] 2012-08-11 13:33:36 -05:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Andrew Halberstadt
8eadf46d4b Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00
David Anderson
b620fb6c5c Merge from mozilla-central. 2012-08-09 13:41:13 -07:00
Ed Morley
61bd42dc2d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
26217245c9 Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg 2012-08-09 09:10:13 +02:00
Ms2ger
a10183dff5 Bug 780387 - Part e: Stop using PRSize; r=bsmedberg 2012-08-09 09:10:11 +02:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Neil Deakin
9b35869d1b Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin 2012-08-13 15:05:34 -04:00
L. David Baron
96bf24466d Update syncing directory location in README. (No bug, DONTBUILD) 2012-08-13 10:48:16 -07:00
David Anderson
c9ca5124db Merge from mozilla-central. 2012-08-08 15:09:49 -07:00
Ehsan Akhgari
5b76a146bc Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
2795937cf4 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

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 "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ed Morley
a227f14256 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-22 10:28:02 +01:00
Ryan VanderMeulen
f1085efff7 Merge the last PGO-green inbound changeset to m-c. 2012-08-21 21:59:12 -04:00
David Zbarsky
5c1df7f323 Move mStyleRule and mStyleRuleRefreshTime from ElementAnimations/ElementTransitions to CommonElementAnimationData, no bug, r=dbaron over irc 2012-08-21 21:48:47 -04:00
David Zbarsky
bd4bdc3b0a Bug 784239 - Perform async animations even when not all properties can be asyncified r=roc 2012-08-21 21:48:47 -04:00
Olli Pettay
91f7a34c34 Bug 783015 - Chrome refreshdriver runs all the time, r=khuey 2012-08-21 16:14:06 -07:00
Ehsan Akhgari
878ac92bd4 Bug 688575 - Disable layout/base/tests/bug482484.html on Windows because of focus issues which cause it to fail intermittently 2012-08-21 15:05:25 -04:00
Ehsan Akhgari
ec3a2c158e Bug 689435 - Disable layout/base/tests/bug644428-1.html on Windows because of focus issues which cause it to fail intermittently
--HG--
extra : rebase_source : bac1343efa68c1833ce517bb7b63a61406ace14e
2012-08-21 14:01:21 -04:00
Andrew Halberstadt
a8758eb38d Bug 778072 - Add pref for reftests to use iframe mozbrowser. r=cjones 2012-08-17 11:45:39 -04:00
Ryan VanderMeulen
6388776acb Merge m-c to inbound. 2012-08-21 18:23:36 -04:00
David Anderson
3ffd33a2cb Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
David Zbarsky
5b8ee4d5ca Fix 2 logging calls I added today to also log the element and it's id, no bug, r=me 2012-08-26 00:14:31 -04:00
David Zbarsky
e0fe5ae49b Bug 785657 - Enable async animations in content processes r=cjones 2012-08-25 21:27:28 -04:00
David Zbarsky
6a9972f334 Bug 785648 - Improve OMTA logging r=cjones 2012-08-25 21:27:28 -04:00
Yury
f71d14e548 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-25 17:18:44 -04:00
Ryan VanderMeulen
95954c36f5 Bug 778413 - Move and rename the reftest. irc-r=dbaron
--HG--
rename : layout/reftests/table-bordercollapse/minimum_cell_width_calculation-ref.html => layout/reftests/table-width/cell-pref-width-border-box-ref.html
rename : layout/reftests/table-bordercollapse/minimum_cell_width_calculation-Border-Box.html => layout/reftests/table-width/cell-pref-width-border-box.html
2012-08-25 17:18:43 -04:00
Tal Aloni
58929c9029 Bug 778413 - Minimum cell width calculation reftest. r=dbaron 2012-08-25 12:30:47 +02:00
David Zbarsky
cfba0649e3 Fix virtual dtor warning, no bug, blanker r=bz 2012-08-25 12:33:51 -04:00
David Zbarsky
c0abf990e3 Bug 780692 Part 0: Make sure frames that have async animations are marked as having active layers r=roc 2012-08-25 10:52:30 -04:00
David Anderson
9c45c01c55 Merge from mozilla-central.
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
Dave Hylands
643b381f6b Bug 777259 - Launch VolumeService earlier to prevent races on retrieving Volume information 2012-08-09 20:40:05 -07:00
David Anderson
ac219f63e6 Merge from mozilla-central. 2012-08-03 18:58:30 -07:00
Mats Palmgren
6a7102e955 Bug 780661 - Update mDropdownCanGrow also when the position is currently outside viewport to allow a resize later at a different position. Also, don't call PositionFrameView unless the position really changed to avoid infinite number of calls to AbsolutelyPositionDropDown (via nsResizeDropdownAtFinalPosition event from NotifyGeometryChange). r=roc 2012-08-15 04:28:23 +02:00
Masayuki Nakano
a2e9895dca Bug 422132 Store unused fractional scroll amount for later wheel events r=smaug 2012-08-15 09:52:07 +09:00
Ben Turner
e845bbd74b Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 07:15:36 -07:00
Ehsan Akhgari
65c5e19c37 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Ed Morley
6c2f1a70b4 Merge mozilla-central to mozilla-inbound 2012-09-06 12:18:37 +01:00
Ed Morley
c6d2c20860 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-06 10:19:16 +01:00
Ms2ger
c9e479fb63 No bug - Remove useless layout/reftests/Makefile.in; r=ted 2012-09-06 09:25:05 +02:00
Ms2ger
d653d11db3 Bug 787412 - HTMLOptionElement.prototype.text should use do a deep tree traversal; r=mounir 2012-09-06 09:25:05 +02:00
Ms2ger
6b95df10bb Bug 782070 - Remove NS_NewPagePrintTimer and nsPagePrintTimer::Init; r=roc 2012-09-06 09:14:49 +02:00
Thaddee Tyl
a7072eee3d Bug 781032 - Fix a crash in CSSParserImpl::SetDefaultNamespaceOnSelector by creating the nsCSSParser at a valid spot. r=bz 2012-09-05 19:10:55 -04:00
Andrew Quartey
630769d107 Bug 688895 - Add null check for widget in nsXULPopupManager::ShowTooltipAtScreen r=tn 2012-09-05 21:36:15 -04:00
John Schoenick
6c657c7493 Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
Mats Palmgren
90308eda3d Bug 783405 - Remember the y-positions used for estimating space above and below for the dropdown. r=smaug,roc 2012-09-06 02:17:57 +02:00
Ben Turner
7da534684f Backout d8d15eedf9ec for build failures 2012-09-06 01:11:11 -07:00
Ben Turner
bf23997cbc Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 00:45:20 -07:00
Cameron McCormack
e49fc28c3e Bug 655877 - Part 46: Test fix due to subpixel AA not being used for SVG text with strokes. r=longsonr 2012-09-06 16:07:53 +10:00
Cameron McCormack
f67c31f887 Bug 788940 - Add more dilation to fallback-color-04. r=longsonr 2012-09-06 16:07:53 +10:00
L. David Baron
9b981650b2 Remove the easy-to-remove uses of enablePrivilege in layout/base/tests/. (Bug 788603) r=roc 2012-09-05 22:43:21 -07:00
Edwin Flores
c9b7fa7aa5 Bug 719286 - Tests for change in OpenType-in-SVG font format r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
40d5fcfc5c Bug 719286 - Tests for -moz-objectValue keyword in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
b3d28df81b Bug 719286 - Tests for -moz-objectFillOpacity and -moz-objectStrokeOpacity r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
8af4acb791 Bug 719286 - Test for SVG glyph clipping r=jfkthame 2012-09-06 16:58:47 +12:00
Edwin Flores
c780416407 Bug 719286 - Tests for objectfill and objectstroke paint values r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
f3a2dd3ee1 Bug 719286 - Test for basic OpenType SVG functionality r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
2c2aeed21d Bug 719286 - Make SVG glyphs play nice with displaylist code r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
8e909b227f Bug 719286 - Use -moz-objectValue keywords in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
8a6015cf0d Bug 719286 - Add support for -moz-objectValue keyword to CSS parser for SVG glyphs r=dbaron 2012-09-06 16:58:47 +12:00
Edwin Flores
44ac7386ef Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to SVG *-opacity fields in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
582af889e5 Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to CSS parser for SVG glyphs r=dbaron 2012-09-06 16:58:46 +12:00
Edwin Flores
4f5ff9488d Bug 719286 - Add _moz_cairo_get_font_matrix to symbols.def.in 2012-09-06 16:58:46 +12:00
Edwin Flores
43c1f6c245 Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
67581ebf40 Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
32d64789ec Bug 719286 - Add support for objectfill and objectstroke values to CSS parser r=dbaron 2012-09-06 16:58:46 +12:00
Edwin Flores
9840b20db1 Bug 719286 - Add -moz-is-glyph media feature for setting default values for SVG glyphs in the browser SVG style sheet r=dbaron 2012-09-06 16:58:44 +12:00
Nicholas Cameron
ba517de324 Bug 786817. Initialise ThebesDisplayItemLayerUserData::mMaskClipCount. r=roc 2012-09-06 16:07:53 +12:00
David Zbarsky
e4101ad4dc Bug 779385 - Help CSS authors diagnose why animations aren't async r=cjones 2012-08-02 23:32:13 -07:00
Frédéric Wang
b9037fc8ce Bug 781494 - Remove dead code from nsGlyphTable::ElementAt. r=karlt 2012-08-10 11:29:59 -04:00
Frédéric Wang
531b9bee74 Bug 781494 - Change line length in nsMathMLChar to be 80 characters or less. r=karlt 2012-08-10 11:29:59 -04:00
Frédéric Wang
6e60458a7a Bug 781494 - Remove dead code from nsMathMLChar. r=karlt 2012-08-10 11:29:59 -04:00
Ed Morley
10b5d6d4ac Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html 2012-08-10 14:50:43 +01:00
Robert O'Callahan
bed323fe4c Backing out f89374c446c2 for build bustage (bug 691591) 2012-08-10 23:55:51 +12:00
Robert O'Callahan
1fd3d80a86 Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
--HG--
extra : rebase_source : eceb07d8d35e0dd5dd31d065cb04eec12d69a283
2012-08-10 23:17:06 +12:00
Robert O'Callahan
5c9261ecc4 Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
--HG--
extra : rebase_source : 4bc4f5fc7b5c9e621518e9f8c574259ea0de3b0a
2012-08-10 23:16:49 +12:00
Robert O'Callahan
56240533ed Bug 779399. Scale gradient cell to exactly fill snapped rect. r=jrmuizel
We need to make sure that when we snap the fillRect, we also adjust the scaling
of the gradient so it exactly fills the snapped tileRect.

--HG--
extra : rebase_source : f967398e3b327dff8fcfbd2fc95f2e4eae8ae9d7
2012-08-10 23:10:12 +12:00
Jonathan Kew
0f3953fc35 bug 769303 - precompute intrinsic width of floats. r=roc 2012-08-10 12:16:52 +01:00
Cameron McCormack
3aadfa1590 Bug 655877 - Part 39: Get bounding boxes of SVG text using new text frames correctly. r=jwatt 2012-08-10 21:13:44 +10:00
Cameron McCormack
a4ada5ccfb Bug 655877 - Part 30: Allow PathExtentsToMaxStrokeExtents to work with nsTextFrames. r=jwatt 2012-08-10 21:13:44 +10:00
Cameron McCormack
5fbc2bbba2 Bug 655877 - Part 1: Move some path drawing functions from nsSVGGeometryFrame to nsSVGUtils. r=jwatt 2012-08-10 21:13:43 +10:00
Chris Lord
6a36ed7746 Bug 779269 - Implement a TryMerge method for nsDisplayFixedPosition. r=roc
Allow nsDisplayFixedPosition items that share the same fixed-pos frame to be
merged. This avoids a bug where the Google PDF viewer document image gets
re-rendered offset on the initial frame of a scroll when layer acceleration is
enabled.
2012-08-10 09:36:33 +01:00
Cameron McCormack
8410c800c3 Bug 655877 - Part 24: Add UA style sheet rule to inherit unicode-bidi on <text> to its anonymous block child. r=jwatt 2012-08-10 17:09:55 +10:00
David Anderson
ef13f46623 Merge from mozilla-central. 2012-08-02 13:47:20 -07:00
Cameron McCormack
0b8d7c0776 Bug 655877 - Part 22: Add function for getting the 'is SVG text using CSS frames' pref. r=jwatt
--HG--
extra : rebase_source : 781039f078c347146299e66eef57b515fdc843a0
2012-08-08 21:46:06 +10:00
Chris Lord
c79817ffda Bug 775431 - Add missing indentation for MOZ_DUMP_PAINT_LIST. r=mattwoodrow
This part of the patch got lost rebasing somewhere.
2012-08-08 12:46:55 +01:00
Cameron McCormack
e9aaa26845 Bug 655877 - Part 40: Factor out 'distance from point to rect' calculation from text frame selection routine. r=roc 2012-08-08 21:37:14 +10:00
Cameron McCormack
de15c57651 Bug 655877 - Part 32: Allow nsCharClipDisplayItems to be constructed without an nsDisplayListBuilder. r=roc 2012-08-08 21:37:14 +10:00
Cameron McCormack
1823200366 Bug 655877 - Part 28: Paint SVG text frames using 'fill' not 'color'. r=roc 2012-08-08 21:37:13 +10:00
Cameron McCormack
7ba6d92396 Bug 655877 - Part 27: Ignore text-shadow in SVG text frames. r=roc 2012-08-08 21:37:13 +10:00
Cameron McCormack
32bd12524b Bug 655877 - Part 26: Give nsTextFrames the ability to invoke callbacks after painting different parts of the text. r=roc 2012-08-08 21:37:12 +10:00
Cameron McCormack
ba79a45c4c Bug 655877 - Part 19: Add function to convert text decorations to a path. r=roc 2012-08-08 21:37:11 +10:00
Ben Turner
0010e82b08 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Scott Johnson
1227bc1042 Bug 779566: Remove code from nsColumnSetFrame that aligns RTL columns to the left of the frame. [r=roc] 2012-08-01 20:37:23 -05:00
Scott Johnson
3b6941a73d Backed out changeset da35ab16d9fa to change commit message. 2012-08-01 20:35:01 -05:00
Scott Johnson
f4ecae55f7 Bug 779566: Remove code from nsColumnSetFrame that aligns RTL columns to the left of the frame. 2012-08-01 20:20:01 -05:00
David Anderson
bee6a61001 Merge.
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Cameron McCormack
d7f2d311ed Bug 649740 - Implement @supports. r=dbaron,bz 2012-08-02 10:32:12 +10:00
Jonathan Watt
e2dc3881d0 Bug 779514 - Mark reftests/svg/image/image-opacity-01.svg as fuzzy on Android XUL due to slight color diffenence when SVG display lists are enabled. r=me.
--HG--
extra : rebase_source : b04d57e8d521e39b36b3464e931f48aad1b3e2d7
2012-08-01 23:41:21 +01:00
Jonathan Watt
067a85ac2b Bug 778995 - Mark webm-video/zoomed-1.xhtml and ogg-video/zoomed-1.xhtml fuzzy for slight color difference when SVG display lists are enabled. r=kinetik.
--HG--
extra : rebase_source : 237a13fb4bed9e914871ad34fa317c9aa0c57175
2012-08-01 23:39:13 +01:00
Wes Johnston
f666da7452 Bug 779078 - handleRelease should just return if not handling a mouseEvent. r=smaug 2012-07-31 10:36:02 -07:00
David Zbarsky
921b64e645 Bug 778799 - When offloading animations, use the device pixels to figure out scale instead of CSS pixels r=mattwoodrow 2012-07-31 10:28:23 -07:00
David Zbarsky
f4b0395707 Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron 2012-07-31 10:28:22 -07:00
David Zbarsky
c0fdd4656f Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-31 10:28:22 -07:00
David Zbarsky
86895a1881 Bug 768440 Part 1: Move ElementTransitions and ElementPropertyTransition to the header r=dbaron 2012-07-31 10:28:21 -07:00
David Zbarsky
f386a1e940 Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron 2012-07-31 10:28:21 -07:00
David Zbarsky
b4a0d1de4c Bug 755084 Part 1: Move ElementAnimations, ElementAnimation, AnimationProperty, and AnimationPropertySegment classes to the header file. r=dbaron 2012-07-31 10:28:21 -07:00
Nicholas Cameron
5763a6c405 Merge backout, a=bustage fix 2012-07-31 18:17:53 +12:00
Nicholas Cameron
db90500fee Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00
Nicholas Cameron
acc7394492 Backed out changeset af118f5f9444 2012-07-31 18:14:45 +12:00
Nicholas Cameron
a1105a1ea6 bug 746883, restore an accidently removed fails-if. r=karlt
--HG--
extra : rebase_source : 787ed1feadfbbf2c04d640fa3fbc2ca859d104e5
2012-07-31 17:58:04 +12:00
Nicholas Cameron
bb68fa704b Bug 746883. More test fuzz. r=roc 2012-07-31 13:46:05 +12:00
Nicholas Cameron
ad7898c598 Bug 746883. fuzz for Skia gradient tests. r=roc 2012-07-31 13:46:05 +12:00
Nicholas Cameron
19913d66a9 Bug 778595; reftest fuzz based on cavnas/content backend mismatch. r=roc 2012-07-31 13:46:04 +12:00
Nicholas Cameron
12480ec1e9 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
Mike Habicher
d753b0fbff Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00
Simon Montagu
4ae7b52fd9 Implement the new CSS property value unicode-bidi: isolate-override. Bug 774335, r=dbaron 2012-08-07 01:42:46 -07:00
Simon Montagu
e09f58837c Changes to tests for bug 774335, r=dbaron 2012-08-07 01:42:45 -07:00
David Zbarsky
32785d45f6 Fix a logging message, no bug, r=me 2012-08-25 00:10:47 -04:00
David Zbarsky
68b3e0e5bf [Bug 785454] Remove nsPresShell::GetFrameForPoint r=smaug 2012-08-25 00:09:48 -04:00
Boris Zbarsky
31276eb444 Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron 2012-08-23 21:08:09 -07:00
Boris Zbarsky
8b4fc28fc2 Bug 753517 part 3. Expose the API needed for Paris bindings on nsDOMCSSDeclaration and nsICSSDeclaration. r=dbaron,peterv 2012-08-23 21:08:08 -07:00
Phil Ringnalda
cf09173698 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Ehsan Akhgari
73180678c6 Bug 782062 - Do not attempt to move frames with views in their subtree without doing a reflow to prevent the view position from getting out of sync; r=roc
--HG--
extra : rebase_source : 2e4ea7d139dc953a4c3d525b15e5753fb585e057
2012-08-29 09:46:09 -04:00
Benjamin Smedberg
b8603666c1 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

CLOSED TREE
2012-08-24 13:08:15 -04:00
Yury
b3e51b2f82 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
Matt Brubeck
6ead01e8d2 Back out 9fb78d71f361, 28f8ce199bed, 78ffaa79a3de, 9f6f9b74d685 (bug 779940 and bug 778036) because of Android failures 2012-08-06 21:59:01 -07:00
Makoto Kato
7c0b06ca0b Bug 780069 - msdmo.dll should be delay loaded. r=khuey 2012-08-07 12:08:04 +09:00
Matt Woodrow
af3016ac22 Bug 778036 - Retain RefLayers instead of creating them every frame. r=roc 2012-08-07 15:00:41 +12:00
Jan Varga
8fb6c69c76 Bug 779684 - Move FrameIteratorFlags to nsFrameIterator class. r=roc 2012-08-06 20:27:04 -04:00
Ed Morley
1368da883d Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE 2012-08-07 00:57:27 +01:00
Daniel Holbert
aadd1398e2 Bug 780728: Remove unused variable 'pixelRect' from nsDisplayCanvasBackground::Paint(). r=mattwoodrow 2012-08-06 14:55:41 -07:00
Bobby Holley
1138ef9062 Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
William Chen
aa4917eef9 Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : e014ba90baa75ba3146f4e3fb5c447b87a8e83c0
2012-08-06 22:15:49 +02:00
Camilo Viecco
b0baf98f91 Bug 726053 This patch removes all forms of 'obj instanceof Components.interfaces' for the new specialpowersAPI call. r=bholley
--HG--
extra : rebase_source : 8a246ed35698c4da3f8a4a5202dcce949121d722
2012-08-06 22:13:46 +02:00
David Zbarsky
42018cc827 Bug 780342 - Don't allow compositor-driven animation of frames that are not prerendered, provide diagnostics for when that happens r=cjones 2012-08-06 16:33:23 -04:00
Sergey Glushchenko
970c894833 Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Doug Sherk
de15346fad Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -07:00
Doug Sherk
71ccfa781a Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-08 13:38:06 -07:00
Doug Sherk
a1e5523a38 Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones 2012-08-08 13:37:57 -07:00
Bobby Holley
364da93593 Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
William Chen
7a0429e652 Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
David Zbarsky
2d8138a241 Log when we can't use async animations due to pseudos, no bug, r=cjones 2012-08-24 15:08:18 -04:00
Kyle Huey
1a68eab98d Bug 783162: Make mapped attributes hold the image alive. r=bz
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary.  This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff.  Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive.  Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request.  The result is that all the references to the request are dropped and the frame is never told it has a background.

The solution is to keep the nsCSSValue::Image alive longer.  This patch adds two new types of nsAttrValue.  The first is an nsCSSValue::URL.  A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL.  The second is an nsCSSValue::Image.  nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load.  The result is that image loads are only started when the element is actually visible.  This also mirrors the way background-image works.  This also allows us to fix two longstanding bugs in this code.  Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document.  Now we can grab the principal of the node in ParseBackgroundAttribute.  MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.

nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value.  nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared.  Moving the classes to a namespace solves the problem.

Finally some old inoperative quirks mode code was removed.  This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Benjamin Smedberg
583084b3a2 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

--HG--
extra : rebase_source : e000988677d466b4796c5b2a51968f586743e6db
2012-08-24 13:08:15 -04:00
Benoit Girard
9c58fbf74c Bug 785287 - Profiler: Add the document URL in DoReflow. r=roc
--HG--
extra : rebase_source : 816fc213bdc9e3201913f8df944a2a84e6f33bfc
2012-08-23 22:07:21 -04:00
Chris Lord
d844099677 Bug 785333 - Keep track of merged frames with all display items. r=roc
This changes the display-item storage to store layers against the underlying
frame and all merged frames of an item (and similarly, to retrieve them against
all frames of an item).
2012-08-24 16:17:22 +01:00
Chris Lord
db96f622c9 Bug 785333 - Store container layers against merged frames. r=roc
As well as storing the container layer against the underlying frame of the
container item, store it against its merged frames as well. In addition, check
for old container layers against merged frames when building a container layer.

This protects against losing the layer when the underlying frame of a container
item changes to either a new frame or an existing, merged frame.
2012-08-24 16:17:22 +01:00
Robert O'Callahan
9022336c2e Bug 772679. Handle frame with NS_HAS_CONTAINER_LAYER having no display items. r=tnikkel 2012-08-05 20:59:06 +12:00
Robert O'Callahan
3e481d5793 Bug 772679. Mark test as passing on Mac. 2012-08-05 00:27:07 +12:00
Robert O'Callahan
26804b4102 Bug 772679. Testcase. 2012-08-05 00:26:58 +12:00
Robert O'Callahan
8e16c0a415 Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Boris Zbarsky
f21609d807 Bug 753517 part 2.75. Fix the QI impls to not lie. r=bustage 2012-08-06 01:24:43 -04:00
David Zbarsky
72cd4190b0 [Bug 780439] Kill off the remains of nsIBox r=roc 2012-08-05 23:00:57 -04:00
David Zbarsky
d50e4a7565 [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
David Zbarsky
0039e134c7 Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Boris Zbarsky
f914c0dbe4 Bug 753517 part 2.5. Include nsWrapperCacheInlines so things will actually link correctly. r=bustage 2012-08-05 22:55:18 -04:00
Boris Zbarsky
1b8d2356ea Bug 753517 part 2. Make all CSS declarations wrappercached and make them correctly handle preserved wrappers. r=mccr8,peterv,smaug,dbaron 2012-08-05 22:16:30 -04:00
Boris Zbarsky
ab8c73b485 Bug 753517 part 1. Make GetParentObject() on CSS declarations return a useful nsINode if possible. r=peterv,dbaron 2012-08-05 22:14:52 -04:00
Boris Zbarsky
bb5cc2f15d Bug 765588. Make CSSFontFaceStyleDecl an nsICSSDeclaration. r=dbaron 2012-08-05 22:14:47 -04:00
Masayuki Nakano
ec03b2d18d Bug 780436 Union actual text-decoration rect to the overflow rect of floating first letter's child r=roc 2012-08-06 09:52:19 +09:00
Robert Longson
978ecd9f01 Bug 619964 - Implement FillPaint and StrokePaint filter sources. r=jwatt 2012-08-05 20:10:21 +01:00
David Zbarsky
fecc44c62d Bug 780340 - Allow compositor-driven animations of visibility r=mattwoodrow 2012-08-05 13:03:43 -04:00
Ed Morley
438c915d9b Backout 6ea008b301da, 14d17919e235, b15fb3603bfe & f89ae41eed63 (bug 772679) for turning test_offsets.html perma-orange on native Android mochitest-7 2012-08-05 14:35:08 +01:00
Neil Deakin
77315c2961 Bug 582719, remove unused GetParentMenu method that was missed by 1ca7e8b00fbb 2012-08-24 08:41:20 -04:00
Yury
51f5276dad Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz
--HG--
extra : rebase_source : f9b13bbda1318dbdaa71b04b3e04736655e65081
2012-08-23 17:11:51 -04:00
Chris Pearce
df4654c650 Bug 781279 - Forget update plugin geometry frame when presentation detaches. r=roc 2012-08-24 23:12:21 +12:00
Chris Lord
f823b5376f Bug 781516 - Remove DisplayItemDataEntry.mIsMergedFrame. r=roc
This is unnecessary as it just duplicates the functionality of
mIsSharingContainerLayer.
2012-08-24 11:59:37 +01:00
Jonathan Kew
c7a3425c40 bug 784837 - call SetPrimaryFrame earlier during nsSubDocumentFrame::Init. r=roc 2012-08-24 10:16:15 +01:00
Scott Johnson
79055c4778 Bug 764567: Implement column-fill part of CSS3 multicol spec, now with regression fixes [r=roc]. 2012-07-31 11:21:19 -05:00
Benoit Girard
d38270d473 Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
Aryeh Gregor
dbc2cb2b5f Bug 734953 - Restore transform: skew() support; r=dbaron 2012-07-30 16:48:02 +03:00
Robert Longson
4f899d9f88 Bug 773467 - Make SVG patterns ignore their patternContentUnits attribute when their viewBox attribute is set. r=jwatt
--HG--
rename : layout/reftests/svg/viewBox-and-pattern-01.svg => layout/reftests/svg/viewBox-and-pattern-02.svg
rename : layout/reftests/svg/viewBox-and-pattern-01.svg => layout/reftests/svg/viewBox-and-pattern-03.svg
2012-07-31 11:17:11 +01:00
Jonathan Watt
fad691adb6 Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc.
--HG--
extra : rebase_source : ec2c0dd2b216a818cbe4c9526e198afb18f08c13
2012-07-30 20:14:18 +01:00
Jonathan Watt
1bb0e6a520 Bug 776337 - "ASSERTION: Should not use nsSVGIntegrationUtils on this SVG frame". r=longsonr.
--HG--
extra : rebase_source : b72f0311607b5d4ae0fa28939a53728566b4bfd9
2012-07-31 00:20:06 +01:00
Aryeh Gregor
12d310448b Bug 732153 part 1 - Computed transform should be 'none' if there's no transform, even if backface-visibility or transform-style is set; r=dbaron 2012-07-05 10:45:09 +03:00
Robert O'Callahan
669e2512a7 Bug 772679. Handle frame with NS_HAS_CONTAINER_LAYER having no display items. r=tnikkel 2012-08-05 20:59:06 +12:00
Robert O'Callahan
4d2c0bcd3a Bug 772679. Mark test as passing on Mac. 2012-08-05 00:27:07 +12:00
Robert O'Callahan
1bcfa5ac0a Bug 772679. Testcase. 2012-08-05 00:26:58 +12:00
Robert O'Callahan
77a535e992 Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Justin Lebar
4c0e821bfa Bug 768832 - Set OOM adjust for background windows. r=bz,cjones 2012-08-05 01:09:39 -04:00
Cameron McCormack
7dfd2133ab Bug 655877 - Part 29: Don't underline links within SVG text by default. r=dbaron 2012-08-05 11:01:19 +10:00
Cameron McCormack
427a336683 Bug 655877 - Part 21: Avoid assertions when nsStyleContext::GetVisitedDependentColor is called for an SVG paint property. r=dbaron 2012-08-05 11:01:19 +10:00
Cameron McCormack
9544ddcf6b Bug 655877 - Part 20: Make nsTextFrame QueryFrame-able. r=roc 2012-08-05 11:01:19 +10:00
Cameron McCormack
ab52687be3 Bug 655877 - Part 18: Ensure even line-ending white space SVG text frames are created. r=bz 2012-08-05 11:01:18 +10:00
Cameron McCormack
0310d6c894 Bug 655877 - Part 17: Ensure non-SVG child elements of SVG text elements do not get frames. r=bz 2012-08-05 11:01:18 +10:00
Ms2ger
c6b094bee3 Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
391cca2e24 Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
c7a5b33778 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Tal Aloni
68530a5b53 Bug 778413 - Fix table cell automatic width calculation when using box-sizing:border-box. r=dbaron 2012-08-03 09:05:01 +02:00
Jonathan Kew
ee155ff82a bug 721750 - reftests for text-shadow in ::-moz-selection. r=dbaron 2012-08-04 19:52:24 +01:00
Jonathan Kew
83a0c3a21a bug 721750 - support text-shadow property on ::-moz-selection. r=dbaron 2012-08-04 19:52:21 +01:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Tal Aloni
b2c4ba86ad Bug 778413 - Fix table cell automatic width calculation when using box-sizing:border-box. r=dbaron 2012-08-03 09:05:01 +02:00
David Zbarsky
c52354cb86 Bug 780340 - Allow compositor-driven animations of visibility r=mattwoodrow 2012-08-04 07:03:47 -07:00
Ms2ger
434ae84f40 Back out bug 772679 for crashes. 2012-08-04 15:10:45 +02:00
Robert O'Callahan
6d930fb447 Bug 772679. Mark test as passing on Mac. 2012-08-05 00:27:07 +12:00
Robert O'Callahan
e97ba9d607 Bug 772679. Testcase. 2012-08-05 00:26:58 +12:00
Robert O'Callahan
e165f64efd Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Ms2ger
2529739530 Merge m-c to m-i. 2012-08-04 13:02:15 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Cameron McCormack
6445993a90 Bug 780337 - CSSSupportsRule serialization test fixup. r=burning 2012-08-04 18:08:39 +10:00
Ms2ger
db59149c25 Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
eacd737410 Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
babf67cce2 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Cameron McCormack
b2484ca0f4 Bug 778600 - Indent closing brace when listing GroupRules. r=dbaron 2012-08-04 17:07:03 +10:00
Cameron McCormack
1b89c788a4 Bug 780337 - @supports rule should not parse if property value is empty. r=dbaron 2012-08-04 17:07:03 +10:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Chris Jones
d7f6abdbe8 Bug 780346: Add a sample label to refresh driver. irl-r=mattwoodrow 2012-08-03 20:23:24 -07:00
Adam Dane [:hobophobe]
e9a38eaecb Bug 769791 - Optimize adding ranges to the end of mRanges in nsSelection. r=smaug 2012-07-24 15:25:36 -05:00
Ed Morley
37898217b6 Backout 14245bf85a3d (bug 778420), b9f603d3eef4 (bug 778420), e9bc27234022 (bug 72964), d5aa53121d29 (bug 778420), 959cc7ef5f5a (bug 726053) for m1 failures in test_offline_gzip.html 2012-08-03 23:29:10 +01:00
David Zbarsky
a2c20d2493 Bug 706179 Part 3: Turn on the use of scaling for layers in FrameLayerBuilder r=mattwoodrow 2012-08-03 14:29:22 -07:00
Bobby Holley
33def11e6c Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher 2012-08-03 22:19:54 +02:00
William Chen
9951db756c Bug 778420 - Initial stab at the tests. r=bholley 2012-08-03 22:19:54 +02:00
Vivien Nicolas
ea040ad93b Bug 778810 - Show/Hide scrollbars depending on activity. r=roc 2012-08-03 12:35:14 +02:00
Vivien Nicolas
e576288cb4 Bug 777672 - [b2g] |body { overflow: hidden }| do not hide scrollbars. r=roc 2012-08-03 12:35:14 +02:00
Markus Stange
c523884f92 Bug 770453 - [b2g] Semi-transparent scroll bars should not occupy content-flow space. r=roc 2012-08-03 12:35:14 +02:00
Cameron McCormack
c819a0d0ac Bug 655877 - Part 16: Treat all values of display other than 'none' as 'inline' in SVG text frames. r=roc 2012-08-02 21:38:51 +10:00
Cameron McCormack
ba7efb66ff Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc 2012-08-02 21:38:50 +10:00
Cameron McCormack
f41c8a5fe8 Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc 2012-08-02 21:38:49 +10:00
Cameron McCormack
b9878143c1 Bug 655877 - Part 13: Make :first-letter apply to <svg:text>. r=roc 2012-08-02 21:38:48 +10:00
Cameron McCormack
883a81ddba Bug 655877 - Part 12: Ignore margins, borders and padding on SVG text frames. r=roc 2012-08-02 21:38:48 +10:00
Cameron McCormack
2145c7b0e5 Bug 655877 - Part 11a: Ensure we reflow SVG text when dominant-baseline changes. r=roc 2012-08-02 21:38:48 +10:00
Cameron McCormack
e8c382e651 Bug 655877 - Part 11: Ignore vertical-align and map dominant-baseline to vertical-align in SVG text frames. r=roc 2012-08-02 21:38:48 +10:00
Cameron McCormack
0cef242939 Bug 655877 - Part 10: Ignore text-align and text-align-end in SVG text frames. r=roc 2012-08-02 21:38:47 +10:00
Cameron McCormack
da76aa9a28 Bug 655877 - Part 9: Ignore word-spacing in SVG text frames. r=roc 2012-08-02 21:38:47 +10:00
Cameron McCormack
bc715a0a67 Bug 655877 - Part 8: Ignore letter-spacing in SVG text frames. r=roc 2012-08-02 21:38:47 +10:00
Cameron McCormack
9e9a90293b Bug 655877 - Part 7: Add IsSVGText helper function to nsIFrame. r=roc 2012-08-02 21:38:46 +10:00
Cameron McCormack
b2e2529603 Bug 655877 - Part 4: Add FCDATA_ flag for SVG text. r=roc 2012-08-02 21:38:46 +10:00
Cameron McCormack
1070e55b13 Bug 655877 - Part 3: Add a frame state bit and anonymous box pseudo for SVG text frames. r=roc 2012-08-02 21:38:46 +10:00
Robert O'Callahan
e2209b365e Bug 780345. Use a heuristic to reduce the scroll-port height by the height of fixed-position headers and footers when scrolling the viewport vertically by pages. r=tnikkel
--HG--
extra : rebase_source : 0f6d4a64b2f3832deb2af1f9ae0d332db042e127
2012-08-09 23:17:40 +12:00
Robert O'Callahan
91c0802b2f Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
--HG--
extra : rebase_source : ed990c17d2501ea5f4d09dea56baeada41cd3f35
2012-08-10 23:16:49 +12:00
Robert O'Callahan
d53617a13e Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
--HG--
extra : rebase_source : a6118e0eeea749a601e055741e35cdcd15d81e57
2012-08-10 23:17:06 +12:00
Chris Jones
6e5b17c82e Bug 781742: Try to keep a process pre-launched for app content, if the pref says to. r=jlebar 2012-08-15 18:46:03 -07:00
Ryan VanderMeulen
826a6d3cd5 Merge m-c to inbound. 2012-08-15 21:00:42 -04:00
Andrew Halberstadt
b54c314054 Bug 778725 - Fix program error managing snapshot errors in b2g reftests, r=jgriffin 2012-08-15 17:36:52 -04:00
Andrew Halberstadt
d6f030c237 Bug 782655 - Enable remote xul for B2G reftests, r=jgriffin 2012-08-15 15:26:31 -04:00
Neil Deakin
279f4c393a Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
18bbbb0ab6 Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
767abfdb5a Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug 2012-08-15 14:52:40 -04:00
Neil Deakin
ebcdb10b44 Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
Neil Deakin
447a47298e Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Ed Morley
9cdd0db8cb Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Aryeh Gregor
e0ab48ca47 Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan 2012-08-13 16:49:48 +03:00
Aryeh Gregor
04236844ff Bug 782252 - Cast some nsresult to PRUint32; r=ehsan 2012-08-09 11:36:40 +03:00
Aryeh Gregor
1091dc5149 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Aryeh Gregor
1f5f272808 Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00
Robert Longson
0a6a20aef4 Bug 757751 - attribute updates on non-rendered svg elements result in an abort. r=jwatt 2012-08-15 12:58:06 +01:00
Josh Matthews
1de8cc6897 Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Ehsan Akhgari
4549b4f331 Bug 579517 follow-up: Remove NSPR types that crept in 2012-08-27 12:28:11 -04:00
Neil Deakin
61df386477 Bug 357725, size constraints tests 2012-07-30 20:43:29 -04:00
Neil Deakin
e1405e0a93 Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil 2012-07-30 20:43:29 -04:00
Neil Deakin
91964d02eb Bug 582719, use nsQueryFrame for menus and popups rather than GetType, r=neil 2012-07-30 20:43:28 -04:00
Matt Woodrow
73b3aac203 Bug 779010 - Use nsStyleCoord equality operator to compare nsStyleSides and nsStyleCorners. r=dbaron 2012-07-30 19:25:28 -07:00
David Zbarsky
1e9fefd64e Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones 2012-07-30 19:20:00 -07:00
David Zbarsky
06ea1f66f2 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Ryan VanderMeulen
ed3645f4ca Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Mark Finkle
70a01196ec Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580) 2012-07-30 14:36:12 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Matt Brubeck
ddd301131f Back out 7ac323ff812e (bug 768351) because crashtests/768351.svg fails with an unexpected assertion 2012-07-30 15:09:22 -07:00
Jonathan Watt
b6ea746ee7 Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc. 2012-07-30 20:14:18 +01:00
Mark Finkle
940f8b585c Backout 883bdf118b52 since dependent code was backed out from m-c 2012-07-30 14:41:54 -04:00
David Zbarsky
39dc6657d0 Bug 778799 - When offloading animations, use the device pixels to figure out scale instead of CSS pixels r=mattwoodrow 2012-07-30 11:25:25 -07:00
Jonathan Watt
e5a6a757ae Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
Aryeh Gregor
c31bbdf30a Bug 777292 - Return -1 from nsTableRowGroupFrame::FindLineContaining on null param; r=roc 2012-07-27 17:03:25 +03:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Christian Holler
c039124fd1 Bug 777412 - Support the --setenv option in reftests 2012-07-30 13:47:27 +02:00
Aryeh Gregor
7644f69a87 Bug 777292 - Cast NS_ENUMERATOR_FALSE to nsresult and complain in comments; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
96fc9d649c Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
b8cff01f2a Bug 777292 - Remove unreached return; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
bcce1c96d2 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
David Zbarsky
56b6f9129f Bug 778501 Part 4: DeviceContext should be an nsRefPtr r=roc 2012-07-29 21:36:32 -07:00
David Zbarsky
eb615a17d7 Bug 778501 Part 3: Clean up the includes in nsPresContext.h r=roc 2012-07-29 21:29:41 -07:00
David Zbarsky
5b9d38f8ba Bug 778501 Part 2: mEventManager should be an nsRefPtr r=roc 2012-07-29 21:29:33 -07:00
David Zbarsky
501df5fd18 Bug 778501 Part 1: mLanguage should be an nsCOMPtr r=roc 2012-07-29 21:29:23 -07:00
Ed Morley
113467dc15 Backout 9ed259005de2 (bug 770453) for Android XUL R3 failures in scrollbars-0{1,2}.svg on a CLOSED TREE 2012-07-28 13:30:40 +01:00
Ed Morley
231f919786 Backout 6718d4c7b6c1 (bug 775174) for Android XUL R3 failures in animateMotion-rotate-*.svg on a CLOSED TREE 2012-07-28 11:31:26 +01:00
Markus Stange
a74f371136 Bug 770453 - [b2g] semi-transparent scroll bars should not occupy content-flow space. r=roc 2012-07-28 09:41:42 +02:00
Trevor Saunders
dabf20ec71 bug 765252 - ensure doc accessibles don't out live the related pres shell r=bz, davidb, surkov 2012-07-28 00:21:40 -04:00
Matt Woodrow
d97548ced3 Bug 729784 - Fix documentation for fuzzy() and fuzzy-if(), and give image difference error messages in the same order as the parameters to them. r=dbaron 2012-07-28 13:47:46 +12:00
Matt Woodrow
a2cc304146 Bug 775174 - Add invalidation timeline to reftest analyzer. r=dbaron 2012-07-28 13:46:42 +12:00
Andrea Marchesini
001d00e5ff Bug 772434 - Blob support for Zip file contents, r=jst 2012-07-27 17:21:34 -07:00
Daniel Holbert
7a2dbdcf4c Bug 777523: Remove stale "XXX bug 3935" annotation from some properties in nsCSSPropList.h. r=dbaron 2012-07-27 15:53:08 -07:00
Daniel Holbert
692b1187f5 Bug 777519: Remove unnecessary checks for min-height/max-height:auto in nsHTMLReflowState::InitResizeFlags. r=dbaron 2012-07-27 15:52:40 -07:00
Wes Johnston
9f5ee4bbb4 Bug 773741 - Test using touch events on resizers. r=enn 2012-07-27 15:01:13 -07:00
Wes Johnston
4bc78c38b2 Bug 773741 - Support touch events in resizers. r=enn 2012-07-27 15:01:12 -07:00
Nicolas Silva
e2ab39fb96 Bug 773462 - Rename calls to ImageContainer::SetCurrentImage into ImageContainer::SetCurrentImageInTransaction when the method is used within a layer transaction. r=roc 2012-07-26 14:11:22 -04:00
David Zbarsky
9bf8a70491 Bug 706179 Part 2: Add a BaseTransform to layers r=roc 2012-07-27 13:23:45 -07:00
David Zbarsky
7dcf199c9c Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron 2012-07-27 13:23:45 -07:00
David Zbarsky
e83accbdd6 Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-27 13:23:45 -07:00
David Zbarsky
18f6e4dd6a Bug 768440 Part 1: Move ElementTransitions and ElementPropertyTransition to the header r=dbaron 2012-07-27 13:23:44 -07:00
David Zbarsky
5a900008c4 Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron 2012-07-27 13:23:44 -07:00
David Zbarsky
043fbd25ce Bug 755084 Part 1: Move ElementAnimations, ElementAnimation, AnimationProperty, and AnimationPropertySegment classes to the header file. r=dbaron 2012-07-27 13:23:44 -07:00
Randell Jesup
d8d05110db Bug 772570: untangle MOZ_WEBM from MOZ_VP8 so we can disable webm with webrtc enabled r=def r=ted 2012-07-27 13:13:43 -04:00
Henri Sivonen
b43c71a1be Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky. 2012-07-27 16:35:09 +03:00
Robert Longson
1451134cef Bug 777476 - text bounding boxes should ignore whitespace-only nodes when whitespace compression suppresses them. r=jwatt 2012-07-27 09:07:32 +01:00
David Zbarsky
87e7b8b42a [Bug 777657] Fix some opt build warnings r=cjones 2012-07-26 21:02:05 -07:00
Matt Woodrow
7d4513adad Bug 777924 - Invalidate layers when transitioning out of flattening component alpha. r=roc 2012-07-27 15:02:46 +12:00
Matt Woodrow
aece3ea32b Bug 777617 - Allow component alpha flattening of fixed position and zoomed display items. r=roc 2012-07-27 15:02:01 +12:00
Mohit Sinha
0220fcceb7 Bug 771904 - Allow whitespaces at the begining of mtable@align attribute. r=fredw 2012-07-26 21:17:23 -04:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jonathan Watt
522fc0f166 Bug 780963 - Make UpdateOverflow() on filter primitive frames a no-op. r=roc. 2012-08-14 10:04:24 +01:00
Mats Palmgren
0094db9c19 Bug 777578 - Make mLimiter and mAncestorLimiter strong refs. r=smaug 2012-07-26 23:44:10 +02:00
Bobby Holley
7d93b33884 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Chris Lord
302322fd64 Bug 771154 - Invalidate only the frame rect when new frames come into view. r=roc
Instead of forcing a full-layer invalidation when new frames appear, invalidate
only the bounds of the frame. Invalidating untrusted geometry still causes a
full-layer invalidation.
2012-08-23 12:14:47 +01:00
Chris Lord
97efc4771c Bug 781516 - Fix invalidation caused by unprocessed merged frames. r=roc
As clip items aren't processed, they have no associated layer entries. This is
a problem when a clip item's underlying frame is the same as one that gets
merged into a container layer, as display-item data will be created, but no
layer entry will be added. This will cause it to be removed on the next
layer-build, and cause a full invalidation.

Fix this by adding an 'mIsMergedFrame' entry to DisplayItemDataEntry and setting
it on all merged frames in BuildContainerLayerFor. This property stops the
entry from being removed when it gets updated.
2012-08-23 09:30:53 +01:00
David Zbarsky
6b65174cd9 Bug 784846 - The ShouldPrerender check for async animations is wrong r=mattwoodrow 2012-08-23 02:05:27 -04:00
Jim Mathies
c8cb2fef04 Bug 783531 - Implement a 'select word at point' text selection routine in nsIDOMWindowUtils. r=roc 2012-09-10 16:02:23 -05:00
Andrew McCreight
e833ece4f7 Bug 775868, part 1: make tests access DomWinUtils via SpecialPowers. r=smaug 2012-09-10 12:43:45 -07:00
Andrea Marchesini
f95e99bcad Bug 775368 - Porting Websockets to WebIDL, r=bz
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-10 09:48:14 -04:00
Ryan VanderMeulen
1baaa803da Merge m-c to inbound. 2012-09-05 17:52:28 -04:00
Scott Johnson
1ccadb6e74 Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron] 2012-09-05 16:39:34 -05:00
Daniel Holbert
8b1f96b68e Bug 666041 patch 6: Ignore min/max main-size properties when computing the main size of a flex item (since those properties are honored later in the flexbox algorithm). r=dbaron 2012-09-05 14:13:37 -07:00
Daniel Holbert
5f943d14e5 Bug 666041 patch 5: Use flex-basis in place of main-size property, when computing the main size of a flex item. r=dbaron 2012-09-05 14:13:37 -07:00
John Schoenick
89dd8205be Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
L. David Baron
cab4b11128 Convert bidi_numeral_test.js from CR-LF to LF line endings. No bug. 2012-09-05 13:31:01 -07:00
Chris Jones
7ee7b46bd3 Bug 783066: Paint the backgrounds of remote subdocuments like we paint those of same-process subdocuments. r=roc 2012-09-05 09:23:45 -07:00
Andrew Quartey
99670eb305 Bug 788397 - Remove extra ';' from nsPagePrintTimer::Run r=Ms2ger 2012-09-05 10:44:24 -04:00
Mike Hommey
d4d87778e3 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Robert O'Callahan
f716b5f69e Bug 787089. Rip out mUpdatePluginGeometryForFrame optimization. It's not known to be a significant win, and creates problems when prescontext ancestor chains are broken; the complexity probably isn't worthwhile. Also, soon (or now) we can rework plugin bounds computation to be use the display list built for rendering. r=matspal
--HG--
extra : rebase_source : 0394fcb5111b8b96b5f8ce48e20d6e5503f9ccf7
2012-09-05 22:30:10 +12:00
Robert O'Callahan
98b856dbc0 Bug 785588. Perform asynchronous scroll operations before firing requestAnimationFrame callbacks. r=tnikkel
--HG--
extra : rebase_source : 3c1439773981db4ea1b957db4351f50899229130
2012-09-05 22:29:15 +12:00
Robert O'Callahan
d1f472b4ee Bug 787623. Call MarkContextClean immediately if we're not going to receive a DidTransactionCallback. r=joedrew
--HG--
extra : rebase_source : 459c517fba4b6c2e6e6d95200aebec9369c0edb6
2012-09-05 22:28:23 +12:00
Chris Pearce
da142414e0 Bug 788387 - Add -moz-box-sizing:border-box to :-moz-full-screen. r=roc 2012-09-05 15:54:11 +12:00
Boris Zbarsky
ec294637e8 Bug 787131. Move management of primary content state stuff from the nsSubDocumentFrame into the nsFrameLoader, so it works on display:none elements. r=jlebar 2012-09-04 23:00:26 -04:00
Scott Johnson
b4da4d5123 Bug 787267: Add capability to import-tests.py to mark tests as failing. [r=dbaron] 2012-09-04 20:57:32 -05:00
Daniel Holbert
ac23760ca2 Bug 763689 patch 3: Support min-height:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron 2012-09-04 16:26:11 -07:00
Daniel Holbert
cb09d97d7e Bug 763689 patch 2: Support min-width:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron 2012-09-04 16:26:10 -07:00
Cameron McCormack
d9f9abdf58 Bug 782610 - Fix format of @supports tests. r=dbaron 2012-08-23 11:25:05 +10:00
Cameron McCormack
a71153c4eb Bug 782591 - Ensure needPaddingProp is always initialized in nsHTMLReflowState::InitOffsets. r=roc 2012-08-23 11:24:19 +10:00
Cameron McCormack
d2c8e91b44 Bug 655877 - Part 38: Ignore the non-SVG frames when propagating SVG changes through a tree. r=longsonr 2012-08-23 11:23:23 +10:00
Simon Montagu
4d946e9779 Bug 562169. Add support for :dir(ltr/rtl) CSS selector, layout/style part, r=bz 2012-08-09 20:37:58 -07:00
Simon Montagu
5ccf0feb0f Add support for :dir(ltr/rtl) CSS selector, layout/style part. Bug 562159, r=bz 2012-08-07 21:44:24 -07:00
Simon Montagu
f8086abda8 Tests for dir(ltr/rtl) CSS selector. bug 562169, r=bz 2012-04-17 07:01:29 +03:00
Ed Morley
655da92dc0 Backout f67014b40e1e (bug 780345) for failures intest_page_scroll_with_fixed_pos.html 2012-08-09 13:17:52 +01:00
Ed Morley
afd5340800 Merge mozilla-central to mozilla-inbound 2012-08-09 12:51:21 +01:00
Robert O'Callahan
77a986be7f Bug 780345. Use a heuristic to reduce the scroll-port height by the height of fixed-position headers and footers when scrolling the viewport vertically by pages. r=tnikkel 2012-08-09 23:17:40 +12:00
Robert Longson
3e75cf3f4a Bug 780880 - patternTransforms that involve rotation do not work properly. r=dholbert
--HG--
rename : layout/reftests/svg/pattern-scale-01a.svg => layout/reftests/svg/pattern-scale-01c.svg
2012-08-09 09:17:05 +01:00
Simon Montagu
aa33182913 Tests for dir(ltr/rtl) CSS selector. bug 562169, r=bz 2012-04-17 07:01:29 +03:00
Steven Lee
230139f702 Bug 714358: Time manager implementation. r=jlebar 2012-08-07 19:11:00 -04:00
Phil Ringnalda
6a0eae6eb5 Backout 8b3b879bc63f (Bug 777463), 32cc8084d1b7 (Bug 775451), ce9014442e13:4d52cfac7c37 (Bug 779572), b33f2b2dbbc5:963aed158547 (Bug 775463), 36832ad5ea65 (Bug 780210), 10695750e4e9:a2afc5b5e538 (Bug 775448), c9f42eebd694 (Bug 775447) for Linux bustage 2012-08-07 20:40:48 -07:00
Doug Sherk
b53b2122ba Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-07 18:51:08 -07:00
Doug Sherk
daacd19d06 Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-07 18:51:02 -07:00
Doug Sherk
54d7cdc02b Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones 2012-08-07 18:51:00 -07:00
Daniel Holbert
4bbe6b1e04 Bug 666041 patch 4: Mochitest for flexbox layout. r=dbaron 2012-08-07 14:32:24 -07:00
Timothy Nikkel
acf91eab3d Annotate crashtest assert with bug number covering it (bug 780985). 2012-08-07 15:27:25 -05:00
Timothy Nikkel
b533370056 Mark crashtest for bug 460389 as sometimes asserting. Bug 780985 covers fixing it so we don't assert. 2012-08-07 15:24:49 -05:00
Timothy Nikkel
f1ac24b7df Add crashtests from bug 460389 and bug 522170. 2012-08-07 13:25:39 -05:00
Chris Lord
cfe2b98a1f Bug 775431 - Make MOZ_DUMP_PAINT_LIST output terminal-friendly. r=mattwoodrow
Only output in HTML if we're dumping to a file, otherwise output as it did
before the HTML output change was made.
2012-08-07 18:57:26 +01:00
Robert O'Callahan
df4054d0e5 Bug 780582. Ensure that mouse-up/touch-end events are processed by some frame, so that capture is released. r=smaug 2012-08-07 23:07:54 +12:00
Robert O'Callahan
3d2256832d Bug 776836. When invalidating ThebesLayers due to an appunits-per-dev-pixel change, we can't trust the frame geometry. r=mattwoodrow 2012-08-07 23:07:07 +12:00
Yoshi Huang
834cc56292 Bug 744714 - Part 2: MozIccManager. r=smaug 2012-06-28 16:21:48 +02:00
Robert O'Callahan
fe0e20ccfa Bug 784410. Don't target bubbling scroll commands at an element unless we have at least one device pixel to scroll to. r=mats 2012-08-29 23:21:40 +12:00
Chris Lord
0b93911368 Bug 785333 - Make sure layers are only associated with a single frame. r=roc
Use Layer user-data to ensure that a Layer doesn't end up being found multiple
times for different frames during construction.
2012-08-29 11:53:34 +01:00
Chris Lord
d322fd5f46 Bug 785333 - Keep track of merged frames with all display items. r=roc
This changes the display-item storage to store layers against the underlying
frame and all merged frames of an item (and similarly, to retrieve them against
all frames of an item).
2012-08-29 11:53:27 +01:00
Chris Lord
9e0e5d24bf Bug 785333 - Store container layers against merged frames. r=roc
As well as storing the container layer against the underlying frame of the
container item, store it against its merged frames as well. In addition, check
for old container layers against merged frames when building a container layer.

This protects against losing the layer when the underlying frame of a container
item changes to either a new frame or an existing, merged frame.
2012-08-29 11:53:20 +01:00
Chris Lord
d538b2ed4c Bug 785333 - Don't rely on layer ordering in ContainerState::Finish. r=roc
Rather than relying on a particular ordering of layers in
ContainerState::Finish, use ContainerLayer::Reposition to more reliably remove
old, unused layers.
2012-08-29 11:53:06 +01:00
Jonathan Watt
38a0ba3182 Bug 786387 - Add comments to document the subtleties of nsFrame::Reflow and better document the main dirty frame bits. r=bz. 2012-08-29 09:01:09 +01:00
Boris Zbarsky
bdd656ebd3 Bug 782660. Resizing a text control frame with borders should invalidate the borders as needed. r=roc 2012-08-29 01:14:46 -04:00
Daniel Holbert
0c9830c116 Bug 786031: Add parens around "&&" within "||" in nsFrame.cpp to fix GCC -Wparentheses build warnings. r=heycam 2012-08-28 11:14:52 -07:00
Boris Zbarsky
a06f2bdfbe Bug 732209 part 6. Allow web pages to access cross-origin stylesheets if the CORS headers say so. r=dbaron,sicking
When gaining such access, the web page resets the stylesheet to its principal, because it can now edit the sheet.
2012-08-28 13:10:09 -04:00
Boris Zbarsky
76432fce46 Bug 732209 part 5. Enforce CORS on stylesheet loads as needed. r=sicking 2012-08-28 13:10:08 -04:00
Boris Zbarsky
ccd4da9732 Bug 732209 part 4. Propagate the CORS state throughout the CSS loading process. r=sicking,dbaron 2012-08-28 13:10:08 -04:00
Boris Zbarsky
927e2bc32d Bug 732209 part 3. Communicate the CORS state of preloads to the CSS loader. r=sicking,hsivonen 2012-08-28 13:10:08 -04:00
Boris Zbarsky
41ac1056bf Bug 732209 part 2. Communicate the CORS state of style link loads to the CSS loader. r=sicking 2012-08-28 13:10:07 -04:00
Robert Longson
f974ac08a0 Bug 786216 - Fix evenodd fill-rule. r=jwatt 2012-08-28 15:47:01 +01:00
Dan Shearmur
203ff1e588 Bug 527459 - Tests for paddings specified in percent on text inputs. r=bz 2012-08-28 01:21:11 -03:00
Ehsan Akhgari
b5c39afb4e Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Ehsan Akhgari
34a6ed33a7 Merge backout 2012-09-19 15:42:29 -04:00
Ehsan Akhgari
71d9f962d0 Backout bug 792109, bug 749053 and bug 779500 because of leaks in debug tests 2012-09-19 15:42:18 -04:00
Ray Cheung
6d4cf10a0b Bug 779500 - WebFM, r=jlebar,glandium sr=jonas 2012-09-19 11:23:33 -04:00
Chris Lord
8a10cc33bd Bug 788202 - Add optional subdocument traversal to nsIFrame::List. r=bz
Add subdocument frame traversal to nsIFrame::List, controlled via an optional
flag.
2012-09-19 15:36:35 +01:00
Chris Lord
0e8485ff4d Backout bug 788202 for build failures. 2012-09-19 14:05:26 +01:00
Chris Lord
ca82e0a1a5 Bug 788202 - Add optional subdocument traversal to nsIFrame::List. r=bz
Add subdocument frame traversal to nsIFrame::List, controlled via an optional
flag.
2012-09-19 12:39:53 +01:00
Gregor Wagner
a3f5338aff Bug 770731 - Expose JS API for modifying app permissions. r=sicking 2012-09-19 11:19:00 -07:00
Nathan Froyd
19c82d90ae Bug 719173 - handle pixels and numbers specially in ProcessTranslatePart; r=bz, f=mattwoodrow 2012-03-06 13:47:13 -05:00
Jonathan Watt
b1c944c22c Bug 777585 - Make nsIFrame::BuildDisplayListForChild check for clipped SVG on the correct frame. r=roc. 2012-07-26 13:21:04 +01:00
Margaret Leibovic
4b0d9065c7 Bug 725286 - Plugin placeholder text for the unsupported platforms is misleading. r=blassey,dolske 2012-07-25 21:44:11 -07:00
Matt Woodrow
fc7e44e27a Bug 772296 - Forward transform the overflow rect when computing dirty rects for 3d transforms. r=roc 2012-07-26 16:33:31 +12:00
Ian Melven
06019be17e Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst 2012-08-20 11:34:33 -07:00
David Zbarsky
32bb53999c Bug 776401 Part 2: Add animation to the layer and then add segments directly to it r=roc 2012-08-20 09:35:42 -04:00
David Zbarsky
c81eb44c58 Bug 776401 Part 1: Avoid copying animation segments when creating animations r=roc 2012-08-20 09:35:42 -04:00
David Zbarsky
d631e1b3a1 Bug 783835 - Compositor needs to know the css property being animated r=roc 2012-08-20 09:35:41 -04:00
Matt Woodrow
31fa7e5c17 Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc 2012-08-20 22:00:49 +12:00
Matt Woodrow
7591d1ef12 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Mats Palmgren
20e4f84391 Bug 308801 - box-sizing:border-box with min-/max-width/height reftests. 2012-08-20 03:15:14 +02:00
David Zbarsky
b258e9a808 Bug 783841 - Fix build warnings in layers r=cjones 2012-08-19 20:07:31 -04:00
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Phil Ringnalda
00e466bc6f Merge mozilla-central to mozilla-inbound 2012-08-19 11:20:45 -07:00
Phil Ringnalda
1b1d28cb1f Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-08-19 11:17:28 -07:00
Masayuki Nakano
3a537dd0d1 Bug 422132 part.1 Store unused fractional scroll amount for later wheel events r=smaug 2012-08-20 01:46:21 +09:00
Ryan VanderMeulen
25940ee99c Merge the last PGO-green inbound changeset to m-c. 2012-08-18 19:10:45 -04:00
Kyle Huey
806819677e Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar 2012-08-18 12:15:04 -07:00
Ed Morley
456f9e9562 Bug 685516 - Mark more tests as random; rs=khuey 2012-08-18 14:49:50 +01:00
Mohit Sinha
29205d30f1 Bug 781189 - Remove rowline attributes from mtable-align-whitespace.html and mtable-align-whitespace-ref.html to fix intermittent failures. r=fwang 2012-08-18 08:32:07 -04:00
Daniel Holbert
2a1eca50b1 Bug 783700: Switch nsColumnSetFrame::BuildDisplayList() to use nsFrameList::Enumerator for walking its child frames. r=dbaron 2012-08-17 18:12:01 -07:00
Daniel Holbert
f7e7f3c67f Bug 781869: Remove redundant "NS_FRAME_NO_MOVE_VIEW" bit in a few places where it's already implied from NS_FRAME_NO_MOVE_FRAME. r=dbaron 2012-08-17 12:04:06 -07:00
Brian R. Bondy
6ae40bb347 Bug 731307 - Async filepicker test changes. r=roc 2012-08-17 11:35:01 -04:00
Ehsan Akhgari
08037d10e1 Bug 768503: Only disable selection on non-editable content. r=roc 2012-08-16 11:51:46 -04:00
Charly Molter
db958503bc Bug 776265 - changing the way ComputeHeightValue works to make it work just
like ComputeWidthValue already does. this fixes {min,max}-height + adding
  reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Ed Morley
70e369a460 Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903 2012-08-18 23:29:13 +01:00
Matt Woodrow
1471d50cb2 Bug 778036 - Retain RefLayers instead of creating them every frame. r=roc 2012-08-07 15:00:41 +12:00
Chris Pearce
7e1bf09317 Bug 775965 - Store root pres context used to register plugins on nsObjectFrame. r=roc 2012-08-17 16:25:19 +12:00
Chris Pearce
274d465a14 Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Chris Pearce
f78206195e Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc 2012-08-14 16:06:42 +12:00
Masayuki Nakano
ac015d98bb Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug 2012-08-17 10:32:15 +09:00
Ed Morley
e52bbbae03 Merge mozilla-central to mozilla-inbound 2012-08-16 17:55:58 +01:00
Robert O'Callahan
f2cd4b69af Bug 779399. Scale gradient cell to exactly fill snapped rect. r=jrmuizel
We need to make sure that when we snap the fillRect, we also adjust the scaling
of the gradient so it exactly fills the snapped tileRect.
2012-08-10 23:10:12 +12:00
Jonathan Watt
74556a16c9 Bug 780963 crashtest. r=roc. 2012-08-16 11:54:48 +01:00
Cameron McCormack
838d438629 Bug 705184 - Count unexpected reftest crash dump files as test failures. r=dbaron 2011-12-05 14:06:42 +11:00
Andrew Halberstadt
b36ba7fadb Bug 784810 - Disable browser.tabs.remote for b2g reftests, r=jgriffin 2012-08-22 17:24:57 -04:00
Matt Brubeck
f7d1450ef6 Bug 783565 - Don't look for mobile doctype or handheldFriendly if there is also a meta viewport tag [r=jwir3] 2012-08-22 13:17:09 -07:00
Ehsan Akhgari
57ac5ddc72 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Ed Morley
1a47184b94 Merge mozilla-central to mozilla-inbound 2012-08-22 10:37:32 +01:00
Doug Sherk
b018fea56e Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc 2012-08-21 21:37:15 -07:00
Doug Sherk
036b842c46 Bug 775447: Rip out old checks for DOM touch listeners r=cjones 2012-08-21 21:37:09 -07:00
Doug Sherk
2347943aeb Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones 2012-08-21 21:37:06 -07:00
Geoff Lankow
bf29f2a21f Bug 230959 - Inconsistent extra 1 pixel width of XUL window; r=Neil 2011-09-07 22:14:04 +12:00