Nicholas Nethercote
f41e79828f
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
a5466d55ce
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
2f256bcc57
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
bbc1329098
Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar
2012-03-14 19:14:53 +01:00
Jonathan Kew
070452fba6
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
44bd779b0f
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
8ea4557aa9
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
0fd5e708c3
Tests for bug 712600. r=smontagu
2012-01-08 16:29:19 +02:00
Boris Zbarsky
42379a0010
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
98a2048efb
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
624f845ca0
Bug 722965 - Remove MOZ_TOUCH ifdefs. r=smaug
2012-03-19 14:34:34 -07:00
Ehsan Akhgari
e8037d0abc
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
e27c8b19cf
Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar
2012-03-14 19:14:53 +01:00
Atul Aggarwal
b3481e15f3
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
57af16cb02
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
9e8ae45be1
Bug 735579. Correctly handle changes to column widths in fixed-layout tables. r=ehsan
2012-03-16 15:56:41 -04:00
Daniel Holbert
ce6dc9863d
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
12b2938d88
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
3f835dac68
Bug 719515 - Selection.extend() should replace the existing range, not mutate it; r=ehsan
2012-03-15 14:26:32 -04:00
Marco Bonardo
312ed3ed80
Merge inbound and central
2012-03-16 13:42:16 +01:00
John Daggett
47ad96505d
Bug 512566. Changes based on review comments. r=bz,jfkthame
2012-03-16 12:31:01 +09:00
John Daggett
f770df8a01
Bug 512566. Font data url reftests. r=jfkthame
2012-03-16 12:31:01 +09:00
John Daggett
914cbcc71a
Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz
2012-03-16 12:31:01 +09:00
Daniel Holbert
5b18ef48e8
(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
96242ad44d
Bug 736326 - Fix nscoord/nscolor typo. r=dbaron
2012-03-16 11:53:50 +11:00
Ed Morley
b4dda70351
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-15 12:42:01 +00:00
Kyle Machulis
503964b679
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
8b59e0537f
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
e8ed17fbad
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
a0db3488b7
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
ebf4e4d87a
Bug 725095 - Address Layout review comments. r=mats
2012-03-13 12:57:31 -04:00
Benoit Girard
32745d1cc3
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Jonathan Kew
63ccfeff51
bug 726539 - reftests for repeated feature in -moz-font-feature-settings. r=jdaggett
2012-03-13 10:22:16 +00:00
Boris Zbarsky
09fd9002b2
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
dd4557672b
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
dbcab961d0
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
ea00c15230
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
0b53563082
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
0ebd88f49f
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
47dd3c842e
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
82ab90bd3f
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
afdc791a4a
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
23a4ff3a52
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
a45e55e1a6
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
2b015eb44c
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
23845b8aec
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
5097691ede
Backout changeset d2340d74fc19 because of bug 735076
2012-03-12 18:51:44 -04:00
James Willcox
02313468a0
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
f74209d8e4
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
f8d6403787
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
42a0e56158
Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan
2012-03-12 11:50:11 -04:00
Kartikaya Gupta
12d4a57946
Merge m-c to maple
2012-03-12 10:41:42 -04:00
Daniel Holbert
33cd7e3326
Backout f667f6c22bed (Bug 732988) for linux Cipc orange
2012-03-11 16:41:39 -07:00
Daniel Holbert
8b79621c1a
merge m-c tip over to m-i
2012-03-11 15:40:05 -07:00
Bas Schouten
f5a32fbb86
Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc
2012-03-11 22:33:23 +00:00
Avi Halachmi
569c1017ce
Bug 206438 - Smooth scrolling should use the 'smoothwheel' algorithm. r=roc ui-r=limi
2012-03-11 13:55:00 -07:00
Bas Schouten
d9bb5a52c4
Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc
2012-03-13 01:41:34 +00:00
Jonathan Watt
55a0c649a1
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
a95c45d58d
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
b0ca471a79
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
86f1c718ff
Bug 730769 - Add NewLineBox/FreeLineBox methods to nsBlockFrame. part=1/2 r=bz
2012-03-11 03:32:27 +01:00
Mats Palmgren
111242deaa
Bug 732941 - Deal with OOM when copying nsCOMArray. r=bz
2012-03-11 03:32:27 +01:00
Kartikaya Gupta
38e9efe1fc
Merge m-c -> maple to pick up b159cd73c215
2012-03-10 11:21:26 -05:00
Benoit Girard
c8515d0999
Merge mc->maple
2012-03-09 18:16:26 -05:00
Benoit Girard
fb79343e79
Merge mc->Maple
2012-03-09 11:13:30 -05:00
John Daggett
3d4dadc0c4
Bug 734313. Disabling reftests failing on OSX 10.5
2012-03-09 14:02:11 +09:00
Jacob Holzinger
86f648606c
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
1b3be902c1
Merge mc->Maple
2012-03-08 10:22:42 -05:00
Rob Campbell
44c93895a1
merge fx-team to m-c
2012-03-08 10:30:11 -04:00
Mats Palmgren
bc861fa127
Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz
2012-03-08 02:57:37 +01:00
Mats Palmgren
a63934af76
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
bd31652ea8
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
4a726bcaef
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
e446a70a30
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
95f1774653
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
0f0612ce47
Merge mc->Maple
2012-03-07 11:10:45 -05:00
Benoit Girard
942d495995
Merge mc->Maple
2012-03-05 19:32:21 -05:00
Benoit Girard
392ef78337
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
18b1521f00
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
Matt Brubeck
788b29276e
Merge mozilla-central to mozilla-inbound
2012-03-08 16:27:40 -08:00
Jonathan Watt
667ba4d4ec
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
b24e1949c2
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Benoit Girard
77a9a7b782
Merge mc->Maple, resolved conflicts
2012-03-02 14:27:05 -05:00
Ehsan Akhgari
8806a4b0f1
Test case for bug 667512; r=smontagu
2012-03-07 17:43:51 -05:00
Josh Aas
b3efd8f2b1
Bug 723523: Plugin crash fix, nsPluginInstanceOwner::CreateWidget. r=jmathies
2012-03-07 11:48:30 -05:00
Timothy Nikkel
ec2de116a2
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
08f33710af
Merge mc->maple
2012-03-01 10:44:44 -05:00
Chris Lord
8411b7d48d
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
3bc3ccbc85
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
d5c3b7e98b
Merge m-c again to pick up 75deec1f1a7b
2012-02-28 14:37:26 -05:00
Kartikaya Gupta
134e9fec76
Merge m-c
2012-02-27 15:06:35 -05:00
Simon Montagu
c9da06805b
Treat <wbr> like ZERO WIDTH SPACE during bidi resoltion. Bug 729047, r=ehsan
2012-02-25 23:12:55 -08:00
Simon Montagu
6093e2fe12
Reftest for bug 729047, r=ehsan
2012-02-25 23:12:55 -08:00
Doug Turner
df4f53ea90
Merge with mozilla-central
2012-02-24 11:57:27 -08:00
Marco Bonardo
517b3a65ce
Merge last green PGO from inbound to central
2012-02-24 18:20:40 +01:00
Jonas Sicking
64f741219e
Bug 722626: Implement DOMRequest object. r=mrbkap
2012-02-24 14:19:49 +01:00
Robert Longson
ad9a1975d2
Bug 729996 - trailing spaces in text not properly ignored. r=dholbert
2012-02-24 10:20:53 +00:00
Jonathan Kew
9e665aa5d9
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
a71e5391a3
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
8b623ce6c9
Bug 707859 part.2 Forget PresShell::mSynthMouseMoveEvent when drag session prevents to dispatch it r=smaug
2012-02-24 13:41:33 +09:00