Commit Graph

29115 Commits

Author SHA1 Message Date
Matt Woodrow
659088cfe8 Bug 1230780 - Add reftest. r=thinker 2015-12-17 16:22:48 +13:00
Matt Woodrow
f840565584 Bug 1230780 - Propagate preserve-3d handling through nsDisplayPerspective. r=thinker 2015-12-17 16:22:49 +13:00
Timothy Nikkel
e60f358911 Bug 1237825. Find the root scroll frame even if the root element doesn't have a primary frame. r=mstange
Even though the content of the root scroll frame is the root element, the primary frame of the root element is never the root scroll frame. This is even true if the normal primary frame of the root element is not created (say because it is display: none). Leaving the primary frame of the root element to be null even though there are frames (the root scroll frame, and the canvas frame) that have the root element as their content.

This behaviour is more consistent by not ignoring a root scroll frame when it exists.
2016-01-11 00:02:43 -06:00
Matt Woodrow
427ea8eb49 Bug 1230693 - Rebase transforms to the origin for callers than don't want them offset. r=mstange 2015-12-17 12:36:24 +13:00
Cameron McCormack
c40f934a97 Remove mention of old SVG text pref in comment; no bug. (DONTBUILD) 2016-01-11 10:48:56 +11:00
Cameron McCormack
8138ef566d Bug 1238403 - Fix inconsistent indenting in layout/style/. r=xidorn 2016-01-11 10:28:35 +11:00
Nicholas Nethercote
af721aa460 Bug 1237902 (part 3) - Change the gfxContextMatrixAutoSaveRestore in PaintTableBorderBackground() to an AutoRestoreTransform. r=roc. 2016-01-07 20:21:40 -08:00
Nicholas Nethercote
c40afe5cae Bug 1237902 (part 2) - Pass a DrawTarget to DrawTableBorderSegment(). r=roc.
And to several functions above it in the callgraph, ones that no longer need an
nsRenderingContext.
2016-01-07 20:20:06 -08:00
Nicholas Nethercote
bfc36c04c0 Bug 1237902 (part 1) - Remove unneeded gfxContext ops in DrawTableBorderSegment(). r=roc.
We change the color and anti-aliasing on the gfxContext but never do anything
with it while those values are changed.
2016-01-07 20:16:37 -08:00
Markus Stange
0fd8259546 Bug 1234877 - Whether a scroll frame is async scrollable is determined by mWillBuildScrollableLayer, not by usingDisplayPort. r=tn 2016-01-10 14:25:10 +01:00
Markus Stange
2568243d17 Bug 1236040 - When updating the scroll position, only schedule image visibility checks if the display port has changed. r=tn 2015-12-31 00:04:18 +01:00
Markus Stange
6b5da94bb9 Bug 1199468 - Create prefs for the smooth scroll timing function shape. r=kats 2016-01-07 21:09:18 +01:00
David Anderson
67acc2ef1e Fix crash trying to allocate textures for oversize scrollbars. (bug 1214261, r=mstange) 2015-12-17 11:13:45 -08:00
Bob Clary
d0c85ec985 Bug 1237465 - Work around Android 5.1+ permission restrictions by changing pushed directory permissions to rwx, r=gbrown. 2016-01-09 15:40:17 -08:00
Ryan VanderMeulen
e235b8637e Backed out changeset 5e3507a7e8ec (bug 1228716) for reftest failures. 2016-01-09 18:06:23 -05:00
Frédéric Wang
6c39eda527 Bug 1231404 - SubscriptBaselineDropMin or SuperscriptBaselineDropMax are not read from the MATH table. r=jfkthame 2015-12-27 08:37:00 -05:00
Thinker K.F. Li
40e0ffdd03 Bug 1228716 - Remove installation of nsDisplayBlendContainer. r=roc 2015-12-29 19:54:00 -05:00
Timothy Nikkel
8808ed877d Bug 1234725. Don't change the dirty rect to the display port when building display lists for documents. r=mstange
Instead do it when we first encounter the root scroll frame.

Doing this goes back to bug 635053, where we did it because fixed position items weren't getting included. However in bug 974643 we learned that this was wrong. Displayports aren't relevant to fixed pos content, displayports are only relevant to scrolled content. And we set the dirty rects of fixed pos content specially. The only other thing that should be affected is scrollbars, and we already carefully set their dirty rects too.
2016-01-09 00:25:58 -06:00
Botond Ballo
c5195eaa99 Bug 1236750 - Add some specialized typedefs of Matrix4x4 to represent layer transform matrices. r=kats
Also add a related PixelCastJustification and a utility function.
2016-01-06 18:56:25 -05:00
Botond Ballo
8735ee7696 Bug 1236750 - Add a ViewAs() overload for casting (with a justification) one typed matrix to another. r=kats 2016-01-06 18:55:06 -05:00
Botond Ballo
06e2065378 Bug 1236750 - Introduce a new unit type CSSTransformedLayerPixel. r=kats 2016-01-06 18:52:45 -05:00
Randall Barker
fc17644c4e Bug 1233056 - Long tapping on a link will select a different link from the page r=tnikkel
Long tapping would fail when Java Pan-Zoom was enabled in Fennec.
2016-01-08 20:22:07 -08:00
John Daggett
909e534953 Bug 1236086 - use a PUA codepoint in the reference rendering for font feature tests. r=jfkthame 2016-01-09 06:38:15 +09:00
Daniel Holbert
6012f42850 Bug 1237720: Put "-webkit-min-device-pixel-ratio"/"-webkit-max-device-pixel-ratio" behind its own disabled pref. r=heycam 2016-01-08 12:47:44 -08:00
Andrew Halberstadt
3b0be00b2e Bug 1228636 - Add mach support for running reftests on mulet, r=jgriffin
Usage:
mach reftest --profile path/to/gaia/profile path/to/test/dir
2016-01-04 16:27:37 -05:00
L. David Baron
37e896e0d7 Bug 1230668 - Don't use frame when not in composed document. r=heycam 2016-01-08 21:15:44 +11:00
Jamie Nicol
1a69558f7c Bug 1231818 - Make FrameLayerBuilder try harder to respect layers.max-active pref. r=mstange 2016-01-07 15:50:23 +00:00
Nicholas Nethercote
4676f038a8 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Tooru Fujisawa
2892b09c25 Bug 382721 - Part 2: Split constants for border rendering to BorderConsts.h. r=jrmuizel 2015-08-06 11:42:09 +09:00
Tooru Fujisawa
2e1a446b28 Bug 382721 - Part 1: Fix spacing of simple 2px dotted border without radius. r=jrmuizel 2015-08-06 11:42:09 +09:00
Tooru Fujisawa
b57eb9b772 Bug 382721 - Part 0: Add missing includes and namespaces. r=jrmuizel 2015-09-10 19:24:34 +09:00
Xidorn Quan
fade80b73a Bug 1230408 - Move suppress line break check out from control of SkipParentDisplayBasedStyleFixup. r=dbaron
The flag SkipParentDisplayBasedStyleFixup is for flex/grid fixup, and it is set
for all pseudo elements other than before/after. This is not desirable for ruby
case.

Moving the code out also means elements will inherit the suppress flag directly
from "display: contents" parent (instead of the container), which is fine since
the parent should have had its flag set properly as well.
2016-01-08 14:34:08 +11:00
Timothy Nikkel
ef5eed2617 Bug 1237821. Use displayport getter for image visibility in the (unused) display list builder based image visibility code. r=botond
This matches the frame walker image visibility code. This change should have been made to both at the same time. This fixes that mistake.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
1d5ce02e8c Bug 1194851. Change the GetDisplayPort API to take an optional RelativeTo parameter, instead of having that expressed in the function name. r=botond 2016-01-07 18:27:49 -06:00
Timothy Nikkel
8786aa07ca Bug 1194851. Rename GetDisplayPortRelativeToScrollPort back to GetDisplayPort. r=botond 2016-01-07 18:27:49 -06:00
Timothy Nikkel
2b00b90323 Bug 1194851. Split GetDisplayPort callers into GetDisplayPortRelativeToScrollPort and GetDisplayPortRelativeToScrollFrame. r=botond
Temporarily rename GetDisplayPort to GetDisplayPortRelativeToScrollPort for the duration of this patchset.

This means that every caller of GetDisplayPort is guaranteed to be touched by this patchset (assuming it compiles), and thus each call site can be checked in review to make sure it is relative to the correct coordinate system.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
003c12b7e3 Bug 1194851. Change GetDisplayPortForVisibilityTesting into GetDisplayPortRelativeToScrollFrameForVisibilityTesting since it has only one user. r=botond
Also update the other image visibility GetDisplayPort. It will get changed to GetDisplayPortRelativeToScrollFrameForVisibilityTesting in another bug.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
46e0f315cf Bug 1194851. Introduce GetDisplayPortRelativeToScrollFrame. r=botond 2016-01-07 18:27:49 -06:00
Timothy Nikkel
5e5946b544 Bug 1194851. Always store the displayport base relative to the scrollport (not the scroll frame). r=botond
This also has the side effect of making the computation that takes place in GetDisplayPortFromMarginsData happen relative to the scrollport. As opposed to some things relative to the scroll port, and some things relative to the scroll frame.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
90d2beb6ac Bug 1194851. Change GetOrMaybeCreateDisplayPort into just MaybeCreateDisplayPort, and make it only return a bool, and not the displayport rect. r=botond
This makes the one caller that needs the displayport rect have to ask for it seperately.

The reason for this is later in the patch series we need to add "RelativeToScrollFrame/Port" to all displayport getters, but there is no semantically good way to do that to the name GetOrMaybeCreateDisplayPort.
2016-01-07 18:27:48 -06:00
Timothy Nikkel
ed4195741c Bug 1194851. Make ViewportHasDisplayPort only return a bool, not the displayport rect. r=botond
This makes the one caller that needs the displayport rect have to ask for it seperately.

The reason for this is later in the patch series we need to add "RelativeToScrollFrame/Port" to all displayport getters, but there is no semantically good way to do that to the name ViewportHasDisplayPort.
2016-01-07 18:27:48 -06:00
Jan Horak
6954965aea Bug 1205643 - Move scrollbar borders to slider to receive button events. r=karlt 2016-01-06 23:55:00 -05:00
Jim Mathies
7e813c23e3 Bug 1107702 - Try to avoid internal memory exhaustion problems with the Windows api GetAdaptersInfo by making a priming call to the api during startup. r=jesup 2016-01-07 13:57:42 -06:00
Botond Ballo
d0b4761cc3 Bug 1231243 - In nsDisplayBackgroundImage::GetBoundsInternal(), take the union of the image bounds and the viewport bounds if APZ is enabled. r=mstange 2016-01-04 17:00:56 -05:00
Andrea Marchesini
cdc32ec0f5 Bug 1237674 - Rename nsFormData to mozilla::dom::FormData, r=smaug 2016-01-07 19:30:36 +00:00
Botond Ballo
6f2440a2bc Bug 1232939 - Ensure the opaque region of a fixed background layer is correctly clipped. r=mstange 2016-01-06 13:48:37 -05:00
Boris Zbarsky
849ff461f5 Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
Boris Zbarsky
a16f65c4ea Bug 1230172. Update CSS.escape to never throw and instead replace U+0000 with U+FFFD, per recent spec change. r=dbaron 2016-01-05 15:05:23 -05:00
Nicholas Nethercote
c16ee13326 Bug 1237457 - Partially Moz2Dify nsDisplayGeneric. r=roc. 2015-12-03 19:16:59 -08:00
John Daggett
9b143291f2 Bug 1157064 - reftests for font-display. r=m_kato 2016-01-07 14:03:12 +09:00