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

59973 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 6a067a3e1b Bug 1397058 - Fix reftest annotations for box-decoration-break-with-outset-box-shadow-1.html
--HG--
extra : rebase_source : d8fc95face8b4fe3dfbad1ca05fb22fd1a9b275d
2017-09-15 16:18:07 -04:00
Ryan VanderMeulen e1d23c6fa7 Merge inbound to m-c. a=merge 2017-09-15 14:20:02 -04:00
Matt Woodrow 6c672d6e4f Bug 1397058 - Make display item type flags compulsary and add them for all item types. r=mstange
MozReview-Commit-ID: Jp00rblsm7B
2017-09-12 14:13:49 -04:00
Matt Woodrow ac26c2873e Bug 1397060 - Don't call ComputeOpaqueRect unless we're going to make use of the result. r=mstange
MozReview-Commit-ID: 2yGybisiLcx
2017-09-12 14:14:27 -04:00
Sebastian Hengst ec66bbd3e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4dRrVdftJVy
2017-09-15 11:05:11 +02:00
Sebastian Hengst 7f7575bb84 Backed out changeset 67ca40453027 (bug 1393031) for failing e.g. reftest layout/reftests/image/image-srcset-basic-selection-2x-ref.html on QuantumRender. r=backout 2017-09-14 23:18:49 +02:00
Sebastian Hengst 005f4f5fc0 Backed out changeset 8291145f0920 (bug 1393031) 2017-09-14 23:18:05 +02:00
Sebastian Hengst d27b05e04e Backed out changeset f34a52244cf9 (bug 1393031) 2017-09-14 23:17:35 +02:00
Fernando Jimenez Moreno 6d89c9d1f6 Bug 1384221 - stylo: error reporting lies about property names in some cases. r=jdm 2017-09-11 02:11:00 -04:00
Dão Gottwald 1b2ab142df Bug 1400092 - Move RTL direction and aligment styling for the location bar input field to a chrome stylesheet since it doesn't need to access .anonymous-div anymore. r=Gijs
MozReview-Commit-ID: 5qutEsTojVt

--HG--
extra : rebase_source : 7d2b20ed1e34d90e0bc3a5de3b7c147e581700b9
2017-09-15 14:41:19 +02:00
Sebastian Hengst 220e7cecae merge mozilla-central to autoland. r=merge a=merge 2017-09-15 00:01:52 +02:00
Markus Stange 0704012f36 Bug 1387594 - Add system colors for use in conjunction with -moz-font-smoothing-background-color and vibrant -moz-appearances. r=dbaron
MozReview-Commit-ID: IxXZwONxy41
2017-09-14 23:09:48 +02:00
Markus Stange ae927d3f44 Bug 1387594 - Set the font smoothing background color based on the -moz-font-smoothing-background-color property. r=mattwoodrow
MozReview-Commit-ID: B3PVIvMswf8
2017-09-14 23:09:47 +02:00
Markus Stange b5fdbfc62c Bug 1387594 - Stop getting the font smoothing background color from the theme. r=mattwoodrow
MozReview-Commit-ID: 2r1B8SvEkEl
2017-09-14 23:09:47 +02:00
Markus Stange 2e951f24c1 Bug 1387594 - Add a chrome-only CSS property called -moz-font-smoothing-background-color. r=dbaron
This property accepts a color. It's inherited and defaults to transparent.
Its value is respected on macOS when rendering text into transparent pixels.
This property should be used for text that is placed on top of "vibrant"
-moz-appearances, in order to achieve high quality text rendering for such text.

In most cases, the property should be set to a named system color; an upcoming
patch in this patch series will add one such color for each vibrant
-moz-appearance value.
However, in some cases it can also be useful to use a custom color: If text
is rendered into an intermediate surface, for example because a mask is applied
to it, and the background color behind that intermediate surface is known, then
this property can be set to that background color in order to achieve subpixel
AA for the text inside the mask effect. In that case, the font smoothing
background color is respected because text is rendered into transparent pixels
*inside the intermediate surface*. At the moment, the only example of that use
case is the text of the active tab in the state where the text is overflowing.

MozReview-Commit-ID: D98qQnxoFaq
2017-09-14 23:09:46 +02:00
Miko Mynttinen c2f4528fa6 Bug 1399977 - Allocate some DisplayClipChains using nsDisplayListBuilder arena r=mattwoodrow
MozReview-Commit-ID: 9TB4S6G4rJR

--HG--
extra : rebase_source : ac7055146039ff9beeac1035adc323ce1d80c730
2017-09-14 11:37:15 -04:00
Ryan VanderMeulen 277d6a438f Merge m-c to inbound. a=merge 2017-09-14 10:52:18 -04:00
Bas Schouten d0bbe46a35 Bug 1399178: Record SetPermitSubpixelAA. r=dvander
MozReview-Commit-ID: HfMK5SOSFtr
2017-09-13 19:15:16 +00:00
Sebastian Hengst cc8349a4a8 Backed out changeset 951b97610913 (bug 1397058) for almost permafailing reftest box-decoration-break-with-outset-box-shadow-1.html on stylo. r=backout a=backout
MozReview-Commit-ID: BEIOgg69o3W
2017-09-14 10:45:11 +02:00
Sebastian Hengst b31bbc7d9a Backed out changeset b507473b9b75 (bug 1397060) for almost permafailing reftest box-decoration-break-with-outset-box-shadow-1.html on stylo. r=backout a=backout
MozReview-Commit-ID: FOAcq7soe89
2017-09-14 10:44:03 +02:00
Wes Kocher ff68b95b87 Merge inbound to central, a=merge
MozReview-Commit-ID: ClVRh99eIUo
2017-09-14 00:03:28 -07:00
Cameron McCormack d80f1e578d Bug 1398993 - Disable stylo in e10s parent process. r=xidorn
nsLayoutStatics::Initialize is sometimes too early to know whether a process
is an e10s parent process, or a non-e10s main process, because some prefs
get loaded later on.  So we unconditionally initialize some Servo data in
nsLayoutStatics::Initialize, but we still check later on whether we are
really a non-e10s main process or e10s content process when deciding whether
to preload Servo style sheets, choose our document backend type, etc.

MozReview-Commit-ID: 93tPCvuTdzl

--HG--
extra : rebase_source : 07092bab376310867fa1a87210ba6c3eddb9cc8e
2017-09-13 17:13:11 +08:00
Sebastian Hengst 123fb86836 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-14 00:15:34 +02:00
Sebastian Hengst 006a58c35d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2iVDKexRjxu
2017-09-13 23:58:43 +02:00
Michael Layzell 5dff36164d Bug 1398883 - Disable the DataTransfer::Protected state for Firefox 57, r=baku
This isn't a super essential feature, and is just a change to try to bring us in
line with chromium and the spec. As this has apparent web compat issues, and
DataTransfer is a hard to test area, this patch moves the changes behind a pref,
which we can come back to turning on after we ship 57.
2017-09-13 11:45:48 -04:00
Ya-Chieh Wu 43ae4b41dc Bug 895096 - Part 3: Clean up twipsPerPixel to oneDevPixel. r=dbaron
MozReview-Commit-ID: 70aRd6KFpdd
2017-09-12 19:49:00 -04:00
Ya-Chieh Wu 70ba00ac09 Bug 895096 - Part 2: Merge the identical parameters. r=dbaron
MozReview-Commit-ID: DNXagFqxLsq
2017-09-12 19:49:00 -04:00
Ya-Chieh Wu ce1be4b4eb Bug 895096 - Part 1: Round border-collapsed table borders to device pixels rather than CSS pixels, as for other borders, and store them (as BCPixelSize) as device pixels rather than CSS pixels. r=dbaron
MozReview-Commit-ID: 3yqj8gAAGYv
2017-09-12 19:48:00 -04:00
Sebastian Hengst 7dd2b068b5 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 13:35:21 +02:00
Sebastian Hengst e4a2f44531 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9SALJlvWgoZ
2017-09-13 13:32:44 +02:00
Sebastian Hengst 1fbe7771e8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GUc4LEY8qp4
2017-09-13 11:27:47 +02:00
Sebastian Hengst dd669d05e1 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JWKcdNfAFqk
2017-09-13 11:25:59 +02:00
Sebastian Hengst a3ed708553 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 11:44:38 +02:00
Morris Tseng afa14cd3bb Bug 1394249 - SetNeedToCalcHasBCBorders to true when initialize nsTableFrame. r=mats
In the printing preview, we create continuous table frame if table is too
long to containing in a page. But the default value of
NeedToCalcHasBCBorders is false which means we don't calculate
HasBCBorders for continuous table frame. Thus, the border collapse is
not shown when printing preview.

MozReview-Commit-ID: IqhLSYuWj30
2017-09-13 17:05:52 +08:00
Jeff Muizelaar d5f9b84940 Bug 1392523. Remove duplicated gfxContext* parameter. r=mattwoodrow
All of the callers are passing in the same value for
both gfxContexts.
2017-09-12 22:17:43 -04:00
Ryan VanderMeulen 68c8008faf Backed out 7 changesets (bug 1364364) for causing bug 1399182.
Backed out changeset c517d8071dfb (bug 1364364)
Backed out changeset 809036cfd7d9 (bug 1364364)
Backed out changeset c394b06dc30c (bug 1364364)
Backed out changeset c5a737bbfdeb (bug 1364364)
Backed out changeset 21ee8f318a47 (bug 1364364)
Backed out changeset 074475da0f2c (bug 1364364)
Backed out changeset de6c153ec533 (bug 1364364)

--HG--
rename : dom/indexedDB/test/bfcache_page1.html => dom/indexedDB/test/bfcache_iframe1.html
rename : dom/indexedDB/test/bfcache_page2.html => dom/indexedDB/test/bfcache_iframe2.html
rename : dom/media/webspeech/synth/test/file_bfcache_page1.html => dom/media/webspeech/synth/test/file_bfcache_frame.html
rename : dom/media/webspeech/synth/test/file_bfcache_page2.html => dom/media/webspeech/synth/test/file_bfcache_frame2.html
rename : dom/workers/test/WorkerDebugger_frozen_window1.html => dom/workers/test/WorkerDebugger_frozen_iframe1.html
rename : dom/workers/test/WorkerDebugger_frozen_window2.html => dom/workers/test/WorkerDebugger_frozen_iframe2.html
rename : dom/workers/test/suspend_window.html => dom/workers/test/suspend_iframe.html
2017-09-12 13:21:17 -04:00
Xidorn Quan a0f7c55075 Bug 1398619 - Correctly inherit backend for document created by DOMParser, and add test for it. r=bholley
The old code doesn't work because mScriptHandlingObject is a nsWeakPtr,
which cannot be casted to nsPIDOMWindowInner directly.

Since scriptHandlingObject is a strong reference to the same object, we
can just try casting that.

MozReview-Commit-ID: JRBs5N6xxc0

--HG--
extra : rebase_source : cd0237553198182b00ff9c667a17271b23464567
2017-09-12 14:28:27 +10:00
Jeff Muizelaar bc03cdc351 Bug 1398959. Remove duplicated gfxContext* parameter. r=mattwoodrow
All of the callers are passing in the same value for
both gfxContexts.
2017-09-12 22:39:14 -04:00
Jeff Muizelaar 113e9e1d43 Revert "Bug 1392523. Remove duplicated gfxContext* parameter. r=mattwoodrow"
This reverts commit 0337d3437615.
2017-09-12 22:37:43 -04:00
Phil Ringnalda 6f8d4d30dc Backed out 2 changesets (bug 1380980) for reftests/bugs/1380980-1.html failing on a lot more than just QuantumRender
Backed out changeset 327f2a97631d (bug 1380980)
Backed out changeset 2dc8bf7c38ae (bug 1380980)

MozReview-Commit-ID: DsITQtEIDXW
2017-09-11 23:19:13 -07:00
Phil Ringnalda 830c9a9c7b Bug 1380980 followup, mark test as failing on QuantumRender
MozReview-Commit-ID: FGKLbWZRSab
2017-09-11 22:51:34 -07:00
Matt Woodrow 1c528ae1ab Bug 1397059 - Make sure we generate unique display item keys for nsDisplayTextOverflowMarker. r=mats 2017-09-13 15:28:24 -04:00
Emilio Cobos Álvarez c04f22ad37 Bug 1368852: Avoid flushing frames from nsHideViewer if we know we're not going to get a frame. r=tnikkel
MozReview-Commit-ID: ATVMfQ8myC1

--HG--
extra : rebase_source : fb82003b9ce61644f0cdf4eac5245ef321dec8d5
2017-09-13 00:08:46 +02:00
peter chang 75200fdf13 Bug 1394308 - Pass perspective transform attribute to compositor for OMTA, r=kats
MozReview-Commit-ID: EjyuCfnswqu

--HG--
extra : rebase_source : 556db00f7c58b8b49bdafe9ca77785bce819a000
2017-09-07 11:50:41 +08:00
Botond Ballo c8286ea7d2 Bug 1367765 - Do not scroll-to-click on touchstart if touch point is over thumb. r=rhunt
This matches the behaviour of mouse events over a scroll thumb.

MozReview-Commit-ID: ArLzC6JXfos

--HG--
extra : rebase_source : 96f83e6b312dabd3c5573d73c1ce3f01e53055e5
2017-09-06 19:14:39 -04:00
Botond Ballo d71a611f27 Bug 1367765 - Propagate the mHandledByAPZ flag when dispatching a touch event to the DOM. r=rhunt
This ensures that, if the touch event is over a scrollbar thumb and
makes it into nsSliderFrame::StartAPZDrag(), nsSliderFrame knows
that the event went through APZ and that therefore APZ will handle
the drag.

MozReview-Commit-ID: 92wAc1l9Pqz

--HG--
extra : rebase_source : 94ac60bc8b38dad3d8abaa39b5a94de88ec0f6b0
2017-09-06 23:42:04 -04:00
Andrew Halberstadt c3c1749786 Bug 1392390 - Create a reftest selftest harness, r=jmaher
This just adds two basic tests, one for a passing test and another for a
failing one. In mochitest, we use privileged APIs to also tests crashes,
assertions, asan and leaks. But these APIs aren't available to reftests
so I'm not sure how we can test these things.

I figure it's not worth holding the framework up on this though, I'll file
a follow-up to figure out something to do for that.

MozReview-Commit-ID: 59TSbsugT5T

--HG--
extra : rebase_source : 72ecd817017c8b7d55eab879db4f6ad5fecc54c0
2017-09-11 16:08:01 -04:00
peter chang 7780b1e846 Bug 1394308 - Apply inherited scale for OMTA to support layers-free, r=kats
Expose the API to get/set inherited scale from stacking context and we can
use these APIs to calculate correct scale for OMTA

MozReview-Commit-ID: DZEkodHTy8v

--HG--
extra : rebase_source : be3c978c8f48c9b1bfcd01cff6bb8200092b5e60
2017-09-06 16:29:52 +08:00
sajattack a77eb97349 Bug 1398623 - Remove several unused variables in nsSprocketLayout::PopulateBoxSizes r=xidorn
MozReview-Commit-ID: 3VXaVgBhgTL

--HG--
extra : rebase_source : 39b4e1a746aa45da9f6e2381cb83a6b2f40db9c9
2017-09-10 22:33:13 -07:00
Ethan Lin d7080a817c Bug 1393077 - Part3. Modify annotations for affected testcases. r=kats
MozReview-Commit-ID: EjqMbrO1wNe

--HG--
extra : rebase_source : a6d0728f483d52147ea9e0464cadf39f026d07d3
2017-09-06 16:30:28 +08:00