L. David Baron
fda3a68818
Save and expose on nsFontInflationData the width of the nearest common ancestor of the inflated descendants. (Bug 747720, patch 1) r=roc
...
This width will be used in patch 3.
2012-05-20 22:18:27 -07:00
Phil Ringnalda
9636fcfcd2
Bug 688128 - Don't run test_flush_on_paint.html on OS X, where it mostly fails, r=roc
2012-05-18 22:22:55 -07:00
Robert Longson
5fb04eb43e
Bug 756405 - non-scaling-stroke-02.svg fails on Android. r=jwatt
2012-05-20 10:18:33 +01:00
Adam Dane [:hobophobe]
d67d1141cb
Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
2012-05-19 14:32:37 -05:00
Ryan VanderMeulen
dc10c85eb0
Backout bug 733553 due to mochitest orange.
2012-05-19 12:10:26 -04:00
Adam Dane [:hobophobe]
9c321e4de0
Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
2012-05-08 21:35:32 -05:00
Jonathan Watt
d6052b5e5b
Bug 756462 - Stop unnecessary propagating COORD_CONTEXT_CHANGED notifications to descendants of nsSVGInnerSVGFrame. r=longsonr.
2012-05-19 14:50:07 +01:00
Phil Ringnalda
698354bced
Bug 668849 - Double the workaround timeout to wait longer for spellcheck to finish
2012-05-18 22:27:38 -07:00
Benjamin Smedberg
2187798a40
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jeff Muizelaar
9731bb1eff
Bug 754985. Draw shadows in device space when using a uniform scale. r=roc
...
--HG--
extra : rebase_source : 9d5bf7c1e6a2373718724ace6da1229b2213c1b6
2012-05-16 16:45:25 -04:00
Andrii Zui
3c8c8da263
Bug 745535 - Dynamic reftests for bug 745535. r=karlt
2012-05-18 13:35:43 -04:00
Andrii Zui
db9255f7c8
Bug 745535 - Implement AttributeChanged on nsMathMLmactionFrame. r=karlt
2012-05-18 13:35:43 -04:00
Jonathan Kew
28e4c37bd8
bug 752459 - reftest for word-wrap cluster support. r=smontagu
2012-05-18 16:51:40 +01:00
Jonathan Kew
80854dd855
bug 752455 - reftest for word-break, clusters, text-transform. r=smontagu
2012-05-18 16:51:39 +01:00
David Zbarsky
e93bdbfeeb
Bug 756229 - Fix some layout warnings. r=roc
2012-05-18 11:42:39 -04:00
L. David Baron
c8229a6d7f
Don't use Moz prefix on internal function names in nsComputedDOMStyle for recommendation-track properties. (Bug 756219, patch 2) r=bzbarsky
...
This avoids using prefixes in internal code, in line with users of
nsCSSPropList.h, where we only make the CSS_PROP_DOMPROP_PREFIXED()
macro expand to use prefixes when it's needed for something that's
exposed.
2012-05-18 08:51:57 -04:00
L. David Baron
7bb473f167
Remove unused functions from nsComputedDOMStyle. (Bug 756219, patch 1) r=bzbarsky
...
Remove unused DoGet* functions from nsComputedDOMStyle which are never
called because the shorthand properties that they're for aren't listed
in the value returned from GetQueryablePropertyMap (which is as it
should be).
2012-05-18 08:51:55 -04:00
Ms2ger
4f96b6a8eb
Merge.
2012-05-18 13:32:47 +02:00
Ms2ger
faa0b8ae7d
Merge m-c to m-i.
2012-05-18 13:32:20 +02:00
Jonathan Watt
e868f902dd
backout 0f4a08fb2e8e to see if it caused random orange (Bug 756122 - Clean up nsSVGUtils::PaintFrameWithEffects a little).
2012-05-18 12:21:24 +01:00
Robert Longson
caec6899b1
Bug 528332 - make tests random on Android
2012-05-18 11:29:10 +01:00
Jonathan Watt
339d439166
Bug 756122 - Clean up nsSVGUtils::PaintFrameWithEffects a little. r=longsonr.
2012-05-18 10:05:09 +01:00
Robert Longson
b2c0e30df6
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert
2012-05-18 09:34:25 +01:00
Robert Longson
165f6890cf
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron
2012-05-18 09:33:40 +01:00
Ms2ger
3b577015ad
Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
79e49f2965
Bug 750053 - Part a: Add nsISelection::Collapsed(); r=smaug
2012-05-18 10:29:39 +02:00
Phil Ringnalda
f9ed4165e8
Bug 753877 - drop a few minimum assertion counts to reflect reality
2012-05-17 22:00:04 -07:00
Simon Montagu
8e7ad6721b
Start painting text shadow of selection from the left edge in RTL text. Bug 755994, r=roc
2012-05-17 13:34:06 +03:00
Simon Montagu
50871ebd12
Tests for bug 755994, r=roc
2012-05-17 13:32:45 +03:00
Chris Lord
f6c9f99f1a
Bug 753742 - Force layer build on scroll frames with a displayport. r=tn
...
Force building layers for all scroll frames that have a displayport set.
This fixes gfx/layers/ipc/CompositorParent mistakenly using FrameMetrics from
incorrect frames, due to the root scroll frame not having a layer.
2012-05-17 19:19:07 +01:00
Ryan VanderMeulen
77b638fcd1
No Bug - Re-alphabetize mathml crashtest list. DONTBUILD
2012-05-17 09:46:16 -04:00
Frédéric Wang
766d42ee44
Bug 716349 - Crashtest. r=karlt
2012-05-17 09:38:32 -04:00
Frédéric Wang
9af6e1413a
Bug 716349 - Prevent invalid metrics for mspace. r=karlt
2012-05-17 09:37:55 -04:00
Robert Longson
a067109b15
Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt
2012-05-17 11:02:41 +01:00
Jonathan Watt
c8b52ec634
Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc.
2012-05-17 05:05:09 +01:00
Jonathan Watt
396b0f9473
Bug 614732 - Add prefs for enabling/disabling display-list hit-testing/painting. r=roc.
2012-05-17 05:05:04 +01:00
Aryeh Gregor
7cb03d1868
Bug 756045 - Turn "ASSERTION: anonymous nodes should not be in child lists" into an NS_WARNING; r=bz
2012-05-18 09:20:49 +03:00
Nicholas Cameron
044718db79
Bug 755078 - Disable mask layers on Android. r=roc
2012-05-17 10:30:10 +12:00
Neil Deakin
f69df5a707
Bug 750808, move children element in label control binding, so that it doesn't get deleted when setting accesskey, r=neil
2012-05-16 19:55:09 -04:00
Mats Palmgren
440b4c449c
Bug 755025 - wallpaper reftest framework bug that runs test / reference with different :hover state. r=roc
2012-05-17 01:04:38 +02:00
Mats Palmgren
e5191a317a
Bug 750293 - Don't include a block's margins in its scrollable overflow for now. r=roc
2012-05-17 01:04:38 +02:00
Ed Morley
91066e9c2a
Bug 668716 - Disable test_bug632379.xul on Mac for now, for too many unexpected passes
2012-05-16 20:46:11 +01:00
Mats Palmgren
d329029d95
Bug 754480 - Remove PresShell members associated with mContentToScrollTo, put that data in a temporary content property instead. part=3/3 r=bz
2012-05-16 19:32:40 +02:00
Mats Palmgren
ca5bacff08
Bug 754480 - Sort members in size order. Use narrower types where possible. part=2/3 r=bz
2012-05-16 19:32:40 +02:00
Mats Palmgren
8d1bd9831d
Bug 754480 - Remove unused mDragService member. part=1/3 r=bz
2012-05-16 19:32:40 +02:00
Jonathan Watt
81c12cf5b8
Bug 755457 - Switch tests to using MozReftestInvalidate to avoid random failures. r=longsonr.
...
--HG--
extra : rebase_source : 1ea53f76a9e878fd56e0eb479fe6f93ca2419327
2012-05-16 11:07:43 +01:00
Jonathan Watt
1c9fa9bc51
Bug 755056 - nsSVGForeignObjectFrame's mRect should include its x/y offset. r=longsonr.
...
--HG--
extra : rebase_source : e60952de7b9e46ec023154bc64afc246b44994fe
2012-05-16 11:04:31 +01:00
Jonathan Watt
675d300fbe
Bug 754696 - Make nsSVGOuterSVGFrame call UpdateBounds on its children before calling FinishAndStoreOverflow. r=longsonr.
...
--HG--
extra : rebase_source : 00b21402c183c034e7e87575bad4ddaeed7985c1
2012-05-13 20:30:44 +01:00
Trevor Saunders
8df11e79ab
bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug
2012-04-06 17:54:38 -04:00
Robert O'Callahan
8a4183542c
Bug 754196. If ScrollToShowRect has no need to scroll, don't call ScrollTo, so pending smooth scrolls won't be interrupted. r=matspal
2012-05-16 17:40:57 +12:00
Robert O'Callahan
cfdc16a8cd
Bug 754556. Use ScrollToCSSPixels in nsScrollBoxObject::ScrollTo/ScrollBy. r=matspal
2012-05-16 17:40:39 +12:00
Jeff Muizelaar
e80b46f17e
Bug 754364. Add bilinear non-repeat and repeat fast paths. r=joe
...
This gives significantly faster bilinear sampling when we
don't have NEON.
--HG--
extra : rebase_source : 4473dd220020e65e4bc22b84fa780c7828b357a7
2012-05-15 18:26:16 -04:00
Ryan VanderMeulen
28caa3b877
Backout df38ed62a24a (bug 754364) due to Windows red. a=CLOSED TREE
2012-05-15 20:29:13 -04:00
Frédéric Wang
c4aee25f52
Crashtest for bug 398038. r=karlt
2012-05-15 18:30:15 -04:00
Frédéric Wang
f2d30807ae
Bug 677036 - Unify parsing of length and mpadded attributes. r=karlt
2012-05-15 18:30:14 -04:00
Jeff Muizelaar
45a184cabb
Bug 754364. Add bilinear non-repeat and repeat fast paths. r=joe
...
This gives significantly faster bilinear sampling when we
don't have NEON.
2012-05-15 18:26:16 -04:00
Ed Morley
6a622a847e
Merge mozilla-central to mozilla-inbound
2012-05-15 18:19:25 +01:00
Serge Gautherie
9fa7b9f5ee
Bug 632408. (Bv1) Improve newer test code some more. r=roc.
2012-05-15 15:33:55 +02:00
Robert O'Callahan
2bbcb226e2
Bug 754556. Ensure that setting scroll positions in CSS pixels doesn't unexpectedly move the scroll position, especially not in the wrong direction. r=matspal
...
If the current scroll position is fractional, e.g. y=N.4 CSS pixels, and something tries to read the
position in CSS pixels and scroll to that position (e.g. calling window.scrollTo(0, rootElem.scrollTop),
or equivalently window.scrollBy(0, 0)), it can actually end up scrolling backwards. So create a new
method nsIScrollableFrame::ScrollToCSSPixels which ensures that scrolling to a CSS pixel offset tries to
preserve the current fractional scroll position if that's possible, and if that's not possible at least does
not allow the scroll position to move in the wrong direction.
2012-05-15 17:58:09 +12:00
Matt Woodrow
3c6ff5136f
bug 750334 - rotating image appears too big during transition, then snaps to correct size r=roc
...
--HG--
extra : rebase_source : a8064d474693838e68f7b865f76043e1192a07a5
2012-05-15 10:31:39 +12:00
Jeff Muizelaar
a7f8653d6a
Bug 754872. Avoid using two passes to draw glyphs on mobile. r=joe
...
Chrome & Safari both use a single pass for overlapping glyphs. We shouldn't try
so hard when running on mobile.
2012-05-15 00:48:00 -04:00
Matt Brubeck
773ffb6265
Merge mozilla-central and mozilla-inbound
2012-05-14 21:41:08 -07:00
Matt Brubeck
bb3a6fefc7
Merge last green changeset from inbound to mozilla-central
2012-05-14 14:00:57 -07:00
Joel Maher
57605fec0f
Bug 754001 - random-if r3 failures so we can unhide the tests. r=jrmuizel
2012-05-14 10:19:28 -04:00
Ehsan Akhgari
b814ee999e
Bug 696229 - Adjust the hint correctly while drawing the caret for drag/drop so that it gets attached to the beginning of the lines correctly; r=roc
2012-05-11 14:50:19 -04:00
Nicholas Cameron
29f95ca6fd
Bug 754488 - Fix warning in FrameLayerBuilder.cpp. r=dholbert
2012-05-14 19:01:05 -04:00
Kang-Hao (Kenny) Lu
74ab6d1729
Bug 752230 - Disallow control characters above 0x7e in CSS unquoted url() tokenization. r=dbaron
2012-05-14 19:01:05 -04:00
Matt Brubeck
a71b3949e7
Merge last green changeset from inbound to mozilla-central
2012-05-11 11:39:38 -07:00
Alexander Surkov
7ff1752972
Bug 754627 - GetBounds on bullet return wrong values, r=tbsaunde, roc
2012-05-14 13:51:45 +09:00
Olli Pettay
84d5ebb475
Bug 754089 - remote mozbrowser's messagemanager shouldn't have parent, r=jlebar
2012-05-11 10:47:40 +03:00
Christopher De Cairos
71301a9ebc
Bug 517363: Make poster frames scale to size of the display frame r=roc
2012-05-11 20:32:29 +12:00
Christopher De Cairos
c484bd36db
Bug 726904: Make nsVideoFrame::GetVideoIntrinsicSize return the video size before the poster size. r=cpearce
2012-05-11 20:32:15 +12:00
Matt Woodrow
ec8821b6ee
Bug 722603 - Improve dirty rect calculation with 3d transforms and preserve-3d. r=roc
2012-05-11 19:49:14 +12:00
Matt Woodrow
b5086dc756
Bug 722603 - Add 3d transforms debugging code to nsBlockFrame. r=roc
2012-05-11 19:49:12 +12:00
Jeff Muizelaar
2f4b7dc2b9
Bug 689707. Use lower precision bilinear interpolation. r=joe
...
This takes the bilinear interpolation code from Skia. It
uses 4 bits of precision instead of 8. This lets it interpolate
two components at a time because the results fit in 16 bits.
The lower precision code is only used in the fallback code
and not in any of the specialized code for NEON. This means
pixman gives different results depending on the cpu which isn't
great. However, this was easiest and the NEON code doesn't
gain as much from using lower precision.
Skia actually uses even lower interpolation when working with
565 but that's harder to plug in right now, and this gives
a reasonable improvement.
2012-05-10 22:12:52 -04:00
Jonathan Watt
7c6b874674
Bug 753713 - Fix indentation in nsSVGOuterSVGFrame::AttributeChanged prior to touching it in bug 734082. r=me.
2012-05-10 12:47:34 +01:00
Paul ADENOT
d19763225d
Bug 743720 - Import Speex's audio resampler in the tree. r=kinetik, khuey
2012-05-14 19:01:04 -04:00
Mats Palmgren
6b03870b6a
Bug 749935 - Make all nsRect Union methods saturating. If width/height overflows nscoord_MAX then clamp the x/y to nscoord_MIN / 2 and try again. r=roc
2012-05-14 22:11:39 +02:00
Mats Palmgren
6c06addbe9
Bug 688897 - Add MozReftestInvalidate handler to fix orange. r=jmuizelaar
2012-05-14 22:11:39 +02:00
Robert O'Callahan
7ae2ea0471
Bug 681192. Part 17: Disable test_transformed_scrolling_repaints_2.html on Mac. r=matspal
...
--HG--
extra : rebase_source : 6af0be8370c0e07e55954245f6a6305d04eb2a2b
2012-05-10 17:24:21 +12:00
Robert O'Callahan
1260834bce
Bug 681192. Part 16: Reduce assertion counts some more. r=matspal
...
--HG--
extra : rebase_source : 48cdef6c9792d6e35dcdfaecae3e3982c37171fd
2012-05-10 17:24:21 +12:00
Robert O'Callahan
c0c7a84361
Bug 681192. Part 12: more fixes to remove unnecessary rounding to pixels. r=matspal
...
--HG--
extra : rebase_source : 39f2c0ef3220b3f0d4f6bc2564a86daa2112dc3b
2012-05-10 17:24:20 +12:00
Robert O'Callahan
c9a4ef0f31
Bug 681192. Part 11: Don't snap scrollrange endpoints to device pixels anymore. r=matspal
...
--HG--
extra : rebase_source : a4ad5072fbb1a9e1e8d0fcf31268fee8812be41e
2012-05-10 17:24:20 +12:00
Robert O'Callahan
dca2ccff9c
Bug 681192. Part 10: Control rounding direction of scaledOffset to try to make the residual be close to mActiveScrolledRootPosition. r=tnikkel
...
--HG--
extra : rebase_source : f27fb737f8956ed117df0be3a71da847cc2048c0
2012-05-10 17:24:20 +12:00
Robert O'Callahan
f8b68b95b5
Bug 681192. Part 9: Adjust assertion counts downward. r=mats
...
--HG--
extra : rebase_source : 5cb44d6572d19d462897b1b50037946d5d8edf67
2012-05-10 17:24:20 +12:00
Robert O'Callahan
c03a4afc08
Bug 681192. Part 8: Use a generous allowed range when scrolling in CurPosAttributeChanged. r=matspal
...
There was a subtle reftest failure on Mac in RTL text-overflow tests.
I tracked it down to RTL overflow:auto areas being automatically scrolled by a subpixel amount.
This was because we try to set scrollbar "curpos" attributes to an integer number of CSS pixels representing
the scroll amount, relative to the top-left of GetScrolledRect, which is a noninteger number of CSS pixels
in this case. Then in ReflowFinished() we scroll to the saved curpos values plus the top-left of GetScrolledRect.
This patch fixes the problem by making CurPosAttributeChanged pass an allowed scroll range to
ScrollToWithOrigin. We allow any scroll destination that, when rounded to CSS pixels, would give the same
value as "curpos".
This fixes the bug, ensuring that ReflowFinished's call to CurPosAttributeChanged will not normally need
to scroll because the current position will be in the acceptable range. Also, it means that code that
scrolls by setting the "curpos" attribute will be optimized to try to hit a layer pixel boundary.
--HG--
extra : rebase_source : 3a768883feee4ff2b88fe3c729ea1058e911f2ea
2012-05-10 17:24:19 +12:00
Robert O'Callahan
1b61f2c022
Bug 681192. Part 7: nsTypedSelection should be scrolling a 0,0 size into view to get a particular coordinate into view, not 1,1. r=matspal
...
When asked to scroll a 1,1 appunit rectangle into view, ScrollFrameRectIntoView will now actually
succeed!
For example if the window is 6000 appunits high and we ask to scroll a 1x1 rect at 0,6000 into view,
before bug 681192 was fixed we'd actually fail to do so. We'd compute a desired scroll destination of 0,1,
and ScrollTo would round that to 0,0 and we wouldn't scroll at all.
Now, we compute a desired scroll destination of 0,1 but also an allowed scroll range for y of
"1 to <someting large>", so ScrollFrameRectIntoView will scroll down by a full pixel to 0,60. This is correct ---
it gets the subpixel area into view, which the previous code didn't --- but it's not really what DoAutoScroll
wants, at least the way test_mousecapture.xul is written. test_mousecapture.xul expects DoAutoScroll to scroll
windowheight+N into view by scrolling down by exactly N pixels, so the desired point is exactly at the bottom
edge of the window rect. Using a zero-sized rect achieves this.
--HG--
extra : rebase_source : 5d3d8cc4417c35dc88ad296a4f13e01d2c1c9233
2012-05-10 17:24:19 +12:00
Robert O'Callahan
412d571a68
Bug 681192. Part 6: Test that various scrolling operations inside scaled transforms don't trigger unnecessary repainting. r=matspal
...
--HG--
extra : rebase_source : a72afaa7ebb5e9b59cf574cd973f966eee5c7f45
2012-05-10 17:24:19 +12:00
Oleg Romashin
01f49c7c7b
Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
...
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Oleg Romashin
7ad2071db0
Bug 681192. Part 4: Make ScrollFrameRectIntoView compute a generous allowed scroll destination range. r=roc,matspal
...
--HG--
extra : rebase_source : 524add7c1080994dd1bc2345cbd6f54c15653d27
2012-02-07 12:22:53 -08:00
Oleg Romashin
936b7eea85
Bug 681192. Part 3: Make nsListControlFrame::ScrollToFrame use ScrollFrameRectIntoView. r=roc
...
--HG--
extra : rebase_source : c9e0fbbd024e9fe15ca0e2dc0bad1ef90aa51edd
2012-02-07 12:21:13 -08:00
Oleg Romashin
0f88c6891c
Bug 681192. Part 2: Make nsIScrollableFrame::ScrollBy automatically set a generous allowed destination range. r=roc
...
--HG--
extra : rebase_source : 392359b325ca0435031e8f31a47154a82943c2b4
2012-02-07 12:20:57 -08:00
Oleg Romashin
b98e2fe7f1
Bug 681192. Part 1: Add "allowed scroll destination range" to nsIScrollableFrame::ScrollTo and nsGfxScrollFrame implementation. r=roc,matspal
...
--HG--
extra : rebase_source : 51d04f7e7db35c02de3401a3481d4cc3827c19ec
2012-02-07 16:53:18 -08:00
Robert O'Callahan
2c975e4eb4
Bug 681192. Part 0.3: Add FrameLayerBuilder::GetThebesLayerResolutionForFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : eea4dee6d081de5c288e295f3549fc88b10e6c39
2012-05-10 17:24:18 +12:00
Robert O'Callahan
5d9d661ae9
Bug 681192. Part 0.2: Use FuzzyEqual to check whether we need to invalidate ThebesLayers when subpixel offsets have changed. r=mattwoodrow
...
--HG--
extra : rebase_source : d0f8464aea9a436214d394123b1399105ccd0f66
2012-05-10 17:24:18 +12:00
Boris Zbarsky
3a47108ff7
Bug 753397. Add a field to nsCSSPropList for a preference that controls the property. r=dbaron
...
The actual controlling is not hooked up yet; that will happen in bug 753522 for
the DOM reflections of properties.
2012-05-09 21:29:37 -04:00
Boris Zbarsky
15639de868
Bug 751012. When saving frame state, make sure to walk through placeholders so we save the state of out-of-flow descendants properly. Also make sure to walk the continuations and special siblings of the root frame that we're saving state for. r=roc
2012-05-09 21:27:47 -04:00
Masayuki Nakano
7dbe17ec49
Bug 749563 nsMenuBarListener should ignore consumed alt key events in its keydown and keyup event handlers r=enn
2012-05-10 08:25:48 +09:00
Mats Palmgren
30ee665eeb
Bug 751356 - Make presshell arena allocation methods inline and non-virtual. r=bz
2012-05-09 21:53:15 +02:00
Mats Palmgren
206b9047a9
Bug 752953 - Simplify IntersectRect calculations. r=roc
2012-05-09 21:53:15 +02:00
Mats Palmgren
d1fcc7c337
Bug 752953 - Typo in calculation of 'allowExpansion' (result will always be an empty rect) in nsDisplayScrollLayer::ComputeVisibility. r=roc
2012-05-09 21:53:15 +02:00
Heather Arthur
64c7531583
Bug 750556 - crash in mozilla::dom::Element::ClearStyleStateLocks; r=bz
2012-05-09 17:23:57 +01:00
Ehsan Akhgari
2be6b796b2
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
Nathan Froyd
b55f7f45cf
Bug 747508 - Count PresContexts in about:memory; r=njn
2012-05-07 16:09:11 -04:00
Ed Morley
f6e782e4dc
Merge mozilla-central to mozilla-inbound
2012-05-09 10:16:14 +01:00
Ed Morley
a4deefe05e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-09 10:15:40 +01:00
Simon Montagu
3c6ba27d3b
Make unicode-bidi: [-moz-]plaintext apply to inline elements. Bug 746987, r=roc
2012-05-09 11:44:52 +03:00
Aharon (Vladimir) Lanin
28753fffb5
Tests for bug 746987. r=smontagu, roc
2012-05-09 11:44:52 +03:00
Joe Drew
14a6d481db
Back out changeset 501d38d3892c (Bug 733553) for causing crashes in xpcshell tests.
2012-05-08 21:59:30 -04:00
Adam Dane [:hobophobe]
c6313176ac
Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
...
--HG--
extra : rebase_source : 21ebc85f26fcbc4a4a27387d1ec5007c0886c386
2012-05-08 16:19:01 -05:00
Timothy Nikkel
f1bc26826d
Bug 749425. Push the scroll frame clip inside the scroll layer so it gets transformed by the shadow transform. r=roc
2012-05-08 23:15:00 -04:00
Chris Pearce
cad06a23d5
Bug 716107 part 3 - Don't dispatch 'MozShowFullScreenWarning' event upon keypress in DOM fullscreen mode. r=smaug
2012-05-09 09:47:18 +12:00
Chris Pearce
43c670b220
Bug 716107 part 2 - Remove full-screen-api.key-input-restricted keys pref. r=smaug
2012-05-09 09:47:18 +12:00
Simon Montagu
5f38593941
Fix test failures from bug 750551, r=dholbert
2012-05-08 22:36:53 +03:00
Simon Montagu
9962f91da3
Fix some cases where a bidi-isolated element was never going through bidi resolution. Bug 731594, r=roc
2012-05-08 09:22:38 -07:00
Jonathan Kew
5de36dfa91
bug 751151 - move harfbuzz to gkmedias.dll on windows. r=khuey
2012-05-08 08:46:46 +01:00
Jeff Muizelaar
3efeae39c6
Bug 753058. Add SAMPLE_LABELS for shadows. r=ehsan
...
This will make this things more obvious on the profile.
2012-05-08 18:10:02 -04:00
Ryan VanderMeulen
1672e0808b
Mark the reftest for bug 750551 as failing on Linux due to perma-orange. rs=Ms2ger
2012-05-07 17:21:01 -04:00
Jonathan Kew
b9713f2189
Split wordbreak-7 test into two testcases, one without lam-alef ligatures and one with (marked as failing due to bug 479829). Bug 249159, r=smontagu
2012-05-07 12:18:24 -07:00
Simon Montagu
4c1ad111cb
More tests for bug 249159, r=jfkthame
2012-05-07 12:18:24 -07:00
Makoto Kato
6bbd48cb4a
Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu
2012-05-07 12:18:23 -07:00
Simon Montagu
f6a32bdd95
Make dir=rtl reverse layout direction in horizontal orientation only. Bug 750551, r=dholbert
2012-05-07 12:17:41 -07:00
Simon Montagu
2ac39573ec
Tests for bug 750551. r=dholbert
2012-05-07 12:17:41 -07:00
Andrew Quartey
ed5d3bf079
Bug 722599 - Move change event firing to content from layout r=mounir
2012-05-07 12:27:24 -04:00
Ehsan Akhgari
6b43c10380
Backout bug 750551 because of reftest oranges
...
--HG--
extra : rebase_source : 8947487094a48fb53c50a3c47bdc053db63a7759
2012-05-07 12:34:37 -04:00
Simon Montagu
5a63d1b13b
Make dir=rtl reverse layout direction in horizontal orientation only. Bug 750551, r=dholbert
2012-05-07 07:27:44 -07:00
Simon Montagu
0aa6342913
Tests for bug 750551. r=dholbert
2012-05-07 07:27:41 -07:00
L. David Baron
d573b50a05
Add missing GetFirstInFlow() call that was causing a crash in ComputeDescendantWidth when printing with font inflation enabled (or a debug build). (Bug 751797) r=roc
...
--HG--
extra : transplant_source : %ED%23%02%AFR%24tw%FE%96%D7%D3p%D8%87%F7gV%28L
2012-05-07 07:17:00 +02:00
Jonathan Kew
868ffee94a
bug 752176 - only read the style array for valid offsets within the textrun. r=smontagu
2012-05-06 15:55:12 +01:00
L. David Baron
7adc6bba00
Reflow for screen size change when font.size.inflation.minTwips is set. (Bug 747231, patch 4) r=roc
...
--HG--
extra : transplant_source : %B2c%F2%B9%E0%1DL%DD%AF%A2%842R%F3%BB%60R%1B%9EI
2012-05-05 15:28:06 +02:00
L. David Baron
d875dda857
Expose DocumentViewerImpl::CallChildren with an API that fills an array. (Bug 747231, patch 3) r=roc
...
--HG--
extra : transplant_source : %FFc%40%AE%D6%22%40%1D%7F%F7%A8%BC%1A%ECG%98G%DCFf
2012-05-05 15:25:45 +02:00
L. David Baron
0b46653dbb
Cache the last device width we used for font inflation on the pres context so that we can track when it changes. (Bug 747231, patch 2) r=roc
...
--HG--
extra : transplant_source : %19%A1%9B%BC%FD_H%5C%60%BB%88%1E%F6%D1%D5%85%24%F7%26%1B
2012-05-05 15:25:45 +02:00
L. David Baron
8e2d262657
Make effect of form controls on font size inflation text threshold not depend on user changes to their value. (Bug 747857) r=roc
...
--HG--
extra : transplant_source : %82%DCX%81%B2%AAM%A3%A1%A1-%87%10%B3%B6%10kw%F4%FB
2012-05-05 15:24:45 +02:00
Ms2ger
34aac6a555
Bug 716439 - Followup: remove unused variable 'sf'; r=roc
2012-05-05 11:00:06 +02:00
Ms2ger
25be92c77d
Bug 732708 - Part d: Remove StorageEventObsolete, NS_NewDOMStorage; r=mayhemer
2012-05-05 11:00:05 +02:00
Ms2ger
d2344a53dc
Bug 745523 - Part a: prepare for unprefixing transforms by removing the prefix from internal APIs; r=dbaron
2012-05-05 11:00:04 +02:00
Kyle Huey
c5cbdaf7d3
Bug 718539: Followup to fix MSVC warnings. r=me
2012-05-04 12:45:03 -07:00
Scott Johnson
77bfda7fb2
Bug 749186: Make the root frame always be an inflation container to prevent a crash during font inflation. [r=dbaron]
2012-05-04 12:08:23 -05:00
Scott Johnson
f80ce2f947
Bug 746966: Conditionally set NS_FRAME_IN_CONSTRAINED_HEIGHT for font inflation on percentage-based height so fonts with room to inflate can do so. [r=dbaron]
2012-05-04 12:07:37 -05:00
Ed Morley
635428fcdd
Backout f8125b89352d (bug 747857) for frequent test failures
2012-05-04 15:24:42 +01:00
Ed Morley
01d2ddd5d5
Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures
2012-05-04 14:26:09 +01:00
Jeff Muizelaar
3e12f6ef5f
Bug 750598. Add some heuristics to catch cases when we can use nearest filtering. r=roc
...
These may need some tuning to get right, but should be an improvement over
just disabling bilinear for backgrounds.
It also expectedly regresses tcheckerboard & tcheck2 because we're now
using bilinear when we were using nearest before.
2012-05-01 16:35:04 -04:00
Jonathan Watt
108436c1b2
Bug 413960, part 2 - Stop sending out unnecessary COORD_CONTEXT_CHANGED/TRANSFORM_CHANGED notifications from nsSVGOuterSVGFrame. r=longsonr.
...
--HG--
extra : rebase_source : fa0e8a232559e19b9a151a34a8f235154327409b
2012-05-03 17:05:53 +01:00
Jonathan Watt
86a47f143b
Bug 413960, part 1 - Clean up and document various parts of misleading viewBox code. r=longsonr.
...
--HG--
extra : rebase_source : f9dc173b36d4afbce3a8e256f7aa90d9d231615a
2012-05-03 17:05:40 +01:00
Jonathan Watt
d29802b3a2
Bug 407495 - Make SVG documents with percentage width/height respond to page zoom. r=roc.
...
--HG--
extra : rebase_source : c4c139693bb5d3b9086f7571dc3363c1c8b27ed5
2012-05-03 17:05:24 +01:00
Robert O'Callahan
8d789110c9
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
...
--HG--
extra : rebase_source : f68d53736e65c21a30a6248abe6b2b9ec32cdb17
2012-05-04 17:00:57 +12:00
Robert O'Callahan
65e34332be
backing out patches for bug 607417 due to build bustage
2012-05-04 17:29:05 +12:00
Robert O'Callahan
9367097525
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
2012-05-04 17:00:57 +12:00
L. David Baron
3a1e49269e
Add missing GetFirstInFlow() call that was causing a crash in ComputeDescendantWidth when printing with font inflation enabled (or a debug build). (Bug 751797) r=roc
...
--HG--
extra : transplant_source : %B5%FE%E5%DFaH%06%0F%3B%26%C0%E2%8B%3E4%F37%BFi-
2012-05-03 22:55:33 -04:00
Phil Ringnalda
5d8ce3ee63
Bug 738803 - Annotate the Windows assertions in 736924-1.html now that compartment-per-global has made them permanent on Win7
2012-05-03 19:48:06 -07:00