Commit Graph

50101 Commits

Author SHA1 Message Date
Bob Owen
c4ec1107e4 Bug 1258609: Initialize nsICanvasRenderingContextInternal with a DrawTarget instead of a gfxASurface. r=jrmuizel
MozReview-Commit-ID: JNQ9GWvDUSq
2016-04-21 10:30:38 +01:00
Matt Woodrow
083b9cd7fc Bug 1265256 - Use the canvas positioning area when computing the background-attachment:fixed rect for canvas frames. r=mstange 2016-04-22 17:50:11 +12:00
CJKu
2dd9807243 Bug 1265715 - Part 5. bg-clip:text transform reftest; r=jfkthame
MozReview-Commit-ID: BYswWA9fH2F

--HG--
extra : rebase_source : 6eeb45abb146053aedc438614011f35b57a4fe14
2016-04-26 00:27:15 +08:00
CJKu
fa37f68a70 Bug 1265715 - Part 4. Fix transform problem; r=jfkthame
MozReview-Commit-ID: Bl88WTZDel

--HG--
extra : rebase_source : 0796217a925587c865c1b918377166c200bb474d
2016-04-26 00:27:03 +08:00
CJKu
f934d566c4 Bug 1265715 - Part 3. Use nsLayoutUtils::PaintFrame in ClipBackgroundByText; r=jfkthame
MozReview-Commit-ID: LRh54GNT0qW

--HG--
extra : rebase_source : ad03f0a22b6eb285f6abb622396caf1da48021b7
2016-04-26 00:26:51 +08:00
CJKu
f75bface0f Bug 1265715 - Part 2. Add nsDisplayListBuilderMode parameter into nsLayoutUtils::PaintFrame; r=jfkthame
MozReview-Commit-ID: 1jkJOOH8KCi

--HG--
extra : rebase_source : c3a67cf66bb1f19cb3a0acc0cab3a45f1f02ea00
2016-04-26 00:26:40 +08:00
CJKu
3059aafb03 Bug 1265715 - Part 1. Pull Mode out of nsDisplayListBuilder; r=jfkthame
MozReview-Commit-ID: BBIoHfcJ6hz

--HG--
extra : rebase_source : c21cc10558a2a6c44b601bdfd087edd52d37c3df
2016-04-26 00:26:28 +08:00
Botond Ballo
992cbd5b93 Bug 735857 - Treat background-attachment:fixed as background-attachment:scroll if it's on a non-root element affected by a transform. r=mstange
MozReview-Commit-ID: 1lnQoD98xv3

--HG--
extra : rebase_source : 0cfd2c2a7926210775b6a1beff69ba32f2a10d6c
2016-04-25 17:20:13 -04:00
Botond Ballo
76d7859745 Bug 735857 - Factor out a helper function nsLayoutUtils::IsTransformed(). r=mstange
MozReview-Commit-ID: 4AJUVDLAYrc

--HG--
extra : rebase_source : a84cda133f64388c496e035f018d27fb197001ee
2016-04-25 14:21:24 -04:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Daniel Holbert
1baa102033 Bug 1180107: Factor out logic for determining whether a flex item's main size could influence cross size. r=mats
MozReview-Commit-ID: 702zyjj4TPd
2016-04-25 15:58:55 -07:00
Wes Kocher
9e4d1f728a Bug 1267054 - Annotate the android assertion a=testonly
MozReview-Commit-ID: 1sTIFwhjlZR

--HG--
extra : source : 80befee8ec527372547b547cc592e555d3b6c11a
2016-04-25 15:46:55 -07:00
Mats Palmgren
f469939664 Bug 1266131 part 3 - [css-grid] Adjust tests to reflect the new behavior for 'order' on grid-aligned abs.pos. descendants. 2016-04-25 18:43:04 +02:00
Mats Palmgren
9f53935bce Bug 1266131 part 2 - [css-grid] Remove unused nsDisplayList::SortByCSSOrder() function. r=dholbert 2016-04-25 18:43:04 +02:00
Mats Palmgren
91532abbc2 Bug 1266131 part 1 - [css-grid] 'order' doesn't apply to grid-aligned abs.pos. descendants (anymore). r=dholbert 2016-04-25 18:43:04 +02:00
Mats Palmgren
adbc189b42 Bug 1264067 - [css-grid] Update tests that use 'fr' min-sizing. 2016-04-25 18:43:04 +02:00
Mats Palmgren
50649ed4b4 Bug 1264067 - [css-grid] 'fr' min-sizing is now invalid. r=dholbert 2016-04-25 18:43:04 +02:00
Daniel Holbert
a7f628c506 Bug 1248708 followup: Use MOZ_ARRAY_LENGTH instead of ArrayLength for expression used at compile time, to fix MSVC 2013 bustage. (trivial/bustage-fix, no review)
MozReview-Commit-ID: A1thxdXB2RT
2016-04-25 09:06:54 -07:00
Sotaro Ikeda
62df9daebb Bug 1261605 - Extend fuzz r=mstange 2016-04-24 18:17:19 -07:00
Wei-Cheng Pan
daa8e38158 Bug 1259641 - Do not force reflow for all tabs when size mode changed. r=smaug
MozReview-Commit-ID: GoTCM60Hmlf

--HG--
extra : transplant_source : S%88%AD%A3%99%9Bk%D3%E4U%0302%82%87o3%28%FFK
2016-04-20 11:41:42 +08:00
Lee Salzman
81e6150f5c Bug 1244918 - avoid using Infs for line start and end when painting gradients. r=mstange 2016-04-23 20:54:07 -04:00
L. David Baron
5036e4c66e Bug 1265280 - Temporary debugging code to crash with a useful abort message. r=khuey
MozReview-Commit-ID: G1XOUcfwY20

--HG--
extra : transplant_source : %3E%09%CFW%F0%7E%EA%3A0%F3AU%B1%89%F8%A0%24%07%86%BC
2016-04-23 14:17:24 -07:00
Sebastian Hengst
c108701a85 Backed out changeset 68442febc36c (bug 1160200) for almost permafailing added test apng-mime/test.html Android 4.3 API15+ opt. r=backout 2016-04-23 22:33:26 +02:00
Timothy Nikkel
e78e313fa5 Bug 1259246. Simplify nsDocumentViewer::FindContainerView. r=dholbert
Turn a series of nested if's into early return if's with no nesting so it is easier to follow.
2016-04-04 02:59:15 -05:00
Timothy Nikkel
4fa1d92384 Bug 1259246. Move nsIPresShell::GetRealPrimaryFrameFor to nsLayoutUtils::GetRealPrimaryFrameFor. r=dholbert
The function doesn't need to be a non-static member of nsIPresShell: it only checks if the document of the passed in element matches the presshell's document, and then the remaining code could be static. It has only one user, nsDocumentViewer::FindContainerView, and it doesn't care about the specific presshell, it just wants the primary frame, so it doesn't need the document check.

This lets us simplify nsDocumentViewer::FindContainerView because it had to jump through hoops to get the presshell.
2016-04-23 15:18:26 -05:00
Masayuki Nakano
eb041d2df7 Bug 1257759 part.7 Add new internal events which represent key events on plugin r=smaug
If a plugin process posts native key events to the widget, it needs to check if the key combination is reserved by chrome because if it's reserved by chrome, the reserved shortcut key handler should be executed and the event shouldn't be handled by the focused plugin.

This patches add eKeyDownOnPlugin and eKeyUpOnPlugin.  nsXBLWindowKeyHandler will listen to them and handle them as normal keydown and keypress or keyup event.  Note that these events won't be fired on content in the default event group and won't be sent to the remote process.

MozReview-Commit-ID: H5OKPLtVdr6

--HG--
extra : rebase_source : c6852423e47c40e9953b72061262730f7cce35d7
2016-04-23 01:22:49 +09:00
Jeremy Chen
f7a19af3e7 Bug 1248708 - Part2.2: render -webkit-text-stroke property. r=jfkthame 2016-04-23 01:40:39 +08:00
Jeremy Chen
84a70f3910 Bug 1248708 - Part1: parse and compute -webkit-text-stroke property. r=heycam 2016-04-23 01:40:39 +08:00
Jeremy Chen
51c6f6da30 Bug 1248708 - Part3: add reftests. r=jfkthame 2016-04-23 01:40:38 +08:00
Botond Ballo
25a9b005e6 Bug 1255214 - Only repaint GTK scrollbar button if its enablement actually changed. r=mstange
MozReview-Commit-ID: ITLeksQzvVM

--HG--
extra : rebase_source : 1a3779ab7154282388c2e57251886863e818b168
2016-04-20 19:49:09 -04:00
Benoit Girard
7320608b23 Bug 1265825 - Remove mSuppressionActive assert. r=kats
MozReview-Commit-ID: I84IfyxwusB

--HG--
extra : rebase_source : 6d1bbe4e045875aa157cd2f50f7f9f9dcc790f84
2016-04-22 11:45:35 -04:00
Ben Kelly
67cfa5a9ee Bug 1265795 P4 Always call nsDocument::SetScriptGlobalObject(nullptr) from nsDocument::Destroy(). r=bz
Currently there are certain paths in nsDocumentViewer that can call
nsDocument::Destroy(), but fail to call SetScriptGlobalObject(nullptr).  This
results in the global never being cleared.

This patch refactors things so nsDocument::Destroy() always clears the global.
This ensures a more consistent document teardown since we don't rely on
external callers to get multiple method calls correct.
2016-04-21 16:10:40 -07:00
Edwin Flores
a3618f3ddb Bug 1253995 - Display stale image in nsImageFrame if we have a new src but haven't decoded it yet - r=seth 2016-04-22 14:08:25 +01:00
Ting-Yu Lin
87d7ee9f5c Bug 1262755 - Enlarge caret touch target by 59% for Fennec. r=capella,snorp
Enlarge the touch target of the caret to the left, bottom, and right by
59% (13px) per bug 1262755 comment 7.

Since the touch target becomes larger, the carets on the <input> in
previous test might cause the next test to fail on <textarea> because it
will press on the caret when trying to focus on <textarea>. Add <br>
elements to testAccessibleCarets.html to separate these test fields.

MozReview-Commit-ID: JIwmuHJ2QsQ

--HG--
extra : rebase_source : 6fbfede7cc0e395402b5858d74480dcdd5606c35
2016-04-22 18:23:47 +08:00
Jonathan Watt
debbbba148 Bug 752638, part 1 - Move SVGTextFrame::SetupContextPaint to nsSVGUtils. r=heycam 2016-04-22 11:52:19 +01:00
Ting-Yu Lin
bcbf8175b8 Bug 1249201 Part 2 - Show carets continuously when panning or zooming. r=mats,sebastian
Add a pref "layout.accessiblecaret.always_show_when_scrolling" defaults
to true on all platforms except b2g. When it is set to false, the carets
will be hidden during scrolling, which is the current behavior before
applying this change.

The pref "layout.accessiblecaret.extendedvisibility" was added for
Fennec to keep ActionBar open when carets temporarily hiding during
panning or zooming. Now we make carets always show by default, so the
pref can be removed. However, the floating toolbar still need to be
notified when the scrolling begins, so we dispatch "scroll" instead.

In gtest, the preference changes were in the middle of the test
function. To make the preference change clearer, I add new pref changes
or move the existing ones to the beginning of the test functions.

The 250ms transition effect added in ua.css is per request of UX
designer in bug 1249201 comment 12.

MozReview-Commit-ID: 8NGvDLPbtNY

--HG--
extra : rebase_source : 3f7a9ebdf4c70b0282dbf9e8f18cbe5cca656dbe
2016-04-21 16:53:40 +08:00
Carsten "Tomcat" Book
55fea48a3f Backed out changeset 637e80ab4fca (bug 1262755) for rc4 android perma failures
--HG--
extra : rebase_source : 26893c1afaa1c4fc23808b92d8738d847d9ff5f3
2016-04-22 09:12:50 +02:00
Timothy Nikkel
7157850587 Bug 1251150. Back out crash annotations used to try to diagnose crash.
They didn't find any problems.
2016-04-22 00:17:15 -05:00
Timothy Nikkel
d5ab4ae492 Back out changesets 4bbf54c1bcd9 and ffcc3708103a from bug 1259246.
Backed out to see if they caused bug 1262027.
2016-04-21 23:14:37 -05:00
David Newton
f44103a43f Bug 1160200 - APNG can't be used with type switching. r=mcaceres,r=jrmuizel 2016-04-20 23:57:00 +02:00
Ting-Yu Lin
2d3ac9ab7f Bug 1262755 - Enlarge caret touch target by 59% for Fennec. r=capella,snorp
Enlarge the touch target of the caret to the left, bottom, and right by
59% (13px) per bug 1262755 comment 7.

Since the touch target becomes larger, the carets on the <input> in
previous test might cause the next test to fail on <textarea> because it
will press on the caret when trying to focus on <textarea>. Add two <br>
to testAccessibleCarets.html to separate the <input> and <textarea>.

MozReview-Commit-ID: JIwmuHJ2QsQ

--HG--
extra : rebase_source : 73b662980a5be55a4e3e31506437f2c26f65cd85
2016-04-15 17:10:02 +08:00
Xidorn Quan
c43f5c933c Bug 1260543 followup - Fix the function name in test_transitions_per_property.html. DONTBUILD
MozReview-Commit-ID: CKUpbBhN2KT

--HG--
extra : source : f2327d92b118737c4294ae61bd6d10631f0671ef
2016-04-22 12:01:16 +10:00
Xidorn Quan
1f5f8a54d0 Bug 1260543 - Treat currentcolor as computed value which is not interpolatable with actual color for text-emphasis-color and -webkit-text-fill-color. r=birtles
MozReview-Commit-ID: GUXEDHxOdNC

--HG--
extra : rebase_source : 83f47535dc6f5a1f5fe72f60ba4877ec9a16a6df
2016-04-08 13:43:09 +10:00
Bobby Holley
37c8b13e17 Bug 1266249 - Remove mHasCachedOutline. r=dbaron 2016-04-21 17:44:32 -07:00
Seth Fowler
ea6f023ffe Bug 1261554 (Followup) - Fix memory reporting for PresShell::mVisibleRegions. r=me
--HG--
extra : rebase_source : ae1a692b5b89738720c728a23a81d9f71cb83e28
2016-04-21 17:38:09 -07:00
Cameron McCormack
cd6a2cb8f8 Bug 1266324 - Rename style const macro for unicode-bidi:bidi-override to be consistent with other style consts. r=jfkthame 2016-04-22 10:37:21 +10:00
Xidorn Quan
a6096a3c0b Bug 1097499 part 15 - Add reftests for text-combine-upright. r=jfkthame
MozReview-Commit-ID: 2PhaUnUMF5l

--HG--
extra : source : 407f4b5e701aa1aab7830dd3298ead2b37b349bf
2016-04-22 09:18:41 +10:00
Xidorn Quan
f819b73b7b Bug 1097499 part 14 - Draw emphasis marks properly for text-combine-upright. r=jfkthame
MozReview-Commit-ID: 2bHWXxZDVGk

--HG--
extra : source : 492cd1cb7e3bc5e776042fddc2a656ec9160a2a9
2016-04-22 09:18:41 +10:00
Xidorn Quan
e775e87790 Bug 1097499 part 13 - Draw decoration line properly for text-combine-upright. r=jfkthame
MozReview-Commit-ID: AymG09nvxh1

--HG--
extra : source : 579ca910016a1af95bb36b66d2ceb309d40288d3
2016-04-22 09:18:41 +10:00
Xidorn Quan
5f02c3cba1 Bug 1097499 part 12 - Handle spacing sensibly for text-combine-upright. r=jfkthame
MozReview-Commit-ID: DSBMUcccfNi

--HG--
extra : source : f03b556d12d5c28f7d8e3af3d7977470784eea76
2016-04-22 09:18:41 +10:00