Commit Graph

27804 Commits

Author SHA1 Message Date
Tim Chien
5d9beeb798 Bug 1211387 - Remove background gradient of input boxes on UA style sheet, r=fabrice 2015-10-06 07:44:00 +02:00
Ting-Yu Lin
b230f97ae2 Bug 1211365 - Delete wheel event handling. r=mtseng
All desktop platforms support APZ now. eWheelOperationStart and
eWheelOperationEnd are superseded by AsyncPanZoomStarted and
AsyncPanZoomStopped respectively.
2015-10-05 16:52:29 +08:00
Ting-Yu Lin
864bd2e79b Bug 1211365 - Add test case for scrolling in selection mode. r=mtseng 2015-10-05 16:52:29 +08:00
Ting-Yu Lin
1681997893 Bug 1211365 - Make deleted functions in class State public. r=mtseng
Compilers might generate better error messages. See Effective Modern C++
item 11.
2015-10-05 16:52:29 +08:00
Ting-Yu Lin
691897a897 Bug 1211365 - Remove NS_IMPL_STATE_UTILITIES. r=mtseng
This macro was used to implement Name() and Singleton() for state
classes. Instead of enforcing the state class to be a singleton, we can
implement singleton pattern in MOZ_IMPL_STATE_CLASS_GETTER directly.
2015-10-05 16:52:29 +08:00
Ting-Yu Lin
503485e5c4 Bug 1210315 - Disable long tap injector in marionette tests. r=automatedtester
We send synthesized long tap events in marionette tests in bug 1209841.
No need to use long tap injector.
2015-10-02 23:10:30 +08:00
Ting-Yu Lin
56d346e965 Bug 1210315 - Use pref utilities in test_selectioncarets.py. r=automatedtester
Use the preferences utilities introduced in bug 1164124.
2015-10-02 23:10:30 +08:00
Ting-Yu Lin
92e42fb859 Bug 1210315 - Use pref utilities in test_touchcaret.py. r=automatedtester
Use the preferences utilities introduced in bug 1164124.
2015-10-02 23:10:30 +08:00
Ting-Yu Lin
bea82ffc73 Bug 1210315 - Inline selectors in carets tests. r=automatedtester
All of them are used only once. It reads better to inline them.
2015-10-02 23:10:30 +08:00
Ting-Yu Lin
68b85fca21 Bug 1210315 - Use preference to control whether to use long tap injector. r=roc
In AccessibleCaretEventHub, it is not accurate to use APZ enabled to
determine whether to use long tap injector. On desktop browser, there's
no long tap events even if APZ is enabled. We should use a preference to
control that.

Since it's a fact the APZ on b2g has long tap events, we should use
preference to disable long tap injector so that when long tap events
stop dispatching to AccessibleCaretEventHub, we'll know immediately.

Delete SetUseAsyncPanZoom() usage in gtest since APZ is not related to
scrolling in AccessibleCaretEventHub.
2015-10-02 23:10:29 +08:00
Xidorn Quan
d5de0bdae9 Bug 1207002 - Use CSS property flag to restrict MathML-related internal properties. r=dbaron 2015-10-06 20:01:30 +11:00
Nicholas Nethercote
36c18a61f7 Bug 1208365 (part 3) - Change gfxPattern::mExtend from a GraphicsExtend to a gfx::ExtendMode. r=bas.
At this point, the relationship between GraphicsExtend and gfx::ExtendMode is
as follows.

- EXTEND_REPEAT matches up with REPEAT.
- EXTEND_REFLECT matches up with REFLECT.
- EXTEND_PAD matches up with CLAMP.
- EXTEND_NONE has no matching value in gfx::ExtendMode.

The only use of EXTEND_NONE is with nsSVGGradientFrame::mExtend. That field
gets assigned EXTEND_NONE in the various constructors, and other values via
SetExtend(). And all uses of that field go immediately into ToExtend() calls,
which convert EXTEND_NONE to CLAMP. So it's safe to change this field to
gfx::ExtendMode and initialize it to CLAMP.
2015-09-25 00:58:23 -07:00
Jared Wein
51483c628a Bug 1211479 - Errors when parsing substituting variables should include the generated string to help diagnose the issue. r=bz 2015-10-05 14:04:00 +02:00
Mats Palmgren
b252cf07a1 Bug 1210877 - Make nsBidiPresUtils::RepositionFrame work also for box-decoration-break:clone. r=roc 2015-10-03 06:28:00 +02:00
Xidorn Quan
d69dc0b4f7 Bug 1211040 - Restrict -moz-window-{dragging,shadow} to be chrome-only. r=dbaron 2015-10-06 14:18:35 +11:00
Botond Ballo
e2b34ce628 Bug 1209964 - Fuzz reftest on B2G, CLOSED TREE. r=mstange 2015-10-05 16:36:48 -04:00
Boris Zbarsky
d1f8bb3f6d Bug 1209658 part 2. Add text/json and text/vtt as text MIME types. r=bkelly 2015-10-05 12:23:26 -04:00
Boris Zbarsky
2012d13747 Bug 1209658 part 1. Refactor some parts of nsContentDLF to reduce code duplication and improve readability a bit. r=bkelly 2015-10-05 12:23:25 -04:00
Botond Ballo
c028ee831d Bug 1209964 - Reftest. r=mstange 2015-10-02 20:54:26 -04:00
Botond Ballo
e7a24585c6 Bug 1205630 - Reftest. r=mstange 2015-09-28 13:15:37 -04:00
Botond Ballo
4edf56398f Bug 1205630 - Translate a fixed background display item's clip rect correctly when setting it on the layer. r=mstange 2015-09-25 12:55:00 -04:00
Jonathan Kew
22bbcacf4d Bug 1208978 - Limit the size of a potentially-scrollable dropdown list to the actual size of its contents, as our estimate based on row count may be too large if the row heights vary. r=roc 2015-10-05 07:16:17 +01:00
Daniel Holbert
0fc9263bf7 Bug 1210905 part 2: Remove now-unneeded *_values & prerequisites fields from aliases in property_database.js. r=heycam 2015-10-04 23:44:43 -07:00
Daniel Holbert
5de2c40bbd Bug 1210905 part 1: Make property_database.js automatically populate aliasing properties' *_values & prerequisites fields based on their alias target. r=heycam 2015-10-04 23:44:42 -07:00
sgiles
78b192c3c3 Bug 1206786 - Fix input routing on multi-process Android builds. r=kats 2015-09-24 21:42:14 +01:00
Nigel Babu
cbe1d20555 Backed out changeset e42955baebbd (bug 1208978) for build bustage 2015-10-05 12:03:41 +05:30
Jonathan Kew
bee1b2ca7f Bug 1208978 - Limit the size of a potentially-scrollable dropdown list to the actual size of its contents, as our estimate based on row count may be too large if the row heights vary. r=roc 2015-10-05 07:16:17 +01:00
Phil Ringnalda
ffa684e571 Merge f-t to m-c, a=merge 2015-10-03 15:50:22 -07:00
Ehsan Akhgari
ede18b9191 Bug 1172123 - Adjust the maximum number of fuzzy differing pixels for image-scrolling-zoom-1.html on OSX 2015-10-03 12:02:24 -04:00
Kartikaya Gupta
87fbc89c7d Bug 1208023 - Ensure the minimum scale is a sane value greater than zero and add a separate flag to track if the default zoom is valid. r=botond 2015-10-02 23:08:18 -04:00
Xidorn Quan
f4120d3e61 Bug 1069192 part 2 - Add a flag for chrome-only properties and change semantics of enabling flags. r=dbaron
This patch changes the semantics of enabling flags so that their presence makes
the property default to off when there is no pref, and also removes "ALWAYS"
from their name to match.
2015-10-03 11:12:09 +10:00
Xidorn Quan
3e8a543b24 Bug 1069192 part 1 - Force users of nsCSSProps::IsEnabled() to pass in the enabled state. r=dbaron 2015-10-03 11:12:09 +10:00
Wes Kocher
aff57a8327 Merge m-c to fx-team, a=merge 2015-10-02 13:44:21 -07:00
Nigel Babu
5b78a22ad9 Backed out 3 changesets (bug 1069192) for OS X debug M(oth) crashes
Backed out changeset e86111412050 (bug 1069192)
Backed out changeset a5f11c5c5bcb (bug 1069192)
Backed out changeset a4aaaac8f133 (bug 1069192)
2015-10-02 15:08:43 +05:30
Nigel Babu
4e04894b0f Backed out 9 changesets (bug 1126230) for Mulet Gij(25) and M(5) failures
Backed out changeset 8a9d8a556183 (bug 1126230)
Backed out changeset 441b55f015c2 (bug 1126230)
Backed out changeset 7bfa2a2d4e29 (bug 1126230)
Backed out changeset b55511536c65 (bug 1126230)
Backed out changeset ada76e419aac (bug 1126230)
Backed out changeset 745d659bef49 (bug 1126230)
Backed out changeset 7c303cc4c30b (bug 1126230)
Backed out changeset 8bf708acbad4 (bug 1126230)
Backed out changeset 590404aac357 (bug 1126230)
2015-10-02 13:39:20 +05:30
Xidorn Quan
5bfdc593ef Bug 1126230 part 8 - Remove fullscreen override and related test. r=dbaron 2015-10-02 16:34:09 +10:00
Xidorn Quan
dbaf72f4f9 Bug 1126230 part 7 - Implement painting part for the top layer. r=roc 2015-10-02 16:34:09 +10:00
Xidorn Quan
e405b3cf72 Bug 1126230 part 6 - Add static method nsDisplayListBuilder::GetOutOfFlowData(). r=roc 2015-10-02 16:34:09 +10:00
Xidorn Quan
5578d0e6a9 Bug 1126230 part 4 - Give proper geometric parent for top layer frames. r=bz,dbaron 2015-10-02 16:34:09 +10:00
Xidorn Quan
b4f5d6add4 Bug 1126230 part 3 - Add -moz-top-layer internal CSS property and set it for fullscreen elements. r=dbaron 2015-10-02 16:34:09 +10:00
Xidorn Quan
90920ac4f7 Bug 1126230 part 2 - Refactor part of nsFrameConstructorState::AddChild. r=bz 2015-10-02 16:34:09 +10:00
Xidorn Quan
a3070b5ca8 Bug 1126230 part 1 - Use delegated constructor to simplify constructor of nsFrameConstructorState. r=bz 2015-10-02 16:34:09 +10:00
Bill McCloskey
d2c5b55ff7 Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-10-01 21:18:48 -07:00
Daniel Holbert
c3821c0a78 Bug 1194480: Only update overflow region (& trigger DLBI) for changes to CSS 'box-shadow' or 'text-shadow', instead of triggering a reflow. r=heycam 2015-10-01 20:05:28 -07:00
Daniel Holbert
ca711b4bfc Bug 1032613 part 2: Make RestyleManager::AddSubtreeToOverflowTracker skip frames that don't maintain overflow areas. r=dbaron 2015-10-01 20:05:26 -07:00
Daniel Holbert
a4dc509a63 Bug 1032613 part 1: Promote FrameMaintainsOverflow to be a public nsIFrame method, & implement it using HasAllStateBits. r=dbaron 2015-10-01 20:05:25 -07:00
Xidorn Quan
43102ca52a Bug 1069192 part 3 - Restrict -moz-window-{dragging,shadow} to be chrome-only. r=dbaron 2015-10-02 11:01:54 +10:00
Xidorn Quan
ad4488af72 Bug 1069192 part 2 - Add a flag for chrome-only properties and change semantics of enabling flags. r=dbaron
This patch changes the semantics of enabling flags so that their presence makes
the property default to off when there is no pref, and also removes "ALWAYS"
from their name to match.
2015-10-02 11:01:54 +10:00
Xidorn Quan
0afaffa3e7 Bug 1069192 part 1 - Force users of nsCSSProps::IsEnabled() to pass in the enabled state. r=dbaron 2015-10-02 11:01:54 +10:00
Kartikaya Gupta
866de57df5 Bug 1209852 - Re-enable scroll-inactive-layers-2.html now that the underlying issue has been fixed. r=mstange
This also modifies the reftest list so that the harness doesn't load the same
page twice unnecessarily.
2015-10-01 15:48:27 -04:00