Commit Graph
60717 Commits
Author SHA1 Message Date
Sebastian Hengst 85a417c111 merge mozilla-central to autoland. r=merge a=merge 2017-10-17 23:54:52 +02:00
Sebastian Hengst 56c87a5d0b merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Geoff Brown d14dbf4e70 Bug 1409062 - Update mochitest and reftest harnesses for --verify on Android; r=jmaher 2017-10-17 08:00:52 -06:00
Sebastian Hengst 040a1b2bbb merge mozilla-central to autoland. r=merge a=merge 2017-10-17 11:46:52 +02:00
Sebastian Hengst 08efa86e76 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Timothy Nikkel 19ed4e49a2 Bug 1408607. Add a test. 2017-10-16 20:09:18 -05:00
Brendan Dahl 73b1e91ce7 Bug 1399956 - Disable some mochitests in headless. r=jrmuizel
These tests will need more work and are low priority.

MozReview-Commit-ID: H0J16E8FqNr
2017-10-16 16:15:45 -07:00
Cameron McCormack ec137f147e Bug 1408322 - Remove inDOMUtils.cssPropertyIsValid() and use CSS.supports() instead. r=jryans
MozReview-Commit-ID: HNYVb31PZus
2017-10-17 13:00:42 +08:00
Ting-Yu Lin 9fb0bfcccc Bug 1374482 Part 2 - Remove x and y parameters from _test_minimum_select_one_character(). r=mtseng
They are not needed due to Part 1.

MozReview-Commit-ID: DMPnidVgbOI
2017-10-16 18:12:32 +08:00
Ting-Yu Lin 649c490c7e Bug 1374482 Part 1 - Simplify focus changing tests for caret selection mode. r=mtseng
It uses _test_minimum_select_one_character() to ensure the carets appear,
but the complexity of that test is high. To make the test more stable, I
make it test select a word after changing the focus.

MozReview-Commit-ID: Jml82EpQxNm
2017-10-16 17:58:41 +08:00
Chris Pearce a953a7b24f Bug 1409178 - Remove MediaDecoder::InitStatics() since it's a no-op. r=jwwang
MozReview-Commit-ID: Leo5wNaxpjg
2017-10-16 22:39:02 +02:00
Hiroyuki Ikezoe e7ec269d6c Bug 1404545 - Force to call MediaFeatureValuesChanged for stylo in UpdateEffectiveTextZoom. r=heycam
MozReview-Commit-ID: EWbg7fHjcGt
2017-10-17 13:25:12 +09:00
Jeremy Chen efcca231e9 Bug 1408851 - part3: add test. r=TYLin
MozReview-Commit-ID: 3MrSPQWpcY
2017-10-16 17:15:01 +08:00
Jeremy Chen 9a32ecb891 Bug 1408851 - part2: do not always clamp negative calc values while serializing basic-shape inset. r=TYLin
According to the spec, negative values are valid for inset(), so we should not
clamp it while computing and serializing negative calc values for inset().

MozReview-Commit-ID: DA21CaPO9w7
2017-10-16 17:18:05 +08:00
Jeremy Chen fec0c77281 Bug 1408851 - part1: do not always clamp negative calc values in BoxValuesToString. r=TYLin
nsComputedDOMStyle::BoxValuesToString() is a helper function for computing and
serializing box values. In the current implementation, BoxValuesToString
implicitly clamp negative calc values, which is pretty non-trivial.

In this patch, we expose an extra aClampNegativeCalc parameter for BoxValuesToString,
so the callers can explicitly set the clamping mode as needed.

MozReview-Commit-ID: 1UjLSqtqVzn
2017-10-16 16:55:54 +08:00
Cameron McCormack ce449895d5 Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
MozReview-Commit-ID: LuB0izWz7nk
2017-10-16 09:06:39 +08:00
Cameron McCormack 8b797bbfc4 Bug 1408312 - Part 2: Replace nsCSSParser usage in inDOMUtils::IsValidCSSColor. r=xidorn
MozReview-Commit-ID: AGo249i7ATL
2017-10-16 09:02:35 +08:00
Cameron McCormack 404c78de9f Bug 1408312 - Part 1: Add ServoCSSParser utility class. r=xidorn
MozReview-Commit-ID: KzM9332hBSx
2017-10-16 08:54:47 +08:00
Kartikaya Gupta c485a9d91b Bug 1407635 - Slightly increase fuzz again for test when webrender is enabled. r=mtseng
MozReview-Commit-ID: 6TB7Pb5UQDB
2017-10-16 08:44:09 -04:00
Ethan Lin 191574f9d8 Bug 1405957 - Part2. Remove the unnecessary GetLayerState in CreateWebRenderCommands and adjust the related pref type/value. r=kats
MozReview-Commit-ID: E8JvuOj6JtL
2017-10-05 14:42:28 +08:00
Ethan Lin eeeb3af8e8 Bug 1405957 - Part1. Remove advanced filter layer. r=kats
This pref is only for webrender layers mode. So we should remove it.

MozReview-Commit-ID: AxPLnc0uO1U
2017-10-05 14:34:37 +08:00
Cameron McCormack c931762bf7 Bug 1408305 - Use Servo to parse IntersectionObserver rootMargin values. r=xidorn
MozReview-Commit-ID: 4CIXP73kcf2
2017-10-16 18:02:16 +08:00
Kris Maglione 1895b2d74a Bug 1404198: Part 2e - Switch to NS_NewTimer* in layout. r=njn
MozReview-Commit-ID: 2WxyAXpJ3Fg
2017-10-15 23:13:31 -07:00
Neil Deakin 99e48b9b66 Bug 1404999, force command updating to be enabled when a menu is opened, r=mconley 2017-10-16 11:44:59 -04:00
Jessica Jong 95d2505931 Bug 1404327 - Move CSS font-family property to date/time input so that it can be overriden. r=dholbert
MozReview-Commit-ID: 4sqXQSZMlmd
2017-10-16 15:24:50 +08:00
Timothy Nikkel 21691a950e Bug 1408607. Make all uses of mWillBuildScrollableLayer conditional on painting to the window. r=mstange
This mostly restores us to the previous behaviour where we would set mWillBuildScrollableLayer to false for event handling display lists. But it's better because we don't keep flipping its value.

The real reason we want to do this is that it fixes bugs with event handling.
2017-10-16 01:50:35 -05:00
Alex Gaynor c4f22ca1b5 Bug 1319423 - Part 3 - Change the print IPC to not require the content process to create a temporary file; r=bobowen
MozReview-Commit-ID: GLhTbfREk0n
2017-10-03 16:34:18 -04:00
Alex Gaynor 47eee38d91 Bug 1319423 - Part 2 - Switch away from std::ifstream to PRFileDesc in PrintTranslator; r=jrmuizel
MozReview-Commit-ID: 6ucwbGkqOQ0
2017-10-03 13:23:57 -04:00
Alex Gaynor a86359f0e1 Bug 1319423 - Part 1 - Introduce DrawEventRecorderPRFileDesc to allow switching away from std::ofstream in printing; r=jrmuizel
MozReview-Commit-ID: 1gn8J2fhejS
2017-10-03 12:29:15 -04:00
Emilio Cobos Álvarez 1567bb133d Bug 1409079: Re-enable web components in stylo. r=heycam,smaug
MozReview-Commit-ID: DJZRO7j2pOJ
2017-10-12 15:22:17 +02:00
Andrew Halberstadt 1da459e59a Bug 1405349 - [reftest] Refactor manifest parsing from reftest.jsm to standalone module, r=jmaher
There are two motivations for this change.

First, reftest.jsm has become very large and monolithic. It has lots of global
state and is hard to modify without breaking something. This change is a first
attempt at dividing reftest.jsm into multiple standalone(ish) modules. This
will make it easier to comprehend and extend.

Second, we'd like to implement "run-by-manifest" mode for reftest. This means
we'll restart the browser between each manifest run. This means much of the
state which is normally stored in global variables in reftest.jsm, will instead
need to be stored in python. A prerequisite to doing that is parsing the
manifests before starting the test suite. A prerequisite to that is moving the
manifest parsing code into a standalone JSM. This is the first step.

MozReview-Commit-ID: 42epTs8EU1O
2017-10-02 12:03:43 -04:00
Daniel Holbert 3556d55a6b Bug 1373767 part 1: Always make nsMathMLmathBlockFrame a block formatting context. r=bz
(This makes it behave a bit more like a normal CSS block, and it ensures that
it can provide a float manager to its descendants.)

MozReview-Commit-ID: FmnQYjzD2eD
2017-07-13 15:34:20 -07:00
Daniel Holbert 51d03a2bf3 Bug 1373767 part 0: Adjust reftest "font-inflation-1.html" to allow block-level <math> to form its own font inflation container & have different sizing. r=jfkthame
MozReview-Commit-ID: 6jmVqXoyTRr
2017-10-13 14:19:03 -07:00
Daniel Holbert 4bcd8b79e2 Bug 1408537 followup: fix unbalanced quotes in prose of reftest font-inflation-1.html. r=jfkthame
MozReview-Commit-ID: Iehg7KFJ1Z3
2017-10-13 14:03:45 -07:00
Daniel Holbert ee7aff40d0 Bug 1408537: Slightly increase the epsilon in MathML reftest "font-inflation-1.html", so that it passes on local linux reftest runs. r=jfkthame
The prior epsilon (2px) seems like an arbitrarily chosen value, which must have
been large enough to allow for small sizing differences on our continuous
integration platforms.  But it's not quite large enough to handle sizing
differences on my local linux machine (I'm guessing due to font differences).

Note that this doesn't reduce the sensitivity of the test.  In the test's
anticipated failure mode (when font inflation fails to apply on some element),
the sizing differences are an order of magnitude larger than this amended
epsilon.

MozReview-Commit-ID: Iz7jqRvFh8w
2017-10-13 13:59:16 -07:00
Timothy Nikkel d8304a9940 Bug 1408607. mWillBuildScrollable only keeps updated during display list building. So change Is(Maybe)ScrollingActive to not use it so they are always accurate. r=mstange
This seems like a good idea, not sure if it fixes any bugs though.
2017-05-19 17:04:19 -05:00
Ian Moody ae72f092e5 Bug 1406211 - Add a reftest for animating opacity on a multiline inline element. r=dbaron
MozReview-Commit-ID: 9z25jLeauO5
2017-10-09 16:28:54 +01:00
Hiroyuki Ikezoe 0715b582fd Bug 1406211 - Check whether the frame is one of continuation or ib-split-sinbling frames for animating element in nsIFrame::HasOpacityInternal(). r=dbaron
We need this change to generate nsDisplayOpacity for the continuation or
ib-split-sibling frames other than the first continuation so the opacity
animation on the continuation frames runs on the compositor.
When we generate an nsDisplayOpacity, the animation runs on the compositor,
but when we don't, the animation never updates since the animation is throttled
on the main thread.

MozReview-Commit-ID: DESftTLt0wq
2017-10-15 09:56:17 +09:00
Hiroyuki Ikezoe ae86782910 Bug 1406211 - Early return from nsIFrame::HasOpacityInternal if there is no EffectSet for the frame. r=dbaron
If there is no EffectSet for the frame, it means no animation runs on the
element for the frame.

MozReview-Commit-ID: Ev9Hf3jquvU
2017-10-15 09:56:17 +09:00
Emilio Cobos Álvarez dfe54af4be No bug - Remove declaration of non-existent function. r=me
MozReview-Commit-ID: DftE7aBUhCc
2017-10-14 14:04:43 +02:00
Emilio Cobos Álvarez 62151895b8 Bug 1408622: Dumb down the return value of Servo_SelectorList_Closest. r=me
MozReview-Commit-ID: 2KRWlVAzj0D
2017-10-14 14:04:41 +02:00
Emilio Cobos Álvarez 12ee12d053 Bug 1407952: Use stylo for Element::Closest. r=heycam
MozReview-Commit-ID: 3H2piFT2CfF
2017-10-14 14:04:39 +02:00
Sebastian Hengst 0a5b6f5b9f Backed out changeset f66cb1530f75 (bug 1407952) for build failure (bug 1408622). r=backout a=backout
MozReview-Commit-ID: 3h4oDHbvmes
2017-10-14 12:32:50 +02:00
Sebastian Hengst c97a091ddd merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8Qk2qoQvP0g
2017-10-14 11:49:31 +02:00
Kyle Machulis d02dd47205 Bug 1406224 - Remove nsIDOMHTMLImageElement; r=bz
MozReview-Commit-ID: GCATWRt6qMo
2017-10-06 13:27:23 -07:00
Sebastian Hengst 76caff3b45 merge mozilla-central to autoland. r=merge a=merge 2017-10-14 00:02:17 +02:00
Sebastian Hengst 19a8f38c77 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9adaYBJ4tlo
2017-10-13 23:37:41 +02:00
Joel Maher 58e2e64827 Bug 1408393 - radialGradient-fr-02.svg fails when running windows 10 reftests on a VM. r=jryans 2017-10-13 13:05:44 -04:00
Xidorn Quan 5ab3168575 Bug 1407843 part 3 - Remove nsICSSPseudoComparator. r=heycam
MozReview-Commit-ID: Ct3zUoiSIA4
2017-10-13 13:50:04 +11:00
Xidorn Quan 63e8aa981e Bug 1407843 part 2 - Move tree pseudo matching code from nsTreeBodyFrame into nsCSSRuleProcessor. r=heycam
MozReview-Commit-ID: FyPhBLGX2qD
2017-10-13 12:54:18 +11:00