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

51452 Коммитов

Автор SHA1 Сообщение Дата
James Graham 8bdb6331c6 Bug 1293250 - Make reftest log generation less magical, r=ahal
Ensure that the first line of the log for failing tests is identical to
one that would be produced by the tbplformatter from mozlog. This means
that treeherder will be able to sucessfully cross-match error lines.

Also make the data structures used for storing screenshots identical
between reftests and web-platform-tests so that we can start to move
toward removing the reftest-specific codepath here.

MozReview-Commit-ID: FZQXLjj9Ejv

--HG--
extra : rebase_source : 3e9bf70ff7915817b8c02032c8da0d0a659e4661
2016-08-08 17:48:39 +01:00
Masayuki Nakano 925390facb Bug 1286464 part.11 nsTextFrame::GetCharacterRectsInRange() shouldn't compute character rect at the first character in next nsTextFrame r=jfkthame
nsTextFrame::GetCharacterRectsInRange() handles a character at the end offset of its content as in it. However, it causes odd result when the caller wants first text rect in the next nsTextFrame. E.g., if end of query range is at the next nsTextFrame's first character, currently, it returns the last character as in same line.

So, it should stop handling next frame's first character as in it.

MozReview-Commit-ID: 7WteerisrZp

--HG--
extra : rebase_source : 97653f1ed04a6a03373cd53613d92aba45fbe38b
2016-07-21 16:24:37 +09:00
Masayuki Nakano e2ec5e1e8a Bug 1257446 part.3 nsTextFrame::GetCharacterRectsInRange() shouldn't call gfxSkipCharsIterator::AdvanceOriginal() before checking if the current offset has already been reached to the end for avoiding assertions r=jfkthame
New eQueryTextRectArray causes a lot of assertions in various automated tests. The cause is that nsTextFrame::GetCharacterRectsInRange() calls gfxSkipCharsIterator::AdvanceOriginal(1) at the end of the |for| loop *without* checking if the iterator has already reached to the end.

MozReview-Commit-ID: 3KFxA11uOUc

--HG--
extra : rebase_source : 407c47897cad8c2e4929ed1226073302faaecee2
2016-07-14 22:02:15 +09:00
Ravi Shankar 2cfc61be79 Bug 1291667 - Removed unused variant 'MozNone' from StyleUserSelect enum class; r=heycam,manishearth
MozReview-Commit-ID: 53dJd2GYUdt

--HG--
extra : rebase_source : 406d58b113d3044eb9f48b02fdd0168494c22847
2016-08-10 21:43:34 +05:30
Ravi Shankar 61b118d165 Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=heycam,manishearth
MozReview-Commit-ID: IcDt3XYvdlj

--HG--
extra : rebase_source : ea426ac572b6adfc09fd9440e45a0c26adde4373
2016-08-10 21:42:21 +05:30
Wes Kocher fa1a1180c4 Merge autoland to central, a=merge 2016-08-10 16:29:26 -07:00
Wes Kocher bd62f08814 Merge inbound to central, a=merge 2016-08-10 16:15:17 -07:00
Wes Kocher 46da1ae628 Backed out changeset cc88b920a387 (bug 1278957) for making browser_notifications.js permafail on linux64 debug a=backout CLOSED TREE 2016-08-10 15:36:45 -07:00
Carsten "Tomcat" Book 553a2da922 merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02:00
cku c493fc33a4 Bug 1277788 - Part 2. Correct mochitest. r=dbaron.
MozReview-Commit-ID: CI7W7rPwirf

--HG--
extra : rebase_source : 8e9d78e537a5af4f51294de701faa97b35c15b66
2016-08-10 20:32:08 +08:00
Sebastian Hengst 6ed5110691 Backed out changeset ff84b85aa1cb (bug 1291667) for asserting at nsRuleNode.cpp:1322 and failing mochitests and reftests. r=backout 2016-08-10 12:59:15 +02:00
Sebastian Hengst e0e540f8a9 Backed out changeset 4453b10529a2 (bug 1291667) 2016-08-10 12:58:24 +02:00
cku ed7978775a Bug 1277788 - Part 1. Set initial value of mask-position as center. r=dbaron.
MozReview-Commit-ID: BflQ6tz8ZjM

--HG--
extra : rebase_source : 01b05533f5c791da0987af81d5cca276ec36e3f0
2016-08-10 16:10:45 +08:00
Ravi Shankar 7d175e35ed Bug 1291667 - Removed unused variant 'MozNone' from StyleUserSelect enum class; r=heycam
MozReview-Commit-ID: 7VxjNbunHC8
2016-08-10 13:57:32 +08:00
Ravi Shankar 049a72eb4c Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=Manishearth,heycam
MozReview-Commit-ID: 2qBMmQrtuR9
2016-08-10 13:57:32 +08:00
cku 389791dcf1 Bug 1293929 - Part 2. add reftest. r=mstange
MozReview-Commit-ID: HcxfyVlyAkE

--HG--
extra : rebase_source : 406d607744c842070732cfa877a7f9d0b822bee8
2016-08-10 16:36:27 +08:00
cku b901e4d14a Bug 1293929 - Part 1. Treat unresolvable mask in svg frame as no-mask. r=mstange
MozReview-Commit-ID: IdiV5w9OrNF

--HG--
extra : rebase_source : 52ed8e68782685054207078a3bc1599398aba5c5
2016-08-10 15:52:38 +08:00
Carsten "Tomcat" Book 781af68024 Merge mozilla-central to autoland 2016-08-10 16:05:21 +02:00
Sylvestre Ledru 9b809e028f Bug 1294015 - Identical code for different branches in nsCSSRenderingBorders.cpp r=arai
MozReview-Commit-ID: DNwiCkUhWt6

--HG--
extra : rebase_source : b5bd7dcc59e7b57fc90e4c8557f6bcfd6382e433
2016-08-10 14:46:25 +02:00
Andrew Magdy ea762cae5a Bug 1293000 - Replace Iterator() with Object.entries() in layout/. r=bz
--HG--
extra : rebase_source : c0c04c2fcb0ddb8b6e36e12c993da4003c0e0f50
2016-08-09 16:40:28 +02:00
Jamie Nicol a2741d30bf Bug 1292856 - Don't cast scale to int in nsDisplayTransform::ShouldPrerenderTransformedContent; r=mstange
Casting the scale components to integers before multiplying meant that
nsDisplayTransform::ShouldPrerenderTransformedContent was incorrectly
calculating the scaled frame size. This was especially bad when scale <
(1.0, 1.0), as it would calculate a size of (0, 0), leading us to
prerender the frame even if it was too large.

Calculate the frame's size using floating point scale components so as
to avoid this problem.

MozReview-Commit-ID: KhbP8tJ8qYx

--HG--
extra : transplant_source : %E6%BD%80l%D9O%CE%B0%12%D8%94R%AB%C0%13%A0%E7%B9%01E
2016-08-09 14:55:45 +01:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Matt Woodrow 193414f9a8 Bug 1237102 - Make sure we don't generate invalidations for children of opacity:0 frames, even when plugins are present. r=tnikkel 2016-08-10 15:15:28 +12:00
Matt Woodrow 5c967cf2fc Bug 1237097 - Don't invalidate opacity:0 nsDisplayOpacity items. r=tnikkel 2016-08-10 15:12:27 +12:00
Bobby Holley cbb507cc3e Bug 1292278 - Zero-index the namespace manager URIs. r=bz
The current setup here tries to "save" an entry in the list by checking
for the "None" namespace everywhere and special-casing it. We can simplify
this a lot by just adding the empty atom to the beginning of the array,
which is the value that servo uses to represent "namespace none" anyway.
2016-08-09 15:28:41 -07:00
Lee Salzman dfa9fefa78 Bug 1278957 - enable Skia content for Linux and Android. r=mchang
MozReview-Commit-ID: KFb81rVM0ik
2016-08-09 15:56:28 -04:00
Wes Kocher e4976889e3 Backed out changeset 05bc24cabedf (bug 1278957) for pgo m(oth) failures 2016-08-09 11:44:12 -07:00
Ting-Yu Lin 6346d9e755 Bug 1293950 - Update mozilla wiki link in AccessibleCaret headers. r=mtseng
Change only comments so DONTBUILD (NPOTB).

MozReview-Commit-ID: 3UOtYyOxg3

--HG--
extra : rebase_source : 242ed41c006ce13c3f148a4d165f5c64f43b7cbb
2016-08-10 15:46:27 +08:00
cku 5ed26abff3 Bug 1269990 -Refuse to interpolate when animating between clip-path shape values that have different reference boxes. r=dholbert
MozReview-Commit-ID: JzWestyfGoT

--HG--
extra : rebase_source : 5507c15e8ea2488362f571fc63303d3003233a05
2016-08-08 18:13:42 +08:00
Ting-Yu Lin b8899e7e16 Bug 1293604 - Replace NS_STYLE_FLOAT_* with StyleFloat enum class. r=dbaron
MozReview-Commit-ID: 4K6TyIm6cs3

--HG--
extra : rebase_source : b6210815b7c03d5634fdddf8080a3da4e090d194
2016-08-09 17:32:54 +08:00
Sebastian Hengst d3e41806b5 Backed out changeset 40e95a2eb907 (bug 1291528) for many animation related crashes. r=backout 2016-08-09 16:56:30 +02:00
Sebastian Hengst f887eec24a Backed out changeset adc1960091eb (bug 1291528) 2016-08-09 16:55:59 +02:00
Carsten "Tomcat" Book c4b39a49eb Merge mozilla-central to mozilla-inbound 2016-08-09 15:47:44 +02:00
Carsten "Tomcat" Book d9e0b4c565 merge mozilla-inbound to mozilla-central a=merge 2016-08-09 15:44:51 +02:00
Edwin Flores 8289246c56 Bug 1291528 - Fix gradient scaling in nsCSSRendering::PaintGradient - r=mstange 2016-08-09 12:58:00 +01:00
Edwin Flores cb82279d40 Bug 1291528 - Add reftest to ensure that linear gradient drawing paths agree - r=mstange 2016-08-09 12:57:59 +01:00
Carsten "Tomcat" Book 1315140dfb Backed out changeset 33b8617a7233 (bug 1278957) for linux pgo reftest failures 2016-08-09 09:15:40 +02:00
Yura Zenevich 7d6abb5975 Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Wes Kocher 78ec753b6f Merge m-c to inbound, a=merge 2016-08-08 16:29:21 -07:00
Carsten "Tomcat" Book d83f1528db Merge mozilla-central to autoland 2016-08-08 12:04:33 +02:00
Wes Kocher d418284da4 Backed out 8 changesets (bug 1288626) for conflicting with bug 1291280, which merged to m-c first a=backout
Backed out changeset caee616ea09c (bug 1288626)
Backed out changeset eebda25d85cd (bug 1288626)
Backed out changeset 07e9cb8a46fd (bug 1288626)
Backed out changeset c5e4865819ff (bug 1288626)
Backed out changeset 74633b2735e0 (bug 1288626)
Backed out changeset 17f63bb7be11 (bug 1288626)
Backed out changeset 654556e45f5a (bug 1288626)
Backed out changeset be2c56decd65 (bug 1288626)
2016-08-08 16:19:30 -07: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
Lee Salzman bf9dba5653 Bug 1278957 - enable Skia content for Linux and Android. r=mchang
MozReview-Commit-ID: KFb81rVM0ik
2016-08-09 05:33:15 -04: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