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

51386 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 16c7acfe05 Bug 1292660 - Fix |mach mochitest| kwargs['app'] is None error on android, r=gbrown
This fixes a regression from bug 1288827. It happened because I moved the logic that finds
the application path a little later on in the test harness. But there was an instance where
it was being used in the android mach command before that point.

As it turned out, we don't really *need* that value there. This patch grabs the same value
from build_obj.substs which is already an argument to the function.

MozReview-Commit-ID: 3IsI4VzEIIF

--HG--
extra : rebase_source : ceb718b265c7886b831e0378436baebf2b4e7598
2016-08-05 16:40:08 -04:00
cku 6aaf11c433 Bug 1288812 - Part 2. Correct test cases. r=heycam
MozReview-Commit-ID: 3Bdv2Lmg9kQ

--HG--
extra : rebase_source : 41bc2ee77a6768dcb358aa6b820336a0436c53de
2016-08-06 06:07:50 +08:00
cku 338774e2a3 Bug 1288812 - Part 1. Serialize just the fragment for local urls. r=heycam
MozReview-Commit-ID: 7FQ5hXgG3gg

--HG--
extra : rebase_source : cdb880b2cbfdd839d5eae47bd32a45ac48f060e5
2016-08-06 06:51:44 +08:00
Carsten "Tomcat" Book d83f1528db Merge mozilla-central to autoland 2016-08-08 12:04:33 +02:00
Hiroyuki Ikezoe acc70a71bd Bug 1292441 - Part 2: Reftest for backround-position-x animation. r=mstange
MozReview-Commit-ID: q7m7szmavl

--HG--
extra : rebase_source : 3dc0785fad4693dbe0cf9eb6ab70d8ab691b1f53
2016-08-08 12:54:05 +09:00
Hiroyuki Ikezoe c4cce17f20 Bug 1292441 - Part 1: Avoid crashes when 'reftest-opaque-layer' is specified against an element having an display item which is not assigned to a PaintedLayer. r=mstange
MozReview-Commit-ID: HISvrzIwUZ2

--HG--
extra : rebase_source : da0c2e25d529ce6bf82d38f434301eb0f0f62503
2016-08-08 09:41:50 +09:00
cku e32ee56058 Bug 1291280 - Part 3. Create mask local-ref test cases. r=heycam
MozReview-Commit-ID: H9frrUaTFKx

--HG--
extra : rebase_source : c584be44c021f84a44309e039317ce6c65175b04
2016-08-06 16:47:36 +08:00
cku e39570c057 Bug 1291280 - Part 2. Declare nsStyleImageLayers::Layer::mSourceURI as FragmentOrURI r=heycam
MozReview-Commit-ID: 6KFb7MjlLqj

--HG--
extra : rebase_source : 24ac046807f12e3bea6717baab962de94d8fafc5
2016-08-06 06:38:44 +08:00
cku 6fc952395d Bug 1291280 - Part 1. Move the definition of FragmentOrURL up. r=heycam
MozReview-Commit-ID: 3TtUtnE2ZBh

--HG--
extra : rebase_source : dd22cfab1da88550bb3c6fa8459827c53d6e5bd0
2016-08-06 06:16:50 +08:00
Mantaroh Yoshinaga ae2e808431 Bug 911987 part 4 - Add onwebkitanimation** and onwebkittransitionend event handlers. r=smaug
Add the onwebkit prefixed event handler attributes of CSS-Animation
and CSS-Transition.

We need to support both content attributes and IDL attributes like
onanimation** attributes.

We should support attribute of lower-case and mixed-case. But currently
Gecko defined as mixed-case only. [1][2]

[1] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsContentUtils.cpp#747
[2] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/events/EventNameList.h#977

So we can't find the related Atom when we set content attributes as lower-case. [3]

[3] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsGlobalWindow.h#818

In this patch, I add two Atoms in order to support mixed and lower case.

MozReview-Commit-ID: 8nOfVGQ8h7R

--HG--
extra : rebase_source : fe954eb5c79d305660bdc3ef95b14e55cdb34534
2016-08-05 14:12:38 +09:00
Mantaroh Yoshinaga 1dca1eac31 Bug 911987 part 3 - Add onwebkit prefixed event handler tests. r=birtles
MozReview-Commit-ID: B9SmsyXjLil

--HG--
extra : rebase_source : 8abbd729c099668d32d7c256a4d7435edc02fa40
2016-08-05 14:03:51 +09:00
Mantaroh Yoshinaga 8ca50a27e0 Bug 911987 part 2 - Add the onanimation** and ontransition end tests. r=birtles
MozReview-Commit-ID: 7n5d4c01T8p

--HG--
extra : rebase_source : 8c57dc62b499c0c54de8b98c1f87fadf50b1a01b
2016-08-05 08:12:15 +09:00
Phil Ringnalda d88f9174f3 Merge m-i to m-c, a=merge 2016-08-06 23:34:37 -07:00
Markus Stange ecd527362a Bug 1259872 - Don't cull all layers under an opaque layer that covers the container if that layer has a scrolled clip. r=mattwoodrow
MozReview-Commit-ID: Abmm28HiLqR

--HG--
rename : layout/reftests/async-scrolling/bg-fixed-child-no-culling-ref.html => layout/reftests/async-scrolling/bg-fixed-child-no-culling-1-ref.html
rename : layout/reftests/async-scrolling/bg-fixed-child-no-culling.html => layout/reftests/async-scrolling/bg-fixed-child-no-culling-1.html
extra : rebase_source : e8008f9011459d0c28b6b914a9a0e23a953f1469
2016-08-04 22:40:56 -04:00
Wes Kocher e62bb051c9 Merge inbound to central, a=merge 2016-08-05 14:01:56 -07:00
Cameron McCormack bddd447666 Bug 1290013 - Add a pref to disable stylo. r=bholley
MozReview-Commit-ID: DG9Q61OYlvl
2016-08-05 17:45:58 +08:00
Carsten "Tomcat" Book 0cd188453a Merge mozilla-central to autoland 2016-08-05 12:15:20 +02:00
cku 91b64119c1 Bug 1291283 - Use URLValueData::GetLocalURLFlag() to identify local-ref URI. r=dholbert
MozReview-Commit-ID: 2tXEGMhPCkn

--HG--
extra : rebase_source : 56dc684f75623e7f66d001945b41efccd65bf9ce
2016-08-04 23:50:22 +08:00
Jonathan Watt 9f767c7d64 Bug 1058040, part 5 - Move the code from nsSVGUtils::SetupContextPaint and nsSVGUtils::GetContextPaint into SVGContextPaint. r=dholbert
--HG--
extra : rebase_source : 00c5ef270ff9591a16727a2e35405177f063c8e6
2016-07-25 17:34:18 +01:00
Jonathan Watt 17c835c445 Bug 1058040, part 4 - Rename SVGTextContextPaint to SVGContextPaintImpl. r=dholbert
--HG--
extra : rebase_source : aeb52029a8060fcedaefd69b1d0120d22a2c6741
2016-07-25 16:04:20 +01:00
Jonathan Watt a6f638eeec Bug 1058040, part 3 - Move SVGTextContextPaint into SVGContextPaint.h/.cpp. r=dholbert
--HG--
extra : rebase_source : 716c7586dcf6cd7c55df2cd6d0df40287a1b1374
2016-07-25 13:27:00 +01:00
Matt Woodrow bf8a0ba830 Bug 1287122 - Make sure we build nsDisplayOpacity if we need it, since useOpacity already takes svg effects into account. r=dbaron
--HG--
extra : rebase_source : 7a9952fe0ed3a579083bd324002d44ab735d0735
2016-08-05 10:37:46 +12:00
David Anderson 456bcd0248 Move TileSize from gfxPlatform to gfxVars. (bug 1288259 part 3, r=jrmuizel)
--HG--
extra : rebase_source : 5a48bb72b10c8d9c1c5c96b8d2076a6d33cabc24
2016-08-04 11:33:43 -07:00
David Anderson 9e49bc37bb Introduce gfxVars for sharing graphics variables across processes. (bug 1288259 part 2, r=jrmuizel,billm)
--HG--
extra : rebase_source : cbac742f7165a2fbdec3e4d1179c9ed49324579f
2016-08-04 11:33:42 -07:00
Decky Coss b69450d2ea Bug 1287655 - place textarea/input cursor at end of text when initialized; r=smaug
MozReview-Commit-ID: 2srGXFmla07

--HG--
extra : transplant_source : %3Cn%D30%86%24%82%90%29%191%9C%8A%EB%0D%5D%E2%20%22%E5
2016-07-21 14:52:49 -04:00
Markus Stange ebb461c874 Bug 1012752 - Snap scrolled area to layer pixels. r=tnikkel
We want the maximum scroll position to be aligned with layer pixels. That way
we don't have to re-rasterize the scrolled contents once scrolling hits the
edge of the scrollable area.

Here's how we determine the maximum scroll position: We get the scroll port
rect, snapped to layer pixels. Then we get the scrolled rect and also snap
that to layer pixels. The maximum scroll position is set to the difference
between right/bottom edges of these rectangles.
Now the scrollable area is computed by adding this maximum scroll position
to the unsnapped scroll port size.
The underlying idea here is: Pretend we have overflow:visible so that the
scrolled contents start at (0, 0) relative to the scroll port and spill over
the scroll port edges. When these contents are rendered, their rendering is
snapped to layer pixels. We want those exact pixels to be accessible by
scrolling.

This way of computing the snapped scrollable area ensures that, if you scroll
to the maximum scroll position, the right/bottom edges of the rendered
scrolled contents line up exactly with the right/bottom edges of the scroll
port. The scrolled contents are neither cut off nor are they moved too far.
(This is something that no other browser engine gets completely right, see the
testcase in bug 1012752.)

There are also a few disadvantages to this solution. We snap to layer pixels,
and the size of a layer pixel can depend on the zoom level, the document
resolution, the current screen's scale factor, and CSS transforms. The snap
origin is the position of the reference frame. So a change to any of these
things can influence the scrollable area and the maximum scroll position.
This patch does not make us adjust the current scroll position in the event
that the maximum scroll position changes such that the current scroll position
would be out of range, unless there's a reflow of the scrolled contents. This
means that we can sometimes render a slightly inconsistent state where the
current scroll position exceeds the maximum scroll position. We can fix this
once it turns out to be a problem; I doubt that it will be a problem because
none of the other browsers seems to prevent this problem either.

The size of the scrollable area is exposed through the DOM properties
scrollWidth and scrollHeight. At the moment, these are integer properties, so
their value is rounded to the nearest CSS pixel. Before this patch, the
returned value would always be within 0.5 CSS pixels of the value that layout
computed for the content's scrollable overflow based on the CSS styles of the
contents.
Now that scrollWidth and scrollHeight also depend on pixel snapping, their
values can deviate by up to one layer pixel from what the page might expect
based on the styles of the contents. This change requires a few changes to
existing tests.
The fact that scrollWidth and scrollHeight can change based on the position of
the scrollable element and the zoom level / resolution may surprise some web
pages. However, this also seems to happen in Edge. Edge seems to always round
scrollWidth and scrollHeight upwards, possibly to their equivalent of layout
device pixels.

MozReview-Commit-ID: 3LFV7Lio4tG

--HG--
extra : rebase_source : 3e4e0b60493397e61283aa1d7fd93d7c197dec29
extra : source : d43c2d5e87f31ff47d7f3ada66c3f5f27cef84a9
2016-08-04 23:51:58 -04:00
Markus Stange 840bf3bfdb Bug 1292395 - Tweak this assertion message. r=mattwoodrow
MozReview-Commit-ID: AARqrxI1Qwn

--HG--
extra : rebase_source : 0524667582af2a4a972ecf51ad912eef8a722ddc
2016-08-04 22:00:04 -04:00
Lee Salzman ca87957544 Bug 1200684 - revise Skia row blits to preserve color when blended against itself. r=mchang
MozReview-Commit-ID: Enz05s8vGuI
2016-08-05 19:50:49 -04:00
Wes Kocher 83c7e63697 Merge m-c to inbound, a=merge 2016-08-05 14:06:00 -07:00
Cameron McCormack 152dfe9371 RuleNodeCacheConditions comment fix; no bug. (DONTBUILD)
MozReview-Commit-ID: A5V5mVbOB6T
2016-08-06 01:02:06 +10:00
Manish Goregaokar f5ec6f7282 Bug 1290864 - Standardize serialization of <position> values in <basic-shape>; r=xidorn
MozReview-Commit-ID: KooW1OqtTUb
2016-08-05 19:48:13 +05:30
Manish Goregaokar 446ac79054 Bug 1290864 - Omit the default closest-side when serializing circle() and ellipse(); r=xidorn
MozReview-Commit-ID: HKwOL0YAK5E
2016-08-05 19:48:13 +05:30
Phil Ringnalda cd4986a6d0 Bug 1207914 - Skip test_bug632379.xul on Linux for constant timeouts 2016-08-07 15:26:35 -07:00
Carsten "Tomcat" Book 389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +02:00
Carsten "Tomcat" Book 03f2893f26 Backed out changeset 5b940f1bf535 (bug 1289829) for reftest failures 2016-08-04 09:58:10 +02:00
Daniel Holbert 83a68d4157 Bug 1291334 part 2: Fix path to solidblue.png image in flexbox-whitespace-handling-001* reftest files. (no review)
MozReview-Commit-ID: 7I53hpMdLS5
2016-08-03 22:34:32 -07:00
Daniel Holbert 4f87c4a3ab Bug 1291334 part 1: Explicitly set margin on textareas within reftest flexbox-basic-textarea-horiz-001.xhtml, to remove assumptions about default styling. (no review)
MozReview-Commit-ID: 67PSYNY8hob
2016-08-03 22:34:30 -07:00
Emilio Cobos Álvarez 1b5c331814 Bug 1290335: followup: Fix the ConsumeStoredChangeHint assertion. r=me
That will teach me to address review comments at night.

MozReview-Commit-ID: 9AGFoj2du7C
2016-08-03 19:26:37 -07:00
Jeremy Chen 639577e5c5 No bug - comment typo fix in input-text-3-noheight-ref.html. r=me DONTBUILD
comment-only, so DONTBUILD

MozReview-Commit-ID: 3QlzoP5D0rK
2016-08-04 10:23:53 +08:00
Sotaro Ikeda 4bf4a29dce Bug 1289829 - Change mask SurfaceSize calculation r=mattwoodrow 2016-08-03 19:00:19 -07:00
Bobby Holley 3b101f50f2 Bug 1291885 - Use leak logging in a few more places. r=emilio 2016-08-03 18:31:04 -07:00
Bobby Holley c9097e6d3d Bug 1291885 - Use dont_AddRef for already-addrefed ServoComputedValues. r=emilio 2016-08-03 18:31:02 -07:00
Bobby Holley ba66557dc5 Bug 1291885 - Rejigger init hook and add shutdown hook. r=emilio 2016-08-03 18:31:01 -07:00
Bobby Holley a84a0167e5 Bug 1291891 - Switch to NS_WARNING for various unimplemented incremental restyle methods. r=emilio
No need to bring the browser down.
2016-08-03 18:30:59 -07:00
Bobby Holley 83d2ff11d1 Bug 1291891 - Switch to NS_WARNING for unimplemented <style scoped>. r=emilio 2016-08-03 18:30:57 -07:00
Bobby Holley e20ac68912 Bug 1291891 - Implement ServoStyleSet::ReplaceSheets. r=emilio 2016-08-03 18:30:56 -07:00
Bobby Holley 3c38d97aa1 Bug 1291891 - Don't segfault on null parent context in ServoStyleSet::ResolveStyleForOtherNonElement. r=emilio 2016-08-03 18:30:54 -07:00
Wes Kocher ae855cdb28 Merge m-c to inbound, a=merge 2016-08-03 16:47:07 -07:00
Emilio Cobos Álvarez e09cb4a0e8 Bug 1291863: Add some type replacements to fix the Servo binding generation. r=bholley
MozReview-Commit-ID: 63eXtp2otFa
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez 5d8a772fcd Bug 1290335: Make ProcessRestyledFrames non static, and tidy up a bit. r=heycam
MozReview-Commit-ID: 4aALVtI5DXT
2016-08-03 15:11:15 -07:00