Граф коммитов

31204 Коммитов

Автор SHA1 Сообщение Дата
Matthew Gregan 18f25ebd3f 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 c807bded74 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 148c5caba1 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 cd1c6f8ece 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 5b68e3365d 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 80407654c9 Bug 691646 - Pattern tile pixelated on patternTransform. r=dholbert 2011-10-04 16:22:46 +01:00
Ehsan Akhgari e9aca4dbca Test case for bug 691087; r=roc 2011-10-04 08:41:51 -04:00
Robert Longson 04faf415bb Backout Bug 691646 for causing reftest failures on Linux 2011-10-04 11:00:32 +01:00
Robert Longson 309c85efba Bug 691646 - Pattern tile pixelated on patternTransform. r=dholbert 2011-10-04 09:38:21 +01:00
Ehsan Akhgari e3be9ffdb6 Backout changeset 37c5482971b1 (bug 583976) because of Android R2 test failures 2011-10-03 23:40:34 -04:00
Matt Woodrow 8abd263d40 Bug 691431 - Remove invalid assertion and NULL check childFrame in WrapPreserve3DList. r=roc 2011-10-04 14:23:04 +13:00
Jesse Ruderman ec81788bf1 Add crashtest from bug 597924 2011-10-03 16:35:59 -07:00
Ehsan Akhgari 1b32875c44 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 20000c7e93 Bug 583976. Part 4 - Enable reftests that require focus on reftest-ipc. r=cjones 2011-10-03 16:15:44 -07:00
Scott Johnson 3cc008f921 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 c4d5846ffe 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 5e210060ef 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 d3e9c17ae4 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 48e6539470 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 6b33216408 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 cd06eebd31 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 11b5bde3e2 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 a730c3543c Merge last good changeset from mozilla-inbound to mozilla-central 2011-10-03 15:34:14 +02:00
Matt Woodrow ae2391fce2 Bug 691106 - Merge sequential nsDisplayTransforms and give them unique frame keys. r=roc 2011-10-03 17:02:25 +13:00
Matt Woodrow a20a2599bb Bug 682919 - Add eCSSKeyword_UNKNOWN terminators to 3d transforms style tables. r=dbaron 2011-10-03 16:59:43 +13:00
Ms2ger 1329413242 Bug 93077 - Support #top in standards mode; r=bz 2011-10-01 18:14:40 +02:00
Atul Aggarwal 68c6dc4c1f 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 aa7afa50d1 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 861a81d26c 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 01acd802b5 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 e4a4cfce64 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 6ad7eab95f Merge mozilla-central to mozilla-inbound 2011-09-30 18:39:57 -07:00
Matt Brubeck 72ba68a736 Back out 6d1c0e678b61 (Bug 689319) because of test failures 2011-09-30 14:11:24 -07:00
L. David Baron cdbb81c63a 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 6a2247f9f9 Merge the last green changeset of mozilla-inbound into mozilla-central 2011-09-30 10:13:25 -04:00
Ehsan Akhgari 1a4c8368cd Reftest for bug 564002; r=roc 2011-09-30 10:12:16 -04:00
Ehsan Akhgari 3712f55a5e Crashtest for bug 512749; r=roc 2011-09-30 10:11:51 -04:00
Ehsan Akhgari 4b619a80e2 Crashtest for bug 655462; r=roc 2011-09-30 10:11:39 -04:00
Jonathan Watt f5d42a1237 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 387f4610a3 Bug 690486 - Kill nsISVGValue, nsSVGValue, nsISVGValueObserver, nsISVGValueUtils and nsSVGStringProxyValue. r=longsonr. 2011-09-30 10:25:34 +01:00
Robert Longson b58e09e78f Bug 689546 - Simplify attribute updates to svg elements. r=jwatt 2011-09-30 09:25:01 +01:00
Matt Brubeck 746cf20f8f Merge from mozilla-inbound to mozilla-central 2011-09-29 20:29:17 -07:00
Ehsan Akhgari 5e4dbdfba3 Backout changeset 32e9422afd8d (bug 687265) explicitly from mozilla-central 2011-09-29 20:29:11 -04:00
Ehsan Akhgari c7d37d466b Merge mozilla-central into mozilla-inbound 2011-09-29 17:26:09 -04:00
Neil Deakin 95bb3cbe91 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 b1922df50d Bug 683394, resizer in content check is reversed, r=neil 2011-09-29 16:05:10 -04:00
Neil Deakin 75f9212928 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 eba6e9f2ef Backout 39d5bb6c6d4d for reftest-2 failures on Android 2011-09-29 14:34:13 -04:00
Ehsan Akhgari 8abaa5dc07 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 30ce00b9ca Bug 687265 - Front-end support for flash on Android Fennec [r=mbrubeck r=blassey] 2011-09-29 10:44:03 -04:00
Robert Longson 4dab21f0ab Bug 630657 - masks should respect color-interpolation. r=jwatt 2011-09-29 15:03:21 +01:00
Jonathan Kew de157af35a bug 688779 followup - re-enable reftests for hyphenation (en-US only) on android. 2011-09-29 10:40:28 +01:00
Michael Wu d2b70213ac 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] 2c59e05b59 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 77d1e9b388 Bug 460323 testcase. 2011-09-28 15:28:33 -04:00
Boris Zbarsky cfd7013695 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 c8c23518fe Bug 688044 - ASSERTION: Why is the root in mDirtyRoots already? r=bzbarsky 2011-09-28 10:31:01 +02:00
Ed Morley 9a5a4709e2 Bug 689037 - Remove unused layout/tools/layout-debug/makefiles.sh; r=khuey 2011-09-28 09:25:52 +01:00
Matt Woodrow 5c34b707d7 Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc 2011-09-30 14:39:40 +13:00
Matt Woodrow 14526049b5 Bug 689501 - Remove invalid assertion with 3d transforms. r=roc 2011-09-30 14:07:04 +13:00
Ehsan Akhgari 68fd287b45 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 85f57ffd5d 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 5087ce14b8 Bug 602504 - Make event-being-timeevent-3.svg pass quickly and fail slowly; r=dholbert 2011-09-28 08:58:54 +09:00
Timothy Nikkel 0a399ab049 Bug 635645. Increase the amount of scrolling performed by using the arrow keys from 1 line to 2 lines. r=roc
This improves scrolling speed and is more inline with what other browsers do.
2011-09-27 14:05:21 -05:00
Chris Jones 1f56ef5a02 Bug 689366: Don't ask our frame loader for its layer manager after Destroy(). r=bz 2011-09-27 11:35:23 -07:00
Joel Maher 23a13282f5 Bug 688749 - reftest.js will throw an exception if we do a getPref and the pref doesn't exist. r=dbaron 2011-09-27 08:30:24 -04:00
Phil Ringnalda 49d5f976b1 Back out 6e359c7e8080 (bug 681755) on suspicion of bloating the Windows debug mochitest-4 logs to the point of truncation 2011-09-26 19:37:47 -07:00
Benoit Girard 55511ee95e Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe
--HG--
extra : rebase_source : b5458fa13fc6277560eb0ebc3e4e31f6c04b4e6c
2011-09-19 13:05:15 -07:00
Jonathan Hage c51413a1ef Bug 673759 - Reftests for positive namedspaces; r=karlt 2011-09-27 03:13:23 +01:00
Frédéric Wang a11f9aab66 Bug 356870 - Allow mlabeltdr to be used in mtable; r=karlt 2011-09-27 03:13:23 +01:00
Fabrice Desré d79d54482e Bug 593891 - Part 2 : Use a different title for the capture picker [r=mfinkle] 2011-09-26 17:25:41 -07:00
Ehsan Akhgari 144367bb52 Crashtest for bug 660451; r=roc 2011-06-28 17:10:27 -04:00
Ehsan Akhgari 9436f4ec0c Crashtest for bug 665853; r=bzbarsky 2011-06-22 20:50:50 -04:00
Ehsan Akhgari d6cbbc37f6 Reftest for bug 63895; r=roc 2011-06-10 19:02:23 -04:00
Ehsan Akhgari 7e53bb961a Bug 659828 - Part 3: Adjust the break-after-caption reftests to work correctly again now that the table top margin gets collapsed with its parent top margin; r=roc 2011-09-27 18:01:46 -04:00
Ehsan Akhgari cf84cd7774 Bug 659828 - Part 2: Avoid calling nsIFrame::GetType needlessly in nsHTMLReflowState; r=roc 2011-06-10 19:02:14 -04:00
Benoit Girard e8ff002072 Bug 689560 - Add progress indication to Reftest. r=dbaron 2011-09-30 09:47:02 -04:00
Ehsan Akhgari 4b84fe41d5 Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
Outer table frames act as CSS2.1 table wrapper boxes.  We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width.  This breaks horizontal positioning of
absolutely positioned kids of a table frame.

The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame.  This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.

In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that.  Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too.  nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.

Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides.  This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame.  The
427129-table-caption reftest has been modified to match this new behavior.

Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Ehsan Akhgari 947ce13613 Bug 656130 - Part 2: More crashtests; r=roc 2011-06-28 17:10:29 -04:00
Ehsan Akhgari 941f2f10c3 Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky 2011-05-11 19:53:34 -04:00
Ehsan Akhgari 2b29cd6201 Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky 2011-05-12 00:04:30 -04:00
Ehsan Akhgari 59e7e67254 Bug 10209 - Part 5: Allow table elements to act as absolute positioning containers; r=roc 2011-05-09 20:36:10 -04:00
Ehsan Akhgari 01fc147551 Bug 10209 - Part 4: Mark the reftest for bug 637597 as random, because the bug was never fixed originally; r=roc 2011-09-29 13:30:56 -04:00
Ehsan Akhgari b684e1d209 Bug 10209 - Part 3: Adjust the assertion count on the test case for bug 348729; r=roc 2011-09-26 18:42:07 -04:00
Ehsan Akhgari 461fab9117 Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Ehsan Akhgari 8a2bb21f0e Bug 10209 - Part 1: Add an API for absolute container support for all frame types; r=roc 2011-04-27 19:41:43 -04:00
Ehsan Akhgari c1ca3d8941 Bug 690060 - Make runreftests.py append "crashtest.list" to the test path when only a crashtest directory is specified; r=ted
--HG--
extra : rebase_source : ea0d2b03cfcf7547d6c8acbc360e47595eb90a66
2011-09-29 10:58:13 -04:00
Mark Finkle 8bb33dc7e1 Bug 687265 - Front-end support for flash on Android Fennec [r=mbrubeck r=blassey]
--HG--
extra : rebase_source : 39d5bb6c6d4d3165dcb10bded80a2aa9da7cb98e
2011-09-29 10:44:03 -04:00
Robert Longson 8b2778952e Bug 630657 - masks should respect color-interpolation. r=jwatt
--HG--
extra : rebase_source : d8ec90b0a18444be4890dbe127a1e0e7d70f9ede
2011-09-29 15:03:21 +01:00
Jonathan Kew 37fec59c3f bug 688779 followup - re-enable reftests for hyphenation (en-US only) on android.
--HG--
extra : rebase_source : 3430e302d5bd75155f7d0c3742ea6cbb785f26ef
2011-09-29 10:40:28 +01:00
Boris Zbarsky 7ab67f7e5d Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron 2011-09-26 18:04:36 -04:00
Matt Woodrow 1c7000d5d8 Part 20 - Add more gfx3DMatrix transformation function and use these in nsStyleTransformMatrix. r=derf 2011-09-27 10:54:45 +13:00
Matt Woodrow bbeb8ef9e1 Bug 505115 - Part 19 - Make the matrix*() transform function handles both length and number values. r=dbaron 2011-09-27 10:54:30 +13:00
Matt Woodrow c22db9c6a4 Bug 505115 - Part 18 - Make the perspective() transform function fail with numbers <= 0. r=dbaron 2011-09-27 10:53:39 +13:00
Matt Woodrow 28ca5bb7d9 Bug 505115 - Part 16 - Implement transitions/animations for 3d transforms. r=dbaron, derf 2011-09-27 10:53:33 +13:00
Boris Zbarsky 29daf0fda9 Bug 185236 part 5. Fire load and error events on stylesheet linking elements. r=peterv 2011-09-26 17:27:13 -04:00
Boris Zbarsky a0c82870fe Bug 185236 part 4. Pass along the owning element to all sheet load datas, assuming we have one at all. r=peterv 2011-09-26 17:27:00 -04:00
Boris Zbarsky 226991d556 Bug 185236 part 3. Add a way to differentiate SheetComplete calls for actual loads and for the fake SheetLoadData we use to trigger observer notifications for already-complete sheets. r=peterv 2011-09-26 17:26:54 -04:00
Boris Zbarsky 3752e6e036 Bug 185236 part 2. Make sure to remove our SheetLoadData from mPostedEvents before calling SheetComplete on it, so that checking for pending loads from inside SheetComplete will work correctly. r=peterv 2011-09-26 17:26:05 -04:00
Benoit Girard 6216fe6fff Merge to the latest green changeset from mozilla-inbound to mozilla-central 2011-09-26 15:52:45 -04:00
Mats Palmgren 424aead691 Bug 686581 - Disable theming in SVG images harder. r=longsonr 2011-09-26 18:29:06 +02:00
Atul Aggarwal 55091f006e Bug 653295 - Fixing warning of comparision between signed and unsigned integer expressions in nsFrameSetFrame.cpp. r=bz 2011-09-26 01:47:43 +05:30
Boris Zbarsky d328ef8584 Bug 645538. Remove bogus warning. r=roc 2011-09-26 00:53:30 -04:00
Boris Zbarsky eaa64ca885 Bug 688405. Allow rowspans up to 65534, up from our current 8190. r=bernd 2011-09-26 00:52:33 -04:00
Brian Birtles d2271db96e Bug 602759 part 16 - Reftest for detecting presence of transform lists; r=jwatt 2011-09-25 22:04:47 +01:00
Brian Birtles 9058bc1a8c Bug 602759 part 13 - Update layout to use new matrix and transform types; r=jwatt 2011-09-25 22:04:32 +01:00
Brian Birtles 036a332544 Bug 602759 part 2 - Add tests for transform lists; r=jwatt 2011-09-25 22:03:26 +01:00
Joel Maher ce02631d63 Bug 688762 - add try/except blocks around all harnesses so we always return an error code. r=bear 2011-09-26 07:41:19 -04:00
Mats Palmgren 3224202e44 Bug 686581 - Disable theming in SVG images. r=roc 2011-09-24 10:28:55 +02:00
Mats Palmgren 24bda5455f Bug 686581 - Implement -moz-is-resource-document media query. r=roc 2011-09-24 10:28:54 +02:00
Mats Palmgren 3342b2b5fe Bug 191864 - Range and Selection broken with splitText() and normalize(). r=smaug 2011-09-24 02:56:38 +02:00
Boris Zbarsky d2287e2ff1 Bug 677002. Back out the patch for bug 666643 because it disabled a bunch of tests. r=khuey 2011-09-23 12:27:18 -04:00
Justin Lebar 0093ca222c Bug 688624 - Use nsAutoTArray in nsDisplayList::HitTest. r=roc 2011-09-22 23:50:57 -04:00
Paul Biggar ca975bca37 Change in-tree users of Array.prototype.splice to not rely on non-standard behavior of deleting all elements from |k| onward for |arr.splice(k)|. r=jwalden
--HG--
extra : rebase_source : b2f041ab27c500636598fe6213481c1a5f0989e8
2011-09-22 15:43:11 -07:00
Ehsan Akhgari 69ee1b11ba Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions 2011-09-22 18:09:44 -04:00
Masayuki Nakano 6fecf30153 Bug 543789 part.7 Dispatch compositionupdate event and set data value of compositionend event in all IME handling tests r=smaug, sr=roc 2011-09-22 18:17:41 +09:00
Robert Longson b2325d5a3f Bug 687445 - Do not round mask size till after the CTM transform has been applied. r=roc 2011-09-21 12:30:38 +01:00
Robert Longson a2e4f4c4cd Bug 687830 - Simplify marker implementation by calculating viewbox on paint rather than attempting to cache it. r=roc 2011-09-21 08:53:09 +01:00
L. David Baron 5fa1a3da00 Add mochitest for bug 686656. r=bzbarsky 2011-09-20 23:52:46 -04:00
Boris Zbarsky 6f26e1d0d4 Bug 686656. Make sure to skip animation rules as well as transition rules when we're reparenting a style context when not processing an animation restyle. r=dbaron 2011-09-20 23:52:44 -04:00
Benoit Girard 1aba5b6854 Bug 683803 - [backout] Add a 60 FPS Cap to throttle plugin drawing. r=backout 2011-09-20 22:35:13 -04:00
Ehsan Akhgari c0e01ee34d Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Benoit Girard 06e7a29b33 Bug 683803 - [OOPP] Add a 60 FPS Cap to throttle plugin drawing. r=cjones 2011-09-07 16:18:42 -04:00
Boris Zbarsky 926cacef5e Bug 444641 part 4. Remove the data: special-casing for images in canvas, since we now set the right principal for data: images. r=roc 2011-09-20 17:00:42 -04:00
Randell Jesup 8407136580 Bug 682684: handle frames being deleted when running EditorInitializer when under scriptblocker r=roc 2011-09-19 23:14:47 -04:00
Robert Longson e2679efebc Bug 687518 - Remove nsSVGUtils:: from nsSVGutils methods. r=roc 2011-09-19 18:09:59 +01:00
Alon Zakai 096cdc5f6c Bug 633627 - Disable tests that fail with fixedpoint blurring. r=roc 2011-09-19 09:34:32 -07:00
Robert Longson 4787d54f01 Bug 687340 - Make dynamic changes to mask, clipPath and marker attributes work. r=roc 2011-09-19 13:59:52 +01:00
Ed Morley 2d2ff83055 Merge last green changeset on mozilla-central to mozilla-inbound 2011-09-19 12:27:35 +01:00
Oleg Romashin f6a3b24bf2 Bug 687392 - Use nearest filter for mobile video/plugin rendering. r=roc 2011-09-19 12:12:16 +01:00
Ed Morley 9a350ee255 Merge last green changeset on mozilla-inbound to mozilla-central 2011-09-18 20:23:17 +01:00
Olli Pettay 3e3400ebbc Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Ms2ger 19eb2d5178 Bug 687070 - Remove unused variable 'result' in nsDisplaySelectionOverlay::Paint; r=masayuki 2011-09-18 11:22:18 +02:00
Ms2ger 09c97f4a38 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Daniel Holbert 2400305c37 Back out cset c3bf76213a6c (bug 665392) for breaking a testcase from the w3c svg testsuite, 'full-animate-elem-24-t.html'. 2011-09-17 09:18:13 -07:00
Robert O'Callahan ext:(.) c5804fbce1 Bug 647687 - Fix filter SourceImage bounds. r=longsonr 2011-09-17 09:29:51 +01:00
Ed Morley 9c6e88d2d6 Backout d4bdab069bbc (bug 630007) for qt build bustage and various oranges on other platforms 2011-09-17 00:27:55 +01:00
Doug Turner c938f47ba6 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Doug Turner d6d932e4e7 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Jonathan Kew ee56ede693 bug 686497 - avoid passing excessively long wavy-underline path to cairo for stroking. r=roc 2011-09-16 20:23:29 +01:00
Ehsan Akhgari 8024c114f3 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-16 09:31:43 -04:00
Kyle Huey dbdc064e79 Merge m-c to b-s. 2011-09-15 16:44:46 -07:00
Ehsan Akhgari f3bacc8d1a Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-15 09:41:15 -04:00
Neil Rashbrook e626e8ff0c Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Neil Rashbrook 396ec9d7bf Backout of bug 611503 because Android has some weird string code 2011-09-14 21:14:57 +01:00
Neil Rashbrook 12e76a497d Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-14 20:21:20 +01:00
Kyle Huey a9fd5acf9f Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Ehsan Akhgari 4df687ca99 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Frédéric Wang 57152238b5 Bug 398505 - Remove nonstandard actiontype "restyle" of maction; r=karlt 2011-09-14 08:51:24 +01:00
Oleg Romashin bf429a8ed6 Bug 686513 - RenderFrameParent::BuildDisplayList crash when shadow root layer is null; r=roc 2011-09-14 08:51:24 +01:00
Matt Brubeck b4bba8c7f7 Merge mozilla-central and mozilla-inbound 2011-09-13 20:58:14 -07:00
Mounir Lamouri 0d38832157 Bug 686545 - Fix build bustage with nsRefreshDriver/nsARefreshObserver not being defined. r=ehsan
The buld bustage only appears with some options being disabled in the
mozconfig. Likely, nsRefreshDriver.h is included by another hedear that isn't
included when an option is disabled.
2011-09-13 14:32:07 -07:00
Jonas Sicking bd83880bfe Bug 684927 - unchecked null pointer in nsMenuBarListener::KeyUp; r=smaug 2011-09-12 14:00:59 -04:00
Mats Palmgren c2d66bf09f Bug 685901 - Remove the nsTableOuterFrame::mInnerTableFrame and mCaptionFrame members in favor of accessing the child frame lists directly. r=roc 2011-09-12 09:08:07 -07:00
Mats Palmgren 15fc2f321d Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
Make nsCSSFrameConstructor::ConstructTable return a null frame if
creating the inner table frame fails.  Simplify some code since we can
now depend on the invariant that a properly created outer table frame
always has a non-null inner table frame.
2011-09-12 09:08:07 -07:00
Mats Palmgren 37e14b15b9 Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
Make nsIFrame::GetParentStyleContextFrame return the frame directly
instead of indirectly through an out parameter.  Remove the unused
nsPresContext parameter.
2011-09-12 09:08:07 -07:00
Mounir Lamouri 790b0b9cf2 Bug 675201 - Attempt to wait for focus in the test before issuing keyboard events; r=ehsan 2011-09-11 11:21:09 -07:00
Kyle Huey e4ec1c04d2 Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Robert O'Callahan 75a23baafe Bug 619992 - Fix location calculations for light sources. r=longsonr 2011-09-14 15:48:32 +01:00
Ehsan Akhgari 2cb2e9f876 Backout changeset 2705abe8d3f2 (bug 686247) again because of the accessibility test failures 2011-09-13 17:42:43 -04:00
Mounir Lamouri c3ab39edc6 Bug 675201 - Revert debug info given that the random orange is now fixed. r=me 2011-09-13 12:37:51 -07:00
Ehsan Akhgari 2ee18355b9 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Ehsan Akhgari 23974947f6 Backed out changeset c9013399fa39 (bug 686247) because of mochitest-a11y failures on Linux 2011-09-13 13:29:30 -04:00
Ehsan Akhgari 4d7f2bb145 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 11:45:54 -04:00
Boris Zbarsky fde72dbe8b Bug 685518 part 1. Look at the image CORS mode for drawImage into a canvas 2d context. r=roc 2011-09-09 17:58:35 -04:00
Timothy Nikkel 6d60a254ef Bug 599938. Fix bustage. 2011-09-18 13:20:09 -05:00
Timothy Nikkel f7f6b0b885 Bug 599938. Show select drop downs in the correct location if they are being translated by CSS transforms. r=roc 2011-09-18 13:16:47 -05:00
Kyle Huey a0800c6141 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Ehsan Akhgari b663b676ff Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-07 10:06:22 -04:00
Phil Ringnalda 8c67e09e0b Back out fc945dec50bb and de06684dabc4 (bug 642551), 64c328251a24 (bug 683952) and 9d0d13998ebb (bug 684544) for orange on a CLOSED TREE 2011-09-06 21:42:54 -07:00
Boris Zbarsky ffc9b17f74 Bug 683952. Speed up iterating over the continuations of the frame when scrolling to it. r=roc 2011-09-06 22:57:46 -04:00
John Daggett 168034ee1f Bug 3512. Reftests to test font-stretch with different sets of font families. r=jkew 2011-09-07 13:00:15 +09:00
Matheus Kerschbaum 91736820ba Bug 689920 part 2: Remove remaining Tru64/Alpha support. r=ted 2011-09-03 01:55:30 +01:00
Ehsan Akhgari 624cdf4412 Revert to 176fae7de173 which was fine.
Sorry for breaking the history, won't trust TBPL, ever again. :(
2011-09-02 09:15:54 -04:00
Ehsan Akhgari 44916171a8 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Brian Birtles bd78e60ac3 Bug 681645 - SMIL: accommodate floating-point errors in discrete animations; r=dholbert 2011-09-02 08:13:45 +09:00
Ehsan Akhgari aabe0b3675 Merge mozilla-central and mozilla-inbound 2011-09-05 14:43:12 -04:00
Robert Longson af30ad46e4 Bug 684479 - Bounding boxes for strokes are unnecessarily big for many shapes. r=roc 2011-09-05 18:53:34 +01:00
Kyle Huey 84c2b589e6 Merge last green changeset on m-i to m-c. 2011-09-05 07:57:34 -04:00
Jonathan Kew 5d09bdd66d bug 3512 - reftest for support of font-stretch with DejaVuSans[Condensed] family. r=jdaggett 2011-09-05 08:35:12 +01:00
John Daggett f4e32c0c1f Bug 3512. Add fonts for font-stretch reftests. (no effect on build) 2011-09-05 10:10:41 +09:00
Matt Woodrow e9aa70c516 Bug 682922 - Disable preserve-3d on scroll frames. r=roc 2011-09-05 10:25:35 +12:00
Chris Pearce b813cf0b10 Bug 545812 - Break out of DOM full-screen mode upon non-alpha-numeric key input. r=smaug 2011-09-05 08:40:18 +12:00
Chris Pearce 9ffd0a4f24 Bug 545812 - Implement -moz-full-screen css pseudoclass. r=bz 2011-09-05 08:39:08 +12:00
Jonathan Kew a4225db2fa bug 683618 - adjust glyph metrics appropriately when applying synthetic bolding on Android (gfxFT2Fonts). r=jdaggett 2011-09-02 21:18:10 +01:00
Daniel Holbert 49bf432c49 Bug 686257: remove now-unused variable 'presContext' from nsMenuPopupFrame::Init to fix gcc warning. r=masayuki 2011-09-11 20:12:07 -07:00
Phil Ringnalda 26a0601b65 Bug 661491 - mark dynamic--object-svg-unloaded.xhtml as random on Android since it accidentally passes sometimes, r=dholbert 2011-09-11 11:38:21 -07:00
L. David Baron 27783f57b6 Add test for case that I'm worried about breaking in bug 665597. 2011-09-09 12:50:21 -07:00
L. David Baron 27358bb81c Create nsPresShell.h with the parts of nsPresShell.cpp that should be in a header. (Bug 685786) r=roc
Note:  This adds STACK_ARENA_ to the beginning of the names of a few macros.

--HG--
rename : layout/base/nsPresShell.cpp => layout/base/nsPresShell.h
2011-09-09 12:50:21 -07:00
L. David Baron 2a626a2559 Add comment pointing out reason for distinguishing anonymous blocks for positioned inlines. No bug. 2011-09-09 12:50:20 -07:00
Masayuki Nakano 6c3d3da0c3 Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Masayuki Nakano 2bc2cb55f3 Bug 669028 part.12 layout/xul should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Masayuki Nakano e848ae236f Bug 669028 part.11 layout/style should use mozilla;LookAndFeel rather than nsILookAndFeel r=dbaron 2011-09-09 11:27:12 +09:00
Daniel Holbert 05763d15e5 Bug 683040 followup: Extra reftests for animateMotion & indefinite to-animation. r=birtles
--HG--
rename : layout/reftests/svg/smil/anim-indefinite-to-1.svg => layout/reftests/svg/smil/motion/animateMotion-indefinite-to-1.svg
rename : layout/reftests/svg/smil/anim-indefinite-to-2.svg => layout/reftests/svg/smil/motion/animateMotion-indefinite-to-2.svg
2011-09-06 16:50:57 -07:00
Daniel Holbert ee507982be Bug 683040: Override new method IsToAnimation instead of old method TreatSingleValueAsStatic, to handle "to animation" for animateMotion. r=birtles 2011-09-06 16:50:49 -07:00
Timothy Nikkel 98536ed88c Back out a38f82d29d97 (bug 652914) for causing reftest failures. 2011-09-06 15:19:31 -05:00
Timothy Nikkel 90d87b30d6 Bug 652914. If we are not printing background colors then don't even print the default background color. r=roc 2011-09-06 13:46:15 -05:00
Robert Longson aac697022f Bug 684790 - Add crisp-edges to anim-css-strokewidth-1 tests to prevent intermittent Android failures. r=test-only 2011-09-06 19:06:47 +01:00
Ms2ger ccea776176 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Mats Palmgren daf47bf09d Bug 684574 - InternalInvalidateThebesLayersInSubtree should recurse on the subdocument root frame. r=roc 2011-09-06 14:56:45 +02:00
Ehsan Akhgari 12351f8a99 Bug 682041 followup - Add the missing return statement; r=need-to-learn-C++ 2011-09-08 20:08:40 -04:00
Ehsan Akhgari e3552b96ea Bug 682041 - Don't destroy the select drop-down widget right away, instead wait to hit the event loop once, in case we're being called by the widget code itself somewhere down the stack; r=roc 2011-09-08 11:35:33 -04:00
Ed Morley e4c3394a35 Merge mozilla-central to mozilla-inbound 2011-09-01 08:49:23 +01:00
Ed Morley c62c25def9 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Daniel Holbert 749890cbb2 Bug 683702: In nsFrame teardown, clear the reference to me on my prev IB sibling (as well as on my next IB sibling). r=roc 2011-09-01 00:10:22 -07:00
Matt Woodrow 52b4490152 Bug 677173 - Remove 3D transforms IDL properties because they are disabled. r=dbaron 2011-09-01 11:35:10 +12:00
Kyle Huey a9aa13ac30 Merge again ... 2011-08-31 11:00:13 -04:00
Mounir Lamouri 617706ea28 Bug 667183 - Create a static nsGlobalWindow::Init method to do one-shot initializations currently in nsGlobalWindow ctor. r=jst 2011-08-31 16:54:39 +02:00
Kyle Huey 134b8fad07 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Kyle Huey a28561e35b Bug 683149: Break out layout memory reporters on a per-shell basis. r=bz 2011-08-31 06:38:03 -04:00
Matt Woodrow 6be6f0f332 Bug 505115 - Part 17 - Add style tests for the new transform functions, and transitions. r=dbaron 2011-08-31 14:03:47 +12:00
Matt Woodrow 01e1bd10d1 Bug 505115 - Part 13 - Add basic reftests for 3d transforms. r=roc 2011-08-31 14:03:43 +12:00
Matt Brubeck 9034f3008b Back out 0432fe833c93 (bug 667183) because of build bustage 2011-08-30 17:11:34 -07:00
Mounir Lamouri bc757a1977 Bug 667183 - Create a static nsGlobalWindow::Init method to do one-shot initializations currently in nsGlobalWindow ctor. r=jst 2011-08-31 01:36:07 +02:00
Michael Wu a66b1751b7 Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak 2011-08-30 11:55:14 -07:00
Frédéric Wang 3c8676b51b Bug 669836 - Make reftest-analyzer.xhtml validate as XHTML5. r=dbaron 2011-07-15 11:08:00 -07:00
Ed Morley ff88f326d4 Merge mozilla-central to mozilla-inbound 2011-08-30 14:28:34 +01:00
Ed Morley 18ebfbc720 Merge last green (and non Ts-regressing) changeset from m-i to m-c 2011-08-30 12:09:51 +01:00
Josh Aas 8034ed24eb Merge backout of changeset 33031c875984, bug 90268. r=josh 2011-08-30 02:11:57 -04:00
Josh Aas 3fa80a3ea0 Backed out changeset 33031c875984. Bug 90268. r=josh 2011-08-30 02:09:56 -04:00
Phil Ringnalda bd29b3736e Bug 634759 followup followup, remove the bug numbers that explain removed annotations DONTBUILD 2011-08-29 19:32:13 -07:00
Joshua Cranmer 51c1d51f63 Bug 681634 - Get m-c to build with static checking; fix verification scripts. r=taras 2011-08-29 17:02:22 -07:00
Benjamin Stover 8679696257 Bug 634759 Followup: Mark unexpected passes as expected r=me 2011-08-29 13:42:35 -07:00
Rob Campbell 3794850963 merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Josh Aas 3b6b37ef98 Bug 90268: Make content own plugin instances instead of frames. Allows display:none instances and re-parenting instances without stopping them. r=roc 2011-08-29 03:09:22 -04:00
Ed Morley 783d490b8c Merge tips of mozilla-inbound and mozilla-central 2011-08-28 21:20:46 +01:00
Peter Van der Beken 9b95098efe Fix for bug 682539 (Add nsTreeColumn::mNext to CC). r=smaug. 2011-08-28 16:07:26 +02:00
Kyle Huey 7b5d330147 Merge m-c to b-s. 2011-08-28 06:00:17 -04:00
Marco Bonardo 3c6c1791d8 Merge mozilla-central and mozilla-inbound 2011-08-27 10:40:12 +02:00
Matt Woodrow 2abdaaea99 Bug 681858 - Improve performance of gfx3DMatrix multiplication by reverting to 2d operations where possible. r=derf 2011-08-27 12:07:05 +12:00
Matt Woodrow 11c1aac810 Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf 2011-08-27 12:06:03 +12:00
Matt Woodrow 5a40560039 Bug 505115 - Part 14b - Layout support for -moz-transform-style. r=roc 2011-08-27 12:01:46 +12:00
Matt Woodrow b98fe1bd08 Bug 505115 - Part 14a - Add -moz-transform-style css property. r=dbaron 2011-08-27 12:01:06 +12:00
Matt Brubeck 7995ca5fd4 Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-26 09:17:54 -07:00
Ed Morley a2163dc998 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00
Ms2ger 0b1536d069 Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Rob Campbell 5d657e08b3 merge m-c to fx-team 2011-08-26 11:38:59 -03:00
Nicholas Nethercote 52f911308e Bug 681161 - Shrink nsCSSCompressedDataBlock on 64-bit platforms. r=dbaron. 2011-08-25 23:05:55 -07:00
Boris Zbarsky c4f581155c Bug 682051. Optimize textframe to handle horizontal resizes of large runs of text better. r=roc
This change does two things:

1) Makes sure that we don't clear textruns when removing continuations due to
an earlier consideration expanding to contain all their text.

2) Remove continuations in chunks to work around the fact that blocks are
really bad at handling single frame removals.
2011-08-25 23:29:24 -04:00
Ed Morley b53128285b Merge last green changeset on m-i to m-c 2011-08-26 02:17:14 +01:00
Matheus Kerschbaum ca0293b46f Bug 680792 - Remove support for Irix from our build system. r=ted 2011-08-26 00:34:45 +01:00
Matt Brubeck 1fa104a507 Back out 14463b9d2d14 and 97d43d93ab55 (Bug 621363 and Bug 676274) because of mochitest-browser-chrome leaks 2011-08-26 15:28:28 -07:00
Marco Castelluccio 59b2b657f4 Bug 650494 - Remove nsIXULPrototypeCache; r=khuey,smaug 2011-08-26 20:50:23 +01:00
Joel Maher c880f1da26 Bug 621363 - SpecialPowers ipc setter code does not receive new value locally until next event loop run. r=jdm,cjones 2011-08-26 15:47:34 -04:00
Joel Maher e6804707c7 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-08-26 15:47:18 -04:00
Mounir Lamouri 022bb0058f Bug 675201 - Some debug outputs for intermittent orange investigation. rs=ehsan 2011-08-26 18:57:11 +02:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 40a50219ea Bug 537223 - Cleanup gfxColor.h; r=jrmuizel 2011-08-25 10:46:01 +02:00
Mats Palmgren 2a3ab3078e Bug 653649 - New way of getting child lists from frames. (part 5/5) r=roc
Add a kPrincipalList alias in nsCSSFrameConstructor.cpp to avoid
the nsIFrame:: prefix in numerous places.
2011-08-24 22:54:30 +02:00
Mats Palmgren f1c56f2e22 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren 2c56109b0d Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Mats Palmgren 605a290f3b Bug 653649 - New way of getting child lists from frames. (part 2/5) r=roc sr=dbaron
Implement GetChildList(ChildListID) and GetChildLists(nsTArray<ChildList>*)
for various frame classes.  Remove GetAdditionalChildListName(PRInt32)
methods and associated macros and list index constants.
2011-08-24 22:54:29 +02:00
Mats Palmgren 36202edfbd Bug 653649 - New way of getting child lists from frames. (part 1/5) r=roc sr=dbaron
Add types to represent identifiers for frame child lists, sets of those
identifiers, and iterators over the child lists of a frame.
Define a enumeration type FrameChildListID representing all of the types
of child lists that frames have (each with a unique bit), a class
FrameChildListIDs for representing any set of FrameChildListID, and a
class FrameChildListIterator for iterating over all of the child lists
of a frame.
2011-08-24 22:54:29 +02:00
Boris Zbarsky d189b7ba20 Bug 659350 part 4. Change some tests that depend on the old behavior where inline event handlers hang directly off the JSObject to not depend on it. r=smaug 2011-08-24 15:49:25 -04:00
Phil Ringnalda e19a54b15e Bug 680164 - Disable on Windows the test_reftests_with_caret.html tests that were silently failing, r=ehsan 2011-08-24 08:04:16 -07:00
Mihai Sucan 47eca82a8c Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Kyle Huey c1cd337d77 Back out f19404f45022 (Bug 680431) for perma-orange. 2011-08-29 09:02:42 -04:00
Neil Deakin a68212b96b Bug 680431, test_bug511075.html is calling finish() twice, f-smaug 2011-08-29 07:51:35 -04:00
Robert Longson 3accba8dab Bug 682685 - Dynamic changes to use elements only work to/from invalid states. r=dholbert 2011-08-29 09:20:29 +01:00
Karl Tomlinson 0920e023d7 reftest for bug 678561
--HG--
extra : transplant_source : %C8%89vp%FA%40%8D/r%3F%91%D1%3Ax%01%C6%7DM%1Ep
2011-08-26 08:49:44 +12:00
Jonathan Griffin 34dc80301a Bug 678420 - target div during back nav, r=ehsan, a=testonly 2011-08-22 11:17:37 -07:00
Robert Longson cc82e57c1b Bug 682411 - Filters on shapes that have zero width or height assert. r=roc 2011-08-27 15:58:10 +01:00
Josh Matthews 70bf98d8bc Bug 679791 - Make nsIFrame::IsFocusable use heuristics that don't depend on the graphical display of scrollbars. r=roc 2011-08-17 13:55:57 -04:00
Benjamin Stover 6eb3d9db4c Bug 680126 Use ColorLayers for presshell painting and correct painting area r=roc 2011-08-23 15:59:43 -07:00
Boris Zbarsky 4ca385f433 Bug 680786. nsImageFrame::OnStartContainer should not assume that its intrinsic size has changed. r=roc 2011-08-23 17:03:02 -04:00
L. David Baron 866728dd65 Add missing </title> that was causing these tests to be commented out. (Bug 681403) 2011-08-23 15:42:11 -04:00
arno renevier e6a982f07d bug 678842: remember spell check setting per site; r=ehsan 2011-08-23 15:03:33 -04:00
Mounir Lamouri d42641e046 Backout bug 633627 due to reftest perma-orange. 2011-08-31 20:05:31 +02:00
Benjamin Stover 287d94109a Bug 633627 Create shadow bitmap in device space r=joe 2011-08-31 09:03:58 -07:00
Mounir Lamouri a8065cb251 Merging mozilla-central to mozilla-inbound. 2011-08-31 17:59:12 +02:00
Daniel Holbert 1cd9f699e8 Bug 665392: Make <animateMotion>'s transform apply on top of the "transform" attribute, instead of the other way around. r=roc 2011-09-15 15:42:55 -07:00
Mark Finkle adf688ddf8 Bug 686637 - Stop extracting hyphenation files from the APK [r=dougt] 2011-09-15 13:43:59 -04:00
Neil Deakin decfc79ff9 Bug 533460 - Allow custom panels/windows to be used as drag/drop feedback images. r=karlt,josh,roc 2011-04-25 18:37:20 -07:00
Jonathan Kew f8811589bb bug 680037 - check calls for failure before using the results in nsFontFaceLoader::LoadTimerCallback. r=jdaggett 2011-08-23 13:33:51 +01:00
Jonathan Kew 0d6a349206 bug 637179 - use PRUint32 for character/cluster indexes to avoid build warnings. r=jwatt 2011-08-23 13:31:56 +01:00
Marco Bonardo 592b229e2e Backout changeset 1720b28e3115 (Bug 678420) since it caused an exponential increase of Win M4 failures. 2011-08-23 11:05:14 +02:00
Michael Ventnor 0523fe3efe Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron 2011-08-23 14:18:22 +10:00
Ehsan Akhgari cbcdcb0a61 Backout changeset e57b659ee5dd (bug 678842) because the test is wrong, and it should never pass 2011-08-22 22:27:47 -04:00
Brian Birtles 3e8804de84 Bug 562815 part 6 - Check if property is cached in rule tree; r=dbaron
--HG--
extra : rebase_source : 9a7d2388bd00e2c8177cebc9d2a1339626cdd3ab
2011-08-23 08:34:12 +09:00
Brian Birtles 74603ec212 Bug 562815 part 5 - Split StyleWithDeclarationAdded; r=dbaron
--HG--
extra : rebase_source : 25e3f4591866e1438eca99f83c6ca3597508344f
2011-08-23 08:34:07 +09:00
arno renevier aba85fca1f bug 678842: remember spell check setting per site; r=ehsan 2011-08-22 19:25:29 -04:00
Mounir Lamouri e46c92e212 Bug 680747 - Set a min and pref width to nsProgressFrame. r=dbaron 2011-08-23 00:30:33 +02:00
Jonathan Griffin aa92067e4e Bug 678420 - target div during back nav, r=ehsan, a=testonly 2011-08-22 11:17:37 -07:00
Mounir Lamouri a875412aee Bug 680518 - Progress element should invalidate itself when the bar size changes. r=roc 2011-08-22 15:00:24 +02:00
Nicholas Nethercote 3ee584edfc Bug 680827 - Undo nsPresArena workaround from bug 678422. r=roc. 2011-08-21 23:34:11 -07:00
Ed Morley 486f037b40 Merge mozilla-central and mozilla-inbound 2011-08-21 19:14:08 +01:00
L. David Baron c70deecad0 Remove quirks mode check that should have been removed when standards-mode and quirks-mode text-decorations were merged in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 2) r=roc
This code is a little bit sketchy, but given that text-decoration
drawing is the same across modes we shouldn't have a quirks mode check
here (though there's a decent argument to be made that we shouldn't be
checking text decorations at all).
2011-08-20 21:35:56 -04:00
L. David Baron 056a511714 Remove overflow handling that should have been removed along with the standards-mode text-shadow of text-decoration handling in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 1) r=roc
Since this affects only the *visual* overflow and not the *scrollable*
overflow, this patch should result in no behavior changes, since the
necessary visual overflow is added in
nsTextFrame::UnionAdditionalOverflow (since the text frame now draws the
shadows of text decorations, just like it draws text decorations
themselves).
2011-08-20 21:35:56 -04:00
L. David Baron c60e7d417d Make tests for bug 403524 use local images rather than http: ones. 2011-08-20 21:35:56 -04:00
Mats Palmgren 539c39d8b4 Bug 677582 - Tests for CSS3 text-overflow: <left> <right>. r=roc 2011-08-20 22:41:39 +02:00
Mats Palmgren d0304072ba Bug 677582 - Implement CSS3 text-overflow: <left> <right> in layout. r=roc 2011-08-20 22:41:39 +02:00
Mats Palmgren beabba5960 Bug 677582 - Implement CSS3 text-overflow: <left> <right> in the style system. r=dbaron 2011-08-20 22:41:39 +02:00
Robert Longson 789bcf6dff Bug 680035 - Filter elements do not react to color-interpolation-filters attribute changes. r=roc
--HG--
rename : layout/reftests/svg/dynamic-filter-contents-01.svg => layout/reftests/svg/dynamic-filter-contents-01a.svg
2011-08-20 14:02:41 +01:00
Bernd baa9781f4a bug 211636 replace shared table attribute mapping by a more rule conforming mapping r=dbaron 2011-08-20 12:18:50 +02:00
Jonathan Griffin 5e179461b3 Bug 680164 - Comment out failing subtests of test_reftests_with_caret.html which are being masked by bug 678420. r=ehsan, a=testonly
--HG--
extra : rebase_source : 9df9ea32d3213acd2b7ddc461df20da79167c40a
2011-08-19 15:56:25 -07:00
Marco Bonardo 83f600a726 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-19 11:39:42 +02:00
Matt Brubeck 0336b4553c Back out 6409a44ecb17 (bug 677173) because of test failures. 2011-08-18 19:04:06 -07:00
Matt Woodrow ae0c15b0c7 Bug 677173 - Remove 3D transform IDL properties until it is enabled by default. r=dbaron 2011-08-19 12:43:12 +12:00
Kyle Huey e5dc49dea7 Merge b-s to m-c. 2011-08-18 16:03:20 -04:00
Matt Brubeck eb3dcefecf Merge last green changeset from mozilla-central to mozilla-inbound 2011-08-19 16:26:25 -07:00
L. David Baron 0d83f6cb50 Annotate reftest for bug 442228 as failing on Android. 2011-08-19 16:19:13 -07:00
L. David Baron 95d7152dc7 Actually run the reftests in layout/xul/base/reftest/ . 2011-08-19 15:02:49 -07:00
L. David Baron 7a9efed392 Add reftest for bug 677091.
This tests a situation similar to the one in the preference dialog in
bug 677091, though in this case the bug is exhibited by the label
overflowing its container (an hbox with a background) rather than
wrapping.
2011-08-19 15:02:49 -07:00
Kyle Huey fa3c2e7eb4 Bug 555482: Allow resetting resizers by double-clicking on the resizer. r=Enn 2011-08-18 10:25:36 -04:00
Kyle Huey b01524d215 Merge mozilla-inbound to m-c to catch the 8 train. 2011-08-16 06:55:39 -04:00
Scott Johnson 83996d7c43 Bug 673984 - Fix crash in nsImageLoader::DoRedraw by clearing image loaders even on ignore of frame destruction callbacks. [r=dbaron,dholbert] 2011-08-15 11:44:15 -07:00
Robert Longson 06c1893a2d Bug 678250 - Filter bounds rounded before scaling so small filters may be too large. r=roc 2011-08-15 19:41:57 +01:00
Phil Ringnalda 55d1fc18bf Bug 590415 - Mark 368020-1.html as random on WinXP, since we've clearly made it so 2011-08-14 14:47:36 -07:00
Daniel Holbert af38a5be63 Bug 678768: Fix out-of-order init list for nsFontFace constructor. r=jfkthame 2011-08-14 10:39:56 -07:00
L. David Baron b3f49b92ba Remove the multiple-parameter versions of nsRenderingContext::SetFont. (Bug 678671, patch 5) r=roc
This changes the only remaining callers (in nsMathMLChar) to pass the
correct language, which they were not previously doing, which should
improve the correctness of font selection and also reduce the number of
unique font metrics objects requested (which helps nsFontCache
effectiveness).  Those callers, however, remain the odd font users
within all of layout.
2011-08-14 10:08:04 -07:00
L. David Baron fa63f6d2c9 Remove nsPresContext::GetMetricsFor, which was always a bad idea since it uses the generally-incorrect language-from-charset. (Bug 678671, patch 4) r=roc
This fixes the one remaining caller (the debugging code to visually
display reflow counts!) to just pass a null language, since it's just
debugging code.
2011-08-14 10:08:04 -07:00
L. David Baron b47daece8e Make nsRuleNode's use of font metrics for ch and ex units pass the correct language. (Bug 678671, patch 3) r=roc
This makes these users (which are exceptions within layout, although
low-level enough that it won't matter for font inflation work) call
through to GetMetricsFor explicitly with the correct language, rather
than using the broken nsPresContext::GetMetricsFor and its
charset-detected language.

This improves the correctness of our behavior for 'ch' and 'ex' CSS
units when the font selection (or defaults) are language-dependent.  It
should also reduce the number of unique sets of font metrics requested
(which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
L. David Baron 84b8b6bf64 Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
L. David Baron d2b6891283 Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Jonathan Hage d68cbdf102 Bug 669713 - Increment the scriptlevel of the over child in <munderover accent=true> when rendered as a supscript; r=karlt 2011-08-14 11:17:22 +02:00
Matt Woodrow 9e21b178aa Bug 677878 - Round untransformed rects outwards. r=roc 2011-08-16 15:44:22 +12:00
Daniel Holbert 66538a572b Bug 473236, 2011 edition: remove executable bit from files that don't need it, in /layout. [test-only, file-permissions-only] DONTBUILD 2011-08-15 17:55:02 -07:00
Mats Palmgren 00f450ae6c Bug 191864 - Range and Selection broken with splitText() and normalize(). 2011-08-16 02:55:22 +02:00
L. David Baron ef98f8f848 Fix nsLayoutUtils::ComputeSizeWithIntrinsicDimensions to produce correct results when one of the tentative height/width (i.e., the intrinsic height/width) is 0. (Bug 677091) r=roc
When either the intrinsic width or the intrinsic height is 0, the
element does not have an intrinsic ratio, and thus the table that
ComputeAutoSizeWithIntrinsicDimensions is implementing technically
doesn't apply.  However, it can quite straightforwardly produce the
correct results despite that, if we correctly apply the
min/max-width/height properties.
2011-08-17 17:54:59 -07:00
Matt Brubeck f96aaa3b4e Bug 674212 - Skip reftest on Android because of timeouts (test-only) 2011-08-17 16:35:35 -07:00
Fabien Cazenave 730fe59635 Bug 674212 - Modifying text of a contenteditable DOM Node removes spellcheck underlinings; r=ehsan 2011-08-17 17:12:46 -04:00
Bernd 7aa1042321 bug 675490 - push nonplaced tfoots and mark them as nonrepeating r=bz 2011-08-13 18:37:43 +02:00
Bernd d20e85e464 bug 678447 - prevent splitting of tables inside columnsets during printing r=roc 2011-08-13 18:37:43 +02:00
Jonathan Hage c9d5ac8edc Bug 668204 - Merge nsMathMLmunderFrame and nsMathMLmoverFrame into nsMathMLmunderoverFrame. r=karlt 2011-08-13 17:22:12 +02:00
Ms2ger f1ce0d69e4 Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Malini Das 132054c82e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das c20b68638f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das 91a27b5ddc Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Malini Das 60cd440a07 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- harness. r=jmaher, a=test-only 2011-08-12 12:21:35 -04:00
Matt Brubeck 981b18c20b Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Boris Zbarsky e4fa979c53 Bug 670467. Correctly reresolve style on non-first continuations and non-first parts of {ib} splits even when we're restyling both an ancestor of the element and the element itself. r=dbaron 2011-08-11 23:52:21 -04:00
Nicholas Nethercote 4947a42a40 Bug 678422 - Avoid wasting half of nsPresArena's allocated memory due to clownshoes. r=roc. 2011-08-11 18:53:29 -07:00
Ms2ger 3fea5b3901 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger 4ca9cbc0f3 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri 43d40b8987 Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Rafael Ávila de Espíndola 278aa50e0d Bug 678222 - Fix build with clang and c++0x; r=roc
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Robert O'Callahan 01293879f0 Bug 386444. Pass the correct current scroll position as the default value to GetCoordAttribute. r=dbaron
--HG--
extra : rebase_source : f0f11de318a050a1121669daaa5056089a5258b7
2011-08-12 10:44:29 +12:00
Kyle Huey 0dbd15635f Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Mounir Lamouri 635e1ee55e Bug 677506 - Enable the DOM Memory Reporter. r=jst 2011-08-11 00:54:50 +02:00
Oleg Romashin 6c7260ce7e Bug 621228 - Make plugins listening presShell SetActive calls. r=jst 2011-08-18 22:08:38 +02:00
Matheus Kerschbaum 033d960531 Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz 2011-08-18 12:07:43 +02:00
Markus Stange e13a330778 Bug 679717 - Add "mac-lion-theme" system metric in order to allow for Lion-specific CSS rules without the need for per-file manifest overrides. r=dbaron 2011-08-18 10:40:27 +02:00
Oleg Romashin ed5cf85a6d Bug 668698 - Fixed position layers has been broken in 637852 r=stechz 2011-07-28 14:18:00 -04:00
L. David Baron 6f2de80bf9 Add reftest for bug 676538 (text-decoration offsets on block, child inline, and grandchild inline). 2011-08-10 12:44:17 -07:00
Vitor Menezes cc47ff48ae Bug 676538: Fix regression that caused text-decorations on inline *child* of block to draw at the offset for the block rather than the inline. r=dbaron
The FrameProperty representing baseline is set when a block defines
text-decorations and has vertically-aligned children, but we were
retrieving it whether the block or the vertically-aligned frame itself
defined the decorations.  As a result, we "undo" the frame offset to get
the baseline from the child in that case.
2011-08-10 12:44:17 -07:00
Josh Matthews d4514a1ec4 Backing out bug 675669, due to its controversial landing. 2011-08-15 20:15:17 -04:00
arno renevier 56a37f401e Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
L. David Baron c6499ed3ce Media queries spec defines <resolution> values as allowing <number>, not just <integer>. (Bug 677642) r=bzbarsky 2011-08-11 14:25:13 -07:00
Ehsan Akhgari 523ebb7851 Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking 2011-08-10 01:36:00 -04:00
Josh Matthews 0fa1d0b721 Bug 675669 - Ignore paint suppression for hit testing. r=ehsan 2011-08-08 19:05:50 -04:00