Masayuki Nakano
a74c9150ce
Bug 159346 part.1 Scrollbar button should capture mouse events and do scroll only when cursor is on it r=enndeakin
2011-11-18 08:41:35 +09:00
Jonathan Watt
efb9f8f776
Bug 702696 - Path length scale factor should not be affected by the 'transform' attribute. r=dholbert.
2011-11-21 21:22:19 +00:00
Scott Johnson
f94ea8a6d9
Bug 702897 - Restore previous destruction functionality for nsImageLoader to prevent crash. r=roc
...
--HG--
extra : rebase_source : 43400960ee00d3d66a8c5c5c3e46024fadd3cb55
2011-11-21 12:07:05 -06:00
Neil Deakin
355968e2b9
Bug 703260, part 3, remove nsIViewObserver, r=mats
2011-11-21 12:53:20 -05:00
Neil Deakin
f6c640932a
Bug 703260, part 2, remove view usage from popup manager's widget callbacks, r=mats
2011-11-21 12:53:20 -05:00
Neil Deakin
e40bc148fb
Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc
2011-11-21 12:53:20 -05:00
Bernd
e1300ce0f1
bug 460637 - the group cellmaps need to set the damageArea relative to the entire table, patch by Mats Palmgren, Randell Jesup and Bernd, r=mats, bernd
2011-10-27 09:58:44 -04:00
Phil Ringnalda
67849936c3
Bug 663378 - Define runTest() before the iframe that calls it onload in test_acid3_test46.html, and waitForExplicitFinish, r=dbaron
2011-10-21 23:30:56 -07:00
Daniel Holbert
e6272147fa
Bug 641731 tests: reftests for :visited status in image documents. r=dbaron
2011-10-29 02:44:27 -07:00
Daniel Holbert
7fafbc9d28
Bug 641731: Ignore :visited status in SVG image documents. r=dbaron
2011-10-29 02:43:43 -07:00
Robert Longson
b15078098b
Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky
2011-10-29 09:18:25 +01:00
Boris Zbarsky
39a93f53d5
Bug 667576. Handle visited colors correctly in MathML. r=dbaron
2011-10-29 03:04:20 -04:00
Boris Zbarsky
2a022d4e34
Bug 608756. Cache display structs in the ruletree even for floated and positioned elements. r=dbaron
...
The basic idea is that mOriginalDisplay and mOriginalFloats are kept synchronized with mDisplay and mFloats unless the latter are changed due to position:absolute/fixed (for both) or float:left/right (for display). When initializing an nsStyleDisplay from a start struct, we restore the values from mOriginalDisplay/Floats to get correct behavior.
2011-10-29 03:04:20 -04:00
Ms2ger
7131fda8c1
Bug 699228 - Remove unused variable in nsImageFrame::GetContentForEvent; r=smaug
2011-11-17 19:01:24 +01:00
Rail Aliiev
364e83c545
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Mats Palmgren
e180d0be66
Bug 671484 - Change 'ABORT: root should not have auto-height containing block' into an assertion for now to avoid aborting fuzz testing. r=roc
2011-11-04 19:05:35 +01:00
Mats Palmgren
5fc1c83bab
Bug 699383 - Remove unused 'aboveTextDecorations'. r=roc
2011-11-04 19:05:35 +01:00
Mounir Lamouri
878ed2bcad
Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking
2011-11-02 13:04:39 +01:00
Mounir Lamouri
3a4cbb8800
Bug 695287 - Move Navigator declaration and definition outside of nsGlobalWindow.{h,cpp}. r=Ms2ger
...
This patch is creating Navigator.h and Navigator.cpp and makes Navigator part
of the mozilla::dom namespace.
2011-11-02 14:44:16 +01:00
Marco Bonardo
ac1e87e272
Merge mozilla-central to mozilla-inbound
2011-11-03 10:46:56 +01:00
Simon Montagu
3f31e3ca40
Zero the saved frame when creating a new line iterator for a new column. Bug 695861, r=roc
2011-11-03 11:35:04 +02:00
Justin Lebar
0b965502f1
Merge backout
2011-11-02 20:11:25 -04:00
Justin Lebar
86c0378be8
Back out bug 666446 due to Talos regression.
2011-11-02 20:11:01 -04:00
Kyle Huey
5afa09d1f8
Merge m-i to m-c.
2011-11-02 08:24:41 -04:00
Josh Aas
9821007204
Bug 562442: Plugin crash fix (parent process). r=jmathies
2011-11-01 14:52:20 -04:00
Scott Johnson
d2f7df4c5d
Bug 666446, Part 8/10 - Change xul tree implementation to utilize refresh driver based animations for performance improvements with animated images. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
62c9ec7e71
Bug 666446, Part 7/10 - Change nsImageLoader to utilize new refresh driver animations to overcome performance issues with animated background images. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
9cfbbc8b00
Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
130f7f3951
Bug 666446, Part 5/10 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
7d86e5fc20
Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats]
2011-11-01 11:06:53 -04:00
Scott Johnson
d01233b555
Bug 666446, Part 3/10 - Create hook functions in nsLayoutUtils to coalesce some of the new code for frame-like objects and avoid code duplication. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
c3b8c9baa6
Bug 666446, Part 2/10 - Change nsRefreshDriver to accept imgIRequest objects to facilitate refresh driver-based animations. [r=roc]
2011-11-01 11:06:53 -04:00
Henri Sivonen
139155d43e
Bug 482921 part 13 - Avoid regressing bug 673094 - RTL characters at the end of attribute values in View Source. r=ehsan.
2011-11-01 13:33:11 +02:00
Geoff Lankow
05b39c14b0
Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests; r=jmaher
2011-10-22 12:39:30 +13:00
Jesse Ruderman
4ac4751847
Fix typo in assertion text (no bug, DONTBUILD)
2011-11-01 15:29:15 -07:00
Jesse Ruderman
1328b75354
Remove trailing whitespace (no bug, DONTBUILD)
2011-11-01 15:28:48 -07:00
Henri Sivonen
dc6ff15cba
Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay.
2011-11-01 17:27:36 +02:00
Matthew Gregan
d86fd8e1d2
Bug 697647 - VideoFrame's visible region should use the pre-transform size rather than the raw video buffer size. r=roc
2011-11-02 18:44:49 +13:00
Jeff Muizelaar
5a2e62638a
Bug 696672. Use a larger font size in bidi/613149-2* tests. r=smontagu
...
This currently fails on unaccelerated GDI because in the reference we render
all of the text in one call which causes the blending of the overlap between
the ':' and the 'M' to be different than if we render the strings in two steps.
Increasing the font size makes it so that the space between characters is large
enough to avoid this problem.
--HG--
extra : rebase_source : 4f0b342f1354a021412621469e31cf40bf94394c
2011-11-02 15:27:27 -04:00
Chris Pearce
517290f8ff
Bug 696918 - Restrict key input in DOM full-screen mode to explicit whitelist. r=smaug
2011-11-03 08:17:32 +13:00
Timothy Nikkel
a9df288ffa
Bug 698266. Go back to using views when clearing mouse capture in views instead of trying to use frames. r=roc
2011-11-02 12:58:44 -05:00
Boris Zbarsky
5159a4843a
Bug 641341. Speed up CalculateHypotheticalBox for the case of a block containing a bunch of lines but absolutely no in-flows anywhere. r=roc
2011-10-04 23:47:08 -04:00
Robert Longson
76037b99aa
Bug 691646 - Pattern tile pixelated on patternTransform. r=dholbert
2011-10-04 16:22:46 +01:00
Ehsan Akhgari
66ce294c6b
Test case for bug 691087; r=roc
2011-10-04 08:41:51 -04:00
Robert Longson
c5441802db
Backout Bug 691646 for causing reftest failures on Linux
2011-10-04 11:00:32 +01:00
Robert Longson
9b996a8070
Bug 691646 - Pattern tile pixelated on patternTransform. r=dholbert
2011-10-04 09:38:21 +01:00
Ehsan Akhgari
713f44fa55
Backout changeset 37c5482971b1 (bug 583976) because of Android R2 test failures
2011-10-03 23:40:34 -04:00
Matt Woodrow
97e680e837
Bug 691431 - Remove invalid assertion and NULL check childFrame in WrapPreserve3DList. r=roc
2011-10-04 14:23:04 +13:00
Jesse Ruderman
d09e6f1471
Add crashtest from bug 597924
2011-10-03 16:35:59 -07:00
Robert O'Callahan
29ebbe758a
Bug 696307. Floats in a different block to their placeholders should only be painted once. r=mats
2011-11-08 13:09:39 +13:00
Robert O'Callahan
60655dac4c
Bug 696307. Don't overwrite the aChild parameter of BuildDisplayListForChild. r=mats
2011-11-08 13:09:39 +13:00
Daniel Holbert
baad864347
Bug 693940: Restrict SVG-as-an-image to load URIs with URI_INHERITS_SECURITY_CONTEXT. r=bz
2011-11-07 13:45:42 -08:00
Matt Brubeck
6c9762482a
Back out cd695cdb3b4f (bug 679759) because of test failures
2011-11-07 13:40:42 -08:00
William Lachance
34239550eb
Bug 679759 - MINIDUMP_STACKWALK_CGI support, let harness download symbols as needed, r=ted
2011-11-07 13:14:22 -08:00
Jonathan Watt
8a0b72332d
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Oonishi Atsushi
ebc58fb880
Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky
2011-11-10 15:01:11 +01:00
Robert Longson
f2f413ef56
Bug 698985 - make canvas/image-rendering-test.html more reliable. r=dholbert
2011-11-19 08:53:35 +00:00
Doug Sherk
55f0c47354
Bug 699626: patch reftest analyzer and WebGL reftests r=dbaron
2011-11-18 22:57:29 -05:00
Phil Ringnalda
414c66bbb5
Bug 696670, bug 696671, bug 696672, bug 696673, bug 696674, bug 703201 - annotate failing tests in Win7 reftest-no-accel
2011-11-17 20:24:25 -08:00
Ed Morley
c6c66f07cf
Backout 9786b28d116e & 08b07098228a (bug 701190) for permaorange reftest on Win7; a=romaxa
2011-11-18 21:59:29 +00:00
Ehsan Akhgari
abf9372815
Bug 682712 - Set the correct selection type when initializing the selection in editable content; r=roc
2011-11-18 16:47:40 -05:00
Tatiana Meshkova
89654555a3
Bug 701190 - position:fixed items disappear due to wrong translation. Reftest. r=roc
2011-11-09 11:14:43 -08:00
Tatiana Meshkova
3e692bbef7
Bug 701190 - position:fixed items disappear due to wrong translation. r=roc
2011-11-09 14:47:23 -08:00
Mark Banner
cbd25443a2
Bug 693949 - Drop nsCStringArray. r=bsmedberg
2011-10-28 08:35:45 +01:00
Daniel Holbert
d2a985d073
Bug 696188 followup: Add assertions and functional test for transitioning away from a transform-list. r=bz
2011-10-27 15:58:05 -07:00
Daniel Holbert
68ba4054d0
Bug 697475: deCOMtaminate nsSVGPatternFrame::GetPatternFirstChild. r=longsonr
2011-10-27 15:57:10 -07:00
Josh Aas
b258d496c8
Bug 649079: Plugin crash fix (parent process). r=bz
2011-10-27 16:00:49 -04:00
Robert Longson
725503802f
Bug 697057 - Patterns are blurred when the element is scaled. r=dholbert
...
--HG--
rename : layout/reftests/svg/pattern-scale-01.svg => layout/reftests/svg/pattern-scale-01a.svg
2011-10-27 09:51:46 +01:00
Timothy Nikkel
3e466ae9bb
Bug 655263. Remove views from decks. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
df8878f8ed
Bug 658005. Part 4. Remove nsIFrame::AreAncestorViewsVisible now that it is unused. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
09778341dc
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
258cd4a079
Bug 658005. Part 1. Allowing query frame to work on deck frames. r=roc
2011-10-26 18:57:55 -05:00
Robert O'Callahan
4cc122b80b
Followup for bug 678859. Fix test to use larger areas to ensure active layers are used.
2011-10-27 12:09:32 +13:00
Robert O'Callahan
17ad2dd8a3
Bug 678859. Don't create layers for content less than 16x16 pixels. r=tn
2011-10-27 09:10:48 +13:00
Boris Zbarsky
01bc3713f0
Bug 696233. Switch the nth-index cache to having a single hashtable per selector type (from end vs from start and of-type vs not-of-type). Gives somewhat better cache locality on some workloads and makes entry addition much cheaper because we no longer need to initialize all the new memory when the hashtable store is resized; we just initialize the parts of it we need as we need them. r=smaug
2011-10-26 15:34:20 -04:00
Boris Zbarsky
c9c4456454
Bug 662489. Reorganize the code flow for determining nth-index values. r=smaug
...
There are two changes here. The first is that the aCheckEdgeOnly case is factored out into a separate branch so as to avoid branching on aCheckEdgeOnly inside the sibling loop. This also allows us to reuse the IndexDetermined code for both aIsFromEnd and !aIsFromEnd cases. In particular, when aIsFromEnd we start by walking backwards and hoping for a cached index on a previous sibling and only walking forwards if that fails. For short child lists there's not that much of a difference, but for long ones this is a win.
2011-10-26 15:33:40 -04:00
Robert Longson
b1c939575c
Bug 696579 - Round out mask, filter and pattern surfaces. r=roc
2011-10-26 09:52:11 +01:00
Phil Ringnalda
fa10179bd2
Back out cc6b39f2b512 and f2b1103e5177 (bug 695832) for reftest failures
2011-10-25 23:18:47 -07:00
Robert O'Callahan
e285f8195b
Bug 696248. Flush pending onscroll events before painting. r=mats
2011-10-26 17:14:31 +13:00
Matt Woodrow
c4d40d4f69
Bug 695275 - Add test for ThebesLayer -> ImageLayer conversion. r=roc
2011-10-26 16:26:24 +13:00
Matt Woodrow
7968f3490d
Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc
2011-10-26 16:24:58 +13:00
Matt Woodrow
b18a7f9176
Bug 695275 - Add CheckAndClearPaintedState to test painting. r=roc
2011-10-26 16:23:26 +13:00
Matt Woodrow
bd234146bf
Bug 695832 - Test for perspective origin not being affected by transform origin. r=roc
2011-10-26 16:20:56 +13:00
Matt Woodrow
c9ed70f1ce
Bug 695832 - Perpsective origin offset should be relative to the transform origin. r=roc
2011-10-26 16:20:08 +13:00
Robert O'Callahan
1f6fcc2e5e
Backing out fix for bug 678859 due to unexpected passes --- we need to make sure canvases are always treated as active
2011-10-26 15:56:52 +13:00
Robert O'Callahan
dc436c42a7
Backed out changeset 9bbb30ec51f5
2011-10-26 15:55:51 +13:00
Ehsan Akhgari
74d9b6f1fb
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Robert O'Callahan
33b94bdf8d
Bug 678859. Don't create layers for content less than 16x16 pixels. r=tn
2011-10-26 14:14:49 +13:00
Ed Morley
647fb4ba20
Merge mozilla-central and mozilla-inbound
2011-10-26 01:04:58 +01:00
Olli Pettay
5a32278058
Bug 696020, target key events to html:body, r=bz+enn
...
--HG--
extra : rebase_source : 9befed4031ef3f43aa5ff6daa2c6bb23e66024f8
2011-10-24 22:54:18 +03:00
Robert O'Callahan
866833ced3
Bug 696739. Treat inline fieldsets as pseudo-stacking-contexts. r=bz
2011-10-25 16:52:52 +13:00
Jesse Ruderman
4a98a7e828
Bug 675553 followup: remove tautologous assertions. r=ehsan
2011-10-24 16:21:09 -07:00
Neil Deakin
82275e0b26
Back out 3f7638d38b32 as it caused some mac reftest failures
2011-10-25 14:45:23 -04:00
Timothy Nikkel
cb4f16ac10
Bug 658001. Need to clear mouse capture if the capturing frame is inside a hidden deck panel. r=roc
2011-10-25 13:20:13 -05:00
Boris Zbarsky
025682fa0d
Bug 696188. Fix leak when adding different transform lists for animation. r=dholbert
2011-10-25 12:58:35 -04:00
Neil Deakin
defd12cb21
Bug 696746, round width rather than adding one to prevent an extra reflow, r=roc
2011-10-25 11:05:32 -04:00
Neil Deakin
b9741fe3c6
Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc
2011-10-25 11:05:32 -04:00
Bernd
51b37008cb
bug 695430 - stop trying to insert previously emptied framelists r=bzbarsky
2011-10-24 21:22:33 +02:00
Oleg Romashin
21ca0625fc
Bug 693938 - Force mark PuppetWidget root scroll layer as opaque. r=roc
2011-10-23 10:57:47 +02:00
Masatoshi Kimura
b62835cb59
Bug 685400 - add "to" syntax and "magic corner" feature to CSS linear gradient. r=dbaron
...
--HG--
rename : layout/reftests/css-gradients/linear-ref.html => layout/reftests/css-gradients/linear-1-ref.html
rename : layout/reftests/css-gradients/linear.html => layout/reftests/css-gradients/linear-1b.html
rename : layout/reftests/css-gradients/linear-diagonal-1-ref.html => layout/reftests/css-gradients/linear-diagonal-1c.html
rename : layout/reftests/css-gradients/linear-diagonal-2-ref.html => layout/reftests/css-gradients/linear-diagonal-2c.html
rename : layout/reftests/css-gradients/linear-diagonal-3-ref.html => layout/reftests/css-gradients/linear-diagonal-3c.html
rename : layout/reftests/css-gradients/linear-diagonal-4-ref.html => layout/reftests/css-gradients/linear-diagonal-4c.html
rename : layout/reftests/css-gradients/linear-keywords-ref.html => layout/reftests/css-gradients/linear-keywords-1-ref.html
rename : layout/reftests/css-gradients/linear-keywords.html => layout/reftests/css-gradients/linear-keywords-1b.html
2011-10-22 21:41:11 +02:00
Nathan Froyd
bb5e7dae41
Bug 681535 - XUL reflow telemetry; r=dbaron
2011-10-17 12:49:57 -04:00
Jesse Ruderman
be1983ca23
Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron
2011-10-21 21:03:16 -07:00
Daniel Holbert
ef9e797306
Bug 693801: Remove redundant initialization for nsHTMLReflowState::mFlags.mIsTopOfPage. r=dbaron
2011-10-21 13:41:12 -07:00
Oleg Romashin
b12a692cb2
Bug 694706 - Get rid of checkerboard for remote viewport. r=cjones
2011-10-20 15:17:09 -07:00
Timothy Nikkel
6744e4ecfa
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-21 12:45:32 -05:00
Justin Lebar
fbe51410e2
Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug
2011-10-21 11:26:34 -04:00
Marco Bonardo
167dce1ac7
Backout 564144b09c4b, 049ba0a8823f, 608feeb4539c, d2e6a61338cc (Bug 695275) to investigate Android Crashtests permaorange.
2011-10-21 14:19:22 +02:00
Jonathan Kew
6a8718c856
bug 695639 - use the proper iterator to convert offsets into the textrun in GetFontFacesForText. r=roc
2011-10-21 08:13:51 +01:00
Jonathan Kew
4d053ea588
bug 695639 - test for GetFontFacesForText with textrun wrapped onto multiple lines. r=roc
2011-10-21 08:12:44 +01:00
Timothy Nikkel
79abab2e7b
Backout 18f70ede04b0 (bug 694213).
2011-10-20 20:59:47 -05:00
Robert O'Callahan
88740ba6da
Bug 681867. Part 2: remove nsDisplayForcePaintOnScroll. r=mats
2011-10-21 14:41:36 +13:00
Robert O'Callahan
ac9ee51054
Bug 681867. text-overflow only needs to affect the scrolling behavior of the block container with text-overflow. r=mats
2011-10-21 14:41:36 +13:00
Matt Woodrow
93fde9b68e
Bug 695275 - Follow-up to fix review comments that I missed.
2011-10-21 14:33:00 +13:00
Matt Woodrow
2b175a9ca1
Bug 695275 - Add test for ThebesLayer -> ImageLayer conversion. r=roc
2011-10-21 14:23:05 +13:00
Matt Woodrow
36cd8755bf
Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc
2011-10-21 14:22:19 +13:00
Matt Woodrow
4a97eecc77
Bug 695275 - Add nsIDOMWindowUtils::CheckAndClearPaintedState to test painting. r=roc
2011-10-21 14:21:40 +13:00
Boris Zbarsky
92509fcd34
Bug 695538 another test followup. Make sure that the test actually _could_ pass.
2011-10-20 16:25:31 -04:00
Boris Zbarsky
40f53182bf
Bug 695538 followup. Fix typo in reference and format the test to look more like the reference.
2011-10-20 14:41:27 -04:00
Timothy Nikkel
332c11b9c9
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-20 12:44:28 -05:00
Ehsan Akhgari
f3be362757
Bug 694880 - The editable state is not updated correctly when designMode is turned off; r=bz,peterv
2011-10-20 12:27:48 -04:00
Robert Longson
e7a56805ad
Bug 693424 - remove Should not be calling this on a non-display child assert in nsSVGForeignObjectFrame::GetBBoxContribution. r=dholbert
2011-11-09 12:13:31 +00:00
Jeff Walden
c54dfe474f
Bug 700910 - Implement MOZ_DELETE to encapsulate C++11 = delete syntax. r=cjones
...
--HG--
extra : rebase_source : 0fc4bc154923c84fd91e52be99fdac78f7c6dbc4
2011-11-08 19:19:44 -08:00
Boris Zbarsky
d2de5d9094
Bug 683712. Add a null-check to avoid bogus assumptions about blocks not being reflow roots. r=mats
2011-11-08 23:22:36 -05:00
Matt Woodrow
b9a9dba520
Bug 695610 - Move ImageContainer caching into imgIContainer. r=joe
2011-11-09 16:14:41 +13:00
Jeff Muizelaar
96217c7697
Bug 698107. layout: Return nsnull instead of false. r=bz
...
Caught by a clang warning.
--HG--
extra : rebase_source : 384a3451b7e54f8afb40f5e8a94000c00a54cc6d
2011-11-08 18:09:22 -05:00
Marco Bonardo
01f25559b7
Merge mozilla-central to mozilla-inbound
2011-11-08 23:58:10 +01:00
Neil Deakin
9b80fd4f04
Bug 696745, remove nsIMenuRollup and xul-popup-manager component, r=mats,sr=roc
2011-11-08 14:59:07 -05:00
Boris Zbarsky
2010c8f7fc
Bug 700116. Fix the ordering if IsAlternate calls and sheet state determination so that the hashtable munging IsAlternate can do doesn't mess up our sheet states. r=sicking
2011-11-07 23:41:17 -05:00
Ed Morley
e57dd3a282
Merge mozilla-central and mozilla-inbound
2011-11-24 09:08:33 +00:00
L. David Baron
89ed9560ba
Run existing tests without font size inflation, even when it is enabled. (Bug 627842, patch 17) r=roc
2011-11-23 18:48:24 -08:00
L. David Baron
5ef7f84c99
Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc
2011-11-23 18:48:24 -08:00
L. David Baron
abb8d1c39a
Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
...
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets): see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
L. David Baron
46718a5759
Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal
2011-11-23 18:48:23 -08:00
L. David Baron
b4141b61eb
Apply font size inflation to list bullets. (Bug 627842, patch 13) r=roc
...
Note that this doesn't do anything about the indentation of the list, so
for large inflation there may end up being overlap as a result.
2011-11-23 18:48:23 -08:00
L. David Baron
25c4c1ad91
Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
4053e3de9f
Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
...
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
L. David Baron
c83c4441ad
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
2ca5929d4e
Apply font size inflation to text. (Bug 627842, patch 9) r=roc
...
This applies the font size inflation to reflow and painting of text
frames. However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-23 18:48:23 -08:00
L. David Baron
14c99d00c7
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
70b87a1b05
Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
96482a27d1
Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
b5db9e038b
When font size inflation is enabled, horizontal resizes of blocks must cause a full dirty reflow. (Bug 627842, patch 5) r=bzbarsky
...
This change is sufficient because the places that set mHResize to true
other than InitResizeFlags and nsFrame::BoxReflow aren't a problem
because they're in table code whose goal is to force the reflow to
propagate down to the cell, and once we reach the cell we'll hit the
code we've added here.
2011-11-23 18:48:23 -08:00
L. David Baron
3917f9c2e1
Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc
...
This implements computation of the font size inflation factor for a
given frame. Since Fennec does layout using a fake viewport whose width
represents a typical viewport width on the desktop and then allows users
to pan and zoom, fonts are not always readable even when zoomed. The
goal of this font size inflation is to ensure that when a block of text
is zoomed to fill the width of the device, the fonts are large enough to
read. We do this by increasing the font sizes in the page. Since this
increase is a function of the width of the text's container, the
inflation must be performed (in later patches in this series) after
style data computation and after intrinsic width computation.
The font size inflation factor does not vary *within* a block.
Since sync uses a whitelist (the services.sync.prefs.sync.* prefs) for
preferences (i.e., preferences are not synced by default), this patch
does not make any changes relating to sync, since we do not want the
inflation preferences synced across devices (since preferred settings
are likely to be device-specific).
2011-11-23 18:48:23 -08:00
L. David Baron
1fc147e17f
Don't construct cell reflow states with a row group reflow state as their parent; instead, always link in a table row reflow state as appropriate. (Bug 627842, patch 3.875) r=roc
...
Fixes assertion on layout/reftests/bugs/409084-1a.html once the rest
of the inflation patches land.
2011-11-23 18:48:23 -08:00
L. David Baron
3305bb2f9c
Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
51ec63eaad
When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
532d22e477
Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
98751dedcb
Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
...
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property). It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00
Scott Johnson
09f27e33c4
Bug 682077 - Backout of 332d4787b430 to troubleshoot crashes on Windows.
2011-11-23 13:40:08 -06:00
Ehsan Akhgari
fddd9ce5af
Bug 656875 - Use the transformed dirty rectngle when building display list items for stacking context; r=roc
...
--HG--
extra : rebase_source : a98568046ab5e4b4382e380f0fd2d03be481edaa
2011-05-16 13:27:24 -04:00
Felipe Gomes
f0c871d8b2
Bug 583976. Part 4 - Enable reftests that require focus on reftest-ipc. r=cjones
2011-10-03 16:15:44 -07:00
Scott Johnson
8828abe2a6
Bug 666446, Part 8/18 - Change xul tree implementation to utilize refresh driver based animations for performance improvements with animated images. [r=roc]
2011-10-03 13:39:05 -07:00
Scott Johnson
91dcb84e48
Bug 666446, Part 7/18 - Change nsImageLoader to utilize new refresh driver animations to overcome performance issues with animated background images. [r=roc]
2011-10-03 13:39:05 -07:00
Scott Johnson
90549abb9c
Bug 666446, Part 6/18 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-10-03 13:39:05 -07:00
Scott Johnson
9a5b073351
Bug 666446, Part 5/18 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc]
2011-10-03 13:39:05 -07:00
Scott Johnson
e317548311
Bug 666446, Part 4/18 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats]
2011-10-03 13:39:05 -07:00
Scott Johnson
0dacbc6ccb
Bug 666446, Part 3/18 - Create hook functions in nsLayoutUtils to coalesce some of the new code for frame-like objects and avoid code duplication. [r=roc]
2011-10-03 13:39:05 -07:00
Scott Johnson
d840339689
Bug 666446, Part 2/18 - Change nsRefreshDriver to accept imgIRequest objects to facilitate refresh driver-based animations. [r=roc]
2011-10-03 13:39:05 -07:00
Boris Zbarsky
f47e3f5396
Bug 690990. Don't assert that sheets are not modified when it would be just fine for them to be modified. r=peterv
2011-10-03 15:11:59 -04:00
Marco Bonardo
977ee4f471
Merge last good changeset from mozilla-inbound to mozilla-central
2011-10-03 15:34:14 +02:00
Matt Woodrow
da4a9cda9a
Bug 691106 - Merge sequential nsDisplayTransforms and give them unique frame keys. r=roc
2011-10-03 17:02:25 +13:00
Matt Woodrow
9207ef81c8
Bug 682919 - Add eCSSKeyword_UNKNOWN terminators to 3d transforms style tables. r=dbaron
2011-10-03 16:59:43 +13:00
Ms2ger
fe21396063
Bug 93077 - Support #top in standards mode; r=bz
2011-10-01 18:14:40 +02:00
Atul Aggarwal
e9468a5526
Bug 673820 - Rewriting StringToInteger function to match behavior of Rules for parsing Integers specified in spec. r=jonas f=mounir,Ms2ger,dbaron
2011-10-01 19:30:27 +05:30
Phil Ringnalda
0c88c8267d
Bug 683163 - Disable the too-mittently-failing bug389321-1.html on Windows
...
--HG--
extra : rebase_source : f7ad5865c3cbf47746545eee2f03c7d884bce76f
2011-09-30 21:46:46 -07:00
Ben Turner
638dee58a3
Bug 690962 - 'Remove useless assertion now that we use bool instead of PRBool'. r=dbaron.
2011-10-02 13:59:37 -07:00
Josh Matthews
7f169e8e68
Bug 623625 - Force window to the front on mac, and make sure the app window is active on all platforms for needs-focus reftests. r=ndeakin
2011-10-01 15:50:19 -04:00
Josh Aas
6f07f0eace
Bug 690834: Replace PR_TRUE and PR_FALSE with true and false in in plugin code outside of dom/plugins. r=roc
2011-10-01 11:43:07 -04:00
Matt Brubeck
3d8b943004
Merge mozilla-central to mozilla-inbound
2011-09-30 18:39:57 -07:00
Matt Brubeck
171837687d
Back out 6d1c0e678b61 (Bug 689319) because of test failures
2011-09-30 14:11:24 -07:00
L. David Baron
14920bf983
Update to rules in current css3-mediaqueries spec for handling malformed media queries: all of the handling is now at the query level rather than the query list level. (Bug 689319) r=bzbarsky
2011-09-30 12:24:49 -07:00
Ehsan Akhgari
f696794a6c
Merge the last green changeset of mozilla-inbound into mozilla-central
2011-09-30 10:13:25 -04:00
Ehsan Akhgari
ad99276fcf
Reftest for bug 564002; r=roc
2011-09-30 10:12:16 -04:00
Ehsan Akhgari
7674b8fc55
Crashtest for bug 512749; r=roc
2011-09-30 10:11:51 -04:00
Ehsan Akhgari
1f69470a2f
Crashtest for bug 655462; r=roc
2011-09-30 10:11:39 -04:00
Jonathan Watt
b8e054ce7f
Bug 614732 - Add an argument to nsSVGUtils::GetBBox() to allow callers to specify whether stroke or markers should be included in the bounds returned. r=roc.
2011-09-30 10:25:37 +01:00
Jonathan Watt
01b6cbbc31
Bug 690486 - Kill nsISVGValue, nsSVGValue, nsISVGValueObserver, nsISVGValueUtils and nsSVGStringProxyValue. r=longsonr.
2011-09-30 10:25:34 +01:00
Robert Longson
524e2377a2
Bug 689546 - Simplify attribute updates to svg elements. r=jwatt
2011-09-30 09:25:01 +01:00
Matt Brubeck
bad4663d2f
Merge from mozilla-inbound to mozilla-central
2011-09-29 20:29:17 -07:00
Ehsan Akhgari
4ef40fe917
Backout changeset 32e9422afd8d (bug 687265) explicitly from mozilla-central
2011-09-29 20:29:11 -04:00
Ehsan Akhgari
718a93adce
Merge mozilla-central into mozilla-inbound
2011-09-29 17:26:09 -04:00
Neil Deakin
79816dbc59
Bug 659338, move resizer test to chrome, but leave content-specific test as a content test
2011-09-29 16:05:10 -04:00
Neil Deakin
e6cc4cf4d2
Bug 683394, resizer in content check is reversed, r=neil
2011-09-29 16:05:10 -04:00
Neil Deakin
97c4df9058
Bug 680431, this test is calling finish() twice preventing the next test from running, f=smaug
2011-09-29 16:05:10 -04:00
Mark Finkle
b02d0598f9
Backout 39d5bb6c6d4d for reftest-2 failures on Android
2011-09-29 14:34:13 -04:00
Ehsan Akhgari
db90e13744
Bug 690060 - Make runreftests.py append "crashtest.list" to the test path when only a crashtest directory is specified; r=ted
2011-09-29 10:58:13 -04:00
Mark Finkle
83136bf3b9
Bug 687265 - Front-end support for flash on Android Fennec [r=mbrubeck r=blassey]
2011-09-29 10:44:03 -04:00
Robert Longson
8a76610916
Bug 630657 - masks should respect color-interpolation. r=jwatt
2011-09-29 15:03:21 +01:00
Jonathan Kew
998b9fe084
bug 688779 followup - re-enable reftests for hyphenation (en-US only) on android.
2011-09-29 10:40:28 +01:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Adam Dane [:hobophobe]
35dfe378d7
bug 591249 - event dragleave not properly dispatched if drag-and-drop aborted with ESC within iframe. r=smaug
2011-09-26 15:55:04 -05:00
Boris Zbarsky
c8c8a24548
Bug 460323 testcase.
2011-09-28 15:28:33 -04:00
Boris Zbarsky
095402dd70
Bug 689564. Only forward event attributes on body/frameset to the window if we also forward the corresponding on* property. r=smaug
2011-09-28 11:54:50 -04:00
Mats Palmgren
eac096967f
Bug 688044 - ASSERTION: Why is the root in mDirtyRoots already? r=bzbarsky
2011-09-28 10:31:01 +02:00
Ed Morley
e4907ad017
Bug 689037 - Remove unused layout/tools/layout-debug/makefiles.sh; r=khuey
2011-09-28 09:25:52 +01:00
Matt Woodrow
bc10d9cf93
Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc
2011-09-30 14:39:40 +13:00
Matt Woodrow
0b23a6bac7
Bug 689501 - Remove invalid assertion with 3d transforms. r=roc
2011-09-30 14:07:04 +13:00
Ehsan Akhgari
5d4dba47bb
Backout changeset 32e9422afd8d (bug 687265) one more time since I accidentally merged it back to mozilla-inbound
2011-09-29 20:16:49 -04:00
Alexander Surkov
6a04618807
Bug 673958 - rework accessible focus handling, r=enndeaking, marcoz, tbsaunde, matspal, f=marcoz
...
--HG--
rename : accessible/tests/mochitest/test_aria_activedescendant.html => accessible/tests/mochitest/events/test_focus_aria_activedescendant.html
rename : accessible/tests/mochitest/events/test_focus.html => accessible/tests/mochitest/events/test_focus_dialog.html
rename : accessible/tests/mochitest/events/test_focusdoc.html => accessible/tests/mochitest/events/test_focus_doc.html
rename : accessible/tests/mochitest/events/test_focus.xul => accessible/tests/mochitest/events/test_focus_general.xul
rename : accessible/tests/mochitest/states/test_comboboxes.xul => accessible/tests/mochitest/states/test_expandable.xul
rename : accessible/tests/mochitest/test_nsIAccessible_selects.html => accessible/tests/mochitest/states/test_selects.html
2011-09-28 10:46:11 +09:00
Brian Birtles
616ecf38f9
Bug 602504 - Make event-being-timeevent-3.svg pass quickly and fail slowly; r=dholbert
2011-09-28 08:58:54 +09:00