Commit Graph

12698 Commits

Author SHA1 Message Date
Adam Dane [:hobophobe]
f6bfd29afb Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Jonathan Watt
bde9925a42 Bug 736890 follow-up - Forward declare gfxMatrix using |struct|, not |class|. r=me. 2012-03-20 19:44:24 +00:00
Mats Palmgren
234949ebc1 Bug 735943 - Don't crash if nsSMILAnimationController::FlushResampleRequests destroyed the pres shell. r=bz 2012-03-20 19:02:38 +01:00
Daniel Holbert
d3edf08d29 Bug 737313: Make nsCSSFrameConstructor::ConstructInline more robust when one of its child frames fails to construct. r=bz 2012-03-20 10:23:03 -07:00
Daniel Holbert
b7b65ae384 backout 1383ac50bcff (bug 723484) for remote image & occasional 'load failed: null' in reftest reference case 2012-03-20 10:22:53 -07:00
Jonathan Watt
ce86671d1b Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert. 2012-03-20 12:15:55 +00:00
Jonathan Watt
cfd1f311f8 Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr. 2012-03-20 12:15:53 +00:00
Jonathan Watt
4ef8b576ac Bug 734079, part 1 - Remove the SuspendRedraw code and make SVGSVGElement.suspendRedraw a no-op. r=longsonr. 2012-03-20 12:15:53 +00:00
Dão Gottwald
950bae49e0 merge backout 2012-03-19 12:54:47 +01:00
Dão Gottwald
098b79e99e Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Masatoshi Kimura
add7512617 Bug 736687 - Warn on use of MozBlobBuilder. r=sicking
--HG--
rename : layout/reftests/svg/as-image/img-blobBuilder-1.html => layout/reftests/svg/as-image/img-blobURI-1.html
rename : layout/reftests/svg/as-image/img-blobBuilder-2.html => layout/reftests/svg/as-image/img-blobURI-2.html
2012-03-19 12:00:43 +01:00
Adam Dane [:hobophobe]
395f2b3456 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Robert O'Callahan
27a6abd213 Backing out changeset 0fe31dd7bbc5 for bug 735141 due to test failures. 2012-03-19 23:21:11 +13:00
Robert O'Callahan
68a3a38d5b Backed out changeset 0fe31dd7bbc5 2012-03-19 23:19:59 +13:00
Nicholas Nethercote
193c652323 Bug 712865 - Avoid some padding nsCSSCompressedDataBlock by storing nsCSSValue and nsCSSProperty elements separately (2nd attempt). r=dbaron. 2012-03-19 01:39:15 -07:00
Jonathan Watt
51053d52ea Bug 379709 - Avoid reflowing SVG twice during page load due to initially assuming we'll need space for a vertical scrollbar when the nsSVGOuterSVGFrame can tell us we won't. r=bz. 2012-03-19 08:34:19 +00:00
Robert O'Callahan
8a4aad25f2 Bug 735141. Clear imageContainer to indicate that we're not using that optimization. r=tnikkel 2012-03-19 20:26:39 +13:00
Nicholas Nethercote
addfa133f5 Backed out changeset c880f229fbf5 (bug 712865) due to build bustage. r=me. 2012-03-18 22:53:20 -07:00
Nicholas Nethercote
7b08eabcc4 Bug 712865 - Avoid some padding nsCSSCompressedDataBlock by storing nsCSSValue and nsCSSProperty elements separately. r=dbaron.
--HG--
extra : rebase_source : 83dc6eff5e5500fa0dffc0e07d731941ee9e8122
2012-03-18 16:28:08 -07:00
Jonathan Watt
4c723d804d Bug 736753 - Fix the includes in layout/svg/base/src so that we can stop including nsSVGSVGElement.h in nsSVGContainerFrame.h. r=longsonr. 2012-03-18 10:32:02 +00:00
Mark Finkle
c5c1e891ea Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
52ab7f4c5b Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Jonathan Kew
91d10e3419 bug 736726 - mark reftest bidi-003 as failing on android for now. no_r=me 2012-03-17 13:07:08 +00:00
William Lachance
2aaf5fef98 Bug 736246 - DeviceManagerADB should throw an exception if we know it's not going to work. r=jmaher 2012-03-16 18:36:28 -04:00
Simon Montagu
a2edafefab Add a mParagraphDepth member to BidiParagraphData and cache it on frames to track nested bidi-isolated paragraphs. Use mParagraphDepth (* 2 + isRTL in order to keep LTR even and RTL odd) as the initial paragraph embedding level instead of pushing a stack of embedding codes. Pass the <bdi> frame instead of its first-child to BidiParagraphData::Reset and save a call to GetParent(). Split inline ancestors before and after bidi-isolated paragraphs, in the same way that we currently do between runs in different directions. This required also adding code to SplitInlineAncestors to handle situations where the parent frame is being split before its first child or after its last child. In JoinInlineAncestors, prevent frames that belong to paragraphs isolated from one another from being rejoined. Bug 712600, r=ehsan, roc 2012-01-11 21:26:02 +02:00
Aharon (Vladimir) Lanin
0c126e1db1 Tests for bug 712600. r=smontagu 2012-01-08 16:29:19 +02:00
Boris Zbarsky
32ebb0eedf Bug 537624. Don't set up undisplayed entries until we're sure we're creating frames from the relevant FrameConstructionItemList. r=roc 2012-03-19 18:22:02 -04:00
Boris Zbarsky
746cfc7b8c Bug 721659. Update the width/height of an image synchronously when src is set to something that was preloaded. r=bholley 2012-03-19 18:22:02 -04:00
Wes Johnston
73b1812482 Bug 722965 - Remove MOZ_TOUCH ifdefs. r=smaug 2012-03-19 14:34:34 -07:00
Ehsan Akhgari
5f3425b10d Bug 734530 - Spell check textareas if they're reframed when focused; r=roc
--HG--
rename : layout/reftests/editor/spellcheck-textarea-focused.html => layout/reftests/editor/spellcheck-textarea-focused-reframe.html
2012-03-19 12:21:56 -04:00
Mounir Lamouri
573bc8fb91 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Atul Aggarwal
d66e49e9e7 Bug 536758 - window.getComputedStyle().lineHeight to skip font size ratio adjustment for minimum font size when font sizes are 0. r=dbaron 2011-11-01 12:36:50 +05:30
Aryeh Gregor
a18cf6032d Bug 719523 - Selection.selectAllChildren() on a Document always produces end offset of 1; r=ehsan 2012-03-16 12:56:54 -04:00
Boris Zbarsky
e78e12371e Bug 735579. Correctly handle changes to column widths in fixed-layout tables. r=ehsan 2012-03-16 15:56:41 -04:00
Daniel Holbert
7dcfb057c4 Bug 732610 - Make nsIFrame::ComputeSize take a bitfield 'aFlags' instead of a bool 'aShrinkWrap'. r=dbaron 2012-03-16 11:01:05 -07:00
Boris Zbarsky
a3c1ab17a1 Bug 736389. Get rid of code that reresolved style on overflow containers multiple times and in the process violated some invariants other code depended on. r=mats 2012-03-16 13:13:14 -04:00
Aryeh Gregor
fd8dd0c5de Bug 719515 - Selection.extend() should replace the existing range, not mutate it; r=ehsan 2012-03-15 14:26:32 -04:00
Marco Bonardo
ff249f47c5 Merge inbound and central 2012-03-16 13:42:16 +01:00
John Daggett
e1a14d0e6a Bug 512566. Changes based on review comments. r=bz,jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
53f1d396f8 Bug 512566. Font data url reftests. r=jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
f77f86991d Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz 2012-03-16 12:31:01 +09:00
Daniel Holbert
ef60538add (no bug) Fix alignment of member vars mClip, mClipFlags in nsStyleDisplay class definition. whitespace-only, DONTBUILD 2012-03-15 18:13:08 -07:00
Cameron McCormack
3562694c55 Bug 736326 - Fix nscoord/nscolor typo. r=dbaron 2012-03-16 11:53:50 +11:00
Ed Morley
efdc9a5382 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Kyle Machulis
6df19ba2cf Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 2: Change mozilla::dom::telephony to mozilla::dom::gonk for dom/system/gonk objects; r=bent 2012-03-14 15:43:26 -07:00
Kyle Machulis
9631320c07 Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 1: Change dom/system/b2g to dom/system/gonk; r=philikon
--HG--
rename : dom/system/b2g/AudioManager.cpp => dom/system/gonk/AudioManager.cpp
rename : dom/system/b2g/AudioManager.h => dom/system/gonk/AudioManager.h
rename : dom/system/b2g/GonkGPSGeolocationProvider.cpp => dom/system/gonk/GonkGPSGeolocationProvider.cpp
rename : dom/system/b2g/GonkGPSGeolocationProvider.h => dom/system/gonk/GonkGPSGeolocationProvider.h
rename : dom/system/b2g/Makefile.in => dom/system/gonk/Makefile.in
rename : dom/system/b2g/RadioInterfaceLayer.js => dom/system/gonk/RadioInterfaceLayer.js
rename : dom/system/b2g/RadioInterfaceLayer.manifest => dom/system/gonk/RadioInterfaceLayer.manifest
rename : dom/system/b2g/SystemWorkerManager.cpp => dom/system/gonk/SystemWorkerManager.cpp
rename : dom/system/b2g/SystemWorkerManager.h => dom/system/gonk/SystemWorkerManager.h
rename : dom/system/b2g/net_worker.js => dom/system/gonk/net_worker.js
rename : dom/system/b2g/nsIAudioManager.idl => dom/system/gonk/nsIAudioManager.idl
rename : dom/system/b2g/nsIRadioInterfaceLayer.idl => dom/system/gonk/nsIRadioInterfaceLayer.idl
rename : dom/system/b2g/nsIWorkerHolder.idl => dom/system/gonk/nsIWorkerHolder.idl
rename : dom/system/b2g/nsRadioInterfaceLayer.h => dom/system/gonk/nsRadioInterfaceLayer.h
rename : dom/system/b2g/ril_consts.js => dom/system/gonk/ril_consts.js
rename : dom/system/b2g/ril_worker.js => dom/system/gonk/ril_worker.js
rename : dom/system/b2g/systemlibs.js => dom/system/gonk/systemlibs.js
rename : dom/system/b2g/tests/header_helpers.js => dom/system/gonk/tests/header_helpers.js
rename : dom/system/b2g/tests/test_ril_worker_buf.js => dom/system/gonk/tests/test_ril_worker_buf.js
rename : dom/system/b2g/tests/test_ril_worker_sms.js => dom/system/gonk/tests/test_ril_worker_sms.js
rename : dom/system/b2g/tests/xpcshell.ini => dom/system/gonk/tests/xpcshell.ini
2012-03-14 15:42:31 -07:00
Kyle Huey
fd1ce47377 Bug 730587: Stash a pointer to the subtree root on DOM nodes. r=smaug, sr=jst 2012-03-14 13:14:02 -07:00
James Willcox
fb9607dbb7 Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
--HG--
extra : rebase_source : 4b845e7dc4224bfd807fb757e7199c91655c0d69
2012-03-12 13:03:54 -04:00
Ali Juma
62fb2dc162 Bug 725095 - Address Layout review comments. r=mats 2012-03-13 12:57:31 -04:00
Benoit Girard
188ca471f6 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Jonathan Kew
bf1bbed990 bug 726539 - reftests for repeated feature in -moz-font-feature-settings. r=jdaggett 2012-03-13 10:22:16 +00:00
Boris Zbarsky
c90ce3bdca Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
d6d9350d3d Bug 705877 part 6. Make frame construction use ancestor filters when resolving style. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
5de63bd68d Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
10410f82bb Bug 705877 part 4. Use the TreeMatchContext's ancestor filter, if any, in EnumerateAllRules. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
0b2fc0f4d4 Bug 705877 part 3. Hang an optional Bloom filter and some methods for managing it off the TreeMatchContext. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
1af8d94b33 Bug 705877 part 2. Store the hashes of the atoms occurring as IDs, classes, and tag names in selectors that would need to match one of our ancestors. r=dbaron
We store a maximum of 4 hashes to save space.  Interesting questions are whether 4 is the right number
and whether we should, prioritize ids and classes over tags.  In practice, this seems to be good enough
at least performance-wise, though it's possible we could use less memory and still do OK on the performance.
2012-03-12 22:54:14 -05:00
Phil Ringnalda
b1d1a41987 Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage 2012-03-12 22:12:41 -07:00
Boris Zbarsky
77f35024de Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
06a9dc2781 Bug 705877 part 6. Make frame construction use ancestor filters when resolving style. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
8469637d0c Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
87db5d4605 Bug 705877 part 4. Use the TreeMatchContext's ancestor filter, if any, in EnumerateAllRules. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
386bfeacd8 Bug 705877 part 3. Hang an optional Bloom filter and some methods for managing it off the TreeMatchContext. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
b684c178fb Bug 705877 part 2. Store the hashes of the atoms occurring as IDs, classes, and tag names in selectors that would need to match one of our ancestors. r=dbaron
We store a maximum of 4 hashes to save space.  Interesting questions are whether 4 is the right number
and whether we should, prioritize ids and classes over tags.  In practice, this seems to be good enough
at least performance-wise, though it's possible we could use less memory and still do OK on the performance.
2012-03-12 22:54:14 -05:00
Ehsan Akhgari
39bfe969ec Backout changeset d2340d74fc19 because of bug 735076 2012-03-12 18:51:44 -04:00
James Willcox
2edc6422b3 Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
--HG--
extra : rebase_source : f7a9eb9dab84cb35ba17fb1551051dae2e744d00
2012-03-12 13:03:54 -04:00
Kartikaya Gupta
e0e1489efa Bug 732564 - Add a before-first-paint event that fires before the first paint of the new document. r=Cwiiis, bz 2012-03-12 12:03:38 -04:00
Ali Juma
06826ece22 Bug 732091 - Part 3: Pass on the isFirstPaint flag from the PresShell to the compositor via the layer manager. r=tnikkel,bgirard 2012-03-12 11:50:15 -04:00
Ali Juma
cc0282e9e5 Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan 2012-03-12 11:50:11 -04:00
Kartikaya Gupta
137c73d9f6 Merge m-c to maple 2012-03-12 10:41:42 -04:00
Daniel Holbert
aaff4a9f4a Backout f667f6c22bed (Bug 732988) for linux Cipc orange 2012-03-11 16:41:39 -07:00
Daniel Holbert
04b172bf20 merge m-c tip over to m-i 2012-03-11 15:40:05 -07:00
Bas Schouten
e99a373cb6 Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc 2012-03-11 22:33:23 +00:00
Avi Halachmi
3c59129fb9 Bug 206438 - Smooth scrolling should use the 'smoothwheel' algorithm. r=roc ui-r=limi 2012-03-11 13:55:00 -07:00
Bas Schouten
49606a96fc Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc 2012-03-13 01:41:34 +00:00
Jonathan Watt
726cd3bb85 Bug 734732 - Rename nsISVGChildFrame::SUPPRESS_INVALIDATION so it's not misleading. r=longsonr.
--HG--
extra : rebase_source : e12bd28657acceec99b7dc723149a72be1b9b75f
2012-03-11 15:53:36 +00:00
Ms2ger
477d52d719 No bug - Declare uri variable in StartTests() in reftest.js to fix a strict JS warning; r=themaid 2012-03-11 09:48:25 +01:00
Mats Palmgren
23f14c3023 Bug 730769 - Make nsLineBox use a frame hash table for lines with many frames. part=2/2 r=bz 2012-03-11 03:32:27 +01:00
Mats Palmgren
86aed91a8e Bug 730769 - Add NewLineBox/FreeLineBox methods to nsBlockFrame. part=1/2 r=bz 2012-03-11 03:32:27 +01:00
Mats Palmgren
38a55345e3 Bug 732941 - Deal with OOM when copying nsCOMArray. r=bz 2012-03-11 03:32:27 +01:00
Kartikaya Gupta
43952711c3 Merge m-c -> maple to pick up b159cd73c215 2012-03-10 11:21:26 -05:00
Benoit Girard
5950b72a1a Merge mc->maple 2012-03-09 18:16:26 -05:00
Benoit Girard
83961041e7 Merge mc->Maple 2012-03-09 11:13:30 -05:00
John Daggett
23e024f6f4 Bug 734313. Disabling reftests failing on OSX 10.5 2012-03-09 14:02:11 +09:00
Jacob Holzinger
acfe99c129 Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Benoit Girard
6d13bb7ab3 Merge mc->Maple 2012-03-08 10:22:42 -05:00
Rob Campbell
b13d39e0b9 merge fx-team to m-c 2012-03-08 10:30:11 -04:00
Mats Palmgren
6fca6aec5e Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz 2012-03-08 02:57:37 +01:00
Mats Palmgren
dd7336d82b Bug 728913 - Remove the nsMenuFrame::mPopupFrame member and store it in a nsFrameList* frame property instead (as needed). r=bz 2012-03-08 02:57:37 +01:00
Mats Palmgren
d2745bc51c Bug 728911 - Remove the nsBlockFrame::mBullet member and store it in a frame property instead (as needed). For an outside bullet, store it as a nsFrameList* to support GetChildList(kBulletList). part 2/2 r=bz 2012-03-08 02:57:37 +01:00
Mats Palmgren
6b007e5ce3 Bug 728911 - Add a HasPushedFloat() method and move the PushedFloatProperty declaration to the .cpp file. part 1/2 r=bz 2012-03-08 02:57:37 +01:00
Mats Palmgren
59caec5782 Bug 728908 - Make nsLineBox::LastChild() DEBUG-only, since it's not used anymore to find the last frame of a line. part 2/2 r=bz 2012-03-08 02:57:37 +01:00
Mats Palmgren
66e9a4a3fe Bug 728908 - Make the Overflow lines property have both a nsLineList and a nsFrameList for fast access to the last frame, eliminate SetNextSibling calls, and to support GetChildList(kOverflowList). part 1/2 r=bz 2012-03-08 02:57:37 +01:00
Benoit Girard
479f0b2fb1 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Benoit Girard
b17cdc6f76 Merge mc->Maple 2012-03-05 19:32:21 -05:00
Benoit Girard
d3dd25a616 Merge latest green changeset from mozilla-central to maple
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
6345ad9c43 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Matt Brubeck
465b97cf40 Merge mozilla-central to mozilla-inbound 2012-03-08 16:27:40 -08:00
Jonathan Watt
cd715e1ba0 Bug 734218 - nsChangeHint_RepaintFrame should only invalidate the bounds of SVG frames, not update them. r=dholbert. 2012-03-09 08:55:28 +00:00
Benoit Girard
02e577f6ff Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Ehsan Akhgari
ff798fef5e Test case for bug 667512; r=smontagu 2012-03-07 17:43:51 -05:00
Josh Aas
9dbad6aafb Bug 723523: Plugin crash fix, nsPluginInstanceOwner::CreateWidget. r=jmathies 2012-03-07 11:48:30 -05:00
Timothy Nikkel
ff961d36b5 Bug 664707. Special case converting event coordinates when the frame is the root frame in the widget. r=matspal
This has the side benefit of making events work in transformed select dropdown popups and is the real reason for making the change.
2012-03-03 15:24:13 -06:00
Benoit Girard
3daa99ec38 Merge mc->maple 2012-03-01 10:44:44 -05:00
Chris Lord
24e85a9d10 Bug 729534 - Semi-fix scroll layer retention. r=mats
When flattening the display list, the last child frame in a scroll layer is
used to retain the associated ThebesLayer. Instead, use the first child, which
tends to be more stable. This fixes retaining layers when scrolling through
engadget.com.

Fix by Robert O'Callahan <robert@ocallahan.org>
2012-02-29 17:01:50 +00:00
Robert Longson
7a81195fe5 Bug 732836 - stop asserts when width or height attributes are removed from a use element. r=dholbert 2012-03-07 10:50:36 +00:00
Kartikaya Gupta
8fd5e0c78c Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Kartikaya Gupta
bb76282045 Merge m-c 2012-02-27 15:06:35 -05:00
Simon Montagu
b1f39a7cfb Treat <wbr> like ZERO WIDTH SPACE during bidi resoltion. Bug 729047, r=ehsan 2012-02-25 23:12:55 -08:00
Simon Montagu
848b814678 Reftest for bug 729047, r=ehsan 2012-02-25 23:12:55 -08:00
Doug Turner
63f2081ca1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Marco Bonardo
49719e739d Merge last green PGO from inbound to central 2012-02-24 18:20:40 +01:00
Jonas Sicking
5e2c35737e Bug 722626: Implement DOMRequest object. r=mrbkap 2012-02-24 14:19:49 +01:00
Robert Longson
51d8917573 Bug 729996 - trailing spaces in text not properly ignored. r=dholbert 2012-02-24 10:20:53 +00:00
Jonathan Kew
7ff00e8673 bug 724826 pt 3 - replace users of nsIUGenCategory service within libxul with direct access to mozilla::unicode::GetGenCategory. r=smontagu 2012-02-24 10:15:46 +00:00
Jonathan Kew
d4399166e5 bug 724826 pt 1 - move various Unicode property tables from gfx to intl. r=smontagu
--HG--
rename : gfx/thebes/gfxUnicodeProperties.h => intl/unicharutil/public/nsUnicodeProperties.h
rename : gfx/thebes/gfxUnicodeScriptCodes.h => intl/unicharutil/public/nsUnicodeScriptCodes.h
rename : gfx/thebes/gfxUnicodeProperties.cpp => intl/unicharutil/src/nsUnicodeProperties.cpp
rename : gfx/thebes/gfxUnicodePropertyData.cpp => intl/unicharutil/src/nsUnicodePropertyData.cpp
rename : gfx/thebes/genUnicodeScriptData.pl => intl/unicharutil/tools/genUnicodePropertyData.pl
2012-02-24 10:15:46 +00:00
Masayuki Nakano
407199e3a7 Bug 707859 part.2 Forget PresShell::mSynthMouseMoveEvent when drag session prevents to dispatch it r=smaug 2012-02-24 13:41:33 +09:00
Boris Zbarsky
4f3e9ef6dc Bug 729143. Don't treat table rows as containing blocks. r=dbaron 2012-02-23 23:35:19 -05:00
Henri Sivonen
0c8d0764b7 Bug 650784 part 2 - Make nsPlainTextSerializer not be a content sink. r=smaug. 2012-03-08 16:42:16 +02:00
François Wang
a9c8ff3349 Bug 320294 - Remove space between mi with mathvarian normal. r=karlt 2012-03-06 21:58:20 +01:00
Doug Turner
476b362925 merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Rob Campbell
eb749cad65 merge fx-team to m-c 2012-02-22 12:47:22 -04:00
Brad Lassey
e3e3efe902 bug 723597 - Spurious mouseover event fired on page load r=tn
--HG--
extra : rebase_source : b8c820b54dc41160451eb2c16e1cec32be046951
2012-03-12 19:30:40 -04:00
Bill McCloskey
d7a654d0c5 Bug 735014 - Wait longer for PAGE_HIDE GCs (r=smaug) 2012-03-12 16:25:03 -07:00
Nicholas Nethercote
4177b594d3 Bug 729008 - Add memory reporter for FramePropertyTable. r=bz.
--HG--
extra : rebase_source : e366cd84d50b5277f9949b340d44190371e753f8
2012-02-20 21:02:24 -08:00
Timothy Nikkel
ba1ac6d353 Bug 664707. Followup. Use the right point for touch events. r=matspal 2012-03-06 09:58:36 -06:00
Makoto Kato
2c1e47f122 Bug 590390 - deCOM nsICharsetAlias. r=smontagu
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Mats Palmgren
b52eae45eb Bug 638937 - For text frames that are a child a floating first-letter frame, use the parent of the associated placeholder as the line-container to search. r=roc 2012-02-22 00:50:16 +01:00
Ali Juma
926f982ccc Only try to scroll scrollable layers, and force Gecko to generate a scrollable layer even for smaller pages. 2012-02-20 11:30:05 -05:00
Tim Taubert
71e4bec105 Bug 731726 - Moving the parentNode of a focused DOM node does not remove the node's focus ring; r=Enn 2012-03-05 20:59:50 +01:00
Chris Lord
cfb5872a5b Bug 726817 - Add nsIFrameLoaderOwner.clampScrollPosition. r=roc
Add an attribute to nsIFrameLoaderOwner that allows the clamping of set scroll
positions to be toggled.
2012-02-17 23:41:13 +00:00
Chris Lord
93986b5c67 Backout scroll-clamp stuff again
I hope this makes it easier to merge and I'm not just wasting time...
2012-02-19 09:26:52 +00:00
Brad Lassey
34aa551009 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Serge Gautherie
b35ea02e30 Bug 728541. (Av1) browser_bug703210.js: Add a missing removeEventListener(). r=smaug. 2012-02-18 21:49:14 +01:00
Chris Lord
c436bcb3c1 Bug 726817 - Add nsIFrameLoaderOwner.clampScrollPosition. r=
Add an attribute to nsIFrameLoaderOwner that allows the clamping of set scroll
positions to be toggled.
2012-02-17 23:41:13 +00:00
Chris Lord
b7a97d4f18 Backout 87134:1c1c22bd0291 and 87135:a4af71f1bc1f
Realised I made a mistake with the nsIFrameLoaderOwner.clampScrollPosition
patch and I want this to go in as a single commit and not break building of
Maple.
2012-02-18 00:46:23 +00:00
Chris Lord
02fd6d6c24 Bug 726817 - Add nsIFrameLoaderOwner.clampScrollPosition. r=
Add an attribute to nsIFrameLoaderOwner that allows the clamping of set scroll
positions to be toggled.

--HG--
extra : rebase_source : db24645ff2fb04bb0ffa5ffb01a8d35a79274126
2012-02-17 23:41:13 +00:00
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Marco Bonardo
da48108f5b Merge last green PGO from inbound to central 2012-02-16 11:45:18 +01:00
Robert O'Callahan
d7e856edfc Bug 727661. We should only optimize ThebesLayers to ColorLayers or ImageLayers for brand-new layers (ThebesLayers with no currently valid data). Otherwise we risk ColorLayers being a deoptimization if there is valid content in the layer that doesn't happen to be visible but might become visible later, or if the layer contents are only temporarily a solid color and will soon need a buffer again. r=tn 2012-02-16 17:17:20 +13:00
Robert O'Callahan
d937a55cdf Bug 727661. We should only optimize ThebesLayers to ColorLayers or ImageLayers for brand-new layers (ThebesLayers with no currently valid data). Otherwise we risk ColorLayers being a deoptimization if there is valid content in the layer that doesn't happen to be visible but might become visible later, or if the layer contents are only temporarily a solid color and will soon need a buffer again. r=tn 2012-02-16 17:17:20 +13:00
Bas Schouten
1f4742bbc1 Bug 712630 - Part 2: Mark some reftest fuzzy on D2D. r=roc 2012-02-16 04:04:18 +01:00
Andrew McCreight
4c07b5ba2a Bug 726331 - remove childless nsComputedDOMStyles from the purple buffer. r=smaug 2012-02-15 15:29:53 -08:00
Serge Gautherie
8b010944c3 Bug 718020. (Av1) test_bug583889.html: Delay "SimpleTest.finish()" call, Add missing 'yield' in bug583889_inner1.html, Add documentation. r=roc. 2012-02-15 21:43:46 +01:00
Matt Woodrow
42f3cd0352 Bug 724025 - Correctly flatten transform-style:flat with BasicLayers. r=roc 2012-02-15 22:28:22 +13:00
Matt Woodrow
cca8fbcca8 Bug 721082 - Make perspective-origin relative to the parent elements border box. r=roc 2012-02-15 22:28:22 +13:00
Matt Woodrow
6905e450dd Bug 721082 - Constify nsIFrame::GetParentStyleContextFrame. r=roc 2012-02-15 22:28:21 +13:00
Benoit Girard
41f6ac08c7 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Aryeh Gregor
c6d9662f3d Bug 721136 - transform property serialization doesn't normalize case; r=dbaron 2012-02-13 16:23:15 -05:00
Kyle Machulis
2fed82f6c6 Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-15 13:37:13 -08:00
Kyle Machulis
55bf17714a Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-14 17:51:52 -08:00
Daniel Holbert
7772f86486 Bug 733875: If you're a nsFrame inside a box, be sure to reflow your absolute children after box layout gives you your size. r=bz 2012-03-10 14:50:51 -08:00
Daniel Holbert
204ed71c30 Bug 640443: Allow positioned display:-moz-box elements to be containers for absolutely-positioned content. r=bz 2012-03-10 14:49:10 -08:00
Jonathan Watt
2370d31893 Bug 734656 - Add documenting comments to some SVG frame classes. r=longsonr.
--HG--
extra : rebase_source : 0663c60ccaa1a89041d47d3db109f1de2a2b9f92
2012-03-10 19:28:24 +00:00
Jonathan Watt
59b4bbc1cf Bug 734656 - Make the NS_STATE_SVG_NONDISPLAY_CHILD classes easier to find. r=longsonr.
--HG--
extra : rebase_source : a3f882a4b0f8df3347288dff25c3bbb7be72332b
2012-03-10 19:28:06 +00:00
Boris Zbarsky
cc7f7d488e Bug 696301 part 1. Refactor CORS attribute handling a bit. r=sicking 2012-03-10 10:13:51 -06:00
Boris Zbarsky
563434a254 Bug 734406. Fix printing and print preview for <canvas> by checking for script-enabled on the original document, not on the printing document. r=tnikkel 2012-03-09 22:32:51 -06:00
Benoit Girard
beb2ae7df8 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Jared Wein
1c58f1711c Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances. 2012-02-20 11:24:36 -05:00
Patrick Walton
380bcbc803 Force the creation of an nsDisplayScrollLayer if a displayport was set on a scroll frame 2012-02-07 22:32:21 -08:00
Patrick Walton
727090523b Temporary workaround for bug 681192 and bug 724786 (subpixel layer invalidation). Remove me later. 2012-02-07 22:21:38 -08:00
François Wang
6049fbc6ef Bug 722880 - reftests for attribute width on mtable. r=karlt 2012-02-27 18:57:28 -05:00
Henri Sivonen
e8058853dd Bug 650784 part 1.5 - Move nsScriptableUnescapeHTML from Toolkit to Core. r=smaug.
--HG--
rename : toolkit/components/feeds/nsIScriptableUnescapeHTML.idl => parser/html/nsIScriptableUnescapeHTML.idl
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.cpp => parser/html/nsParserUtils.cpp
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.h => parser/html/nsParserUtils.h
2012-02-27 13:57:48 +02:00
Brian Birtles
3fcc17a22d Bug 608161 - Don't rely on HasAttr to detect whether gradient attributes have values; r=longsonr 2012-03-06 15:58:40 +09:00
Ehsan Akhgari
50c889808a Merge mozilla-central into mozilla-inbound 2012-03-14 13:40:34 -04:00
Jonathan Kew
fb3c20721f bug 731536 - reftest for text-transform:capitalize with punctuation marks. r=smontagu 2012-03-14 06:47:36 +00:00
Jonathan Kew
67782abd95 bug 731536 - text-transform:capitalize should affect the first alphanumeric char in a word, not the first non-punctuation char. r=smontagu 2012-03-14 06:47:14 +00:00
Jonathan Kew
2a175b1c96 bug 605021 - handle surrogates in text-run transformations. r=smontagu 2012-03-14 06:45:11 +00:00
Boris Zbarsky
e29a0d7722 Bug 735481. Skip ancestor filtering on IDs and classes in quirks mode, because that matching needs to be case-insensitive. r=dbaron 2012-03-14 00:44:13 -05:00
Frédéric Wang
066d1dc1f2 Bug 732834 - Use MathJax fonts in mathematical text part 2. r=karlt 2012-03-09 20:52:14 -05:00
Frédéric Wang
c64ce5863c Bug 732834 - Use MathJax fonts in mathematical text part 1. r=karlt 2012-03-09 20:52:13 -05:00
Nicholas Nethercote
726ecd352b Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Nathan Froyd
72e8d1d540 Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu 2012-02-29 10:57:47 -05:00
Mats Palmgren
9faef84315 Bug 717521 - Limit pre-rendering to max 4096 x 4096 pixels (post-transform) to avoid hang. r=tnikkel 2012-03-01 13:34:20 +01:00
Mats Palmgren
c3f6b14775 Bug 727601 - "ASSERTION: Only transformed frames should have UpdateTransformLayer hint" with display:table. r=roc 2012-03-01 13:34:19 +01:00
Bas Schouten
87964f395c Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc 2012-02-16 04:26:19 +01:00
Matt Woodrow
bf3005c3f4 Bug 700240 - Print display lists to a file. r=roc,bjacob 2012-03-01 21:26:09 +13:00
Matt Woodrow
702ae83148 Bug 731858 - Add index numbers to nsDisplayTextOverflow so that they are unique for a given frame. r=mats 2012-03-01 21:26:09 +13:00
Matt Woodrow
fd91c7e2e4 Bug 547801 - Fix sort-additive-1 test to use MozReftestInvalidate. r=dholbert 2012-03-01 21:26:09 +13:00
Simon Montagu
585e0608f5 Use GetGeneralCategory in IsPunctuationMark instead of the precompiled ccmap. Bug 731222, r=jfkthame 2012-03-01 00:17:27 -08:00
Ed Morley
8c8d5812df Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-01-31 16:45:40 +00:00
Tim Taubert
b07eb6fddb merge m-c to fx-team 2012-01-31 14:45:13 +01:00
Jared Wein
1c062f7770 Bug 710373 - Pressing the vertical slider down arrow should move three lines instead of one. r=roc 2012-01-31 12:04:35 +01:00
Simon Montagu
bcbbe9a509 Remove unnecessary test for next sibling. Bug 722137, r=roc 2012-01-30 11:05:28 -08:00
Simon Montagu
f90e5dabf3 test for bug 722137, r=roc 2012-01-30 10:59:34 -08:00
Mats Palmgren
5a665a0956 Bug 706889 - Apply font-inflation to checkboxes and radio buttons. r=dbaron 2012-01-30 18:48:46 +01:00
Mats Palmgren
0d832e174e Bug 706889 - reftest. 2012-01-30 18:48:46 +01:00
Bas Schouten
f249bf7924 Bug 712630: Mark some tests random when D2D is used. r=roc 2012-01-31 06:16:59 +01:00
Brian Birtles
1448c0e63c Bug 728758 - Detect animations removed from top of compositor stack and recomposite; r=dholbert 2012-02-24 09:45:40 +09:00
Zack Weinberg
15a9a210d0 Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron 2012-02-23 08:19:00 -08:00
Aryeh Gregor
0afeab2129 Bug 719503 - selection.deleteFromDocument() throws for collapsed selection; r=ehsan 2012-02-22 10:38:25 -05:00
Lazar Sumar
8c65a0951d Bug 729126 - Make NS_ABORT_IF_FALSE fire on failure for only some callers of AddCSSValuePixelPercentCalc (the existing ones, and not the new ones added in bug 522607). r=dbaron 2012-02-23 11:40:41 +13:00
Jonathan Watt
7366431be2 Bug 726400 - Intermittent one pixel failure for svg/smil/anim-path-d-01.svg on mozilla-inbound, WinXP - mark test as fuzzy on WinXP. r=dholbert 2012-02-22 16:40:18 -08:00
Ed Morley
dcb3bd0b4f Backout 5f235a1502dd (bug 726400) for reftest orange 2012-02-23 01:16:35 +00:00
Ed Morley
ef395cb269 Merge mozilla-central to mozilla-inbound 2012-02-23 01:03:16 +00:00
Jonathan Watt
d3ae27c3f1 Bug 726400 - Intermittent one pixel failure for svg/smil/anim-path-d-01.svg on mozilla-inbound, WinXP - mark test as fuzzy on WinXP. r=dholbert 2012-02-22 16:40:18 -08:00
Ed Morley
d3e7abd696 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-22 22:20:54 +00:00
L. David Baron
b71be23363 Drop support for -moz-box-shadow and -moz-border-radius-* now that we've supported the unprefixed versions since Firefox 4. (Bug 693510) r=bzbarsky 2012-02-22 14:14:52 -08:00
L. David Baron
a36ec05ea2 Unprefix uses of -moz-box-shadow and -moz-border-radius that have crept back in to the tree, prior to removing support for the prefixed forms. (Bug 693510) r=Mossop 2012-02-22 14:14:51 -08:00