Commit Graph

57979 Commits

Author SHA1 Message Date
Matt Brubeck
08a58f27a1 Bug 1367310 - Update stylo test expectations. r=xidorn
MozReview-Commit-ID: Kn79g3cfQTr

--HG--
extra : rebase_source : 71cea79f3198e1a1b467d3cfbf942ff4890b3f6a
extra : amend_source : 9849e17b3bf124d814d2d2ebe4e2bb64175ce5ac
2017-06-07 11:20:13 -07:00
Jeremy Chen
b8a683e820 Bug 1369624 - stylo: update test expectations for animation support of SVG fill-opacity.
MozReview-Commit-ID: 2kTuvdLAvCH
2017-06-08 13:58:39 +08:00
Boris Zbarsky
8ad4ba015d Bug 1371112 tests. r=emilio
MozReview-Commit-ID: 9YzRLX5CxyJ

--HG--
extra : rebase_source : b294b77b64e8dda6c0aabb9ea0994e4d33c70e91
2017-06-08 14:17:52 -04:00
bechen
5675a9f551 Bug 1371109 - Enable webm-video/poster-xxx.html . r=alwu
MozReview-Commit-ID: ArVBRmEjNaf

--HG--
extra : rebase_source : b5e0cff5a13bde3d9c808cbacbcbef69bed4e68b
2017-06-08 14:30:41 +08:00
Ting-Yu Lin
2923be5074 Bug 1290276 Part 8 - Update test expectations after implementing XBL <stylesheet> for stylo. r=heycam
Disable 461917-1.xhtml under dom/xul/crashtests/ because I cannot reproduce
it locally.

Annotate assert-if on some crashtests (bug 1370830). Other modifications are
all removal of fails-if.

MozReview-Commit-ID: 6Q2A5M5rOry

--HG--
extra : rebase_source : b282a919fcda6287fe2eaa6b139a11f2663ad578
2017-05-31 16:44:38 -07:00
Ting-Yu Lin
a8f560ec17 Bug 1290276 Part 7 - Restyle element and its descendant after loading XBL bindings. r=heycam
MozReview-Commit-ID: 1WiioW3xxMX

--HG--
extra : rebase_source : fd0820151911e7c1b69ed2524282ecbd72a42c57
2017-06-05 14:21:32 +08:00
Ting-Yu Lin
414fb7a11d Bug 1290276 Part 6 - Add FFI functions to allow various XBL data to be used from servo side. r=heycam
MozReview-Commit-ID: 9yG7xrXXuRn

--HG--
extra : rebase_source : 724c55fb8d424524e5408eead53d7b380197eff6
2017-06-05 14:00:27 +08:00
Ting-Yu Lin
ee880dc08d Bug 1290276 Part 4 - Make ServoStyleSet::RawSet() return a pointer. r=heycam
In next part, we'll use ServoStyleSet to host XBL stylesheets. The raw set
is not available until the resources are loaded, so it's easier to tell that
by checking whether the pointer is nullptr or not.

MozReview-Commit-ID: Hqydd55FPO9

--HG--
extra : rebase_source : 6df6c2666aea2ca8a8065d4f4d9b552ec7b3e6fe
2017-06-05 11:57:13 +08:00
Ting-Yu Lin
e2e9e98b3f Bug 1290276 Part 3 - Move nsStyleSet's call to SetBindingManager to PresShell::Init(). r=heycam
Delete the NS_WARNING because it's not needed once this bug is fixed.

MozReview-Commit-ID: Ht3ayjSvYW8

--HG--
extra : rebase_source : 457f011ac64fcd511ec2f15ea2b8ce24a88b0d84
2017-06-05 14:33:30 +08:00
Sylvestre Ledru
3e6209590d Bug 1372386 - Remove trailing whitespace r=dholbert
MozReview-Commit-ID: LHkoc2M25eP

--HG--
extra : rebase_source : 589086b7ae98733e9511ca76cd978c003a1f4f62
2017-06-13 10:53:02 +02:00
Olli Pettay
03c8a070c4 Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
--HG--
extra : rebase_source : b7248c5b45fe43eb733d73965a49c1cd69a1c72d
2017-06-06 20:41:34 +03:00
Morris Tseng
d4318aebd2 Bug 1354463 - Use precise range for fuzzy-if. r=kats
MozReview-Commit-ID: Cf0d2ZjCMHb
2017-06-09 10:21:21 +08:00
Jonathan Kew
55bcceba64 Bug 1370053 - Fix a couple of comment/variable-name typos in ResolveParagraph. r=smontagu 2017-06-07 09:42:53 +01:00
Jonathan Kew
e4bd6b69d2 Bug 1370053 - Don't do the empty-frame short-circuit in ResolveParagraph until after updating the current bidi run if necessary. r=smontagu 2017-06-07 09:42:52 +01:00
L. David Baron
53383e2d5c Bug 1369260 - Remove use of MOZ_ASSERT_IF in layout. r=heycam
As I've said before, as module owner I prefer that MOZ_ASSERT_IF not be
used in the module because I consider it to be unreadable.  However, a
few uses have crept in, and this patch removes them.

I consider it to be unreadable because the name looks like a name that
uses smalltalk-ish naming conventions, i.e., with a part of the name
corresponding to each parameter, in order.  However, the parameters are
in the order opposite the name.

This was written primarily with the vim commands:
:%s/MOZ_ASSERT_IF(\([^,]*\),/MOZ_ASSERT(!\1 ||/
:wn
followed by manual cleanup for indentation and removal of !!.

MozReview-Commit-ID: G6rLbOn7k8d
2017-06-06 22:27:17 -07:00
Phil Ringnalda
772debd9ae Backed out changeset 4524bfde8583 (bug 1361970) for failures in transform-3d/backface-visibility-3.html and transform-3d/opacity-preserve3d-1.html
CLOSED TREE

MozReview-Commit-ID: GmEmiedJYeX
2017-06-06 19:54:40 -07:00
Matt Woodrow
80c51057d4 Bug 1361970 - Make PostProcessLayers occlusion culling work against the surface we will draw to rather than the parent layer. r=mstange 2017-06-07 11:07:15 +12:00
Wes Kocher
bb1d061819 Merge inbound to central, a=merge CLOSED TREE
UPGRADE_NSS_RELEASE UPGRADE_NSPR_RELEASE

MozReview-Commit-ID: 2CXltQtu4Y1

--HG--
extra : amend_source : 16333c0fa5342dfbbb2a4ded71f94119a022e27b
2017-06-06 17:15:21 -07:00
Ryan VanderMeulen
6cb217315a Backed out 12 changesets (bug 1366502) for causing intermittent QuantumRender debug crashtest crashes on a CLOSED TREE.
Backed out changeset 42350bacb0bc (bug 1366502)
Backed out changeset 7f98b7f60e58 (bug 1366502)
Backed out changeset 265e39153027 (bug 1366502)
Backed out changeset cf598918bb1b (bug 1366502)
Backed out changeset e2f21ee861e5 (bug 1366502)
Backed out changeset f7fcc15d8f90 (bug 1366502)
Backed out changeset 22408b6a1ad1 (bug 1366502)
Backed out changeset 8846dac9ee35 (bug 1366502)
Backed out changeset d5225d81b832 (bug 1366502)
Backed out changeset 82f5a21b53a6 (bug 1366502)
Backed out changeset 2b20aebef47d (bug 1366502)
Backed out changeset 95f4d82e3d79 (bug 1366502)
2017-06-06 18:06:42 -04:00
Sebastian Hengst
ff1767bcb6 Backed out changeset f09499d7310c (bug 1359527) for Android bustage while processing gfx/2d/moz.build. r=backout 2017-06-06 18:40:32 +02:00
Sebastian Hengst
1545d39a00 Backed out changeset eb0fe335fbe5 (bug 1359527) 2017-06-06 18:39:50 +02:00
Mason Chang
2e836194b0 Bug 1359527 Part 2 Add D2D fuzzing for GPU Luminance. r=jrmuizel 2017-06-06 09:05:31 -07:00
Matt Brubeck
78af557ec8 Bug 1365163 - Remove pref layout.css.display-flow-root.enabled. r=mats
MozReview-Commit-ID: AA3tKHCQ5E0

--HG--
extra : rebase_source : 9a7b16043e4aff09a4997138a9016e2f7f791f58
2017-06-05 15:59:22 -07:00
Mason Chang
52834cd6f7 Bug 1359527 Part 1 Add DrawTarget::IntoLuminance. r=jrmuizel 2017-06-02 11:13:36 -07:00
Martin Robinson
7d937678f4 Bug 1365972 - Add initial WebRender support for nsDisplayFilter. r=rhunt, r=mattwoodrow 2017-06-06 06:28:00 -04:00
Manish Goregaokar
dfa9a07b17 Bug 1369277 - More reftest expectation updates; r=orange
MozReview-Commit-ID: DIipQabhnz1
2017-06-06 08:55:46 -07:00
Brad Werth
49ed79f4ce Bug 1369903 Part 3: Ensure that Loader enables all cloned stylesheets, and checks modified state of all stylesheets, regardless of backend. r=emilio
MozReview-Commit-ID: EEnFeaw2r0u

--HG--
extra : rebase_source : 1ff76aee934c6fe191105ce397c0e191e9802acb
2017-06-05 09:24:25 -07:00
Brad Werth
06dbc28572 Bug 1351117 Part 1: Change an assert on nsLayoutStylesheetCache::Shutdown into a warning, since it only notes that the cache was never used. r=heycam
MozReview-Commit-ID: 5dHMnjE8ufl

--HG--
extra : rebase_source : 0d251371af654882e3d83c8634fa6951d26da359
2017-06-05 13:57:36 -07:00
Manish Goregaokar
1d3666a615 Bug 1370458: Disallow floats, negative numbers, and long values in hashless color quirk; r=xidorn
MozReview-Commit-ID: FAwr9rgj58c

--HG--
extra : rebase_source : 4a8e77964d309afad78955a6f1a1c8b14bf06481
2017-06-05 23:47:30 -07:00
JerryShih
6c0b9a5735 Bug 1366502 - update reftest list. r=sotaro
We use gpu for yuv color conversion now. There are some precision problems in gpu path. Mark them fails-if and update the fuzzy-test value.

MozReview-Commit-ID: 6tunOCj3OHB
2017-06-06 19:18:40 +08:00
Sebastian Hengst
378d5b752d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-06 11:34:00 +02:00
Morris Tseng
c9eb1ea54c Bug 1367747 - Create nsDisplayTableBorderCollapse when there is collapse border to draw. r=mstange
MozReview-Commit-ID: 29g6HqAn0ej
2017-06-06 14:11:41 +08:00
Morris Tseng
6d15f6b294 Bug 1367747 - Create nsDisplayBorder when there are borders to draw. r=mstange
MozReview-Commit-ID: H5PYj8ErRto
2017-06-06 14:11:41 +08:00
Wes Kocher
b6e4ea3caa Backed out changeset 5450b06e79e5 (bug 1369910) for assertions in FrameLayerBuilder.cpp CLOSED TREE
MozReview-Commit-ID: 9m63lG6kj7B
2017-06-05 10:28:32 -07:00
Botond Ballo
724180965f Bug 1369910 - Simplify AddingOwnLayer() call sites in ProcessDisplayItems(). r=mstange
MozReview-Commit-ID: 3kH48WPAOv7

--HG--
extra : rebase_source : f0cf90be411a15e106457c06609c377082259af0
2017-06-02 16:43:33 -04:00
Ryan VanderMeulen
8ed23a6303 Merge m-c to autoland. a=merge 2017-06-05 12:00:22 -04:00
Ryan VanderMeulen
437c6330ef Merge m-c to inbound. a=merge 2017-06-05 09:37:38 -04:00
Ryan VanderMeulen
dd20f37563 Merge m-c to inbound. a=merge 2017-06-05 09:14:47 -04:00
Ryan VanderMeulen
0a3b9074de Merge inbound to m-c. a=merge 2017-06-05 09:12:18 -04:00
sotaro
e19a847326 Bug 1359993 - Reduce invalidation of video r=nical 2017-06-05 20:55:14 +09:00
Sebastian Hengst
e9ee226b01 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-05 11:08:00 +02:00
Sebastian Hengst
2abbd7e74c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: G0dLvIdtcAi
2017-06-05 11:05:49 +02:00
Dão Gottwald
8a952aed25 Bug 1367076 - Set datareporting.policy.firstRunURL by default to replace data choices infobar with privacy policy in a background tab on first run. r=Gijs
MozReview-Commit-ID: 9r5el0I2HrA

--HG--
extra : rebase_source : d5bc0f8a5dea60d4d3bbaaf5332d8f022693d381
2017-05-31 13:48:06 +02:00
Manish Goregaokar
7d791c9ebe Bug 1338486: Support implied parentheses in CSS.supports; r=xidorn
MozReview-Commit-ID: CUo371Hvj4T

--HG--
extra : rebase_source : ee80540522e959bdf6d7ec5bd5a45081dbd9a384
2017-06-04 03:45:05 -07:00
Sebastian Hengst
64def1c9bb merge mozilla-central to autoland. r=merge a=merge 2017-06-04 20:10:24 +02:00
Sebastian Hengst
4607d210e9 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8W8H7Bg9Tq6
2017-06-04 20:09:18 +02:00
Manish Goregaokar
6174719bca Bug 1347410: stylo: disable @viewport ; r=emilio
Firefox doesn't support @viewport, we shouldn't either.

MozReview-Commit-ID: BK1aXDFKjXg
2017-06-04 10:20:04 -07:00
Morris Tseng
c21547a6e4 Bug 1369141 - Add dirty rect intersection checks so that we don't build unnecessary table part display items. r=mstange
MozReview-Commit-ID: DoPptE60BD4
2017-06-04 14:42:11 +08:00
Sebastian Hengst
92499bc6cf merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-03 20:18:26 +02:00
Sebastian Hengst
5e4755df68 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +02:00
Mats Palmgren
d53b7949ed Bug 1367206 - Iterate the frame property list once to collect which child list properties we have. r=jfkthame
MozReview-Commit-ID: BHZTjYP4pJp
2017-06-03 19:25:56 +02:00
Cameron McCormack
3ca924f469 Bug 1367592 - Test. r=emilio
MozReview-Commit-ID: 1phGEZgyGcC

--HG--
extra : rebase_source : 7cdd5dc3b1b847373ba7c8d98b1c23ea4c611c81
2017-06-03 21:47:12 +08:00
Manish Goregaokar
a7423873bb Bug 1364009 - Fix windows bustage; r=bustage
MozReview-Commit-ID: 6es9eyF6KuJ
2017-06-03 19:45:06 -07:00
Timothy Nikkel
6c8d12a5d2 Bug 1354933. Add some asserts for document viewer teardown. r=mats 2017-06-03 01:31:12 -05:00
Botond Ballo
3b4f95ac59 Bug 1369828 - Fuzz native-theme/492155-4.html during stylo-vs-gecko comparison. r=mstange a=bustage
MozReview-Commit-ID: EgqzsLid5im

--HG--
extra : source : 60b41398d6c261f0906baa51014f6461a21d298b
2017-06-02 16:19:33 -04:00
Wes Kocher
0d038d6513 Merge autoland to m-c a=merge
MozReview-Commit-ID: Fjt5XIDd0p6
2017-06-02 17:21:39 -07:00
Manish Goregaokar
652a30c309 Bug 1364009 - Don't allow comments/spaces between signs,numbers,and n in an+b syntax for nth-child; r=dbaron
In the an+b syntax, this continues to allow comments and spaces like so:
` an + b `. It does not allow `a n+b`, or `- an+b` or `+ an+b` (and the
same for the `an-b` form). Similarly, it does not allow `- b` or `+ b`.

Additionally, it *does* allow `+/*comment*/n+b` or `-/*comment*/n+b`,
but not `+ n+b` or `-n+b`. This is specced; in this one case we
parse two tokens but do not allow whitespace in between.

MozReview-Commit-ID: INzFGeMPeK7

--HG--
extra : rebase_source : ca5bcf4034759823f79b9a925dc72998d8f0218b
2017-06-01 15:54:14 -07:00
Sebastian Hengst
b3c51a3e2d merge mozilla-central to autoland. r=merge a=merge 2017-06-03 20:16:49 +02:00
Andrew Swan
7656140373 Bug 1369525: Make sure reftests still run when legacy extensions are disabled r=jmaher
This won't be an issue until the 57 release but at that time, the
reftest extensions will only load if the extensions.legacy.enabled
preference is set to true and Cu.isInAutomation, which depends on
another preference, is true.  Set the appropriate prefs here for reftests.

MozReview-Commit-ID: JUWCPTsuJU

--HG--
extra : rebase_source : 042a5696d1926e7ca434a7c4213395176a080549
2017-06-01 21:18:33 -07:00
Sebastian Hengst
ee709cb070 Backed out changeset b7bcbc5c1b92 (bug 1369840) 2017-06-03 10:11:17 +02:00
Sebastian Hengst
2d70c955cc merge mozilla-central to autoland. r=merge a=merge 2017-06-05 11:06:54 +02:00
Brian Birtles
9092d60c75 Bug 1355349 - Update stylo test expectations; r=hiro
MozReview-Commit-ID: JeP6QSfSTIT

--HG--
extra : rebase_source : 80c6d66f392f57e471e36dc751ba9ad7bae1dcbd
2017-06-02 16:05:04 +09:00
Brian Birtles
01cd8b3017 Bug 1355349 - Add FFI for calling Servo's add and accumulate methods on animation values; r=hiro
MozReview-Commit-ID: CdkDjFBJ6Zn

--HG--
extra : rebase_source : 7a5781e4cd05fc845a9c1eebc0ec3665af8ddec4
2017-06-05 10:36:27 +09:00
Brian Birtles
3325a83ce8 Bug 1355349 - Use Servo's zero values to fill in missing SMIL animation endpoints; r=hiro
MozReview-Commit-ID: 3WLDIlfnJcD

--HG--
extra : rebase_source : c4392aeaa07e030c147610ca7f96fbda363c030a
2017-06-05 10:28:17 +09:00
Brian Birtles
89714ea97e Bug 1355349 - Get unanimated style in nsComputedDOMStyle::DoGetStyleContextNoFlush for Servo too; r=hiro
MozReview-Commit-ID: BPtpVfbQ5Kk

--HG--
extra : rebase_source : fc19db8c9acbdc57ca46144fd430365a4bcd1db5
2017-06-02 14:23:22 +09:00
Brian Birtles
49502ebb3d Bug 1355349 - Move calculation of pseudo type in nsComputedDOMStyle::DoGetStyleContextNoFlush; r=hiro
This patch just moves the calculation of the pseudo type earlier in the method
so we can re-use it in the next patch in this series to get the style context
from the Servo backend for the case where we don't need to resolve style.

This patch also renames the local variable from 'type' to 'pseudoType' since
that seems less ambiguous.

MozReview-Commit-ID: 6pi2F1vZYHJ

--HG--
extra : rebase_source : 1b9c610edbe4f07000b6cc2087f45dd04792228b
2017-06-02 14:21:32 +09:00
KuoE0
d441cb2448 Bug 1358993 - (Part 3) Call ServoStyleSheet::ReparseSheet in inDOMUtils::ParseStyleSheet. r=heycam
MozReview-Commit-ID: KRDBy8k4lHa

--HG--
extra : source : 57ed35189e19d5c2095b10b98e5a98b42c1e6979
2017-05-25 10:55:57 +08:00
KuoE0
abef3fc2bd Bug 1358993 - (Part 2) Add ServoStyleSheet::ReparseSheet function to collect reusable style sheets and clean up the child sheets of the parent sheet. r=heycam
MozReview-Commit-ID: CKqKFenXvVs

--HG--
extra : source : 09a4620de25d4cf792e4187fec26a600eb2da97d
2017-05-26 16:01:40 +08:00
KuoE0
1849d3641d Bug 1358993 - (Part 1) Make stylo support reusable style sheets. r=heycam
MozReview-Commit-ID: Fjo1TICAElx

--HG--
extra : source : a4b51beca797480e6489c80d18cb09a5fd757c99
2017-05-26 15:59:01 +08:00
Joel Maher
de3074eb5f Bug 1356144 - stylo: Intermittent css-import/445415-1a.xhtml - mark as random-if. r=gbrown
MozReview-Commit-ID: CEfOTSy0vd5
2017-06-02 15:32:45 -04:00
Kartikaya Gupta
748457c51a Bug 1252361 - Produce UNEXPECTED-PASS results for fuzzy tests that are overfuzzed. r=dbaron
This catches a common problem where somebody adds a fuzzy annotation on
a test to work around some minor differences. Later the differences go
away, but since the test harness doesn't catch that, nobody is the
wiser. Subsequently a "real" regression can reintroduce differences
which are hidden by the stale fuzzy annotations.

With this patch, if the annotations are set up properly, the test
harness will flag tests as "UNEXPECTED-PASS" when the differences go
away. This will require the patch author to reduce the allowed fuzziness
parameters, and will make it easier to catch subsequent regressions.

MozReview-Commit-ID: B3rGPFLXkCu
2017-06-02 09:28:33 -04:00
Kartikaya Gupta
5fec8bb434 Bug 1252361 - Modify the fuzzy and fuzzy-if reftest annotations to accept ranges as well. r=dbaron
This patch extends the "fuzzy" and "fuzzy-if" annotations so that they
accept a range of fuzziness values, much like the "asserts" and
"asserts-if" annotations. If the test produces differences that are
within the specified range, the test is considered as passing. Any
differences outside the ranges are considered failures. If the test is
marked as a "!=" test, then the opposite is true.

If the range given to "fuzzy" or "fuzzy-if" is a single value, it is
interpreted as being a range from zero to the specified value. This is
in contrast to "asserts" and "asserts-if" which match exactly the value
specified. The reason for this is mostly for backwards compatibility
with existing reftest annotation semantics.

MozReview-Commit-ID: 6qUU6FQ5mYP
2017-06-02 09:27:09 -04:00
Carsten "Tomcat" Book
c63e6d4789 Merge mozilla-central to mozilla-inbound 2017-06-02 14:32:35 +02:00
Carsten "Tomcat" Book
efccdfdb0a merge mozilla-inbound to mozilla-central a=merge 2017-06-02 14:22:17 +02:00
Ethan Lin
11fe93797f Bug 1358055 - Add webm reftest flags for webrender. r=pchang 2017-06-02 18:21:07 +08:00
Ethan Lin
ba7509a7c8 Bug 1358055 - Add reftest flags for background color layer to make try passed. r=kats 2017-06-02 18:21:07 +08:00
Ethan Lin
7f9c47efc3 Bug 1350792 - Add fuzzy-if for some svg and mask related reftest when turning on background color layer. r=mchang 2017-06-02 18:21:07 +08:00
Jet Villegas
5358af1fa7 Bug 1208197: Use addEventListener() in test_bug533845.xul to prevent raciness. r=smaug 2017-06-02 14:11:32 +09:00
Ethan Lin
4dbd75f39f Bug 1369264 - Part2. Add flags for some reftests to make try passed after enabling column rule layer. r=pchang 2017-06-02 11:55:11 +08:00
Ethan Lin
c0df57e679 Bug 1369264 - Part1. Enable column rule layer by default. r=pchang 2017-06-02 11:55:11 +08:00
Karl Tomlinson
b93dc1ac06 bug 1368607 remove unused nsCSSMapping r=dbaron
--HG--
extra : rebase_source : ff8c80ce33b9c2afe39b396c067fc40d23530f5d
2017-05-30 17:19:39 +12:00
Wes Kocher
b3dd4c68d9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5RAH1yS3Ebt
2017-06-01 17:31:41 -07:00
Wes Kocher
2b3f76f494 Merge inbound to central, a=merge
MozReview-Commit-ID: AWwXRG9NEWV
2017-06-01 17:26:55 -07:00
Emilio Cobos Álvarez
7ca8bf2c5e Bug 1369187: More expectation updates. r=emilio
MozReview-Commit-ID: I2p6NltNn5r
2017-06-01 23:23:49 +02:00
Ryan VanderMeulen
67ba905809 Bug 1362120 - Update Stylo test expectations. 2017-06-01 14:20:15 -04:00
Ryan VanderMeulen
9293b561a2 Merge m-c to autoland. a=merge 2017-06-01 16:44:19 -04:00
Emilio Cobos Álvarez
9419614252 Bug 1369187: Update expectations. r=emilio
MozReview-Commit-ID: Ea2lz4nqlBf
2017-06-01 22:19:34 +02:00
Emilio Cobos Álvarez
96f5484a9f Bug 1369187: Don't return an old style context for ::first-line and ::first-letter, but not crash either. r=bholley
This will make us reframe until fixed. It's not hard to fix, just requires to
discuss how :)

MozReview-Commit-ID: 1vlRUSuMqtp
2017-06-01 22:19:26 +02:00
Hiroyuki Ikezoe
14e0273b91 Bug 1367293 - Don't get parent style for GetComputedKeyframeValuesFor. r=birtles
MozReview-Commit-ID: 7WjsO7P2QGz

--HG--
extra : rebase_source : b9d2d672dd670f54174a5811c7d28efe268c0c4d
2017-06-02 09:38:54 +09:00
Hiroyuki Ikezoe
c875d87482 Bug 1367293 - Don't get parent style for ComputeAnimationValue. r=birtles
MozReview-Commit-ID: 4TskjmoKchD

--HG--
extra : rebase_source : ab70bae076380fea2bb84bdcb35adaae4aa07437
2017-06-02 09:38:46 +09:00
Hiroyuki Ikezoe
696f9294bb Bug 1367293 - Get parent style from the target element. r=birtles
We can get the parent style from element tree in servo side.
The parent style has been already restyled.
E.g.;
 When we get target element style with nsComputedDOMStyle::GetStyleContext,
 the function flushes styles so that the parent style has also
 restyled.

 When we call Servo_GetComputedKeyframeValues, it's called from a
 SequentialTask, that means all elements have been already restyled.

Unfortunately we can't assert that the parent style is not stale
to check the parent element has no dirty descendant bit since
Servo_GetComputedKeyframeValues is called in a SequantialTask
that is processed before post traversal, that means elements
still have the dirty bit to update nsStyleContext in the
post traversal.

MozReview-Commit-ID: AC2ZRyzk3eu

--HG--
extra : rebase_source : b0ae8b52bb2daca6e634b66ffdfd41ffc3fa7b86
2017-06-02 09:38:22 +09:00
Wes Kocher
fbabaaa37f Merge m-c to autoland, a=merge
MozReview-Commit-ID: AiJ1z1wSNbR
2017-06-01 17:33:49 -07:00
Manish Goregaokar
37576b1895 Bug 1346693 - Part 2: stylo: Use namespace ids for content: attr(..); r=heycam
MozReview-Commit-ID: HdIffUCLHIy
2017-06-01 16:39:23 -07:00
Manish Goregaokar
ece6c4231d Bug 1364286 - Update test expectations; r=xidorn
MozReview-Commit-ID: CaFY486fDmS
2017-06-01 16:26:00 -07:00
Jeff Hajewski
12f7c1e837 Bug 1369448 - Change NS_STYLE_WHITESPACE macro definitions to enum class; r=manishearth
MozReview-Commit-ID: HUXYWXk8eiI
2017-06-01 15:37:22 -07:00
Ryan VanderMeulen
3e5c098bdc Merge graphics to m-c. a=merge 2017-06-01 12:44:14 -04:00
Ryan VanderMeulen
a185080885 Merge inbound to m-c. a=merge 2017-06-01 11:54:38 -04:00
Kartikaya Gupta
f7afb5a21c Merge m-c to graphics, a=merge
MozReview-Commit-ID: COZj8Itgjcz
2017-06-01 09:56:23 -04:00
Kartikaya Gupta
b806c06bdb Bug 1367734 - Increase fuzz on a reftest due to changes in servo/webrender#1292. r=jrmuizel
MozReview-Commit-ID: 6gc49H6Vwob
2017-06-01 08:57:24 -04:00
Carsten "Tomcat" Book
972b7a5149 merge mozilla-inbound to mozilla-central a=merge 2017-06-01 13:50:56 +02:00
Ryan VanderMeulen
984edc2be4 Merge m-c to inbound. a=merge 2017-05-31 20:26:16 -04:00
Ryan VanderMeulen
b2f44e5181 Merge inbound to m-c. a=merge 2017-05-31 20:25:52 -04:00
Ben Kelly
779cb0682d Bug 1363829 P10 Make image map reftest wait for first paint before triggering focus/blur. r=dbaron 2017-05-31 17:13:19 -07:00
Ryan VanderMeulen
f805581511 Backed out changeset 4b82f58570e4 (bug 1368208) for 508816-1.xul failures on a CLOSED TREE. 2017-05-31 17:39:30 -04:00
Kartikaya Gupta
e4ec0de51e Merge m-c to graphics, a=merge
MozReview-Commit-ID: 2CUZPQ4s8xT
2017-05-31 08:07:53 -04:00
Carsten "Tomcat" Book
1a0d9545b9 merge mozilla-inbound to mozilla-central a=merge 2017-05-31 11:28:43 +02:00
Xidorn Quan
cbca30d199 Bug 1363292 followup - Update the test. r=dholbert
MozReview-Commit-ID: GRHi9GbkrnG

--HG--
extra : source : f5e7d976a591123ad311e5effb55fb09199495c3
extra : amend_source : ad26d786a91b8a26c1fe61cfad8f50bc7811b933
2017-05-31 16:29:51 +10:00
Dão Gottwald
2f2e121480 Bug 1368208 - Don't flush layout to determine whether scrollbox scroll buttons should be enabled/disabled. r=mconley
MozReview-Commit-ID: 1LG3GDBFArv

--HG--
extra : rebase_source : a8edf7c3d32d72f39f983f7f9f64c3d31a786031
2017-05-31 21:34:41 +02:00
Xidorn Quan
6a32fd7cbb Bug 1363292 - Have unprefixed linear-gradient accept zero as angle value. r=dholbert
MozReview-Commit-ID: GRHi9GbkrnG

--HG--
extra : rebase_source : 7ad75091673bd072cb31a930d57ada8a4cf8eab0
2017-05-29 14:28:19 +10:00
Xidorn Quan
e226b79b7c Bug 1368782 - Always use rule order for cascading child sheets. r=dbaron
MozReview-Commit-ID: IzEsMvzGqIm

--HG--
extra : rebase_source : a3880b2a16b5346593e40ed868f58e0ec605b5ff
2017-05-31 10:51:25 +10:00
Mason Chang
39305a1bbc Bug 1368190 - Enable outer box shadows with negative spread radius. r=rhunt 2017-05-26 12:49:07 -07:00
Kartikaya Gupta
e49fb92e99 Merge m-c to graphics, a=merge
MozReview-Commit-ID: IU4SJ95MVHH
2017-05-30 07:50:05 -04:00
Carsten "Tomcat" Book
b318c7dca7 merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
extra : amend_source : 458fd54fe8070ca3034ac441267ff7025adb5251
2017-05-30 11:37:46 +02:00
Kartikaya Gupta
b7ee577f62 Merge m-c to graphics, a=merge
MozReview-Commit-ID: 8IWAJNO52ry
2017-05-29 08:28:04 -04:00
Xidorn Quan
ac6cc1d36a Bug 1368418 part 3 - Remove nsCategoryImp. r=emk
MozReview-Commit-ID: 5qCoeqfM2s5

--HG--
extra : rebase_source : 6dc1693ce61bea4ec35469a3388c75a9fb64e5b3
2017-05-29 16:17:39 +10:00
Masayuki Nakano
5b4491bb2c Bug 1368408 Selection::SelectFrames() can assume that the result of nsRange::GetStartParent(), nsRange::GetEndParent() and nsIContentIterator::GetCurrentNode() never returns nullptr in it r=mats
Selection::SelectFrames() is an internal method of Selection, it always handles positioned range.  So, neither aRange->GetStartParent() nor aRange->GetEndParent() never returns nullptr.

Additionally, nsIContentIterator::GetCurrentNode() shouldn't return nullptr until IsDone() returns true.

MozReview-Commit-ID: 1IS4nMLukt

--HG--
extra : rebase_source : a4eee06580519adf2233f535abfdf50ac8730a19
2017-05-29 14:25:11 +09:00
Masayuki Nakano
3b818bdc60 Bug 1368397 part 4 - Rename Selection::setAnchorFocusRange() to Selection::SetAnchorFocusRange() r=mats
MozReview-Commit-ID: BhiGhxSAUbl

--HG--
extra : rebase_source : f47167119cace1bf313710b5e05c922e793e9df5
2017-05-30 13:26:09 +09:00
Masayuki Nakano
241b3fdf37 Bug 1368397 part 3 - Rename Selection::addTableCellRange() to Selection::AddTableCellRange() r=mats
MozReview-Commit-ID: 2koKrL8pyKT

--HG--
extra : rebase_source : c197e311eb2f30ee1c09c9e7b3734cebabd22f36
2017-05-29 13:31:11 +09:00
Masayuki Nakano
24f6ae8001 Bug 1368397 part 2 - Rename Selection::getTableCellLocationFromRange() to Selection::GetTableCellLocationFromRange() r=mats
MozReview-Commit-ID: 8P8Tq9u0xEz

--HG--
extra : rebase_source : fb8f0fd15334c08cc318bb45786181f669467b01
2017-05-29 13:11:57 +09:00
Masayuki Nakano
79dec39e8b Bug 1368397 part 1 - Rename Selection::selectFrames() to Selection::SelectFrames() r=mats
MozReview-Commit-ID: FaZeLqVwgOK

--HG--
extra : rebase_source : e9c87b48d89231cdd2bf6c942382a541e326ace7
2017-05-29 12:27:09 +09:00
Cameron McCormack
dd07264e50 Bug 1367647 - Test expectation updates. r=emilio
MozReview-Commit-ID: 8UEX25GCpJX

--HG--
extra : rebase_source : fb14632f58de7169ad0ef7a420b629eaeac152dd
2017-05-28 19:33:06 +08:00
Xidorn Quan
bbbd718f2c Bug 1341102 - Update test expectations.
MozReview-Commit-ID: C8hTU5S3Tgg

--HG--
extra : rebase_source : 98559841c5381589f06f09f0f5c31d7b7ed608f3
extra : amend_source : 031eb125fff71dbb1ae112e387e5c183c07c947d
2017-05-30 10:56:51 +10:00
Xidorn Quan
abe92a8de5 Bug 1352968 part 10 - Update test expectation. r=heycam
MozReview-Commit-ID: DAZz0vRIfkh

--HG--
extra : source : 7e4d56217e0b2ea883b3b803d44e95aca5342c48
2017-05-30 11:10:25 +10:00
Xidorn Quan
7b8459d725 Bug 1352968 part 9 - Notify document about rule insertion only if a rule doesn't have pending child sheet. r=heycam
MozReview-Commit-ID: 3ADpnJuhHXf

--HG--
extra : source : 17633a6e12bf4f9651d35ae0c40fa2b6bca2faa0
2017-05-30 11:10:25 +10:00
Xidorn Quan
1269699516 Bug 1352968 part 8 - Construct @import rule object eagerly. r=heycam
MozReview-Commit-ID: HrgZnW21dHz

--HG--
extra : source : cedc65c6376373d54e623dc5cfadaa2de92909cb
2017-05-30 11:10:25 +10:00
Xidorn Quan
a96cd2ac8a Bug 1352968 part 7 - Make RuleHasPendingChildSheet a static method of StyleSheet. r=heycam
MozReview-Commit-ID: HPJgsFftT6f

--HG--
extra : source : 1895bd31f6c88e1be8c710910dec6e773d1a233d
2017-05-30 11:10:25 +10:00
Xidorn Quan
59a754beda Bug 1352968 part 6 - Remove unused Servo_ImportRule_GetSheet. r=heycam
This function was initially added in bug 1304792, but its only usage was
later removed in bug 1352763.

The name conflicts with another function (which basically does the same
thing without refcount manipulation) I'm adding in a later patch, so I
have to remove it first.

MozReview-Commit-ID: 6fO4EDJUg7R

--HG--
extra : source : 3f7f683b64f42d22a09138cfe01d8ca42d435aa3
2017-05-30 11:10:25 +10:00
Xidorn Quan
a17c79bc30 Bug 1352968 part 5 - Add a param to ctor of ServoCSSRuleList for top level list. r=heycam
@import rules can only exist in top level rule lists, and we need the
stylesheet to construct the import rules.

MozReview-Commit-ID: APCyGW8re8f

--HG--
extra : source : b9b78672249f390d56d71fa46dfa4b4cd49ef182
2017-05-30 11:10:25 +10:00
Xidorn Quan
1b312ca843 Bug 1352968 part 4 - Change the direction of child stylesheet list. r=heycam
It seems no one actually care about the order of the list, and the order
is completely meaningless if the script insert new @import rules.

Changing the order makes inserting faster, and make it easier for later
patch to get the latest inserted child sheet.

MozReview-Commit-ID: 72eKqVoPbZ7

--HG--
extra : source : 6b2b471b993f33f9d06af01e4863cd6c5d34ce3a
2017-05-30 11:10:25 +10:00
Xidorn Quan
4f83161da8 Bug 1352968 part 3 - Add basic CSSOM support for @import rule. r=heycam
Initialization of mChildSheet will be implemented in a later patch.

MozReview-Commit-ID: 3SX3GJEhpBQ

--HG--
extra : source : e45a434d0e9d2e2d8c628b17c2074b8f5de4b1ee
2017-05-30 11:10:25 +10:00
Xidorn Quan
4daf3c74b9 Bug 1352968 part 2 - Move mOwnerRule to StyleSheet and use dom::CSSImportRule instead of css::ImportRule. r=heycam
MozReview-Commit-ID: DTAWGHIUAQX

--HG--
extra : source : 6e84cc987e02c932c95b79cebc89e9b49f22f86a
2017-05-30 11:10:25 +10:00
Xidorn Quan
ae513f0ff4 Bug 1352968 part 1 - Add separate CSSImportRule base class. r=heycam
MozReview-Commit-ID: 5h6dmij1elX

--HG--
extra : source : 5205d8d42a0f9e8f0c013c13a23cf5d85cc37f2f
2017-05-30 11:10:25 +10:00
Xidorn Quan
65bfd17373 Bug 1352968 part 0 - Fix up before adding new files. r=heycam
MozReview-Commit-ID: HSrROKVr1dD

--HG--
extra : source : b22cf2f1834994ee89503dfa1b394ff2ec4b81bb
2017-05-30 11:10:25 +10:00
Kartikaya Gupta
c3d1217b06 Merge m-c to graphics, a=merge
MozReview-Commit-ID: 91TVUCwwNt4
2017-05-26 08:28:53 -04:00
Nicholas Nethercote
da7ad06b3b Bug 1353998 - Start measuring Stylo style sheet memory usage. r=heycam.
--HG--
extra : rebase_source : 85f83566643e7b4c2276f0bf3fbb1a907f58fe0e
2017-05-30 11:03:51 +10:00
Geoff Brown
1afd12debb Bug 1157576 - Skip test browser_bug706743.js on e10s, again, for ongoing failures; r=me,test-only 2017-05-29 10:36:37 -06:00
Jeremy Chen
66780bc3e6 Bug 1340561 - fix comment for the re-enabled svg crashtest. comment-only, no review, DONTBUILD
This test has been re-enabled for stylo in bug 1342596, but the comment
is somehow left.

MozReview-Commit-ID: BDbJGSCz8io
2017-05-29 21:58:12 +08:00
Carsten "Tomcat" Book
f69c1db21b Merge mozilla-central to autoland 2017-06-01 13:57:22 +02:00
Emilio Cobos Álvarez
e5264cf2b4 Bug 1368986: Cleanup stylesheet copy-constructor. r=heycam
MozReview-Commit-ID: I8vUuJfET24

--HG--
extra : rebase_source : 239a5659871edcdfd1b41f3a5388d68cd70fb2d7
2017-05-31 13:12:33 +02:00
Brad Werth
a4e01c9fe2 Bug 1342289 Part 1: Generalize Loader to cycle collect all StyleSheets, not just CSSStyleSheets. r=heycam
MozReview-Commit-ID: 1kVim87GZIB

--HG--
extra : rebase_source : f4edf0c260908f1567ca7ddfdf86be55e38925cc
2017-06-02 15:40:37 -07:00
Ryan VanderMeulen
d6d4bcb282 Merge m-c to autoland. a=merge 2017-06-05 09:14:21 -04:00
KuoE0
535027fa9e Bug 1358993 - (Part 3) Call ServoStyleSheet::ReparseSheet in inDOMUtils::ParseStyleSheet. r=heycam
MozReview-Commit-ID: KRDBy8k4lHa

--HG--
extra : rebase_source : f5b6c7abfb2b269cb90ae375e5ad54df2ef9f514
2017-05-25 10:55:57 +08:00
KuoE0
3a2a7237d4 Bug 1358993 - (Part 2) Add ServoStyleSheet::ReparseSheet function to collect reusable style sheets and clean up the child sheets of the parent sheet. r=heycam
MozReview-Commit-ID: CKqKFenXvVs

--HG--
extra : rebase_source : 43ba441c9d336590af9c91a5c49924ea7101a69b
2017-05-26 16:01:40 +08:00
KuoE0
2137da5244 Bug 1358993 - (Part 1) Make stylo support reusable style sheets. r=heycam
MozReview-Commit-ID: Fjo1TICAElx

--HG--
extra : rebase_source : ffa47efdcec924fe8ab4f209469ad13c6f7a7c80
2017-05-26 15:59:01 +08:00
Ryan Hunt
66462a04c7 Bug 1365495 - Let WebRender premultiply gradient stop colors r=jrmuizel
WebRender now expects a non-premultiplied gradient stop color in the API.

--HG--
extra : amend_source : a1e80f703962ef0215c33fb8d61a123b45d4c994
2017-05-18 20:30:15 -04:00
Kartikaya Gupta
07aa8387a0 Merge m-c to graphics, a=merge
MozReview-Commit-ID: 3cEYFBtGvTZ
2017-05-25 08:06:56 -04:00
Kartikaya Gupta
d29002d64b Merge m-c to graphics, a=merge
MozReview-Commit-ID: 2pUMxaNAKCC
2017-05-24 08:14:30 -04:00
Sebastian Hengst
795da9ebf8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HGZE1dfSDNK
2017-05-24 11:25:03 +02:00
Mason Chang
c2bb4bc060 Bug 1366866 - Part 2 - Reftest fuzzing for webrender inset box shadows. r=rhunt 2017-05-23 11:08:53 -07:00
Mason Chang
5040d43ad7 Bug 1366866 - Enable inset box shadows with negative offsets. r=rhunt 2017-05-23 11:08:10 -07:00
Ryan VanderMeulen
22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Xidorn Quan
399614af08 Bug 1363968 - Change how counter-{reset,increment} is parsed to align serialization of specified value with Servo and Blink. r=heycam
This also includes a small fix to manifest of the affected mochitest.

MozReview-Commit-ID: 1b8lba5JiHr

--HG--
extra : rebase_source : e435160f2e20b8cd4954ae5536c800dcddde33d4
2017-05-23 13:28:47 +10:00
Xidorn Quan
918f0728dc Bug 1366735 part 3 - Remove SetCounterStyleDirty. r=heycam
When the counter style in the style struct changes, CalcDifference
would return ReconstructFrame, which should cause corresponding use
node to be reconstructed. That means a use node with retired counter
style should always be destroyed in the next flush, so it makes no
sense to reset them anymore.

However, we would still need to mark counter lists dirty because
otherwise their content may not get update when there are changes to
counter styles which are still valid.

MozReview-Commit-ID: FnBPx81StzG

--HG--
extra : rebase_source : 2adf7b64484746a5f416b7902df2ac718a3fdeab
2017-05-23 10:08:50 +10:00
Xidorn Quan
46dd59904a Bug 1366735 part 2 - Use the new struct in stylo. r=heycam
MozReview-Commit-ID: trgd0lKLP1

--HG--
extra : rebase_source : 8216769c7ee2a323d2af2080dd97cac3489af82d
2017-05-23 00:32:05 +10:00
Xidorn Quan
1dd9b6bad1 Bug 1366735 part 1 - Change counter functions to use struct rather than nsCSSValue::Array. r=heycam
MozReview-Commit-ID: 4FiOxCOsjtD

--HG--
extra : rebase_source : 0a2ef777045603fe591ba3a74259699a2339cede
2017-05-22 22:51:20 +10:00
Xidorn Quan
a62f163117 Bug 1362255 - Import CSS tests from web-platform-tests. r=dbaron
MozReview-Commit-ID: CmfDYDWHzD9

--HG--
extra : source : d337ec3b65cedbe11116718341af2b7ac9b69c2f
2017-05-24 09:56:29 +10:00
Ryan VanderMeulen
27fd4cc7e2 Merge inbound to m-c. a=merge 2017-05-23 18:11:35 -04:00
Timothy Nikkel
c8ba76db41 Bug 1366875. Apply the same sync decoding heuristic to SVG <image> as we do to HTML <img>. r=mats
--HG--
rename : layout/svg/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.h
2017-05-23 14:11:13 -05:00
Xidorn Quan
50097c0cfe Bug 1341102 - Update test expectations.
MozReview-Commit-ID: EM8FcemDFMR
2017-05-25 09:18:28 +10:00
Jonathan Watt
74330c66d6 Bug 1365926, part 2 - Always allow the 'context-fill-opacity'/'context-stroke-opacity' keywords in SVG 'fill-opacity'/'stroke-opacity'. r=heycam
MozReview-Commit-ID: KPYtjwECRHH
2017-05-18 19:10:42 +01:00
Cameron McCormack
d790c15258 Bug 1368617 - Ensure continuing text frames for floating ::first-letters will inherit from a ::first-line. r=dbaron
MozReview-Commit-ID: 4plrZYMZ8S4

--HG--
extra : rebase_source : d7d03d8f61060f019a574e1c4c126a9c238f8a5f
2017-06-02 16:49:56 +08:00
Jonathan Watt
2642ec495c Bug 1365926, part 1 - Support 'context-fill-opacity'/'context-stroke-opacity' as SVG-as-an-image context properties. r=heycam
MozReview-Commit-ID: 2YHjwCB02jV
2017-05-18 12:47:20 +01:00
Lee Salzman
a025094cbf Bug 1305036 - implement nsDisplayTextOverflowMarker::GetComponentAlphaBounds to handle ellipsis with subpixel AA. r=mstange
MozReview-Commit-ID: Bedd3JIvzKy
2017-06-01 17:08:54 -04:00
Boris Zbarsky
86f4888c39 Adjust stylo test expectations now that we've fixed the flags for the 'contain' property. No bug.
MozReview-Commit-ID: AP0ecb6KSX7
2017-05-23 21:49:10 -04:00
Manish Goregaokar
4f4bcfd98c Bug 1366914 - Remove pref layout.css.background-clip-text.enabled; r=dholbert
MozReview-Commit-ID: 6XibTM1f1Rh

--HG--
extra : rebase_source : 4cc99452c8e5f1811d995735f2d6139581cba0ce
2017-05-22 18:57:21 -07:00
Hiroyuki Ikezoe
a697f23b96 Bug 1367283 - Update reftest expectation. r=me
MozReview-Commit-ID: 2OJRTAUDGIH
2017-05-30 07:10:03 +09:00
Mantaroh Yoshinaga
b870a62ef9 Bug 1367981 - Use AutoTArray instead of nsCOMArray in Tick(). r=smaug
MozReview-Commit-ID: 48baDUvkTMc

--HG--
extra : rebase_source : c389059395ed2b8bb02b657953299dfd39b71b89
2017-05-26 16:22:34 +09:00
Emilio Cobos Álvarez
2686efa296 Bug 1357583: Test. r=heycam
MozReview-Commit-ID: BbMf3wcS6Pj
2017-05-29 23:01:55 +02:00
Emilio Cobos Álvarez
0eea23decf Bug 1357583: Tidy the PostRestyleEventForCSSRuleChanges API. r=heycam
MozReview-Commit-ID: BtOWWC5knsi
2017-05-29 23:01:50 +02:00
Emilio Cobos Álvarez
3793cca046 Bug 1357583: style: Hook up the invalidator in the StyleSheetSet. r=heycam
MozReview-Commit-ID: IhgKAovTJMX
2017-05-29 23:01:43 +02:00
Emilio Cobos Álvarez
70f72b8f56 Bug 1357583: Ensure we send the document element to Servo when flushing stylesheets. r=heycam
We'll use it to invalidate stuff.

MozReview-Commit-ID: Il3wO5JQh1Y
2017-05-29 23:01:37 +02:00
Emilio Cobos Álvarez
a9f348149b Bug 1357583: Remove ServoStyleSheet::ClearRuleCascades. r=heycam
These invalidations are already handled from the PresShell notifications, no
need to handle it somewhere else.

MozReview-Commit-ID: G9KDVvSKMJY
2017-05-29 23:01:26 +02:00
KuoE0
1ef85c4cf5 Bug 1367984 - Refactor LoaderReusableStyleSheets to accept StyleSheet to support both of CSSStyleSheet and ServoStyleSheet. r=heycam
MozReview-Commit-ID: 8scCs4avrCf

--HG--
extra : rebase_source : 19e928838c48211ed9deff7c2d8870dc770e4459
2017-05-15 15:55:08 +08:00
Botond Ballo
539791ed1e Bug 1367488 - Pre-render offscreen portions of scrollbar thumbs inside an iframe. r=mstange
MozReview-Commit-ID: LCBHnFJdGtp

--HG--
extra : rebase_source : 1ab1d812674d321d76e634953284b3983774d798
2017-05-29 18:05:05 -04:00
Ryan VanderMeulen
de281f5bba Merge m-c to autoland. a=merge 2017-06-02 11:11:13 -04:00
Carsten "Tomcat" Book
5fba38b977 Merge mozilla-central to autoland 2017-06-02 14:33:40 +02:00
Emilio Cobos Álvarez
969ed358ae Bug 1369198: Update reftest expectations. r=emilio
MozReview-Commit-ID: HH33Gi6NP4O
2017-06-02 13:56:42 +02:00
Ryan VanderMeulen
2466d57caf Merge m-c to autoland. a=merge 2017-05-25 21:48:59 -04:00
Xidorn Quan
3b374af61d Bug 1341102 - Update reftest expectations after servo/servo#17041.
MozReview-Commit-ID: 7PzklCUmYpU
2017-05-26 11:47:13 +10:00
Ryan VanderMeulen
ac35891cc9 Merge m-c to inbound. a=merge 2017-05-25 16:35:51 -04:00
L. David Baron
9d25ba2b78 Bug 1367413 - Fix assertion that can occur when paginating abs-pos elements with a transform. r=mats
I confirmed that the test crashes in the crashtest harness without the
patch (although the harness doesn't exit!), whereas it passes with the
patch.

MozReview-Commit-ID: 37S6i1kvw37

--HG--
extra : transplant_source : %9F%A91%90%3F%93%1F%E5%B3%ACHf%8C%BD%BA%C9%12%97%83I
2017-05-25 16:21:20 -04:00
Boris Zbarsky
3119ff4e5e Bug 1364360 part 1. Make Element::GetScrollFrame follow the spec more closely in the quirks mode case. r=ehsan 2017-05-25 13:39:44 -04:00
Ryan VanderMeulen
0635a6f864 Merge m-c to inbound. a=merge
CLOSED TREE
2017-06-01 12:48:15 -04:00
Ryan VanderMeulen
7cd15bf6b8 Merge m-c to inbound. a=merge
CLOSED TREE
2017-06-01 12:12:30 -04:00
Jonathan Kew
9593c3715f Bug 1369355 - Simplify nsIFrame::GetOverflowAreasProperty, as callers already know whether a property is present. r=mats 2017-06-01 15:34:46 +01:00
Matt Brubeck
d8c5e6208c Bug 1363639 - stylo: Make interpolation of rect() match Gecko. r=emilio
MozReview-Commit-ID: GKLuA9JeOmz

--HG--
extra : rebase_source : 76b1ac38924088eb4b48c30b32ffa39bb311f5b0
2017-05-23 11:23:11 -07:00
J. Ryan Stinnett
c481d736bc Bug 1328509 - Enable visited tests for Stylo. r=emilio
MozReview-Commit-ID: HnbVmwMMCMO
2017-05-25 10:13:27 -05:00
J. Ryan Stinnett
3041171150 Bug 1328509 - Wire up visited values in ServoStyleSet::GetContext. r=emilio
Create an extra style context using the visited values (if they exist).  This
mirrors the logic Gecko performs in nsStyleSet::GetContext for visited support.

MozReview-Commit-ID: EiJQXDgz8tX
2017-05-25 10:13:23 -05:00
J. Ryan Stinnett
226671a98b Bug 1328509 - Add visited pseudo crashtests. r=emilio
Rename and duplicate a crashtest to better cover each variation of a single
:link or single :visited style on a pseudo-element.

MozReview-Commit-ID: JMFXD7nk9fH
2017-05-25 10:12:04 -05:00
J. Ryan Stinnett
e1b39c2e80 Bug 1328509 - GetContentStateForVisitedHandling can access state directly. r=dbaron
While studying `GetContentStateForVisitedHandling` for adaptation to Stylo, I
noticed it calls through to `GetContentState`, which depends on external state
such as private browser, etc.

However, there's no need to call `GetContentState` here since this function
always clears both unvisited and visited if either is set.

MozReview-Commit-ID: JLwKnowQbJ2
2017-05-25 10:12:01 -05:00
Emilio Cobos Álvarez
5c6703111a Bug 1367553: Avoid import hell in StyleSheet.h. r=emilio
MozReview-Commit-ID: DR4xURkcFcA

--HG--
extra : rebase_source : 0e72cfcc678ede7c2d645a7a618fe593cfbaa55d
2017-05-25 16:11:13 +02:00
Emilio Cobos Álvarez
69601ee10e Bug 1367553: Provide the kind of change that the stylesheet suffered to RecordStyleSheetChange. r=heycam
I plan to use it for now to force a full document restyle when a standalone rule
changes or something like that.

In practice, we can do better sometimes, and we may just want to propagate to
the StyleSet all the style change notifications in order to have access to the
rule that changed and all that...

But for now this seemed easier than adding other four or five functions to
StyleSetHandle.

MozReview-Commit-ID: 2BEIliGu4mO

--HG--
extra : rebase_source : 386a1b9fe5ffc5fefbf20678068573ea195043f0
2017-05-24 04:28:58 +02:00
Emilio Cobos Álvarez
d4ee389879 Bug 1367553: Move dirty style tracking to the StyleSet. r=heycam
MozReview-Commit-ID: 2ut8SAwNGN2

--HG--
extra : rebase_source : d9f7d7f1da7b38e595021795ee902e63746c8161
2017-05-24 02:53:08 +02:00
Jonathan Watt
6304f10a68 Bug 1362120 - Always allow the 'context-fill'/'context-stroke' keywords in SVG <paint>. r=heycam
MozReview-Commit-ID: 2xY2NS4u8P0
2017-05-09 09:36:09 +01:00
Brad Werth
9f3994b7ed Bug 1355675 Part 1: Add optional inCSSUnits parameters to GetTransformMatrix and GetTransformToAncestor. r=mattwoodrow
MozReview-Commit-ID: EA5uqeoUWE3

--HG--
extra : rebase_source : d57f895a356dfa106cf99c1411216f05b0914620
2017-05-30 09:05:52 -07:00
Brad Werth
8a0f2a38fa Bug 1367610 Part 1: Re-enable layout/reftests/stylesheet-cloning/supports-rule-clone.html on stylo builds. r=heycam
MozReview-Commit-ID: BPyfw8k7evG

--HG--
extra : rebase_source : bdb255bd6fa9ac8f6aca7b55d6fce58231da2ce4
2017-05-30 13:06:00 -07:00
Ryan VanderMeulen
b9fe830aa0 Merge inbound to m-c. a=merge
CLOSED TREE
2017-05-31 14:32:55 -04:00
Ethan Lin
054093eb1e Bug 1366984 - Fix image container check for background image layer. r=mattwoodrow
--HG--
extra : source : 14a2665a64f6e78b7c470a3eb0635e491660955a
2017-05-31 14:01:28 +08:00
Ryan VanderMeulen
017d00381d Backed out changeset 14a2665a64f6 (bug 1366984) for causing Windows Talos failures on a CLOSED TREE. 2017-05-31 13:03:41 -04:00
Carsten "Tomcat" Book
eb742c507d Merge mozilla-central to mozilla-inbound 2017-05-31 14:23:37 +02:00