L. David Baron
50ba17c1ca
Bug 1057129 patch 2 - Post all animation restyles directly to pseudo-elements. r=birtles
...
This (like patch 1) posts restyles directly to the pseudo-element
content nodes, which is a new thing as of this bug. Previously we'd
have posted eRestyle_Subtree restyles to the pseudo element's real
element (i.e., the parent of the pseudo-element content node).
This changes the way we post animation restyles for ::before and ::after
pseudo-elements with animations on them.
2014-08-24 21:48:22 -07:00
L. David Baron
26e0764f33
Bug 1057129 patch 1 - Make AddStyleUpdatesTo handle pseudo-elements. r=birtles
...
This (like patch 2) posts restyles directly to the pseudo-element
content nodes, which is a new thing.
This isn't needed right now since AddStyleUpdatesTo is currently only
used when updating main-thread-suppressed animations running on the
compositor. However, it will be needed once we depend on
AddStyleUpdatesTo for bug 960465. And it will have an effect now since
AddStyleUpdatesTo actually adds all animations rather than only the ones
that are suppressed from running on the main thread.
2014-08-24 21:48:22 -07:00
L. David Baron
f96287c656
Bug 1057098 - Rename ElementRestyler::Restyle{Before,After}Pseudo to MaybeReframeFor{Before,After}Pseudo. r=bzbarsky
2014-08-24 21:48:21 -07:00
Ed Lee
a823ae58e9
Bug 1042876 - Reftest bustage to correctly disable remote connections for reftests [r=froydnj]
...
--HG--
extra : rebase_source : f2065bf559560fbc852d7e57e6d18bc5bcf65b40
2014-08-22 18:05:09 -07:00
Wes Kocher
ab9325b9fb
Merge m-c to fx-team a=merge
2014-08-22 17:10:53 -07:00
Wes Kocher
c725a726be
Merge inbound to m-c a=merge
2014-08-22 16:47:32 -07:00
C.J. Ku
43e140b6ce
Bug 974242 - Enable B2G zoom-out test cases. r=ahal
...
--HG--
extra : rebase_source : d41b6bf70cd6e1ecc636aff6a147b2e73f2d5c70
2014-08-18 10:52:00 -04:00
C.J. Ku
ad92a99a8a
Bug 974242 - Registry and handle FullZoomChange chrome event in TabChild. r=tn, r=kats
...
--HG--
extra : rebase_source : 05a700f9071d30b87916ffa949acfed776f21f0c
2014-08-21 19:37:00 -04:00
Max Vujovic
83273ef37c
Bug 948265 - Add CSS sepia filter to nsCSSFilterInstance. r=mstange
2014-08-21 10:17:12 -07:00
Max Vujovic
bb851682eb
Bug 948265 - Add CSS grayscale filter to nsCSSFilterInstance. r=mstange
2014-08-21 10:17:09 -07:00
Chenxia Liu
7a148d6ee8
Bug 1021751 - Homebanner snippet. r=lucasr
2014-08-22 15:07:40 -07:00
David Zbarsky
1b247e50b6
Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical
2014-08-22 09:40:02 -04:00
Ed Morley
2a53029612
Backed out changeset 3a61a6eb04d6 (bug 1055821) for build failures
2014-08-22 14:12:01 +01:00
Benoit Girard
9832545241
Bug 1055821 - Add layer construction logging. r=mattwoodrow
2014-08-21 13:46:07 -04:00
Simon Montagu
f7f37b1977
Bug 1054810: when block size is unconstrained and we aren't setting aDesiredSize.BSize to the computed block size, preserve the original value. r=jfkthame.
2014-08-22 00:04:41 -07:00
Brian Birtles
058b40127c
Bug 1045993 part 2 - Move the animation name from AnimationPlayer to Animation; r=dbaron
...
This patch stores the animation name on the Animation object rather than its
AnimationPlayer. This is because Animation objects don't have a reference to
their AnimationPlayer but their AnimationEffect needs access to the animation
name.
This patch also adds an accessor for AnimationPlayer to get the name from its
Animation (since players *do* have a reference to their source animation
content).
2014-08-22 13:42:48 +01:00
Robert O'Callahan
41cde90a7c
Bug 1054161. Don't build display items for text with alpha=0. r=dbaron
...
--HG--
extra : rebase_source : 869a05a652a3bc6e8e122d34fb166ed9fbbdaa5c
2014-08-23 00:08:12 +12:00
Trevor Saunders
fd5e9d1fcc
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
Matt Woodrow
c2d79a26ff
Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
...
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Daniel Holbert
d00099acbd
Bug 1056864: In ParseGridLine, use Maybe<int32_t> instead of separate bool & integer. r=SimonSapin
2014-08-21 15:56:40 -07:00
Nathan Froyd
a088ec81d5
Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal
2014-08-20 11:51:33 -04:00
Markus Stange
09238cf9a6
Bug 1011166 - Improve the workarounds cairo does when rendering large gradients with pixman. rubber-stamp=roc, pending r?jrmuizel
2014-08-21 13:57:55 +02:00
Olli Pettay
49a09b0c9d
Bug 1054773 - Fix crashes in nsProgressFrame.cpp r=wchen
2014-08-20 17:38:01 -07:00
Max Vujovic
4c4ed2fc92
Bug 948265 - Add CSS saturate filter to nsCSSFilterInstance. r=mstange,dbaron
2014-08-20 17:52:28 -07:00
Seth Fowler
e9ea912b18
Bug 1024454 (Part 1) - Eagerly propagate dirty bits so absolute children of table parts get reflowed reliably. r=dbaron
2014-08-20 17:48:56 -07:00
Max Vujovic
891ddf7cb3
Bug 948265 - Add CSS hue-rotate filter to nsCSSFilterInstance. r=mstange,dbaron
2014-08-20 15:46:59 -07:00
L. David Baron
be148c11c3
Bug 1048838 - Add mochitest for transitions and restyles. No review.
...
The third test fails without the patch, and passes with the patch.
2014-08-20 14:57:21 -07:00
Brian Birtles
d9ac434bd9
Bug 1048838 - Properly invalidate the style rule in nsTransitionManager::StyleContextChanged. r=dbaron
...
This patch fixes a regression from
https://hg.mozilla.org/mozilla-central/rev/31695984cfe2 (bug 1025709). That
patch replaced the EnsureStyleRuleFor method on ElementTransitions and
ElementAnimations with a common method in CommonElementAnimationData.
ElementTransitions::EnsureStyleRuleFor would create a new style rule if
there was no style rule (mStyleRule == nullptr) or if the refresh time was
old (mStyleRuleRefreshTime != aRefreshTime).
ElementAnimations::EnsureStyleRuleFor, however, would create a new style rule
only if mStyleRuleRefreshTime was null or old since a null style rule may
still be valid for animations (unlike transitions). If we bail as soon as we
a null style rule we would never update mNeedsRefreshes when the animation
finishes.
The unified version of EnsureStyleRuleFor in CommonElementAnimationData
adopted the behavior from ElementAnimations checking for a null or old
mStyleRuleRefreshTime.
However, nsTransitionManager::StyleContextChanged sets mStyleRule to nullptr
to indicate that we need to generate a new style rule. This means that we
will fail to create a style rule for the transition in some cases.
This patch addresses this by making nsTransitionManager::StyleContextChanged
set mStyleRuleRefreshTime to a null timestamp. Setting mStyleRule to nullptr
is no longer necessary since EnsureStyleRuleFor will do this when necessary
and nsTransitionManager::mStyleRule is only used after calling
EnsureStyleRuleFor.
2014-08-12 16:57:21 +09:00
Ryan VanderMeulen
baca1ac7b9
Merge m-c to inbound. a=merge
...
CLOSED TREE
2014-08-20 16:23:04 -04:00
Ryan VanderMeulen
556b135ea8
Merge inbound to m-c. a=merge
2014-08-20 16:14:23 -04:00
Daniel Holbert
098b729147
Bug 1041951 followup: Fix broken comparison against NS_FONT_VARIANT_CAPS_SMALLCAPS, to use != instead of negation. r=dbaron
2014-08-20 11:07:26 -07:00
Ed Morley
3580355329
Merge mozilla-central and b2g-inbound
2014-08-20 15:19:45 +01:00
John Daggett
7ff1a8d144
Bug 975744 - unprefix font-feature-settings and font-language-override in tests. r=jfkthame
2014-08-20 16:54:37 +09:00
John Daggett
0e566c376b
Bug 975744 - remove font features pref and enable features by default. r=dbaron
2014-08-20 16:54:35 +09:00
John Daggett
8cee783cb8
Bug 1041951 - reftests for font-variant shorthand. r=jfkthame
2014-08-20 16:54:33 +09:00
John Daggett
994206ee82
Bug 1041951 - rework computed value of font-variant to support only 2.1 values. r=dbaron
2014-08-20 16:54:27 +09:00
John Daggett
5ab27c310b
Bug 1041951 - parse font-variant as a shorthand for font feature subproperties. r=dbaron
2014-08-20 16:54:25 +09:00
C.J. Ku
c6a4df843d
Bug 1055040 - Send mouse events base on canvas position and enable this test case on all B2G builds. r=ehsan
2014-08-19 19:38:00 -04:00
Matt Woodrow
c44fd8ca74
Bug 1030124 - If the nsDisplayTransform frame isn't actually transformed (and not a reference frame), then apply the coordinate space change offset when we compute the transform for the preserve-3d
...
parent. r=roc
2014-08-20 17:43:26 +12:00
Ehsan Akhgari
5833657423
Bug 1055519 - Fix some more bad implicit constructors in layout and widget; r=roc
2014-08-20 00:58:22 -04:00
Seth Fowler
5ba894ef8c
Bug 35168 - Backout 4 changesets (e15a7a0c8f70, 852b5ce53278, f36adee1958f, 479ff28f783f) for B2G bustage and reftest failures ON A CLOSED TREE
...
--HG--
extra : amend_source : 2be4ad526c51311c6f03b2681dd3961c1502c303
2014-08-19 20:37:14 -07:00
Seth Fowler
fdb7773f81
Bug 35168 (Part 3) - Add dynamic tests for table part relative positioning. r=dbaron
2014-08-19 18:24:59 -07:00
Seth Fowler
e49a28f7e4
Bug 35168 (Part 3) - Add tests for table part relative positioning. r=dbaron
2014-08-19 18:24:58 -07:00
Seth Fowler
e4bac7857e
Bug 35168 (Part 2) - Allow relative positioning of internal table objects. r=dbaron
2014-08-19 18:24:58 -07:00
Seth Fowler
ccaee9fcd0
Bug 35168 (Part 1) - Add GetNormalRect to nsIFrame. r=dbaron
2014-08-19 18:24:57 -07:00
Ryan VanderMeulen
8df0faf2d0
Merge m-c to inbound. a=merge
2014-08-19 16:25:33 -04:00
Botond Ballo
ffebd18f0b
Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
...
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Ed Morley
b2932bde56
Merge mozilla-central and b2g-inbound
2014-08-19 15:19:13 +01:00
Matt Woodrow
b66e142f4a
Bug 781701 - Interpolate rotate3d rotation angles numerically when we can instead of using matrix decompositon. r=dbaron
2014-08-19 15:58:17 +12:00
Ehsan Akhgari
aa072a423f
Bug 1055286 - Flatten editor/libeditor/text to editor/libeditor; r=poiru
...
--HG--
rename : editor/libeditor/text/crashtests/403965-1.xhtml => editor/libeditor/crashtests/403965-1.xhtml
rename : editor/libeditor/text/crashtests/580151-1.xhtml => editor/libeditor/crashtests/580151-1.xhtml
rename : editor/libeditor/text/nsInternetCiter.cpp => editor/libeditor/nsInternetCiter.cpp
rename : editor/libeditor/text/nsInternetCiter.h => editor/libeditor/nsInternetCiter.h
rename : editor/libeditor/text/nsPlaintextDataTransfer.cpp => editor/libeditor/nsPlaintextDataTransfer.cpp
rename : editor/libeditor/text/nsPlaintextEditor.cpp => editor/libeditor/nsPlaintextEditor.cpp
rename : editor/libeditor/text/nsPlaintextEditor.h => editor/libeditor/nsPlaintextEditor.h
rename : editor/libeditor/text/nsTextEditRules.cpp => editor/libeditor/nsTextEditRules.cpp
rename : editor/libeditor/text/nsTextEditRules.h => editor/libeditor/nsTextEditRules.h
rename : editor/libeditor/text/nsTextEditRulesBidi.cpp => editor/libeditor/nsTextEditRulesBidi.cpp
rename : editor/libeditor/text/nsTextEditUtils.cpp => editor/libeditor/nsTextEditUtils.cpp
rename : editor/libeditor/text/nsTextEditUtils.h => editor/libeditor/nsTextEditUtils.h
rename : editor/libeditor/text/tests/test_bug1026397.html => editor/libeditor/tests/test_bug1026397.html
rename : editor/libeditor/text/tests/test_bug318065.html => editor/libeditor/tests/test_bug318065.html
rename : editor/libeditor/text/tests/test_bug471319.html => editor/libeditor/tests/test_bug471319.html
rename : editor/libeditor/text/tests/test_bug471722.html => editor/libeditor/tests/test_bug471722.html
rename : editor/libeditor/text/tests/test_bug483651.html => editor/libeditor/tests/test_bug483651.html
rename : editor/libeditor/text/tests/test_bug527935.html => editor/libeditor/tests/test_bug527935.html
rename : editor/libeditor/text/tests/test_bug569988.html => editor/libeditor/tests/test_bug569988.html
rename : editor/libeditor/text/tests/test_bug590554.html => editor/libeditor/tests/test_bug590554.html
rename : editor/libeditor/text/tests/test_bug596001.html => editor/libeditor/tests/test_bug596001.html
rename : editor/libeditor/text/tests/test_bug596333.html => editor/libeditor/tests/test_bug596333.html
rename : editor/libeditor/text/tests/test_bug596506.html => editor/libeditor/tests/test_bug596506.html
rename : editor/libeditor/text/tests/test_bug597331.html => editor/libeditor/tests/test_bug597331.html
rename : editor/libeditor/text/tests/test_bug600570.html => editor/libeditor/tests/test_bug600570.html
rename : editor/libeditor/text/tests/test_bug602130.html => editor/libeditor/tests/test_bug602130.html
rename : editor/libeditor/text/tests/test_bug603556.html => editor/libeditor/tests/test_bug603556.html
rename : editor/libeditor/text/tests/test_bug604532.html => editor/libeditor/tests/test_bug604532.html
rename : editor/libeditor/text/tests/test_bug625452.html => editor/libeditor/tests/test_bug625452.html
rename : editor/libeditor/text/tests/test_bug629172.html => editor/libeditor/tests/test_bug629172.html
rename : editor/libeditor/text/tests/test_bug636465.xul => editor/libeditor/tests/test_bug636465.xul
rename : editor/libeditor/text/tests/test_bug638596.html => editor/libeditor/tests/test_bug638596.html
rename : editor/libeditor/text/tests/test_bug641466.html => editor/libeditor/tests/test_bug641466.html
rename : editor/libeditor/text/tests/test_bug645914.html => editor/libeditor/tests/test_bug645914.html
rename : editor/libeditor/text/tests/test_bug681229.html => editor/libeditor/tests/test_bug681229.html
rename : editor/libeditor/text/tests/test_bug692520.html => editor/libeditor/tests/test_bug692520.html
rename : editor/libeditor/text/tests/test_bug740784.html => editor/libeditor/tests/test_bug740784.html
rename : editor/libeditor/text/tests/test_bug757771.html => editor/libeditor/tests/test_bug757771.html
rename : editor/libeditor/text/tests/test_bug830600.html => editor/libeditor/tests/test_bug830600.html
rename : editor/libeditor/text/tests/test_dom_input_event_on_texteditor.html => editor/libeditor/tests/test_dom_input_event_on_texteditor.html
rename : editor/libeditor/text/tests/test_texteditor_keyevent_handling.html => editor/libeditor/tests/test_texteditor_keyevent_handling.html
2014-08-18 20:59:37 -04:00
Daniel Holbert
d8ac5e4a47
(no bug) Fix incorrect indentation in nsComputedDOMStyle::DoGetMixBlendMode. whitespace-only, DONTBUILD
2014-08-18 15:20:02 -07:00
Botond Ballo
cd5407cec3
Bug 923512 - Transition the TransformTo<>() functions from gfx3DMatrix to Matrix4x4. r=kats
...
--HG--
extra : rebase_source : 3a82faa2e95b889cb19db5cc24e24d74e6498f08
2014-08-06 12:52:04 -04:00
Markus Stange
b88537eeb0
Bug 1055585 - Add nsITheme::NeedToClearBackgroundBehindWidget and create nsDisplayClearBackground if the theme needs it for a widget. r=roc
2014-08-20 17:26:11 +02:00
Markus Stange
51ee57a6a9
Bug 1055585 - Call nsDisplayList::SetNeedsTransparentSurface when adding a display item that NeedToForceTransparentSurfaceForItem to a layer. r=roc
2014-08-20 17:25:19 +02:00
Markus Stange
5a3e2e40cf
Bug 1055585 - Make nsDisplayClearBackground force drawing into a transparent surface. r=roc
2014-08-20 17:24:39 +02:00
Markus Stange
e7720a7604
Bug 1055585 - Add nsDisplayClearBackground. r=roc
2014-08-20 17:16:41 +02:00
Daniel Holbert
4752030d6b
Bug 1053035: Don't give <body> its own scroll frame, when it's styled as 'flex' or 'grid' and we've propagated its scrollability to the viewport. r=mats
2014-08-20 08:01:32 -07:00
Ting-Yu Lin
aecd542da9
Bug 1054889 - Update images for touch caret and selection carets. r=roc, f=mtseng, ui-r=chuang
...
Update images provided in bug 1024930, and make touch caret uses the
same images as selection carets.
2014-08-19 01:34:00 -04:00
Benoit Girard
0d295d7249
Bug 1010584 - Part 1: Introduce RenderTargetPixel. r=mwoodrow
2014-07-30 14:36:15 -04:00
Birunthan Mohanathas
b622eeebf0
Bug 1053013 - Collapse test-only moz.build files under layout/ into ancestor moz.build files. r=glandium
2014-08-20 10:27:18 -07:00
Ting-Yu Lin
9f95e11b8f
Bug 1016184 - Part 3i: Fix test_reftests_with_caret.html on Mulet. r=ehsan
...
bug512295-1.html and bug512295-2.html are sending key events which hides
touch caret. Turn off the touch caret preference to fix test cases that
ought to be failed by definition of the touch caret behavior.
2014-08-18 00:02:00 -04:00
Ehsan Akhgari
40d9e7c418
Backed out changeset 0409c8faca80 because of build bustage on a CLOSED TREE
2014-08-18 13:44:59 -04:00
Ehsan Akhgari
0ab9b21d10
Add SetProp to the list of windows.h #defined functions that we need to #undef, no bug
2014-08-18 13:19:16 -04:00
Aryeh Gregor
60fbc97021
Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan
2014-08-18 17:44:50 +03:00
L. David Baron
22fec013ea
Bug 1054163 - Replace numbered reftest manifest file errors with more descriptive error messages. r=dholbert
...
--HG--
extra : transplant_source : %0C%F1%20%BEB%03%01%8E%FC%95%AC%24%11%EE%09W%5Bs%AC%93
2014-08-17 21:21:21 -07:00
Robert O'Callahan
139b358c46
Bug 1048752. Part 39: Call SelectionLanguageChange even when bidi keyboard is not available, for consistency, and fix broken tests. r=jfkthame
...
--HG--
extra : rebase_source : c25d92fbc1d2237c35de80f0273dc00e81d0444d
2014-08-13 01:27:02 +12:00
Robert O'Callahan
96711a9de4
Bug 1048752. Part 37: GetGeometryForFrame should return a rect instead of an nsresult. r=tn
...
--HG--
extra : rebase_source : f49846cc50de2a3a616a991d81b38bf6c1d9a2c5
2014-08-06 17:19:32 +12:00
Robert O'Callahan
98d88074ed
Bug 1048752. Part 36: Remove ancient horizontal rules. r=tn
...
--HG--
extra : rebase_source : 7537ad3060b7703565d2a259109fae96e238e0a4
2014-08-06 17:19:31 +12:00
Robert O'Callahan
754d094377
Bug 1048752. Part 35: Remove GetFrameSelection (unused). r=tn
...
--HG--
extra : rebase_source : 4b528b7de79bf3f1e03891cb093d16a111605c2c
2014-08-06 17:19:31 +12:00
Robert O'Callahan
80f5312883
Bug 1048752. Part 34: Handle null selection returned by GetSelection(). r=tn
...
Previous changes broke this. Tests caught it.
--HG--
extra : rebase_source : 20f365b3f6074fe18d4aaa7f81baf64f3b64e8de
2014-08-06 17:19:31 +12:00
Robert O'Callahan
25c1a49e6d
Bug 1048752. Part 33: A zero blink rate should mean the caret is always on. r=tn
...
Previous changes broke this.
--HG--
extra : rebase_source : d0dc9bd22f93f40465b3448cf20050ac725ee560
2014-08-06 17:19:31 +12:00
Robert O'Callahan
967ecc3283
Bug 1048752. Part 32: Rename DrawAtPosition to SetCaretPosition and don't make it turn off blinking. r=tn
...
There's no need for this method to turn off blinking anymore. Its only
caller already calls SetCaretReadOnly to achieve the same effect. That
means we don't actually need the mIsBlinking flag after all.
--HG--
extra : rebase_source : 9d4c31282ed280c0f822f1d9f7fa8ae1c2ba6cab
2014-08-06 17:19:31 +12:00
Robert O'Callahan
8e137f0061
Bug 1048752. Part 31: nsCaret.h must be the first #include in nsCaret.cpp. r=tn
...
Also cleans up a couple of other ordering issues.
--HG--
extra : rebase_source : 3c5e3f4b56cf3d11b73e9d495fc6c2c8a8170e5f
2014-08-06 17:19:30 +12:00
Robert O'Callahan
22cca61b31
Bug 1048752. Part 30: Simplify caret blinking logic. r=tn
...
A few things got mashed together here:
-- Inline KillTimer/PrimeTimer into their callers.
-- Instead of having to call StopBlinking and StartBlinking together,
change StartBlinking to ResetBlinking and have it set up
the correct blink state and reset the blink cycle.
-- nsCaret::NotifySelectionChange needs a SchedulePaint
-- nsCaret::DrawAtPosition needs a ResetBlinking
--HG--
extra : rebase_source : abc7fd78c4f20b787b212e1e3f13226a1ccff16b
2014-08-06 17:19:30 +12:00
Robert O'Callahan
e2388b41b8
Bug 1048752. Part 29: mVisible is never true in nsCaret::Init. r=tn
...
--HG--
extra : rebase_source : 7fd2386e3f5ea667bc0ff4948182187d56647482
2014-08-06 17:19:30 +12:00
Robert O'Callahan
02949541da
Bug 1048752. Part 28: Remove unused fields and rename mLast* to mOverride*. r=tn
...
--HG--
extra : rebase_source : 71f40b16935dc57b2ea8674ebb28d93cfe85567d
2014-08-06 17:19:30 +12:00
Robert O'Callahan
2730385743
Bug 1048752. Part 27: Remove obsolete caret state logic and just SchedulePaint as needed. r=tn
...
This is the core of the whole patch set.
Now GetPaintGeometry/PaintCaret figure out on their own almost all the state
they need every time we paint. So when caret flags change, all we need
to do is SchedulePaint. We don't need to fiddle with mDrawn and most of the
logic in DrawCaret is obsolete. (In fact, it was duplicated by GetGeometry
and friends, and we're removing that duplication.) EraseCaret, CheckCaretState
and UpdateCaretPosition are also obsolete.
We need to have GetPaintGeometry/PaintCaret choose the correct content node
and offset, either getting them from the Selection or using specific data set by
DrawAtPosition. This logic, plus a bit of other code shared between them, is
put into the helper GetFrameAndOffset.
--HG--
extra : rebase_source : e777605dd2507ae043e9f82d0a30e23aa06e0c12
2014-08-06 17:19:29 +12:00
Robert O'Callahan
eee12a20cd
Bug 1048752. Part 26: Move all "should draw caret" responsibility to GetPaintGeometry. r=tn
...
Instead of checking the mysterious mDrawn state (which is evil and will be
removed), let nsCaret::GetPaintGeometry take sole responsibilty for deciding
whether to draw. It takes the nsStyleUserInterface checks. It also needs to
check blink state, which is made possible by separating blink state into
the mIsBlinkOn flag.
--HG--
extra : rebase_source : 4a4796c37bc9ec7c25ffb2a320f9484cee1dc52f
2014-08-06 17:19:29 +12:00
Robert O'Callahan
dc9e923d16
Bug 1048752. Part 25: Inline MustDrawCaret into IsVisible. r=tn
...
This also fixes what appears to be a bug. MustDrawCaret returned true
when mShowDuringSelection is set even if the caret would otherwise be
hidden due a popup showing. That doesn't make sense.
--HG--
extra : rebase_source : e05e0892a85448dbc6666e23a0dbc7fa21a9c61e
2014-08-06 17:19:29 +12:00
Robert O'Callahan
150ec76871
Bug 1048752. Part 24: Rename and deCOM Set/GetCaretVisible. r=tn
...
--HG--
extra : rebase_source : 04249e9b22a62b8f2952515fa48f4ba3227e235e
2014-08-06 17:19:29 +12:00
Robert O'Callahan
7de632d807
Bug 1048752. Part 23: Remove aIgnoreDrawnState from MustDrawCaret. r=tn
...
--HG--
extra : rebase_source : 20e724ce09deec3987437838ac9f05e84ddbe2fd
2014-08-06 17:19:28 +12:00
Robert O'Callahan
39217b370a
Bug 1048752. Part 22: Factor out SelectionLanguageChange call to run early in nsCaret::GetPaintGeometry. r=tn
...
This code is somewhat tricky. nsCaret::ComputeCaretRects was checking to see
if we have a bidi keyboard, and if so, what direction it's set to.
If the direction changed from the last direction seen for *this caret*,
we fired a SelectionLanguageChange notification on the caret's current
Selection. This looked bogus because the caret can be switched between
selections so it would seem some selections won't get a notification when
they should, but that's how it was. Also, when the SelectionLanguageChange
notification fired we then didn't draw the caret in that iteration, which
seems even more bogus.
This patch fixes all that by moving the logic to fire SelectionLanguageChange
out to GetPaintGeometry and firing the notification every single time without
trying to detect whether the state has changed or not. I carefully examined
the implementation of SelectionLanguageChange and I'm pretty sure it's
idempotent so this should be correct. That doesn't look like an
expensive function, and runs at most once per window paint, so I'm not
worried about perf. Because we now fire SelectionLanguageChange before
reading selection or frame state, it should be fine to carry on after
calling SelectionLanguageChange and drawing the caret based on whatever
changes SelectionLanguageChange has performed.
This also lets us remove mKeyboardRTL, which as noted above seems inherently
bogus.
--HG--
extra : rebase_source : 3ddfd10f6f30033e090e72b4bb43f2695218752e
2014-08-06 17:19:28 +12:00
Robert O'Callahan
1702d93ebd
Bug 1048752. Part 21: Instead of storing mCaretRect/mHookRect, recompute them whenever they're needed. r=tn
...
Also, moves the "If the offset falls outside of the frame" check from
PaintCaret to GetPaintGeometry so we do less work in that case.
UpdateCaretRects is no longer needed.
--HG--
extra : rebase_source : 4b2925952a34d0388ae44c642129ce9015c367ea
2014-08-06 17:19:28 +12:00
Robert O'Callahan
235282831d
Bug 1048752. Part 20: Inline GetCaretFrame into its callers. r=tn
...
This duplicates some code, but later patches will modify the callers and then
eventually we'll re-share common code.
--HG--
extra : rebase_source : 53f4756e87aadf22046972ef9102c190fbb35132
2014-08-06 17:19:28 +12:00
Robert O'Callahan
a1480fca87
Bug 1048752. Part 19: Create nsCaret::GetPaintGeometry to call during painting. r=tn
...
This is the start of the changes to caret-drawing proper.
The idea is to combine GetCaretFrame and GetCaretRect into a method
GetPaintGeometry which looks like GetGeometry but returns values
needed for painting (i.e. including bidi decorations, and returning
a null frame if we're not supposed to paint due to specific caret
state, e.g. in the "off" phase of the blink cycle).
Mostly a straightforward refactoring but there are a few interesting changes:
-- nsDisplayCaret stores its bounds instead of getting them from nsCaret on
demand. Eventually those bounds will not be stored in nsCaret at all.
-- nsDisplayCaret::GetBounds returns true for aSnap. nsCaret draws snapped
rects, so why not.
-- I removed "if (caretRect.Intersects(aDirtyRect))" in EnterPresShell.
As far as I can tell, this check is incorrect because it doesn't take
transforms into account. Since there's at most one drawn caret per window,
hence we do this at most once per paint, I don't think there's any real
performance advantage to having this check.
--HG--
extra : rebase_source : c98d3a5994478b482d19cc2e2ac83ab51bd17e00
2014-08-06 17:19:28 +12:00
Robert O'Callahan
3c5e54cdcc
Bug 1048752. Part 18: Add nsCaret::SchedulePaint. r=tn
...
We'll use this later.
--HG--
extra : rebase_source : e2d81ec006718d1c91b47978c16df0bffd42ff5b
2014-08-06 17:19:27 +12:00
Robert O'Callahan
0a6d04586e
Bug 1048752. Part 17: Rename Get/SetCaretDOMSelection to Get/SetSelection. r=tn
...
The forward declaration of Selection in nsCaret.h will be used in later patches.
--HG--
extra : rebase_source : d1b749adac983c04d3365bb6bfb76a50101beeb5
2014-08-06 17:19:27 +12:00
Robert O'Callahan
2489dc1f01
Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
...
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.
--HG--
extra : rebase_source : cc618ef60e707e1360644340a2648de389383da0
2014-08-06 17:19:27 +12:00
Robert O'Callahan
f500f71adb
Bug 1048752. Part 15: Fix some comments. r=tn
...
--HG--
extra : rebase_source : c21e494622615b306e796afedf6c0a424d6f1046
2014-08-06 17:19:26 +12:00
Robert O'Callahan
b4ed20d441
Bug 1048752. Part 14: Split GetGeometry into a static and a non-static version. r=tn
...
GetGeometry is used in two different ways. Sometimes it's used to get
information about a particular caret. Sometimes it's used to get
information about a particular selection that's not associated with
a caret. Splitting GetGeometry into a non-static version for the former
and a static version for the latter makes this more clear. Also it saves
code since for the latter version we don't have to get an nsCaret first.
--HG--
extra : rebase_source : b7730dac56b308a82b79b175749234c9a92b6f59
2014-08-06 17:19:26 +12:00
Robert O'Callahan
bdbb11f64d
Bug 1048752. Part 13: Remove GetGeometry's aBidiIndicatorSize. r=tn
...
Callers always pass null.
--HG--
extra : rebase_source : 169f9fe4f4236cffe2c0f760305ebf8093300c69
2014-08-06 17:19:26 +12:00
Robert O'Callahan
224aa3096d
Bug 1048752. Part 12: Replace mBlinkRate with mIsBlinking. r=tn
...
We don't need to store the blink rate. Instead we can just fetch it whenever
we need it. However we do need a flag to handle the case where
nsCaret::DrawAtPosition disables blinking.
--HG--
extra : rebase_source : 4f36825a8e22edd3a2e37edb1fae5675c85adadd
2014-08-06 17:19:26 +12:00
Robert O'Callahan
075f97aa37
Bug 1048752. Part 11: Remove nsLayoutUtils.h from nsDisplayList.h. r=tn
...
--HG--
extra : rebase_source : 02251076442a5c4251e8d9484cb428a4c07f3a13
2014-08-06 17:19:25 +12:00
Robert O'Callahan
0de1b9e514
Bug 1048752. Part 10: Remove FrameLayerBuilder.h from nsDisplayList.h. r=tn
...
I was inspired by the previous patch to remove FrameLayerBuilder.h from
nsDisplayList.h too.
--HG--
extra : rebase_source : b34a01bea5865da4737817e2396b98d54cc6d1bf
2014-08-06 17:19:25 +12:00
Robert O'Callahan
b8bd1730f3
Bug 1048752. Part 9: Remove nsCaret.h from nsDisplayList.h. r=tn
...
I got tired of slow build turnarounds every time I modified nsCaret.h.
--HG--
extra : rebase_source : 0c4598c4881ab8de0a636b08c70fb801bb912247
2014-08-06 17:19:25 +12:00
Robert O'Callahan
84b6888d62
Bug 1048752. Part 8: Remove mCaretAspectRatio. r=tn
...
mCaretAspectRatio doesn't need to be stored. We can recompute it
whenever we need it.
--HG--
extra : rebase_source : 065a6996e920800edf5cbcc7f072f0439ef84553
2014-08-06 17:19:25 +12:00
Robert O'Callahan
fb59918a6c
Bug 1048752. Part 7: Remove mCaretWidthCSSPx. r=tn
...
mCaretWidthCSSPx doesn't need to be stored. We can just recompute it
whenever we need it.
--HG--
extra : rebase_source : 850b556651afade0da543e281e5fa54235969ab4
2014-08-06 17:19:25 +12:00
Robert O'Callahan
3b04ddd57d
Bug 1048752. Part 6: Remove 'virtual' declarations. r=tn
...
These used to be needed for linking with non-libxul builds, but are no
longer needed. The obsolete comment is fixed in a later patch.
--HG--
extra : rebase_source : 034f69b647bd64d4353e51a15e166094b7b2e638
2014-08-06 17:19:24 +12:00
Robert O'Callahan
d967df6e74
Bug 1048752. Part 5: Reorder API declarations. r=tn
...
To make it more clear what's going on, make CaretBlinkCallback protected
and reorder the public methods to put the state-changing "API" methods first.
--HG--
extra : rebase_source : fddf0ea4b9269b2d431d0b75c40f99a9140138a1
2014-08-06 17:19:24 +12:00
Robert O'Callahan
8249256663
Bug 1048752. Part 4: Make EViewCoordinates (unused). r=tn
...
--HG--
extra : rebase_source : 571ba155fb5741fdd26d0391ef4a029a7383b34a
2014-08-06 17:19:24 +12:00
Robert O'Callahan
787f2f51a5
Bug 1048752. Part 3: Make GetCaretFrameForNodeOffset static. r=tn
...
GetCaretFrameForNodeOffset only uses the nsFrameSelection and mBidiUI
from its nsCaret. For mBidiUI we can just get the pref directly whenever
we need it. By modifying GetCaretFrameForNodeOffset to take nsFrameSelection
as a parameter, we can make it static to make it clear it isn't really
related to the state of the nsCaret.
This may also fix a bug in Selection::GetPrimaryFrameForFocusNode where
things would go unexpectedly wrong if mCaret is temporarily observing
a different selection to the Selection.
--HG--
extra : rebase_source : cdd59f6e20cd1060bc5d2325cb3adb5e5c4a1d2c
2014-08-06 17:19:24 +12:00
Robert O'Callahan
d085b972a2
Bug 1048752. Part 2: Remove InvalidateOutsideCaret and MaybeInvalidateCaretPosition. r=tn
...
I'm quite sure DLBI means we don't need these anymore.
--HG--
extra : rebase_source : 6cb6cd7c160a46688793c6ab1cdded333aecdd61
2014-08-06 17:19:23 +12:00
Robert O'Callahan
c39cb67ced
Bug 1048752. Part 1: Remove GetCaretReadOnly (unused). r=tn
...
--HG--
extra : rebase_source : 86c27ad506440199fe623a083a2b4cb7eca98e47
2014-08-06 17:19:23 +12:00
Daniel Holbert
171665617d
Bug 1054563: Remove unnecessary nsresult return value from BuildScrollFrame, and de-indent it. r=tn
2014-08-15 20:22:09 -07:00
Max Vujovic
1c39379cd6
Bug 948265 - Add NOT_IMPLEMENTED return value for each CSS filter in nsCSSFilterInstance. r=longsonr
2014-08-15 10:43:42 -07:00
Daniel Holbert
6848a3e20c
Bug 1030993 followup - Annotate ruby reftests directory as skip-if(B2G), pending investigation on followup bug.
2014-08-15 10:34:20 -07:00
Susanna Bowen
4c005d254a
Bug 1030993 - Reftests for Ruby reflow implementation.r=dbaron
2014-08-15 10:34:20 -07:00
Susanna Bowen
c622b18e05
Bug 1030993 - Fix assertion failure in reftest css-ruby/ruby-whitespace-1.html. r=dbaron
...
Fixes the assertion failure with text:
"###!!! ASSERTION: Wrong line container
hint: '!aForFrame || (aLineContainer == FindLineContainer(aForFrame) ||
aLineContainer->GetType() == nsGkAtoms::rubyTextContainerFrame ||
(aLineContainer->GetType() == nsGkAtoms::letterFrame &&
aLineContainer->IsFloating()))', file
/home/sgbowen/builds/mozilla-central/layout/generic/nsTextFrame.cpp, line 1259"
which occasionally appears when opening pages with ruby or when running ruby
reftests.
Updates the manifest for ruby reftests to the current expectations (adjust
assertion counts, etc.)
2014-08-15 10:34:20 -07:00
Susanna Bowen
aca0a15a6a
Bug 1039017 - Reftests for ruby whitespace handling. r=dholbert
2014-08-15 10:34:20 -07:00
Susanna Bowen
779f8cef59
Bug 1030993 - Basic reflow implementation for ruby frame classes. r=dbaron
...
To account for spacing between bases or text boxes during reflow, the line
layout which manages the bases updates its inline direction coordinate based on
the preferred inline size for the corresponding text boxes. Next, the base is
reflowed at the correct inline coordinate. Each paired text box is then also
reflowed at the proper inline position determined by (1) the current position of
its corresponding base and (2) its own preferred width.
In computing intrinsic widths, accounting for spacing is less complicated. The
minimum intrinsic width is the width of the widest ruby column, and the
preferred intrinsic width is the sum of all the ruby column widths. Each ruby
column width is the maximum width of its base box and text boxes. These
individual widths are determined using GetPrefISize on the base and text boxes.
Ruby base container frames store a list of pointers to the ruby text container
frames in the segment they denote. This list of pointers is created in the ruby
frame reflow method before calling the reflow method for the ruby base
container. The list exists and is used only during reflow of the main ruby frame
and is cleared before returning from reflow.
2014-08-15 10:34:20 -07:00
Ed Morley
5559ec0293
Backed out changeset f4b101378a07 (bug 1021527) by request
2014-08-15 16:14:42 +01:00
Ed Morley
2d848a096c
Backed out changeset 8589d9bdd501 (bug 1040735) for B2G gaia-ui-test crashes
2014-08-15 16:03:03 +01:00
Ehsan Akhgari
22b7f33edd
Bug 1042469 - Flatten editor/libeditor/base to editor/libeditor; r=poiru
...
--HG--
rename : editor/libeditor/base/ChangeAttributeTxn.cpp => editor/libeditor/ChangeAttributeTxn.cpp
rename : editor/libeditor/base/ChangeAttributeTxn.h => editor/libeditor/ChangeAttributeTxn.h
rename : editor/libeditor/base/ChangeCSSInlineStyleTxn.cpp => editor/libeditor/ChangeCSSInlineStyleTxn.cpp
rename : editor/libeditor/base/ChangeCSSInlineStyleTxn.h => editor/libeditor/ChangeCSSInlineStyleTxn.h
rename : editor/libeditor/base/CreateElementTxn.cpp => editor/libeditor/CreateElementTxn.cpp
rename : editor/libeditor/base/CreateElementTxn.h => editor/libeditor/CreateElementTxn.h
rename : editor/libeditor/base/DeleteNodeTxn.cpp => editor/libeditor/DeleteNodeTxn.cpp
rename : editor/libeditor/base/DeleteNodeTxn.h => editor/libeditor/DeleteNodeTxn.h
rename : editor/libeditor/base/DeleteRangeTxn.cpp => editor/libeditor/DeleteRangeTxn.cpp
rename : editor/libeditor/base/DeleteRangeTxn.h => editor/libeditor/DeleteRangeTxn.h
rename : editor/libeditor/base/DeleteTextTxn.cpp => editor/libeditor/DeleteTextTxn.cpp
rename : editor/libeditor/base/DeleteTextTxn.h => editor/libeditor/DeleteTextTxn.h
rename : editor/libeditor/base/EditActionListener.h => editor/libeditor/EditActionListener.h
rename : editor/libeditor/base/EditAggregateTxn.cpp => editor/libeditor/EditAggregateTxn.cpp
rename : editor/libeditor/base/EditAggregateTxn.h => editor/libeditor/EditAggregateTxn.h
rename : editor/libeditor/base/EditTxn.cpp => editor/libeditor/EditTxn.cpp
rename : editor/libeditor/base/EditTxn.h => editor/libeditor/EditTxn.h
rename : editor/libeditor/base/IMETextTxn.cpp => editor/libeditor/IMETextTxn.cpp
rename : editor/libeditor/base/IMETextTxn.h => editor/libeditor/IMETextTxn.h
rename : editor/libeditor/base/InsertElementTxn.cpp => editor/libeditor/InsertElementTxn.cpp
rename : editor/libeditor/base/InsertElementTxn.h => editor/libeditor/InsertElementTxn.h
rename : editor/libeditor/base/InsertTextTxn.cpp => editor/libeditor/InsertTextTxn.cpp
rename : editor/libeditor/base/InsertTextTxn.h => editor/libeditor/InsertTextTxn.h
rename : editor/libeditor/base/JoinElementTxn.cpp => editor/libeditor/JoinElementTxn.cpp
rename : editor/libeditor/base/JoinElementTxn.h => editor/libeditor/JoinElementTxn.h
rename : editor/libeditor/base/PlaceholderTxn.cpp => editor/libeditor/PlaceholderTxn.cpp
rename : editor/libeditor/base/PlaceholderTxn.h => editor/libeditor/PlaceholderTxn.h
rename : editor/libeditor/base/SetDocTitleTxn.cpp => editor/libeditor/SetDocTitleTxn.cpp
rename : editor/libeditor/base/SetDocTitleTxn.h => editor/libeditor/SetDocTitleTxn.h
rename : editor/libeditor/base/SplitElementTxn.cpp => editor/libeditor/SplitElementTxn.cpp
rename : editor/libeditor/base/SplitElementTxn.h => editor/libeditor/SplitElementTxn.h
rename : editor/libeditor/base/crashtests/336104.html => editor/libeditor/crashtests/336104.html
rename : editor/libeditor/base/crashtests/382527-1.html => editor/libeditor/crashtests/382527-1.html
rename : editor/libeditor/base/crashtests/402172-1.html => editor/libeditor/crashtests/402172-1.html
rename : editor/libeditor/base/crashtests/407079-1.html => editor/libeditor/crashtests/407079-1.html
rename : editor/libeditor/base/crashtests/407256-1.html => editor/libeditor/crashtests/407256-1.html
rename : editor/libeditor/base/crashtests/430624-1.html => editor/libeditor/crashtests/430624-1.html
rename : editor/libeditor/base/crashtests/459613-iframe.html => editor/libeditor/crashtests/459613-iframe.html
rename : editor/libeditor/base/crashtests/459613.html => editor/libeditor/crashtests/459613.html
rename : editor/libeditor/base/crashtests/475132-1.xhtml => editor/libeditor/crashtests/475132-1.xhtml
rename : editor/libeditor/base/crashtests/633709.xhtml => editor/libeditor/crashtests/633709.xhtml
rename : editor/libeditor/base/crashtests/636074-1.html => editor/libeditor/crashtests/636074-1.html
rename : editor/libeditor/base/crashtests/713427-1.html => editor/libeditor/crashtests/713427-1.html
rename : editor/libeditor/base/crashtests/713427-2.xhtml => editor/libeditor/crashtests/713427-2.xhtml
rename : editor/libeditor/base/crashtests/762183.html => editor/libeditor/crashtests/762183.html
rename : editor/libeditor/base/crashtests/766360.html => editor/libeditor/crashtests/766360.html
rename : editor/libeditor/base/crashtests/766413.html => editor/libeditor/crashtests/766413.html
rename : editor/libeditor/base/crashtests/766845.xhtml => editor/libeditor/crashtests/766845.xhtml
rename : editor/libeditor/base/crashtests/768765.html => editor/libeditor/crashtests/768765.html
rename : editor/libeditor/base/crashtests/771749.html => editor/libeditor/crashtests/771749.html
rename : editor/libeditor/base/crashtests/772282.html => editor/libeditor/crashtests/772282.html
rename : editor/libeditor/base/crashtests/776323.html => editor/libeditor/crashtests/776323.html
rename : editor/libeditor/base/crashtests/crashtests.list => editor/libeditor/crashtests/crashtests.list
rename : editor/libeditor/base/nsEditProperty.h => editor/libeditor/nsEditProperty.h
rename : editor/libeditor/base/nsEditPropertyAtomList.h => editor/libeditor/nsEditPropertyAtomList.h
rename : editor/libeditor/base/nsEditRules.h => editor/libeditor/nsEditRules.h
rename : editor/libeditor/base/nsEditor.cpp => editor/libeditor/nsEditor.cpp
rename : editor/libeditor/base/nsEditor.h => editor/libeditor/nsEditor.h
rename : editor/libeditor/base/nsEditorCommands.cpp => editor/libeditor/nsEditorCommands.cpp
rename : editor/libeditor/base/nsEditorCommands.h => editor/libeditor/nsEditorCommands.h
rename : editor/libeditor/base/nsEditorController.cpp => editor/libeditor/nsEditorController.cpp
rename : editor/libeditor/base/nsEditorController.h => editor/libeditor/nsEditorController.h
rename : editor/libeditor/base/nsEditorEventListener.cpp => editor/libeditor/nsEditorEventListener.cpp
rename : editor/libeditor/base/nsEditorEventListener.h => editor/libeditor/nsEditorEventListener.h
rename : editor/libeditor/base/nsEditorUtils.cpp => editor/libeditor/nsEditorUtils.cpp
rename : editor/libeditor/base/nsEditorUtils.h => editor/libeditor/nsEditorUtils.h
rename : editor/libeditor/base/nsIAbsorbingTransaction.h => editor/libeditor/nsIAbsorbingTransaction.h
rename : editor/libeditor/base/nsSelectionState.cpp => editor/libeditor/nsSelectionState.cpp
rename : editor/libeditor/base/nsSelectionState.h => editor/libeditor/nsSelectionState.h
rename : editor/libeditor/base/nsStyleSheetTxns.cpp => editor/libeditor/nsStyleSheetTxns.cpp
rename : editor/libeditor/base/nsStyleSheetTxns.h => editor/libeditor/nsStyleSheetTxns.h
rename : editor/libeditor/base/tests/chrome.ini => editor/libeditor/tests/chrome.ini
rename : editor/libeditor/base/tests/file_bug586662.html => editor/libeditor/tests/file_bug586662.html
rename : editor/libeditor/base/tests/mochitest.ini => editor/libeditor/tests/mochitest.ini
rename : editor/libeditor/base/tests/moz.build => editor/libeditor/tests/moz.build
rename : editor/libeditor/base/tests/test_bug408231.html => editor/libeditor/tests/test_bug408231.html
rename : editor/libeditor/base/tests/test_bug46555.html => editor/libeditor/tests/test_bug46555.html
rename : editor/libeditor/base/tests/test_bug502673.html => editor/libeditor/tests/test_bug502673.html
rename : editor/libeditor/base/tests/test_bug514156.html => editor/libeditor/tests/test_bug514156.html
rename : editor/libeditor/base/tests/test_bug567213.html => editor/libeditor/tests/test_bug567213.html
rename : editor/libeditor/base/tests/test_bug586662.html => editor/libeditor/tests/test_bug586662.html
rename : editor/libeditor/base/tests/test_bug599983.html => editor/libeditor/tests/test_bug599983.html
rename : editor/libeditor/base/tests/test_bug599983.xul => editor/libeditor/tests/test_bug599983.xul
rename : editor/libeditor/base/tests/test_bug646194.xul => editor/libeditor/tests/test_bug646194.xul
rename : editor/libeditor/base/tests/test_bug742261.html => editor/libeditor/tests/test_bug742261.html
rename : editor/libeditor/base/tests/test_bug773262.html => editor/libeditor/tests/test_bug773262.html
rename : editor/libeditor/base/tests/test_bug795785.html => editor/libeditor/tests/test_bug795785.html
rename : editor/libeditor/base/tests/test_composition_event_created_in_chrome.html => editor/libeditor/tests/test_composition_event_created_in_chrome.html
rename : editor/libeditor/base/tests/test_dragdrop.html => editor/libeditor/tests/test_dragdrop.html
rename : editor/libeditor/base/tests/test_selection_move_commands.xul => editor/libeditor/tests/test_selection_move_commands.xul
2014-08-15 10:03:48 -04:00
Alexander Surkov
bf4ea5e4eb
Bug 1040735 - DOM node reinsertion under anonymous content may trigger a11y child adoption, r=bz, tbdaunde
2014-08-15 09:46:54 -04:00
Jonathan Kew
50cb6e6264
bug 1046950 pt 4 - convert ComputeSizeWithIntrinsicDimensions to logical-coord parameters. r=smontagu
2014-08-24 15:34:57 +01:00
Jonathan Kew
7bb78ef42a
bug 1046950 pt 3 - convert ComputeAutoSize to use logical-coordinate parameters. r=smontagu
2014-08-24 15:34:51 +01:00
Jonathan Kew
a5a5cf98e5
bug 1046950 pt 2 - convert ComputeSize to use logical-coordinate parameters. r=smontagu
2014-08-24 15:34:44 +01:00
Jonathan Kew
1e0d48aa2d
bug 1046950 pt 1 - additional/modified APIs on LogicalSize. r=smontagu
2014-08-24 15:34:21 +01:00
Jonathan Kew
37736bf205
bug 1057548 patch 2 - regenerate unicode data tables for version 7.0. r=smontagu
2014-08-24 15:23:24 +01:00
Emma Benoit
64a26a7b66
bug 1030741 - Make FrameMetrics::mIsRoot private and add getter/setter methods to manipulate it. r=kats
2014-08-23 19:09:10 -04:00
Kartikaya Gupta
0bcb34fd1e
Bug 912700 - Audit all uses of FrameMetrics::mViewport and wrap it in getter/setters. r=botond
2014-08-22 23:18:56 -04:00
Wes Kocher
a8d80abaf6
Merge m-c to inbound a=merge
2014-08-22 17:05:17 -07:00
Olli Pettay
d72906c30d
Bug 314095 - Eliminate nsIContent::GetDocument, r=jst
...
--HG--
extra : rebase_source : dd8f690940825b298a478b65b68a57418a9962ff
2014-08-22 23:11:27 +03:00
Seth Fowler
4cd9e3e8e6
Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
...
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
Kartikaya Gupta
08b5038258
Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa
2014-08-22 15:26:56 -04:00
Miranda Emery
29c0f10b91
Bug 957445: Part 3 - combines nsIScrollbarOwner with nsIScrollbarMediator, r=mats
2014-02-14 19:40:53 +13:00
Miranda Emery
14dc1158ee
Bug 957445: Part 2 - nsHTML/XULScrollFrame implement nsIScrollbarMediator, r=mats
2014-02-05 14:33:18 +13:00
Miranda Emery
43c4d9fdf2
Bug 957445: Part 1 - Scrolling moved from nsScrollbarButtonFrame and nsSliderFrame into nsIScrollbarMediator, r=mats
2014-02-05 14:30:34 +13:00
Benoit Girard
b7e0b48dc5
Bug 1055821 - Add layer construction logging. r=mattwoodrow
...
--HG--
extra : rebase_source : 318ea4b96780830fd5665fc0b0cd610b67392113
2014-08-22 11:53:24 -04:00
Ehsan Akhgari
3c53568904
Bug 1055105 - Flatten editor/libeditor/html to editor/libeditor; r=poiru
...
--HG--
rename : editor/libeditor/html/TextEditorTest.cpp => editor/libeditor/TextEditorTest.cpp
rename : editor/libeditor/html/TextEditorTest.h => editor/libeditor/TextEditorTest.h
rename : editor/libeditor/html/TypeInState.cpp => editor/libeditor/TypeInState.cpp
rename : editor/libeditor/html/TypeInState.h => editor/libeditor/TypeInState.h
rename : editor/libeditor/html/crashtests/336081-1.xhtml => editor/libeditor/crashtests/336081-1.xhtml
rename : editor/libeditor/html/crashtests/382778-1.html => editor/libeditor/crashtests/382778-1.html
rename : editor/libeditor/html/crashtests/407074-1.html => editor/libeditor/crashtests/407074-1.html
rename : editor/libeditor/html/crashtests/407277-1.html => editor/libeditor/crashtests/407277-1.html
rename : editor/libeditor/html/crashtests/414178-1.html => editor/libeditor/crashtests/414178-1.html
rename : editor/libeditor/html/crashtests/418923-1.html => editor/libeditor/crashtests/418923-1.html
rename : editor/libeditor/html/crashtests/420439.html => editor/libeditor/crashtests/420439.html
rename : editor/libeditor/html/crashtests/428489-1.html => editor/libeditor/crashtests/428489-1.html
rename : editor/libeditor/html/crashtests/431086-1.xhtml => editor/libeditor/crashtests/431086-1.xhtml
rename : editor/libeditor/html/crashtests/448329-1.html => editor/libeditor/crashtests/448329-1.html
rename : editor/libeditor/html/crashtests/448329-2.html => editor/libeditor/crashtests/448329-2.html
rename : editor/libeditor/html/crashtests/448329-3.html => editor/libeditor/crashtests/448329-3.html
rename : editor/libeditor/html/crashtests/456727-1.html => editor/libeditor/crashtests/456727-1.html
rename : editor/libeditor/html/crashtests/456727-2.html => editor/libeditor/crashtests/456727-2.html
rename : editor/libeditor/html/crashtests/467647-1.html => editor/libeditor/crashtests/467647-1.html
rename : editor/libeditor/html/crashtests/499844-1.html => editor/libeditor/crashtests/499844-1.html
rename : editor/libeditor/html/crashtests/503709-1.xhtml => editor/libeditor/crashtests/503709-1.xhtml
rename : editor/libeditor/html/crashtests/513375-1.xhtml => editor/libeditor/crashtests/513375-1.xhtml
rename : editor/libeditor/html/crashtests/535632-1.xhtml => editor/libeditor/crashtests/535632-1.xhtml
rename : editor/libeditor/html/crashtests/574558-1.xhtml => editor/libeditor/crashtests/574558-1.xhtml
rename : editor/libeditor/html/crashtests/582138-1.xhtml => editor/libeditor/crashtests/582138-1.xhtml
rename : editor/libeditor/html/crashtests/612565-1.html => editor/libeditor/crashtests/612565-1.html
rename : editor/libeditor/html/crashtests/615015-1.html => editor/libeditor/crashtests/615015-1.html
rename : editor/libeditor/html/crashtests/615450-1.html => editor/libeditor/crashtests/615450-1.html
rename : editor/libeditor/html/crashtests/639736-1.xhtml => editor/libeditor/crashtests/639736-1.xhtml
rename : editor/libeditor/html/crashtests/643786-1.html => editor/libeditor/crashtests/643786-1.html
rename : editor/libeditor/html/crashtests/682650-1.html => editor/libeditor/crashtests/682650-1.html
rename : editor/libeditor/html/crashtests/716456-1.html => editor/libeditor/crashtests/716456-1.html
rename : editor/libeditor/html/crashtests/759748.html => editor/libeditor/crashtests/759748.html
rename : editor/libeditor/html/crashtests/761861.html => editor/libeditor/crashtests/761861.html
rename : editor/libeditor/html/crashtests/766305.html => editor/libeditor/crashtests/766305.html
rename : editor/libeditor/html/crashtests/766387.html => editor/libeditor/crashtests/766387.html
rename : editor/libeditor/html/crashtests/766795.html => editor/libeditor/crashtests/766795.html
rename : editor/libeditor/html/crashtests/767169.html => editor/libeditor/crashtests/767169.html
rename : editor/libeditor/html/crashtests/768748.html => editor/libeditor/crashtests/768748.html
rename : editor/libeditor/html/crashtests/769008-1.html => editor/libeditor/crashtests/769008-1.html
rename : editor/libeditor/html/crashtests/769967.xhtml => editor/libeditor/crashtests/769967.xhtml
rename : editor/libeditor/html/crashtests/793866.html => editor/libeditor/crashtests/793866.html
rename : editor/libeditor/html/nsEditProperty.cpp => editor/libeditor/nsEditProperty.cpp
rename : editor/libeditor/html/nsHTMLAbsPosition.cpp => editor/libeditor/nsHTMLAbsPosition.cpp
rename : editor/libeditor/html/nsHTMLAnonymousUtils.cpp => editor/libeditor/nsHTMLAnonymousUtils.cpp
rename : editor/libeditor/html/nsHTMLCSSUtils.cpp => editor/libeditor/nsHTMLCSSUtils.cpp
rename : editor/libeditor/html/nsHTMLCSSUtils.h => editor/libeditor/nsHTMLCSSUtils.h
rename : editor/libeditor/html/nsHTMLDataTransfer.cpp => editor/libeditor/nsHTMLDataTransfer.cpp
rename : editor/libeditor/html/nsHTMLEditRules.cpp => editor/libeditor/nsHTMLEditRules.cpp
rename : editor/libeditor/html/nsHTMLEditRules.h => editor/libeditor/nsHTMLEditRules.h
rename : editor/libeditor/html/nsHTMLEditUtils.cpp => editor/libeditor/nsHTMLEditUtils.cpp
rename : editor/libeditor/html/nsHTMLEditUtils.h => editor/libeditor/nsHTMLEditUtils.h
rename : editor/libeditor/html/nsHTMLEditor.cpp => editor/libeditor/nsHTMLEditor.cpp
rename : editor/libeditor/html/nsHTMLEditor.h => editor/libeditor/nsHTMLEditor.h
rename : editor/libeditor/html/nsHTMLEditorEventListener.cpp => editor/libeditor/nsHTMLEditorEventListener.cpp
rename : editor/libeditor/html/nsHTMLEditorEventListener.h => editor/libeditor/nsHTMLEditorEventListener.h
rename : editor/libeditor/html/nsHTMLEditorStyle.cpp => editor/libeditor/nsHTMLEditorStyle.cpp
rename : editor/libeditor/html/nsHTMLInlineTableEditor.cpp => editor/libeditor/nsHTMLInlineTableEditor.cpp
rename : editor/libeditor/html/nsHTMLObjectResizer.cpp => editor/libeditor/nsHTMLObjectResizer.cpp
rename : editor/libeditor/html/nsHTMLObjectResizer.h => editor/libeditor/nsHTMLObjectResizer.h
rename : editor/libeditor/html/nsHTMLURIRefObject.cpp => editor/libeditor/nsHTMLURIRefObject.cpp
rename : editor/libeditor/html/nsHTMLURIRefObject.h => editor/libeditor/nsHTMLURIRefObject.h
rename : editor/libeditor/html/nsTableEditor.cpp => editor/libeditor/nsTableEditor.cpp
rename : editor/libeditor/html/nsWSRunObject.cpp => editor/libeditor/nsWSRunObject.cpp
rename : editor/libeditor/html/nsWSRunObject.h => editor/libeditor/nsWSRunObject.h
rename : editor/libeditor/html/tests/browserscope/lib/richtext/LICENSE => editor/libeditor/tests/browserscope/lib/richtext/LICENSE
rename : editor/libeditor/html/tests/browserscope/lib/richtext/README => editor/libeditor/tests/browserscope/lib/richtext/README
rename : editor/libeditor/html/tests/browserscope/lib/richtext/README.Mozilla => editor/libeditor/tests/browserscope/lib/richtext/README.Mozilla
rename : editor/libeditor/html/tests/browserscope/lib/richtext/currentStatus.js => editor/libeditor/tests/browserscope/lib/richtext/currentStatus.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext/current_revision => editor/libeditor/tests/browserscope/lib/richtext/current_revision
rename : editor/libeditor/html/tests/browserscope/lib/richtext/richtext/editable.html => editor/libeditor/tests/browserscope/lib/richtext/richtext/editable.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext/richtext/js/range.js => editor/libeditor/tests/browserscope/lib/richtext/richtext/js/range.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext/richtext/richtext.html => editor/libeditor/tests/browserscope/lib/richtext/richtext/richtext.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext/update_from_upstream => editor/libeditor/tests/browserscope/lib/richtext/update_from_upstream
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/LICENSE => editor/libeditor/tests/browserscope/lib/richtext2/LICENSE
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/README => editor/libeditor/tests/browserscope/lib/richtext2/README
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/README.Mozilla => editor/libeditor/tests/browserscope/lib/richtext2/README.Mozilla
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/currentStatus.js => editor/libeditor/tests/browserscope/lib/richtext2/currentStatus.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/current_revision => editor/libeditor/tests/browserscope/lib/richtext2/current_revision
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/__init__.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/__init__.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/common.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/common.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/handlers.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/handlers.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/common.css => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/common.css
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable-body.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable-body.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable-dM.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable-dM.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable-div.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable-div.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable.css => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable.css
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/canonicalize.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/canonicalize.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/compare.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/compare.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/output.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/output.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/pad.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/pad.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/range-bootstrap.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/range-bootstrap.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/range.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/range.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/run.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/run.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/units.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/units.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/variables.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/variables.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/templates/output.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/templates/output.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/templates/richtext2.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/templates/richtext2.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/__init__.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/__init__.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/apply.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/apply.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/applyCSS.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/applyCSS.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/change.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/change.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/changeCSS.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/changeCSS.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/delete.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/delete.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/forwarddelete.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/forwarddelete.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/insert.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/insert.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryEnabled.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryEnabled.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryIndeterm.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryIndeterm.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryState.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryState.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/querySupported.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/querySupported.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryValue.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryValue.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/selection.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/selection.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/unapply.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/unapply.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/unapplyCSS.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/unapplyCSS.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/unittestexample.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/unittestexample.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/update_from_upstream => editor/libeditor/tests/browserscope/lib/richtext2/update_from_upstream
rename : editor/libeditor/html/tests/browserscope/mochitest.ini => editor/libeditor/tests/browserscope/mochitest.ini
rename : editor/libeditor/html/tests/browserscope/test_richtext.html => editor/libeditor/tests/browserscope/test_richtext.html
rename : editor/libeditor/html/tests/browserscope/test_richtext2.html => editor/libeditor/tests/browserscope/test_richtext2.html
rename : editor/libeditor/html/tests/data/cfhtml-chromium.txt => editor/libeditor/tests/data/cfhtml-chromium.txt
rename : editor/libeditor/html/tests/data/cfhtml-firefox.txt => editor/libeditor/tests/data/cfhtml-firefox.txt
rename : editor/libeditor/html/tests/data/cfhtml-ie.txt => editor/libeditor/tests/data/cfhtml-ie.txt
rename : editor/libeditor/html/tests/data/cfhtml-nocontext.txt => editor/libeditor/tests/data/cfhtml-nocontext.txt
rename : editor/libeditor/html/tests/data/cfhtml-ooo.txt => editor/libeditor/tests/data/cfhtml-ooo.txt
rename : editor/libeditor/html/tests/file_bug549262.html => editor/libeditor/tests/file_bug549262.html
rename : editor/libeditor/html/tests/file_bug674770-1.html => editor/libeditor/tests/file_bug674770-1.html
rename : editor/libeditor/html/tests/file_select_all_without_body.html => editor/libeditor/tests/file_select_all_without_body.html
rename : editor/libeditor/html/tests/green.png => editor/libeditor/tests/green.png
rename : editor/libeditor/html/tests/test_CF_HTML_clipboard.html => editor/libeditor/tests/test_CF_HTML_clipboard.html
rename : editor/libeditor/html/tests/test_bug200416.html => editor/libeditor/tests/test_bug200416.html
rename : editor/libeditor/html/tests/test_bug289384.html => editor/libeditor/tests/test_bug289384.html
rename : editor/libeditor/html/tests/test_bug290026.html => editor/libeditor/tests/test_bug290026.html
rename : editor/libeditor/html/tests/test_bug291780.html => editor/libeditor/tests/test_bug291780.html
rename : editor/libeditor/html/tests/test_bug316447.html => editor/libeditor/tests/test_bug316447.html
rename : editor/libeditor/html/tests/test_bug332636.html => editor/libeditor/tests/test_bug332636.html
rename : editor/libeditor/html/tests/test_bug332636.html^headers^ => editor/libeditor/tests/test_bug332636.html^headers^
rename : editor/libeditor/html/tests/test_bug366682.html => editor/libeditor/tests/test_bug366682.html
rename : editor/libeditor/html/tests/test_bug372345.html => editor/libeditor/tests/test_bug372345.html
rename : editor/libeditor/html/tests/test_bug404320.html => editor/libeditor/tests/test_bug404320.html
rename : editor/libeditor/html/tests/test_bug410986.html => editor/libeditor/tests/test_bug410986.html
rename : editor/libeditor/html/tests/test_bug414526.html => editor/libeditor/tests/test_bug414526.html
rename : editor/libeditor/html/tests/test_bug417418.html => editor/libeditor/tests/test_bug417418.html
rename : editor/libeditor/html/tests/test_bug432225.html => editor/libeditor/tests/test_bug432225.html
rename : editor/libeditor/html/tests/test_bug439808.html => editor/libeditor/tests/test_bug439808.html
rename : editor/libeditor/html/tests/test_bug442186.html => editor/libeditor/tests/test_bug442186.html
rename : editor/libeditor/html/tests/test_bug449243.html => editor/libeditor/tests/test_bug449243.html
rename : editor/libeditor/html/tests/test_bug455992.html => editor/libeditor/tests/test_bug455992.html
rename : editor/libeditor/html/tests/test_bug456244.html => editor/libeditor/tests/test_bug456244.html
rename : editor/libeditor/html/tests/test_bug460740.html => editor/libeditor/tests/test_bug460740.html
rename : editor/libeditor/html/tests/test_bug468353.html => editor/libeditor/tests/test_bug468353.html
rename : editor/libeditor/html/tests/test_bug478725.html => editor/libeditor/tests/test_bug478725.html
rename : editor/libeditor/html/tests/test_bug480647.html => editor/libeditor/tests/test_bug480647.html
rename : editor/libeditor/html/tests/test_bug480972.html => editor/libeditor/tests/test_bug480972.html
rename : editor/libeditor/html/tests/test_bug484181.html => editor/libeditor/tests/test_bug484181.html
rename : editor/libeditor/html/tests/test_bug487524.html => editor/libeditor/tests/test_bug487524.html
rename : editor/libeditor/html/tests/test_bug489202.xul => editor/libeditor/tests/test_bug489202.xul
rename : editor/libeditor/html/tests/test_bug490879.xul => editor/libeditor/tests/test_bug490879.xul
rename : editor/libeditor/html/tests/test_bug520189.html => editor/libeditor/tests/test_bug520189.html
rename : editor/libeditor/html/tests/test_bug525389.html => editor/libeditor/tests/test_bug525389.html
rename : editor/libeditor/html/tests/test_bug537046.html => editor/libeditor/tests/test_bug537046.html
rename : editor/libeditor/html/tests/test_bug549262.html => editor/libeditor/tests/test_bug549262.html
rename : editor/libeditor/html/tests/test_bug550434.html => editor/libeditor/tests/test_bug550434.html
rename : editor/libeditor/html/tests/test_bug551704.html => editor/libeditor/tests/test_bug551704.html
rename : editor/libeditor/html/tests/test_bug552782.html => editor/libeditor/tests/test_bug552782.html
rename : editor/libeditor/html/tests/test_bug570144.html => editor/libeditor/tests/test_bug570144.html
rename : editor/libeditor/html/tests/test_bug578771.html => editor/libeditor/tests/test_bug578771.html
rename : editor/libeditor/html/tests/test_bug587461.html => editor/libeditor/tests/test_bug587461.html
rename : editor/libeditor/html/tests/test_bug592592.html => editor/libeditor/tests/test_bug592592.html
rename : editor/libeditor/html/tests/test_bug597784.html => editor/libeditor/tests/test_bug597784.html
rename : editor/libeditor/html/tests/test_bug599322.html => editor/libeditor/tests/test_bug599322.html
rename : editor/libeditor/html/tests/test_bug607584.html => editor/libeditor/tests/test_bug607584.html
rename : editor/libeditor/html/tests/test_bug607584.xul => editor/libeditor/tests/test_bug607584.xul
rename : editor/libeditor/html/tests/test_bug611182.html => editor/libeditor/tests/test_bug611182.html
rename : editor/libeditor/html/tests/test_bug612128.html => editor/libeditor/tests/test_bug612128.html
rename : editor/libeditor/html/tests/test_bug612447.html => editor/libeditor/tests/test_bug612447.html
rename : editor/libeditor/html/tests/test_bug616590.xul => editor/libeditor/tests/test_bug616590.xul
rename : editor/libeditor/html/tests/test_bug620906.html => editor/libeditor/tests/test_bug620906.html
rename : editor/libeditor/html/tests/test_bug622371.html => editor/libeditor/tests/test_bug622371.html
rename : editor/libeditor/html/tests/test_bug629845.html => editor/libeditor/tests/test_bug629845.html
rename : editor/libeditor/html/tests/test_bug635636.html => editor/libeditor/tests/test_bug635636.html
rename : editor/libeditor/html/tests/test_bug640321.html => editor/libeditor/tests/test_bug640321.html
rename : editor/libeditor/html/tests/test_bug668599.html => editor/libeditor/tests/test_bug668599.html
rename : editor/libeditor/html/tests/test_bug674770-1.html => editor/libeditor/tests/test_bug674770-1.html
rename : editor/libeditor/html/tests/test_bug674770-2.html => editor/libeditor/tests/test_bug674770-2.html
rename : editor/libeditor/html/tests/test_bug674861.html => editor/libeditor/tests/test_bug674861.html
rename : editor/libeditor/html/tests/test_bug676401.html => editor/libeditor/tests/test_bug676401.html
rename : editor/libeditor/html/tests/test_bug677752.html => editor/libeditor/tests/test_bug677752.html
rename : editor/libeditor/html/tests/test_bug686203.html => editor/libeditor/tests/test_bug686203.html
rename : editor/libeditor/html/tests/test_bug697842.html => editor/libeditor/tests/test_bug697842.html
rename : editor/libeditor/html/tests/test_bug725069.html => editor/libeditor/tests/test_bug725069.html
rename : editor/libeditor/html/tests/test_bug735059.html => editor/libeditor/tests/test_bug735059.html
rename : editor/libeditor/html/tests/test_bug738366.html => editor/libeditor/tests/test_bug738366.html
rename : editor/libeditor/html/tests/test_bug757371.html => editor/libeditor/tests/test_bug757371.html
rename : editor/libeditor/html/tests/test_bug767684.html => editor/libeditor/tests/test_bug767684.html
rename : editor/libeditor/html/tests/test_bug780035.html => editor/libeditor/tests/test_bug780035.html
rename : editor/libeditor/html/tests/test_bug780908.xul => editor/libeditor/tests/test_bug780908.xul
rename : editor/libeditor/html/tests/test_bug787432.html => editor/libeditor/tests/test_bug787432.html
rename : editor/libeditor/html/tests/test_bug790475.html => editor/libeditor/tests/test_bug790475.html
rename : editor/libeditor/html/tests/test_bug796839.html => editor/libeditor/tests/test_bug796839.html
rename : editor/libeditor/html/tests/test_bug832025.html => editor/libeditor/tests/test_bug832025.html
rename : editor/libeditor/html/tests/test_bug857487.html => editor/libeditor/tests/test_bug857487.html
rename : editor/libeditor/html/tests/test_bug966155.html => editor/libeditor/tests/test_bug966155.html
rename : editor/libeditor/html/tests/test_bug966552.html => editor/libeditor/tests/test_bug966552.html
rename : editor/libeditor/html/tests/test_bug998188.html => editor/libeditor/tests/test_bug998188.html
rename : editor/libeditor/html/tests/test_contenteditable_focus.html => editor/libeditor/tests/test_contenteditable_focus.html
rename : editor/libeditor/html/tests/test_contenteditable_text_input_handling.html => editor/libeditor/tests/test_contenteditable_text_input_handling.html
rename : editor/libeditor/html/tests/test_dom_input_event_on_htmleditor.html => editor/libeditor/tests/test_dom_input_event_on_htmleditor.html
rename : editor/libeditor/html/tests/test_htmleditor_keyevent_handling.html => editor/libeditor/tests/test_htmleditor_keyevent_handling.html
rename : editor/libeditor/html/tests/test_keypress_untrusted_event.html => editor/libeditor/tests/test_keypress_untrusted_event.html
rename : editor/libeditor/html/tests/test_root_element_replacement.html => editor/libeditor/tests/test_root_element_replacement.html
rename : editor/libeditor/html/tests/test_select_all_without_body.html => editor/libeditor/tests/test_select_all_without_body.html
rename : editor/libeditor/html/tests/test_spellcheck_pref.html => editor/libeditor/tests/test_spellcheck_pref.html
2014-08-18 17:28:17 -04:00
Matt Woodrow
a021626551
Bug 1051592 - Clip DrawTargetCairo's context to the surface bound to prevent massive mask allocations within cairo. r=jrmuizel
2014-08-15 14:23:22 +12:00
Matt Woodrow
815df95ef5
Bug 1053078 - Use a timeout instead of tick count for preventing refresh driver hangs since ASAP mode accumulates tick counts too quickly. r=roc
...
--HG--
extra : rebase_source : b19754d2b3e6731fb89d89ac093f144c8d786b07
2014-08-15 14:24:50 +12:00
Daniel Holbert
195a8c2e3c
Bug 981640: increase fuzziness threshold for reftest paced-1.svg on Windows.
...
DONTBUILD because just increasing some fuzziness numbers, which can't conceivably cause bustage/test-failures
2014-08-14 13:15:22 -07:00
Max Vujovic
f797e1291f
Bug 948265 - Add CSS drop-shadow filter to nsCSSFilterInstance. r=mstange
2014-08-14 11:29:56 -07:00
Alexander Seleznev
53c607e010
Bug 803633 - Add basic support for new scrollbar behavior in GTK+ [Part 3]. r=mstange
2014-08-13 06:02:00 -04:00
Alexander Seleznev
10dae0a1f3
Bug 803633 - Add basic support for new scrollbar behavior in GTK+ [2/4]. r=mstange
2014-07-31 02:03:00 -04:00
Alexander Seleznev
84487d075a
Bug 803633 - Add basic support for new scrollbar behavior in GTK+ [Part 1]. r=mstange, r=karlt
2014-08-10 16:05:51 +07:00
John Daggett
c89334b523
Bug 1053114 - fix serialization of shorthands with token value subproperties. r=heycam
2014-08-14 21:36:25 +09:00
John Daggett
a6d33c86fd
Bug 1053114 - test other shorthands affected by variable usage. r=heycam
2014-08-14 21:36:25 +09:00
Seth Fowler
983a3f905a
Bug 913586 (Part 7) - Update Maybe users in layout. r=dbaron
...
--HG--
extra : rebase_source : 1bf45d1356d36269ca951b58ebf1e448313c55c5
2014-08-13 15:42:15 -07:00
L. David Baron
8bf306f8b3
Bug 1052907 - Make --this-chunk and --total-chunks arguments to mach reftest-remote work by coercing them to ints, which they need to be. r=ahal
2014-08-13 15:39:03 -07:00
L. David Baron
0795fbed25
Bug 625289 patch 13 - Test that ::first-line movement doesn't start transitions, i.e., test patch 10 in this series. r=heycam
...
With the full patch series, all 4 pairs of tests pass. However, with
patch 10 removed from the patch series, all of the added tests fail
(probably through some interesting interactions).
2014-08-13 15:39:03 -07:00
L. David Baron
fd2736dc52
Bug 625289 patch 12 - Tests for transitions on elements that are reframing. r=heycam
...
The second set of 14 tests all fail (both with and without the patch)
because we don't start transitions when the before state is
display:none (either for style contexts coming out of the undisplayed
map or because we have no current style context because an ancestor is
display:none).
The patch makes all of the first set of 14 tests pass. Without the
patch, most of these tests fail, except for the 4 testing e1 and the
root.
I presume the four tests that pass prior to the patch pass because the
restyle actually occurs and starts the transition (which is stored on
the element) before the style context is destroyed.
2014-08-13 15:39:02 -07:00
L. David Baron
70c4a5a6b9
Bug 625289 patch 11 - Call RestyleManager::TryStartingTransition during frame construction. r=heycam
2014-08-13 15:39:02 -07:00
L. David Baron
7ddcba2342
Bug 625289 patch 10 - Check for difference in HasPseudoElementData before starting transitions. r=heycam
2014-08-13 15:39:02 -07:00
L. David Baron
f09205e661
Bug 625289 patch 9 - Convert nsCSSFrameConstructor::ResolveStyleContext away from early returns. r=heycam
2014-08-13 15:39:02 -07:00
L. David Baron
7f3d0a2286
Bug 625289 patch 8 - Add FIXME comments suggesting additional use of ResolveStyleContext when resolving the root frame. r=heycam
...
This isn't actually a problem for this patch series because the root
element can't have an ancestor that's reframed because it has no
ancestors, and reframes of the element itself trigger a restyling
operation that does actually start transitions.
That said, later patches in this bug hook in to ResolveStyleContext, and
other things might as well in the future, thus the FIXME.
2014-08-13 15:39:02 -07:00
L. David Baron
e425638f17
Bug 625289 patch 7 - Expose TryStartingTransition. r=heycam
2014-08-13 15:39:01 -07:00
L. David Baron
ebafb4f9b6
Bug 625289 patch 6 - Store style contexts being reframed in the ReframingStyleContexts struct. r=heycam
2014-08-13 15:39:01 -07:00
L. David Baron
86de53b549
Bug 625289 patch 5 - Create a ReframingStyleContexts struct during restyling. r=heycam
2014-08-13 15:39:01 -07:00
L. David Baron
c978ecaab8
Bug 625289 patch 4 - Add member variable to restyle manager for currently reframing style contexts. r=heycam
2014-08-13 15:39:01 -07:00
L. David Baron
2f980c8522
Bug 625289 patch 3 - Add types for storing the style contexts of elements currently being reframed. r=heycam
2014-08-13 15:39:01 -07:00
L. David Baron
8aa5af235c
Bug 625289 patch 2 - Create wrapper function around the only calling pattern of ComputeStyleChangeFor. r=heycam
2014-08-13 15:39:00 -07:00
L. David Baron
9b2d455ea1
Bug 625289 patch 1 - Add comment about dependence on synchronous frame reconstruction. r=heycam
2014-08-13 15:39:00 -07:00
Ed Morley
65c1fd3bbc
Backed out changeset d24b367f3ac4 (bug 1022818)
2014-08-13 16:30:50 +01:00
Ed Morley
6142bd65b1
Backed out changeset e40ffcb782f8 (bug 1022818)
2014-08-13 16:30:46 +01:00
Kearwood (Kip) Gilbert
42df367c9b
Bug 1022818 - Part 3: Tests for CSSOM-View Smooth-Scroll DOM API Methods and MSD Animation. r=bz, r=roc
...
- Verify that instant scroll-behavior is synchronous.
- Verify that smooth scroll-behavior is asynchronous.
- Verify that smooth scroll-behavior is triggered by CSSOM-View DOM methods.
- Verify that instant scroll-behavior interrupts smooth scroll-behavior
animation.
- Verify that smooth scroll-behavior is not framerate dependant.
- Verify that smooth scroll-behavior physics simulations used by animations
converge and allow the animation to reach completion.
- CSSOM-View scroll-behavior smooth scroll animations must produce the same
results indendently of frame-rate:
- Reference samples of scroll position for each frame are captured from a
smooth scroll at 120fps for variations in X-Distance, Y-Distance.
- Test samples are captured from an animation with the same parameters at
varying framerates.
- Variance in position at each sampled interval is compared to the 120fps
reference. To pass the test, the position of each test sample must match
the reference position with a tolerance of one test sample frame's range
of motion. This range of motion is calculated by the position delta of
the reference samples one test frame duration before and after.
- The duration of the reference sample animation and the test sample
animation must match within 1 frame to pass the test.
- The simulation driving the animation must converge and stop on the
destination position for the test to pass.
2014-07-25 14:20:45 -07:00
Kearwood (Kip) Gilbert
0befdfe863
Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
...
- Updated ScrollTo method in nsGlobalWindow to accept a
mozilla::dom::ScrollOptions parameter to select between the instant
and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
to pass the correct value of mozilla::dom::ScrollBehavior to the
implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
CSS property in Bug 1010538.
2014-07-21 11:19:00 -04:00
Jonathan Watt
1f2273ebfb
Bug 1052999 - Stop using FOR_PAINTING in nsSVGForeignObjectFrame::GetInvalidRegion. r=longsonr
2014-08-13 13:36:41 +01:00
Jonathan Watt
9cf6a9f6a0
Bug 1052913 - Clean up some nsSVGClipPathFrame code and add some documentation to make it clearer. r=dholbert
2014-08-13 13:36:32 +01:00
Jonathan Watt
7a07a4a8da
Bug 1052910 - Clean up some includes. r=dholbert
2014-08-13 13:34:53 +01:00
Jonathan Watt
5762a0a0eb
Bug 1052915 - Stop unnecessarily calling nsSVGUtils::AdjustMatrixForUnits() over and over in nsSVGClipPathFrame. r=longsonr
2014-08-13 13:34:52 +01:00
Julian Seward
95678b9bbb
Bug 1051527 - BackgroundClipState::mHasRounded corners is used uninitialised. r=matt.woodrow.
...
--HG--
extra : rebase_source : e21c5b9fb2c6ad380f7179d43292bbca032f9c5f
2014-08-13 11:26:33 +02:00
Brian Birtles
c9b30cafe3
Bug 1052147 - Initialize AnimationPlayer::mPlayState to running state; r=dbaron
...
The assertion in nsTimeStamp::operator >= occasionally fails due to a null RHS
timestamp when called from AnimationPlayer::GetCurrentTimeDuration, which, in
turn, is called from AnimationPlayer::SetSource.
The issue appears to be that we're not correctly initializing
AnimationPlayer.mPlayState. This value can be running (0) or paused (1) but we
only ever compare against the paused state (i.e. every other value is
effectively treated as running). If we don't initialize this we can end
up in the paused state but with mPauseStart not set to a valid (non-null)
TimeStamp. This creates an inconsistent state since we assume that when we're
paused mPauseStart is non-null, hence the assertion fails.
This gets tickled because, since bug 1040543, we call
AnimationPlayer::SetSource from nsAnimationManager::BuildAnimations *before* we
set mPlayState and mPauseStart.
This patch initializes mPlayState to the running state so we don't accidentally
end up in an inconsistent state.
It also removes some (now unnecessary) initialization of mPlayState and
mPauseStart from nsTransitionManager::ConsiderStartingTransition.
In future we could also consider reworking nsAnimationManager::BuildAnimations
so that we call SetSource on the new animation player *after* setting up its
play state. That may be more correct and would further avoid this problem but
may not be necessary since all that code is likely to change in the near future.
2014-08-13 18:21:45 +09:00
Matt Woodrow
f81382dd80
Bug 1019693 - Always use tiled thebes layers when we're a descendant of a layer with a critical display port so that the low-resolution drawing area is handled correctly. r=tn
...
--HG--
extra : rebase_source : 0dabb9c73d65414979945d0cc46ba8c89d86b90e
2014-08-08 09:12:01 +12:00
Trevor Saunders
8f78184d9a
bug 1016545 - Provide an iterator that iterates over all children of an element r=bz
2014-07-16 14:41:57 -04:00
Martijn Wargers
4d71b5379f
Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce
2014-08-10 20:03:50 -07:00
Ms2ger
5b546538b2
Bug 1048780 - Call the standard matches() rather than the proprietary mozMatchesSelector(); r=jst
...
This also includes a test that mozMatchesSelector is still exposed and works.
--HG--
rename : js/xpconnect/tests/chrome/test_mozMatchesSelector.xul => js/xpconnect/tests/chrome/test_matches.xul
rename : js/xpconnect/tests/mochitest/file_mozMatchesSelector.html => js/xpconnect/tests/mochitest/file_matches.html
2014-08-12 14:30:59 +02:00
Matt Woodrow
7880b2f2f8
Bug 1049450 - Revert pre-rendering heuristic changes from bug 1034247. r=roc
...
--HG--
extra : rebase_source : c5dd220f5cf6b51a4cb0ef552f792dfcf621445c
2014-08-12 18:02:55 +12:00
Bobby Holley
af0cdef94f
Bug 1050049 - Whitelist bindings that we actually expect to use in content. r=smaug
2014-08-11 20:06:55 -07:00
Seth Fowler
80bc22ca18
Bug 1051147 - Fix overflow area handling in nsTableRowFrame::DidSize. r=smontagu
2014-08-11 16:52:01 -07:00
Seth Fowler
3be514e0be
Bug 981924 - Update ReportToConsole calls in layout code to use the right category. r=dbaron
2014-08-11 16:52:01 -07:00
Terrence Cole
a6741673cf
Bug 1033442 - Remove non-pod calloc from MallocProvider and AllocPolicy; r=jonco
2014-08-05 14:06:35 -07:00
Wes Kocher
1b1fc072d1
Backed out 4 changesets (bug 1032878) for probably introducing a leak, creating a CLOSED TREE
...
Backed out changeset 780c948d79f3 (bug 1032878)
Backed out changeset 0cfcc44660a8 (bug 1032878)
Backed out changeset 991f8d5da382 (bug 1032878)
Backed out changeset f54984be223e (bug 1032878)
2014-08-11 14:27:57 -07:00
Susanna Bowen
ee6cb50c8a
Bug 1039017 - Remove whitespace according to the CSS ruby spec when performing anonymous box generation. r=dholbert,f=bz
2014-08-11 13:07:51 -07:00
Martijn Wargers
ab8828526e
Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce
2014-08-10 20:03:50 -07:00
Geoff Brown
8c277a965f
Bug 1042097 - Upload Android tombstones to blobber; r=dminor
2014-08-11 11:55:28 -06:00
Jonathan Kew
317874de82
bug 1048050 - additional reftests to cover cases with and without region subtag. r=smontagu
...
--HG--
rename : layout/reftests/text-transform/greek-uppercase-1.html => layout/reftests/text-transform/greek-uppercase-1a.html
rename : layout/reftests/text-transform/greek-uppercase-1.html => layout/reftests/text-transform/greek-uppercase-1b.html
rename : layout/reftests/text-transform/irish-lowercase-1.html => layout/reftests/text-transform/irish-lowercase-1a.html
rename : layout/reftests/text-transform/irish-lowercase-1.html => layout/reftests/text-transform/irish-lowercase-1b.html
2014-08-11 09:49:14 +01:00
Jonathan Kew
31f53d899f
bug 1048050 - ignore region (or other) subtags when checking for language-specific casing behavior. r=smontagu
2014-08-11 09:49:11 +01:00
John Daggett
f98de73684
Bug 1051668 - add testdata for font-variant-alternates. r=mkato
2014-08-11 17:05:01 +09:00
John Daggett
53ede1c6ad
Bug 1051668 - revise gsubtest fonts to include ss22..ss99 feature tags. r=mkato
2014-08-11 17:05:01 +09:00
Timothy Nikkel
810c40617a
Bug 1051097. Set the initial visible rect correctly on the wrap list item stored inside transform display items. r=roc
2014-08-10 21:59:02 -05:00
Brian Birtles
1e9fc689ae
Bug 1040543 part 11 - Make ElementPropertyTransition inherit from Animation instead of AnimationPlayer; r=bz
...
This patch changes the inheritance of ElementPropertyTransition so that it is
a subclass of Animation not AnimationPlayer.
The only thing special about ElementPropertyTransition is it stores some extra
state for reversing transitions and an extra ValuePortionFor convenience method.
This reversing behavior is implemented by the transition manager by creating
a new AnimationPlayer (i.e. it is *not* a property of the AnimationPlayer). As
a result this extra state can be pushed down to Animation which simplifies the
code significantly.
In future if we implement KeyframeEffect as a separate object we may be able to
push transition-specific state down to KeyframeEffect instead.
2014-08-10 17:06:52 +10:00
Brian Birtles
264bff6b41
Bug 1040543 part 10 - Move mIsLastNotification from AnimationPlayer to Animation; r=bz
...
In this fourth step of dividing functionality between AnimationPlayer and
Animation, we move the mIsLastNotification and related methods/enums from
AnimationPlayer to Animation.
It is somewhat unclear where this belongs. This member is used to determine
which event to send for CSS Animations. The thinking behind moving this to
Animation is that if an animation that has already dispatched its animationstart
event was transferred to a new animation player with a similar current time then
I think it is expected that such an animation would *not* dispatch another
animationstart event. That suggests that event-state is a property of the
Animation not the AnimationPlayer.
Obviously, this needs to be defined somewhere (namely, the CSS Animations <->
Web Animations integration spec likely to become "CSS Animations Level 4"). Once
that behavior is agreed upon, if AnimationPlayer proves to be the more suitable
home for this member then it should be relatively straightforward to move the
member back at that time.
2014-08-10 17:06:51 +10:00
Brian Birtles
46562ab4f3
Bug 1040543 part 9 - Move IsFinishedTransition from AnimationPlayer to Animation; r=bz
...
As the third step in dividing functionality between AnimationPlayer and
Animation this patch moves the mIsFinishedTransition member and related methods
from AnimationPlayer to Animation.
At the same time we rename SetFinishedTransition to SetIsFinishedTransition.
2014-08-10 17:06:51 +10:00
Brian Birtles
2520d366a6
Bug 1040543 part 8 - Move timing parameters from AnimationPlayer to Animation; r=bz
...
As the second step in dividing functionality between AnimationPlayer and
Animation, this patch moves the AnimationTiming member from AnimationPlayer to
Animation.
Most of this patch is simply moving code around. However, one significant
functional difference is that Animation::GetLocalTime() uses the mParentTime
member which is set when the Animation is updated by the player it is attached
to.
Other less significant differences are:
* AnimationPlayer::GetLocalTime is renamed to GetCurrentTimeDuration
In Web Animations, animation players have a (writeable) "current time" and
animations have a (read-only) "local time".
We would call the method simply "GetCurrentTime" (instead of
"GetCurrentTimeDuration") but GetCurrentTime is the name of the method used in
the content-facing API where it returns a double.
* "IsCurrent" is defined on both AnimationPlayer and Animation with the version
in AnimationPlayer serving mostly as a convenience shortcut to the version on
Animation.
* Animation::GetComputedTiming (previously on AnimationPlayer) now makes the
timing parameter optional since most of the time it is not needed.
2014-08-10 17:06:50 +10:00
Brian Birtles
8088c0320d
Bug 1040543 part 7 - Move keyframe properties from AnimationPlayer to Animation; r=bz
...
As the first step in dividing the functionality currently contained in
AnimationPlayer between AnimationPlayer and Animation this patch moves the set
of keyframe properties to the Animation.
These properties are returned from the Animation by a couple of Properties()
methods that provide direct access to the member variable. In future it is
anticipated that the non-const version will be replaced with an appropriate
setter function. This will likely happen when we implement a separate
KeyframeEffect object as defined by the Web Animations API.
With regards to error checking, nsAnimationManager checks the result of
AnimationPlayer::GetSource() and handles the case where it is nullptr.
nsTransitionManager, however, simply asserts that GetSource() is never null much
like it also asserts that there is only one property with one segment in the
animation. Eventually this code should be made more generic which will probably
happen in bug 999927.
2014-08-10 17:06:49 +10:00
Brian Birtles
b57ec6a9c0
Bug 1040543 part 6 - Rename mAnimations to mPlayers and likewise for similar local variables; r=bz
...
Now that we have both AnimationPlayer and Animation in use we need to clarify
which object we are referring to. This patch renames a number of member and
local variables to better reflect whether they point to an AnimationPlayer or an
Animation.
This patch is mostly renaming only with one exception. Since we are touching
a number of local variables used in loops (for looping over the array of
animation players) we take the opportunity to replace a number of instances of
uint32_t with size_t since that is the preferred type for array indices now.
2014-08-10 17:06:48 +10:00
Brian Birtles
249039905a
Bug 1040543 part 5 - Pass down time from AnimationPlayer to Animation; r=bz
...
This patch makes AnimationPlayers pass their current time down to the Animation
they are playing.
Since all Animations need from their players is their time, this avoids adding
a pointer back to their AnimationPlayer.
2014-08-10 17:06:48 +10:00
Brian Birtles
8f9311bf63
Bug 1040543 part 4 - Create Animation objects and set on AnimationPlayer; r=bz
2014-08-10 17:06:47 +10:00
Brian Birtles
d3002fb8dd
Bug 1040543 part 2 - Rename ElementAnimationCollection to AnimationPlayerCollection; r=bz
2014-08-10 17:06:46 +10:00
Brian Birtles
0c90999575
Bug 1040543 part 1 - Move/Rename ElementAnimations to dom::AnimationPlayer; r=bz
...
This patch renames mozilla::ElementAnimations to mozilla::dom::AnimationPlayer
and moves the code from layout/style/AnimationCommon.cpp to
dom/animation/AnimationPlayer.cpp.
It also moves various helper classes needed by AnimationPlayer to
AnimationPlayer.cpp and moves them from the mozilla::css namespace to the
mozilla namespace.
Beyond that, there are no functional changes contained in this patch.
The renaming of various members and variables that used to refer to
ElementAnimation objects but now refer to AnimationPlayer objects--to give them
a more appropriate name--is performed in a subsequent patch.
--HG--
rename : layout/style/AnimationCommon.cpp => dom/animation/AnimationPlayer.cpp
rename : layout/style/AnimationCommon.h => dom/animation/AnimationPlayer.h
2014-08-10 17:06:44 +10:00
Sylvestre Ledru
2e0c1ce1ec
Bug 1050715 - Update the description of the various tests targed proposed by './mach help' r=jmaher
...
--HG--
extra : rebase_source : 29019a02711ffce5c148787517051855259b6446
2014-08-09 15:37:29 +02:00
Bob Owen
b9a88b5b76
Bug 1047509 - Part 12: Remove nsCxPusher in nsTextBoxFrame::UpdateAccesskey. r=bholley
2014-08-07 19:46:36 +01:00
Bob Owen
b625fa977e
Bug 1047509 - Part 11: Remove nsCxPusher in nsPresContext::MediaFeatureValuesChanged. r=bholley
2014-08-07 19:44:03 +01:00
Ting-Yu Lin
d66060991b
Bug 1046732 - Part 2: Test touch caret will be hidden by wheel event. r=ehsan
...
This test logic is similar to
_test_touch_caret_timeout_by_dragging_it_to_top_left_corner_after_timout.
2014-08-07 01:33:00 -04:00
Ting-Yu Lin
db39eafdda
Bug 1046732 - Part 1: Fix incorrect event message used in TouchCaret.cpp. r=ehsan
...
NS_WHEEL_EVENT_START isn't a specific event message for compairing in
the switch case. Since we would like to hide touch caret whenever
receving wheel events, all the wheel event types are added.
2014-08-07 01:26:00 -04:00
Ryan VanderMeulen
407f12eec4
Backed out changesets 6ee4b6cc240c, a818fd0874fe, and 70803a5f4683 (bug 1033442) for multiple crashtest oranges.
2014-08-08 21:54:58 -04:00
Georgios Kontaxis
d6bc08915e
Bug 1044181: style loader now annotates classified tracking nodes r=dbaron
2014-08-08 15:16:34 -07:00
Ehsan Akhgari
8165587ed8
Bug 1050845 - Add will-change: auto to full-screen-override.css; r=dbaron
2014-08-08 20:25:21 -04:00
Terrence Cole
529830df2e
Bug 1033442 - Remove non-pod calloc from MallocProvider and AllocPolicy; r=jonco
2014-08-05 14:06:35 -07:00
Daniel Holbert
186a6ed5a3
Bug 1049075: Remove unnecessary "virtual" keyword from ~nsGridCell (which nothing derives from & inherits from nothing). r=tn
2014-08-08 15:22:26 -07:00
Kartikaya Gupta
53c6f4303a
Bug 1046344 - Update some ifdefs to account for MOZ_ANDROID_APZ. r=snorp
2014-08-08 17:42:25 -04:00
Daniel Holbert
3e8974bef9
Bug 1051020: Update URL of flexbox spec in flexbox reftests. (no review; test-metadata-only)
2014-08-08 14:40:03 -07:00
Ryan VanderMeulen
73c19b3d60
Backed out changeset 05e4c47f1e98 (bug 1036186) for Mulet mochitest bustage.
...
CLOSED TREE
2014-08-08 13:29:28 -04:00
Markus Stange
3262aee646
Backed out changeset 411a075b3624 (bug 987030) because it probably caused timeouts of browser_tabview_expander.js. CLOSED TREE
2014-08-08 18:05:40 +02:00
Morris Tseng
f1d2262570
Bug 1050095 - Prevent drag event when calling SelectionCarets::SelectWord(). r=roc
2014-08-06 23:08:00 -04:00
Birunthan Mohanathas
3e8abfd2e8
Bug 1049997
- Separate statements declaring multiple pointers into separate statements. r=froydnj
2014-08-08 07:04:45 -07:00
Peter Van der Beken
ead2955f33
Bug 1036186 - Reset Migration wizard no longer skips the first step to choose a browser. r=smaug.
...
--HG--
extra : rebase_source : ba21f0355293c08c8b97eec9082c1a77a90f5c30
2014-08-08 15:03:29 +02:00
Robert O'Callahan
f4028459f4
Bug 1050096. Clip scrollparts to the viewport for root scrollframes. r=tnikkel
2014-08-09 01:00:53 +12:00
Robert O'Callahan
861267f74f
Bug 1043163. Avoid negative widths and heights due to overflow. r=mats
...
--HG--
extra : rebase_source : 62db3ad669f7a965672ea6bbab1b932c4a07040f
2014-08-06 17:19:23 +12:00
Markus Stange
7c03e08e93
Bug 1050471
- Reset the valid region of a thebes layer if it gets optimized away to a ColorLayer or an ImageLayer. r=roc
2014-08-08 12:47:32 +02:00
Markus Stange
42d041842e
Bug 987030 - Fix compressed paint timer scheduling. r=roc
2014-08-08 12:46:50 +02:00
Markus Stange
637219fcf9
Bug 1050229 - Use matchMedia when computing the value for the windowsDefaultTheme reftest variable. r=ehsan
2014-08-08 12:46:48 +02:00
Nicholas Nethercote
a7cf4142b4
Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
...
* * *
imported patch rm-dummy-params
--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Daniel Holbert
abbc77f1fc
Bug 1032922 part 2: Rename flex-basis's "auto" keyword to "main-size" (but retain "flex:auto" as shorthand for "1 1 main-size"). r=heycam
2014-08-07 22:11:48 -07:00
Daniel Holbert
cb313ca766
Bug 1032922 part 1: Give "flex-basis" its own keyword table, instead of having it co-opt kWidthKTable. r=heycam
2014-08-07 22:11:47 -07:00
Daniel Holbert
39bd7337db
Bug 1050412 part 2: Assert about frame type before static_casting, and drop useless null-check. r=tn
2014-08-07 22:07:16 -07:00
Daniel Holbert
405e80dc03
Bug 1050412 part 1: Use nsFrameList::Enumerator in nsSimplePageSequenceFrame to iterate over child frames. r=tn
2014-08-07 22:07:15 -07:00
Matt Woodrow
926a990b6e
Bug 969222 - Don't find a new frame pointer unless the previous one was deleted. r=smaug
2014-08-08 16:38:17 +12:00
Matt Woodrow
1fe5ef80f4
Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas
2014-08-05 12:17:47 +12:00
Timothy Nikkel
fb63d1472a
Bug 1042772. Update the reference frame and current frame offset when moving to outside a transform so that we can use the correct offset to compute the initial visible rect for wrap list display items. r=roc
...
* * *
The current reference frame is still the same as our reference frame because we set and restore it in nsFrame::BuildDisplayListForChild before this. So we need to actually compute it.
2014-08-07 11:33:18 -05:00
Timothy Nikkel
c98f0d0c71
Bug 1042772. offsetToReferenceFrame is always zero when we use it. Remove it. r=mattwoodrow
2014-08-07 11:33:16 -05:00
Timothy Nikkel
4dcc187fd5
Bug 1042772. Set the dirty rect relative to the current frame, not the reference frame. r=roc
...
The offsetToReferenceFrame is to the reference frame for this, since we are transformed we are the reference frame, so the offset was 0,0. So the computation still produced correct results.
2014-08-07 11:33:14 -05:00
Ehsan Akhgari
2b84010cb8
Bug 1048246
- Fix more bad implicit constructors in layout; r=roc
...
--HG--
extra : rebase_source : ed828993139bc70232508364a9f046e38b7d3e06
2014-08-07 19:48:38 -04:00
Botond Ballo
720158f10e
Bug 1040087 - For root scroll frames, use the canvas background color calculated by the pres shell when overscrolling. r=tn
2014-08-06 18:05:11 -04:00
Ryan VanderMeulen
a3bcb78c14
Merge fx-team to m-c. a=merge
2014-08-07 17:24:52 -04:00
Timothy Nikkel
2dc2f9e427
Backout f7a499183de0, 5dfd8d0a0ea6, dec09b1a21e4 (bug 1042772) for reftest failure on CLOSED TREE
2014-08-07 12:49:15 -05:00
Timothy Nikkel
a351c40d5a
Bug 1042772. Update the reference frame and current frame offset when moving to outside a transform so that we can use the correct offset to compute the initial visible rect for wrap list display items. r=roc
2014-08-07 11:33:18 -05:00
Timothy Nikkel
2c8ee8bbfc
Bug 1042772. offsetToReferenceFrame is always zero when we use it. Remove it. r=mattwoodrow
2014-08-07 11:33:16 -05:00
Timothy Nikkel
6d1a7bd986
Bug 1042772. Set the dirty rect relative to the current frame, not the reference frame. r=roc
...
The offsetToReferenceFrame is to the reference frame for this, since we are transformed we are the reference frame, so the offset was 0,0. So the computation still produced correct results.
2014-08-07 11:33:14 -05:00
Morris Tseng
f3682709b7
Bug 1046498 - Constrain frame to anchor subtree when dragging selection caret. r=roc
2014-08-06 01:55:00 -04:00
Debkanya Mazumder
75b60c6a05
Bug 738221 - Part 2: Replace uses of nsCOMPtr<nsIAccessibilityService> accService = do_GetService(@mozilla.org/accessibilityService;1). r=tbsaunde
2014-07-28 11:43:00 -04:00
Alexander Seleznev
48ef864e62
Bug 1048178
- Don't let scrollbar dragging get stuck when the user right-clicks at the wrong time. r=mstange
2014-08-04 12:00:00 +07:00
Markus Stange
a75558e0b2
Bug 1049499 - Choose the correct number of gradient repetitions if a non-identity pattern matrix is involved. r=jrmuizel
2014-08-07 13:23:53 +02:00
Jonathan Watt
ca40beec75
Bug 1049256, part 2 - Get rid of nsISVGChildFrame::FOR_HIT_TESTING. r=longsonr
2014-08-07 08:09:34 +01:00
Jonathan Watt
f35f4a70d1
Bug 1049256, part 1 - Convert SVG hit-testing to act on an SVG user space point instead of calling nsSVGUtils::GetCanvasTM(). r=longsonr
2014-08-07 08:09:31 +01:00
Jonathan Watt
9b5d6f46c6
Bug 1044666 - Make the svg.display-lists.hit-testing.enabled pref work properly. r=longsonr
2014-08-07 07:01:44 +01:00
L. David Baron
57a0eac1db
Bug 996796 patch 25 - Remove the old (now-unused) miniflush code (preserving one of the header comments). r=heycam
2014-08-06 22:58:44 -07:00
L. David Baron
79e9b7336f
Bug 996796 patch 24 - Use a RestyleTracker for the coalescing in the animation-only style flush (miniflush). r=heycam
...
This changes the coalescing behavior during the animation-only style
flush by doing tree-based coalescing between the style updates required
by animations and those required by transitions, rather than doing
animations and transitions separately.
Note that both the old and the new code update all
animating/transitioning styles rather than only the throttled styles,
though we should fix that eventually as noted in the FIXME comment in
the code (but only for the existing caller, and not for the new one to
be introduced in bug 960465).
Note that this depends for its correctness on the previous patches to
make the restyling process exact.
The test changes are because the effects of bug 1031688 are changed by
the change in coalescing. In the old code, we updated transition styles
before animation styles; in the new code we do a single pass over the
tree, which for the relevant test means updating animations on the
parent before transitions on the child, which changes the effects of the
bug.
2014-08-06 22:58:44 -07:00
L. David Baron
3f05e60f5c
Bug 996796 patch 23 - Make transition manager ignore StyleContextChanged notifications during an animation-only style update. r=heycam
...
This will be necessary when we use the restyle tracker for the
animation-only style flush.
2014-08-06 22:58:44 -07:00
L. David Baron
a970368ff2
Bug 972199 followup - use crashtest manifest rather than setBoolPref so that all later crashtests aren't affected by the pref change. No review.
2014-08-06 22:58:43 -07:00
Jonathan Watt
ef5b854db9
Bug 1049242 - Avoid hit-testing against the same clip-path for every SVG text frame that hits. r=heycam
2014-08-07 06:24:54 +01:00
Mike Hommey
89777800f9
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
...
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Wes Kocher
2c1bb01c13
Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE
...
Backed out changeset f8720d81b74f (bug 923512)
Backed out changeset f431232084b7 (bug 923512)
Backed out changeset dff51863663c (bug 923512)
2014-08-06 16:36:35 -07:00
Wes Kocher
914924e971
Backed out changesets 950a3afc2b15 and dfb5303af6f9 (bug 1028288) for being incorrect
2014-08-06 15:43:25 -07:00
Daniel Holbert
3c65e86630
(no bug) Adjust a comment in test_flexbox_flex_shorthand.html. comment-only, DONTBUILD
...
In particular, I'm:
- Adding a missing close-quote charater to the flex-grow/flex-shrink line
- Bringing the spec quote in the flex-basis line up-to-date w/ current spec ED.
2014-08-06 14:40:29 -07:00
Botond Ballo
4dcd36c48e
Bug 923512 - Introduce strongly-typed coordinate classes (Part2: Changes to rest of codebase, and switching Axis to use the strongly-typed coordinates). r=kats
2014-07-29 17:24:12 -04:00
Botond Ballo
d02122bbb0
Bug 923512 - Transition the TransformTo<>() functions from gfx3DMatrix to Matrix4x4. r=kats
2014-08-06 12:52:04 -04:00
Max Vujovic
ccfb7c4ac1
Bug 948265 - Add nsCSSFilterInstance with support for adding CSS blur filters to filter graphs. r=mstange
2014-08-06 10:48:47 -07:00