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

43595 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 6d3a321489 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00
Ting-Yu Lin f674a2ec9b Bug 1067728 - Part 5 - Dispatch updateposition after scroll end and reflow. r=roc, sr=smaug
Add a selection state "updateposition" and a field "visible" to indicate
that the current selection's boundingClientRect or visible is changed.
We dispatch this state after scrolling or reflowing is done.
2014-12-10 01:50:00 +01:00
Ting-Yu Lin 09c7f0faf5 Bug 1067728 - Part 4 - Refactor two functions in SeletionCarets. r=roc
Make DispatchSelectionStateChangedEvent() and GetSelectionBoundingRect()
become member functions of SeletionCarets so that they are easier to use
in later patches.
2014-12-08 01:55:00 +01:00
Ting-Yu Lin 9ce9133a81 Bug 1067728 - Part 3 - Expose FindNearestCommonAncestorFrame. r=roc 2014-12-10 19:52:00 +01:00
Ting-Yu Lin 048aed18a4 Bug 1067728 - Part 2 - Hide start or end selection caret if it's out of scroll frame. f=mtseng, r=roc
nsLayoutUtils::IsRectVisibleInScrollFrames() had been used by
TouchCaret. We do the similar check for SelectionCarets.
2014-12-08 01:54:00 +01:00
Ting-Yu Lin 48139f3c66 Bug 1067728 - Part 1.1 - Move IsRectVisibleInScrollFrames to nsLayoutUtils. f=mtseng, r=roc 2014-12-08 01:53:00 +01:00
Ting-Yu Lin 0e32f17319 Bug 1067728 Part 1 - Generalize scroll frame boundary checking logic. f=mtseng, r=roc 2014-12-08 01:52:00 +01:00
Kartikaya Gupta 6e834f4a06 Bug 1097289 - Flag tests as passing now that they pass consistently. r=mats 2014-12-10 12:14:57 -05:00
Kartikaya Gupta 239293451e Bug 1109263 - Clamp the reftest drawWindow call to the canvas. r=dbaron
In some cases the area reported by MozAfterPaint can be extremely large. Since
that area determines what we pass to drawWindow, we could end up trying to
drawWindow an area that is too large for drawWindow to handle. Instead, this
patch clamps that area to the canvas size so that we don't unnecessarily try to
paint (and fail at painting) the whole invalid area.
2014-12-10 07:50:47 -05:00
Gijs Kruitbosch b714ba6ff5 Bug 1107771 - disabling beforeunload should only disable the dialog, not the event, r=bz 2014-12-05 10:31:30 -08:00
Ryan VanderMeulen 1bdab6fe7b Backed out changesets fb903f13f215, 9c5c712698e4, and 36d257ead3da (bug 1092835) for causing test_csp_allow_https_schemes.html permafail on Android 2.3.
CLOSED TREE
2014-12-09 14:00:47 -05:00
Ryan VanderMeulen 131c9d3d17 Bug 1092835 - Bump the nsIWebProgressListener UUID. CLOSED TREE 2014-12-09 12:37:15 -05:00
Ryan VanderMeulen 9dc33bae19 Backed out 5 changesets (bug 1092888) because something in the push made Gij(2) permafail.
Backed out changeset 0ad25135a27f (bug 1092888)
Backed out changeset 7cd8260bfc16 (bug 1092888)
Backed out changeset 86385291d8c8 (bug 1092888)
Backed out changeset be16d194d5df (bug 1092888)
Backed out changeset daee46827258 (bug 1092888)
2014-12-09 12:08:59 -05:00
Jonathan Kew 37777bd3a8 Bug 1108277 - part 2 - Make Get{Min,Pref}ISize in video and plugin frames aware of vertical writing mode. r=smontagu 2014-12-09 14:00:51 +00:00
Jonathan Kew f51ce4dfa3 Bug 1108277 - part 1 - Make Get{Min,Pref}ISize for the <canvas> element aware of vertical writing mode. r=smontagu 2014-12-09 14:00:38 +00:00
David Anderson a63076d2ee Add scroll listeners to dispatch-to-content regions. (bug 1013432 part 5, r=tn)
--HG--
extra : rebase_source : babd42d9bdae722173821e800bc595fe662ee8f1
2014-12-09 02:38:23 -08:00
David Anderson 636a716c5b Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
Morris Tseng c563ff4503 Bug 1092888 - Part 5: Add a parameter to toggle context menu when calling long_press. r=mdas 2014-11-16 18:52:00 +01:00
Morris Tseng 31980c98d6 Bug 1092888 - Part 4: Flip testing function for non-editablt test at test_selectioncarets.py. r=roc 2014-11-10 19:47:00 +01:00
Morris Tseng bc58167c82 Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc 2014-11-10 02:04:00 +01:00
Morris Tseng f2a5cc0c0b Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc 2014-12-07 18:52:00 +01:00
Wes Kocher 126b4f108e Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk 0f94bddfc8 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Nathan Froyd 4d28406638 Bug 1097125 - part 2 - make |mach reftest| and related commands support single files; r=ted.mielczarek 2014-11-11 12:20:33 -05:00
Nathan Froyd 75d860a713 Bug 1097125 - part 1 - add filtering support to |mach reftest-{remote,b2g-desktop}|; r=ted.mielczarek 2014-11-11 12:16:53 -05:00
Nathan Froyd bb859982fe Bug 1097125 - part 0 - fix cut-and-pasted comment; r=ted.mielczarek 2014-11-11 12:12:40 -05:00
Mason Chang 93c2db129d Bug 1107733. Integrate paint times into telemetry. r=mattwoodrow 2014-12-08 12:43:16 -08:00
James Kitchener 2524d22691 Bug 1092053 - Consider largeop's larger size when determining stretch size. r=karlt 2014-12-05 02:31:00 +01:00
Ryan VanderMeulen 0d016bc066 Merge m-c to inbound. a=merge 2014-12-05 19:16:21 -05:00
Ryan VanderMeulen 5f0aa6245d Merge inbound to m-c. a=merge 2014-12-05 19:02:53 -05:00
L. David Baron fb22e3fc16 Bug 1089417 patch 8 - Only drop MediumFeaturesChanged on the floor if we've never computed style before, rather than never computed style using this rule processor. r=heycam
This depends on patches 4 and 7.
2014-12-05 15:50:01 -08:00
L. David Baron b3e14ccac7 Bug 1089417 patch 7 - Save the previous media query cache key on the rule processor. r=heycam
This depends on patches 5 and 6, and is needed for patch 8.
2014-12-05 15:50:00 -08:00
L. David Baron da55abe7bc Bug 1089417 patch 6 - Pass the previous CSS rule processor to the constructor of the new one (when we replace one with another). r=heycam
This is needed for patch 7.
2014-12-05 15:50:00 -08:00
L. David Baron fccbbb258f Bug 1089417 patch 5 - Add method to save the current media query result cache key from a rule processor. r=heycam
This is needed for patch 7.
2014-12-05 15:50:00 -08:00
L. David Baron cc6a4c1bb2 Bug 1089417 patch 4 - Define equality operators on nsMediaQueryResultCacheKey and the types it contains. r=heycam
This is needed for the equality comparison in
nsCSSRuleProcessor::MediumFeaturesChanged in patch 8.
2014-12-05 15:50:00 -08:00
L. David Baron f7ac009fee Bug 1089417 patch 3 - Add mochitest. r=heycam
Note that if I make the style element currently /* empty */ have a rule
in it, the test passes.

Patch 8 also makes the test pass.
2014-12-05 15:50:00 -08:00
L. David Baron 5e88cfd187 Bug 1089417 patch 2 - Add assertion that RecordStyleSheetChange is called inside an update. r=heycam
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 15:50:00 -08:00
L. David Baron addb1c2a93 Bug 1089417 patch 1 - Add assertions that rule processors are valid before we access them. r=heycam
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 15:50:00 -08:00
Wes Kocher e17b14bb50 Backed out 8 changesets (bug 1089417) for b2g bustage possibly on a CLOSED TREE
Backed out changeset bf9f31312c1a (bug 1089417)
Backed out changeset babf33f8e077 (bug 1089417)
Backed out changeset 47b4f47d2e36 (bug 1089417)
Backed out changeset 11da22489a4f (bug 1089417)
Backed out changeset a39f32b2b2de (bug 1089417)
Backed out changeset fba9c331e036 (bug 1089417)
Backed out changeset b541a037f627 (bug 1089417)
Backed out changeset fc47a51b4f96 (bug 1089417)
2014-12-05 12:45:41 -08:00
L. David Baron 4938f0925a Bug 1089417 patch 8 - Only drop MediumFeaturesChanged on the floor if we've never computed style before, rather than never computed style using this rule processor. r=heycam
This depends on patches 4 and 7.
2014-12-05 11:37:39 -08:00
L. David Baron 6c5a41030a Bug 1089417 patch 7 - Save the previous media query cache key on the rule processor. r=heycam
This depends on patches 5 and 6, and is needed for patch 8.
2014-12-05 11:37:39 -08:00
L. David Baron c4977dbae7 Bug 1089417 patch 6 - Pass the previous CSS rule processor to the constructor of the new one (when we replace one with another). r=heycam
This is needed for patch 7.
2014-12-05 11:37:38 -08:00
L. David Baron 27254fec85 Bug 1089417 patch 5 - Add method to save the current media query result cache key from a rule processor. r=heycam
This is needed for patch 7.
2014-12-05 11:37:38 -08:00
L. David Baron afa637c492 Bug 1089417 patch 4 - Define equality operators on nsMediaQueryResultCacheKey and the types it contains. r=heycam
This is needed for the equality comparison in
nsCSSRuleProcessor::MediumFeaturesChanged in patch 8.
2014-12-05 11:37:38 -08:00
L. David Baron 9beeb100fc Bug 1089417 patch 3 - Add mochitest. r=heycam
Note that if I make the style element currently /* empty */ have a rule
in it, the test passes.

Patch 8 also makes the test pass.
2014-12-05 11:37:38 -08:00
L. David Baron e0b0f13415 Bug 1089417 patch 2 - Add assertion that RecordStyleSheetChange is called inside an update. r=heycam
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 11:37:38 -08:00
L. David Baron 2a79df8d4c Bug 1089417 patch 1 - Add assertions that rule processors are valid before we access them. r=heycam
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 11:37:38 -08:00
Daniel Holbert 743e01cc0c (no bug) fix typo ('decleration') in a comment in Units.h. comment-only, DONTBUILD 2014-12-05 11:00:43 -08:00
Carsten "Tomcat" Book 699673f87a Merge mozilla-central to mozilla-inbound 2014-12-05 13:07:39 +01:00
Carsten "Tomcat" Book ba58d43aea merge fx-team to mozilla-central a=merge 2014-12-05 13:02:46 +01:00