Commit Graph

60687 Commits

Author SHA1 Message Date
Cameron McCormack
64d0481dfd Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
MozReview-Commit-ID: LuB0izWz7nk

--HG--
extra : rebase_source : 0fd4e9a3b62c668ab0a6925e70006646a3273e62
2017-10-16 09:06:39 +08:00
Cameron McCormack
04696a9b72 Bug 1408312 - Part 2: Replace nsCSSParser usage in inDOMUtils::IsValidCSSColor. r=xidorn
MozReview-Commit-ID: AGo249i7ATL

--HG--
extra : rebase_source : decfb82dfa419b5a57edb9e2f1d4cd04ed7d5599
2017-10-16 09:02:35 +08:00
Cameron McCormack
460faae1fa Bug 1408312 - Part 1: Add ServoCSSParser utility class. r=xidorn
MozReview-Commit-ID: KzM9332hBSx

--HG--
extra : rebase_source : cee890ae943bdd855528522ef774bc95adfd4245
2017-10-16 08:54:47 +08:00
Kartikaya Gupta
cba218bfef Bug 1407635 - Slightly increase fuzz again for test when webrender is enabled. r=mtseng
MozReview-Commit-ID: 6TB7Pb5UQDB

--HG--
extra : rebase_source : 4d5ac3ecd2ba05da991e9761d270ea01c3809880
2017-10-16 08:44:09 -04:00
Alex Gaynor
e6c660f838 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

--HG--
extra : rebase_source : f8f94b222fffa16ab973d07c940bfd64b5407440
2017-10-03 16:34:18 -04:00
Alex Gaynor
b00c32c807 Bug 1319423 - Part 2 - Switch away from std::ifstream to PRFileDesc in PrintTranslator; r=jrmuizel
MozReview-Commit-ID: 6ucwbGkqOQ0

--HG--
extra : rebase_source : ab0540e2b7d61108c8c550d8bf8b8a594364f90a
2017-10-03 13:23:57 -04:00
Alex Gaynor
41d8032290 Bug 1319423 - Part 1 - Introduce DrawEventRecorderPRFileDesc to allow switching away from std::ofstream in printing; r=jrmuizel
MozReview-Commit-ID: 1gn8J2fhejS

--HG--
extra : rebase_source : 02b6224c2788964c375092e58174efbacfdbdba5
2017-10-03 12:29:15 -04:00
Daniel Holbert
8ee548e499 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

--HG--
extra : rebase_source : 6e02bff6786fe4e4146339908c5f2e1becd3a929
2017-07-13 15:34:20 -07:00
Daniel Holbert
b58bf562de 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

--HG--
extra : rebase_source : 21a31b8b11b74ee4cc7f875b5f0519509dda09f7
2017-10-13 14:19:03 -07:00
Daniel Holbert
ab4cba301b Bug 1408537 followup: fix unbalanced quotes in prose of reftest font-inflation-1.html. r=jfkthame
MozReview-Commit-ID: Iehg7KFJ1Z3

--HG--
extra : rebase_source : 083027d0f3b74e233f380256ee12c3df35cd50b7
2017-10-13 14:03:45 -07:00
Daniel Holbert
115a9ffb0c 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

--HG--
extra : rebase_source : 573e42c3237b11d6747ed45bc3ae3d86aeb0a4b3
2017-10-13 13:59:16 -07:00
Xidorn Quan
02a9eeb632 Bug 1407847 followup 3 - Adjust some assert count expectation on a CLOSED TREE.
MozReview-Commit-ID: 9oElx9rSliV

--HG--
extra : rebase_source : 4085b430ddad317fa5559e9f4f34aa694f458069
2017-10-17 09:45:43 +11:00
Kartikaya Gupta
726a757cb4 Bug 1408604 - Slightly increase fuzz again for test when webrender is enabled. r=Gankro
MozReview-Commit-ID: 5Ojc5np47X2

--HG--
extra : rebase_source : 2b4690b60a19e0275163a7737ec6287ca9c33b46
2017-10-16 08:40:45 -04:00
Sebastian Hengst
edb0dd8898 Backed out changeset bcffb222c970 (bug 1408312) for failing web-platform-test /2dcontext/fill-and-stroke-styles/2d.gradient.object.current.html with stylo disabled. r=backout
--HG--
extra : amend_source : 66151415de533e9e7af7e49e788fc65680fd7be5
2017-10-16 16:15:45 +02:00
Sebastian Hengst
c171ff1fa0 Backed out changeset 93065f7849c5 (bug 1408312) 2017-10-16 16:15:40 +02:00
Sebastian Hengst
821bac9381 Backed out changeset f13bc708c440 (bug 1408312) 2017-10-16 16:15:34 +02:00
Kartikaya Gupta
9aa4b1f893 Bug 1403943 - Slightly increase fuzz again for test when webrender is enabled. r=ethlin
MozReview-Commit-ID: En4R2SZd8fW

--HG--
extra : rebase_source : b943981f72f8cde24c3933f4b5245c3704a3eabe
2017-10-16 08:59:18 -04:00
Xidorn Quan
5e043b6111 Bug 1407847 followup 3 - Update one asserts-if for styloVsGecko.
MozReview-Commit-ID: 5dv29t4JtdZ

--HG--
extra : rebase_source : e34c436a15720c790758ab495002d6b78ed88e71
2017-10-17 00:32:45 +11:00
Xidorn Quan
c8ccb9da6c Bug 1407847 followup 2 - Adjust some assertions annotation.
MozReview-Commit-ID: B7I8VPoeVuF
2017-10-16 23:07:59 +11:00
Xidorn Quan
f8417f280d Bug 1407847 followup - Annotate more tests.
MozReview-Commit-ID: pH7fUbJU62

--HG--
extra : rebase_source : 584fd230c0524a122c3478d505f16c5b3823df2d
2017-10-16 23:03:54 +11:00
Cameron McCormack
cd60976c07 Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
MozReview-Commit-ID: LuB0izWz7nk

--HG--
extra : rebase_source : c6bb1ce19b432e6a07db7c342e54a708f63d0c4b
2017-10-16 09:06:39 +08:00
Cameron McCormack
85ac107ac5 Bug 1408312 - Part 2: Replace nsCSSParser usage in inDOMUtils::IsValidCSSColor. r=xidorn
MozReview-Commit-ID: AGo249i7ATL

--HG--
extra : rebase_source : 8d20c086785b3039e6ebb78d82e68057772a11f5
2017-10-16 09:02:35 +08:00
Cameron McCormack
b9be378e65 Bug 1408312 - Part 1: Add ServoCSSParser utility class. r=xidorn
MozReview-Commit-ID: KzM9332hBSx

--HG--
extra : rebase_source : c048323e36bef9dceb3c86d3cc9ee66aa39efb51
2017-10-16 08:54:47 +08:00
Xidorn Quan
fd467033f9 Bug 1407847 - Enable stylo for XUL document without system principal and annotate failures accordingly. r=heycam
MozReview-Commit-ID: KcJxloT2rR8

--HG--
extra : rebase_source : 8943efaa7afbf1bc74ac85ca103a52e2f4d1b1a4
2017-10-12 10:43:38 +11:00
Emilio Cobos Álvarez
4ee54ec509 Bug 1408839: Hide some moz-scrollbar media features in content docs. r=xidorn
MozReview-Commit-ID: 4I1697PAIy0

--HG--
extra : rebase_source : 1749e8219981b39129481e6487b2ac4b15b1fb5f
2017-10-16 09:24:24 +02:00
Jeremy Chen
2683647837 Bug 1378368 - part3: add tests. r=TYLin
MozReview-Commit-ID: Amy7Dcyz8cq

--HG--
extra : rebase_source : bb8d825f71d44d9e4957af0311671063d9ee40d6
2017-10-16 14:41:51 +08:00
Jeremy Chen
f243927e63 Bug 1378368 - part2: do not clamp negative calc values while serializing basic-shape polygon. r=TYLin
According to the spec, negative values are valid for polygon(), so we should not
clamp it while computing and serializing negative calc values for polygon().

MozReview-Commit-ID: 5uhLjoYmJEh

--HG--
extra : rebase_source : e314736bff61a4ea881ea0182fa1362fe621a1b2
2017-10-16 14:45:34 +08:00
Jeremy Chen
8bdfb7f337 Bug 1378368 - part1: do not always clamp negative calc values in SetCssTextToCoord. r=TYLin
nsComputedDOMStyle::SetCssTextToCoord() is a helper function for computing and
serializing a nsStyleCoord. In the current implementation, SetCssTextToCoord
implicitly clamp negative calc values, which is pretty non-trivial.

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

MozReview-Commit-ID: IOIhssjUldC

--HG--
extra : rebase_source : 44d9ff3a5fc20a869de356868688483aa28ecff8
2017-10-16 13:29:46 +08:00
Emilio Cobos Álvarez
63db5c2845 Bug 1408838: Remove -moz-physical-home-button system metric. r=xidorn
MozReview-Commit-ID: A7nZdj6GQtM

--HG--
extra : rebase_source : b721a9e21e935fdb08bb0b0342d447d89509986b
2017-10-16 08:57:59 +02:00
Emilio Cobos Álvarez
7d84c84a7a Bug 1408672: Test that hover quirk is handled properly during invalidation. r=heycam
MozReview-Commit-ID: 9PaVx2pP2HB
2017-10-16 08:39:29 +02:00
Ian Moody
727ac07173 Bug 1406211 - Add a reftest for animating opacity on a multiline inline element. r=dbaron
MozReview-Commit-ID: 9z25jLeauO5

--HG--
extra : rebase_source : 779dfd015ec47180e9728e033ca10550e38b5259
2017-10-09 16:28:54 +01:00
Hiroyuki Ikezoe
f987000e82 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

--HG--
extra : rebase_source : bde757fe5ae7efb9ed739d542ee92665e66da261
2017-10-15 09:56:17 +09:00
Hiroyuki Ikezoe
aa273f9a51 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

--HG--
extra : rebase_source : 4a87cbfdb6f069654bb2fe829824d45a7956f0f6
2017-10-15 09:56:17 +09:00
Emilio Cobos Álvarez
d7842232e2 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
831383d849 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
5fe1768dec Bug 1407952: Use stylo for Element::Closest. r=heycam
MozReview-Commit-ID: 3H2piFT2CfF
2017-10-14 14:04:39 +02:00
Sebastian Hengst
a46c92c8b7 Backed out changeset f66cb1530f75 (bug 1407952) for build failure (bug 1408622). r=backout a=backout
MozReview-Commit-ID: 3h4oDHbvmes

--HG--
extra : amend_source : 9e9e1bb348b7e2434f3388cf97580172348e769a
2017-10-14 12:32:50 +02:00
Sebastian Hengst
caf5b99a30 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8Qk2qoQvP0g
2017-10-14 11:49:31 +02:00
Kyle Machulis
1cc8b01353 Bug 1406224 - Remove nsIDOMHTMLImageElement; r=bz
MozReview-Commit-ID: GCATWRt6qMo

--HG--
extra : rebase_source : 29854f1374c6ad318da0b5b68be23507667c3be4
2017-10-06 13:27:23 -07:00
Sebastian Hengst
87626a0ece merge mozilla-central to autoland. r=merge a=merge 2017-10-14 00:02:17 +02:00
Sebastian Hengst
373bdd8602 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9adaYBJ4tlo
2017-10-13 23:37:41 +02:00
Joel Maher
eea6d0b9db 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
841f0f88b0 Bug 1407843 part 3 - Remove nsICSSPseudoComparator. r=heycam
MozReview-Commit-ID: Ct3zUoiSIA4

--HG--
extra : rebase_source : 4a415c13fe51d5cfbff0c9cd873f3100974da327
2017-10-13 13:50:04 +11:00
Xidorn Quan
22466ec8dd Bug 1407843 part 2 - Move tree pseudo matching code from nsTreeBodyFrame into nsCSSRuleProcessor. r=heycam
MozReview-Commit-ID: FyPhBLGX2qD

--HG--
extra : rebase_source : b401f41a6132be6ca4d438c97aa7e09865c94adb
2017-10-13 12:54:18 +11:00
Xidorn Quan
2215d24611 Bug 1407843 part 1 - Introduce a global-level AtomArray type alias. r=froydnj
MozReview-Commit-ID: DbGkWxkPfX7

--HG--
extra : rebase_source : 4f389d544bef98dccbfa694c1b821591bdae4103
2017-10-13 11:59:23 +11:00
Botond Ballo
b583982ae1 Bug 1402995 - Reflow scrollbars after partial reflow of scroll frame. r=tnikkel
MozReview-Commit-ID: 6ZuOkjfL1Jg

--HG--
extra : rebase_source : f3614cd3b4e0cfa5cd68534ac654f99e754fce1e
2017-10-04 13:19:13 -04:00
Brad Werth
e2ebeb47c1 Bug 1358299 Part 1: Stop collecting data for BOX_ALIGN_PROPS_IN_BLOCKS_FLAG probe. r=chutten
MozReview-Commit-ID: 5TLrGGtcdVD

--HG--
extra : rebase_source : 3e67868e1cb5a91ec80d21b1687ecc6cead74935
2017-10-13 12:43:40 -07:00
Sebastian Hengst
30598ec65d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-13 11:53:54 +02:00
Sebastian Hengst
1c1a5cef77 Merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5oI3jfNbQVt
2017-10-13 11:12:47 +02:00
vincentliu
1148a3f366 Bug 1407480 - Carry valid Rect when calling NotifyInvalidation() in layers-free mode. r=kats 2017-10-13 13:33:20 +08:00