Commit Graph

9086 Commits

Author SHA1 Message Date
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
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
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
Botond Ballo
2ef7ce7a80 Bug 1205511 - Add overloaded operators for multiplying and dividing an IntPointTyped by a ScaleFactor[2D]. r=kats
The overloads return PointTyped, leaving it to the caller to round or truncate
if desired, much like the existing Rect counterparts.
2015-09-28 20:13:16 -04:00
Botond Ballo
6f5d9f43e2 Bug 1205511 - Use nsPresContext::DevToCSSPixelScale() where appropriate. r=kats 2015-09-28 20:14:26 -04:00
Botond Ballo
e6e57a165f Bug 1205511 - Give nsPresContext a method that returns the CSS to device pixel scale. r=dbaron 2015-09-28 20:13:52 -04:00
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
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
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
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
Seth Fowler
e172f25d2b Bug 1209751 - Make sync decoding more reliable when nsImageRenderer is used with -moz-element. r=roc 2015-10-01 11:31:44 -07:00
Ting-Yu Lin
902549bc0d Bug 1209841 - Send synthesized mouse long tap to gecko. r=automatedtester
Instead of using long_press_without_contextmenu() with built-in long tap
injector in AccessibleCaretEventHub to select a word, we can use
DOMWindowUtis to send synthesized mouse long tap events to gecko. This
triggers the code path which is closer to the real events fired by APZ
on B2G.

This change also makes marionette tests cover the focus-changing code by
long tap in AccessibleCaretManager. This is subtle but significant since
it's possible to write focus changing tests via long tap now.
2015-09-30 18:29:35 +08:00
Ting-Yu Lin
5273acb29d Bug 1209841 - Strip prefix underscore in to_unix_line_ending(). r=automatedtester 2015-09-30 18:29:35 +08:00
Ting-Yu Lin
e55dcc578b Bug 1209841 - Simplify functions related to select word. r=automatedtester
* Use word_location() and long_press_on_location() to implement
  long_press_on_word.
* Use long_press_on_location() instead of
  long_press_without_contextmenu().
2015-09-30 18:29:35 +08:00
Ting-Yu Lin
bca3bd2280 Bug 1209841 - Delete test_selectioncarets2.py. r=automatedtester 2015-09-30 18:29:34 +08:00
Ting-Yu Lin
db1f9ccefd Bug 1209841 - Merge test_selectioncarets2.py into test_selectioncarets.py. r=automatedtester
* Eliminate the duplicated code for setting the preferences.
* Rename open_test_html() in test_selectioncarets2.py to
  open_test_html_multirange() to avoid name collision.
2015-09-30 18:29:34 +08:00
Mason Chang
6a8752836f Bug 1209649. Take into account border radius sizes for min inset box shadow. r=mstange 2015-09-30 14:20:23 -07:00
Thinker K.F. Li
f8f6d7ecf0 Bug 1206418 - Fix origin of animations and scissors for preserves3d. r=roc 2015-09-28 03:43:00 -04:00
Botond Ballo
13a2ca6935 Bug 1208661 - Show display list and layer textures in-line in the HTML paint dump. r=BenWa 2015-09-28 15:22:05 -04:00
Botond Ballo
abebc3df94 Bug 1208661 - Do not assume that PaintRoot()'s contributions to the HTML paint dump will all be inside a <script> tag. r=BenWa 2015-09-25 19:23:13 -04:00
Xidorn Quan
85acde1780 Bug 1201798 part 2 - Update viewport scrollbar override for fullscreen and remove the leagcy css rule. r=roc 2015-09-30 10:48:41 +10:00
Xidorn Quan
a54faaf39b Bug 1201798 part 1 - Move PropagateScrollToViewport() from nsCSSFrameConstructor to nsPresContext as a public method. r=roc 2015-09-30 10:48:41 +10:00
Tooru Fujisawa
43e69b9656 Bug 1207495 - Remove use of expression closure from layout/. r=bz 2015-09-23 18:40:36 +09:00
Nicholas Nethercote
61bcd9b78c Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
Hooray!
2015-09-24 19:24:16 -07:00
Cameron McCormack
8a73aad81d Bug 1209124 - Bail out of nsStyleSet::GatherRuleProcessors and PresShell::Observe if we're called during/after shutdown. r=dbaron 2015-09-29 12:16:04 +10:00
Cameron McCormack
d9bd356c6a Bug 1198708 - Part 1: Store exact timing-function type on nsTimingFunction and ComputedTimingFunction. r=birtles
Since Keyframe.easing should reflect the {transition,animation}-timing-
function value relevant to each keyframe, we'll need to store on
nsTimingFunction the specific timing function value that was used, and
copy it down into ComputedTimingFunction for
KeyframeEffectReadOnly.getFrames() to access.  This includes storing
whether the optional start/end keyword in a steps() function was
specified.
2015-09-29 12:20:13 +10:00
John Daggett
7e613837d7 Bug 1182361 p2 - count generic lookups. r=heycam 2015-09-29 10:51:28 +09:00
Phil Ringnalda
5c040a1e6b Back out 2 changesets (bug 1205630) for failing inactive-fixed-bg-bug1205630.xul on Mac and Windows
Backed out changeset 7ca5a29b914f (bug 1205630)
Backed out changeset 9db06671fc0d (bug 1205630)
2015-09-28 18:30:16 -07:00
Gijs Kruitbosch
f442406ff2 Bug 636905 - part 4: add tests for interactivity requirement for onbeforeunload, r=bz 2015-09-24 12:10:19 +01:00
Gijs Kruitbosch
d38832a5c7 Bug 636905 - part 3: flip prefs in tests to keep them working, r=jaws 2015-09-26 15:01:51 +01:00
Gijs Kruitbosch
b7d0cd43fe Bug 636905 - part 2: check for document interactivity state when prompting for beforeunload, r=bz 2015-09-24 12:11:07 +01:00
Markus Stange
11d9483fa9 Bug 1105832 - Also dump inactive layer managers when display list dumping is enabled. r=mattwoodrow 2015-09-25 18:37:30 -04:00
Botond Ballo
d25b7c96d9 Bug 1206915 - Handle nested PaintFrame() calls correctly during paint dumping. r=mattwoodrow,BenWa 2015-09-21 19:05:44 -04:00
Botond Ballo
62d9b87404 Bug 1206915 - Make paint dumping to a file e10s-friendly. r=mattwoodrow 2015-09-21 18:44:28 -04:00
Botond Ballo
d6362c5062 Bug 1206915 - Avoid reordering of different parts of paint dump output. r=mattwoodrow 2015-09-21 18:37:23 -04:00
Botond Ballo
738bfebec7 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
Kartikaya Gupta
dd23409f23 Back out the bits of bug 1205087 that cache the AnimatedGeometryRoot on DisplayItem. r=backout
The change breaks some scenarios with APZ scrolling, in particular the code
that layerizes the scroll handoff chain for deeply nested scrollable frames.
2015-09-28 15:17:34 -04:00
Arpad Borsos
95d2535698 Bug 1208985 - Use height for scroll-snap-points-y percentage values; r=kip
The CSS scroll snapping specification defines percentages to be
`relative to same axis of the padding-box of the scroll container`,
which means that y-axis should be based no height, not width.
2015-09-28 14:58:56 +02:00
James Willcox
e3879f24b6 Bug 1201541 - Use SingleTiledContentClient for non-scrollable layers on Android r=mattwoodrow 2015-09-28 09:36:58 -05:00
Carsten "Tomcat" Book
8c22b8e2bc Backed out 1 changesets (bug 1207420) for mulet reftest failures
Backed out changeset 160c4484f0a2 (bug 1207420)
2015-09-28 12:13:25 +02:00
Thinker K.F. Li
670e4d1065 Bug 1207420 - Improve GetBounds() to avoid recomputing every time. r=roc 2015-09-28 00:15:00 +02:00
Nicholas Nethercote
bc492f60dc Bug 1207931 - Remove no-longer-needed SetBackgroundColor IPC message. r=mattwoodrow. 2015-09-24 19:03:33 -07:00
Nicholas Nethercote
873ce50a95 Bug 1208283 (part 4) - Change FrameMetrics::mBackgroundColor from gfxRGBA to gfx::Color. r=jwatt.
This removes some ToColor() calls.
2015-09-24 18:17:45 -07:00
Nicholas Nethercote
53195bab80 Bug 1208283 (part 2) - Change ColorLayer::mColor, ColorLayerProperties::mColor, ReadbackLayer::mBackgroundColor from gfxRBGA to gfx::Color. r=jwatt.
This avoids some gfxRGBA-to-Color conversions.
2015-09-24 18:16:45 -07:00
Brian Birtles
8abbf07f37 Bug 1195180 part 5 - Synchronize refresh driver observing with presshell creation/teardown; r=heycam 2015-09-28 12:38:40 +09:00