58118 Commits

Author SHA1 Message Date
Kartikaya Gupta
2fd3eabe2c Bug 1373381 - Update reftest annotations from changes in WR cset fc758aa. r=Gankro
MozReview-Commit-ID: DEmTtqSXhWF

--HG--
extra : rebase_source : ecc5dc14de82fbc4064ade2f5fd9890bf7af2e3b
2017-06-20 09:39:00 -04:00
Andrew Halberstadt
f67d4de397 Bug 1372922 - Don't log suite_start a second time in reftest if recovering from a crash, r=jmaher
MozReview-Commit-ID: 45lYTfrCyxN

--HG--
extra : rebase_source : 1398191fdff646133bb5064025c0f97192ef3071
2017-06-14 12:10:10 -04:00
Xidorn Quan
e98d75a60e Bug 1374625 - Null-check result from GetTextRun in nsRubyBaseContainerFrame. r=jfkthame
MozReview-Commit-ID: CfXYCJ7wpj

--HG--
extra : rebase_source : 3a5040e597ac2a1ac714eb5e1f5da60fdc9b4115
2017-06-20 23:00:26 +10:00
Morris Tseng
9867c992a2 Bug 1370908 - Bump fuzzy value due to webrender bug. r=kats
MozReview-Commit-ID: D3dUTk0LzhD

--HG--
extra : rebase_source : 47adeab5a34519e783d3e45df1cc2bfbafb79076
2017-06-20 10:59:54 +08:00
Cameron McCormack
0ce89916ce Bug 1371130: Test. r=emilio
MozReview-Commit-ID: 7SSk73YoUsX
2017-06-20 14:25:06 +02:00
Emilio Cobos Álvarez
d3cf99dfe5 Bug 1371130: Remove a few unused FFI functions. r=heycam
MozReview-Commit-ID: 57Mu3lALJzm
2017-06-20 14:25:05 +02:00
Emilio Cobos Álvarez
1ffa4c98ce Bug 1371130: expose methods to get ::before, ::after, and the other NAC pseudos. r=heycam
MozReview-Commit-ID: JVeQevmjI3j
2017-06-20 14:24:59 +02:00
Ting-Yu Lin
8fde759b42 Bug 1372062 - stylo: update reftest expectations. r=heycam
MozReview-Commit-ID: 4GWvLVvXOzj

--HG--
extra : rebase_source : 2428cf20f774517f7010e2e84c3777da9cd90af8
2017-06-19 21:59:21 +08:00
Mantaroh Yoshinaga
a7a27655d4 Bug 1366934 - Remove validation of transitioncancel/animationcanel event order tests. r=hiro
The animationcancel and transitioncancel is not absolute order when elapsed time
of siblings cancel event is same. So we will not need to check the order of
cancel events.

MozReview-Commit-ID: 8fiwgcvTlwE

--HG--
extra : rebase_source : 055c4d47554753f79d17eae563dea1ff6636e60b
2017-06-20 14:31:41 +09:00
cku
e3fbcec1af Bug 265894 - Part 9. Selectors should not cross use-element shadow tree boundary. r=heycam
MozReview-Commit-ID: 9xrZ5938FRV

--HG--
extra : rebase_source : 4bf4fc35091db868a2908ad5a8c4589e82fd29f7
2017-06-14 23:06:30 +08:00
cku
fcb007d125 Bug 265894 - Part 8. Implement -moz-use-shadow-tree-root pseudo class. r=heycam
The spec said:
The generated instance of a ‘symbol’ that is the direct referenced element of a
‘use’ element must always have a computed value of inline for the display
property. In other words, it must be rendered whenever the host ‘use’ element is
rendered.

We use -moz-use-shadow-tree-root pseudo class to achieve this requirement.

MozReview-Commit-ID: 1ReJjmjxq6G

--HG--
extra : rebase_source : b4d267792dd6d69f7d5336c5ed33a0fc60e97b9e
2017-06-14 22:51:56 +08:00
cku
5719863244 Bug 265894 - Part 7. Do not convert symbol element into svg element. r=heycam
Since we already have nsSVGSymbolFrame, there is no need to leverage svg element
for rendering symbol element in use-element shadow tree, remove conversion code.

MozReview-Commit-ID: GmGLZ7Az6Gb

--HG--
extra : rebase_source : 897a1fb7b34bb3aa3babe99b7199e7f002d59e6b
2017-06-14 21:57:09 +08:00
cku
c0d6329f0c Bug 265894 - Part 6. Create symbol frame in nsCSSFrameConstructor. r=heycam
MozReview-Commit-ID: LgO1WKo46Pu

--HG--
extra : rebase_source : 291aaeddb7162bfa69384fb02a8fd9ba16fb59d5
2017-06-14 21:53:34 +08:00
cku
48694e2258 Bug 265894 - Part 5. Implement nsSVGSymbolFrame to layout symbol element. r=heycam
MozReview-Commit-ID: 6TTVvFgsRsQ

--HG--
extra : rebase_source : eae070036a70781b2cd80566eb572676e96ee9c2
2017-06-14 21:40:59 +08:00
cku
e6c91df011 Bug 265894 - Part 3. Implement nsSVGViewportFrame, and let nsSVGInnerFrame inherit from it. r=heycam
MozReview-Commit-ID: 9lME1xiNhhY

--HG--
extra : rebase_source : 11fdaa7b21f4647a7ce6b8834b43504977bc58a8
2017-06-14 21:05:37 +08:00
cku
f9701e84eb Bug 265894 - Part 2. Implement SVGViewportElementBase, and let SVGSVGElement inherit from it. r=heycam
MozReview-Commit-ID: I6BIgEMhN6Q

--HG--
extra : rebase_source : 8e0e18914fc061532e853d2d3347e924d244b212
2017-06-14 20:38:10 +08:00
Boris Chiou
2848ef01fc Bug 1369625 - Add reftest for stop-color and flood-color. r=dholbert
We use IntermediateRGBA for {stop|flood|lighting}-color, so add these
two reftests to make sure that IntermediateRGBA works on Servo backend
for css-parser::RGBA type.

MozReview-Commit-ID: E8BTri47UJb

--HG--
extra : rebase_source : 4f6105c75256a27bc82bad80f37303dfa38729dc
2017-06-16 00:55:27 +08:00
Boris Chiou
8503c49d32 Bug 1369625 - Update reftest list for SMIL animations. r=hiro
MozReview-Commit-ID: G7KIrQzklbs

--HG--
extra : rebase_source : cfd21792e10b6ac2a67f062a9c0b757229d523a2
2017-06-15 10:32:39 +08:00
Ting-Yu Lin
388f44a509 Bug 1374541 - Enable reftest from-range-to-other-type-unthemed-1.html. r=shinglyu
MozReview-Commit-ID: Io5nmyfDvt8

--HG--
extra : rebase_source : 28c789cc3e81173d59533731ff072c3b7f049509
2017-06-20 12:04:42 +08:00
Cameron McCormack
db6c659456 Bug 1373874 - stylo: Clear Servo data from NAC created by position:fixed replicated frames too. r=bz
We don't need the call to ClearServoDataFromSubtree in
nsDocumentViewer::SetPageMode because the pres shell destruction
will call BeginShutdown on the style set, which will do it for us.

MozReview-Commit-ID: ErSAyr3l0wm

--HG--
extra : rebase_source : 509a0dc58a452f27a87d9b564074d687059f2f69
2017-06-18 17:57:55 +08:00
Hiroyuki Ikezoe
52c50332ed Bug 1356141 - Skip print-no-animations.html. r=birtles
reftest-print mode for animations does not work well yet.
We will handle it in bug 1374154.

MozReview-Commit-ID: GUGSEE4VJwQ

--HG--
extra : rebase_source : fd8ee42fd26fc6caaaded7bbaed69188f6005896
2017-06-20 06:31:02 +09:00
Hiroyuki Ikezoe
ade75cf304 Bug 1356141 - Don't traverse any elements that needed only for animation-only restyles in normal traversal. r=heycam
Before this patch, we were setting the dirty descendants bit in animation-only
restyles and it triggered unnecessary traversal for elements that does not need
the traversal (i.e no need selector matching).

MozReview-Commit-ID: 6pmF3ojVzgb

--HG--
extra : rebase_source : 5d83b203d4f5121c648be903165a0e9c77ca4a0c
2017-06-20 06:30:48 +09:00
Xidorn Quan
27b5e819e7 Bug 1373484 - Drop all reference to StyleSheet when last strong reference is dropped. r=bz
MozReview-Commit-ID: 2RrNZDIjx3s

--HG--
extra : rebase_source : b9b89aba8d1aa31e91d1cc90e63a9b056dd34ea8
2017-06-19 10:15:49 +10:00
Emilio Cobos Álvarez
14f9336d4e Bug 1373559: Test that removed import rules no longer apply to the document. r=xidorn
MozReview-Commit-ID: 9ERy2DV51RE

--HG--
extra : rebase_source : dd9254adecf86df5e1ba16594f7b194745300ff2
2017-06-17 02:36:43 +02:00
Boris Zbarsky
bb957aa6c9 Bug 1373798 part 5. Use the new "dir" attribute pseudoclasses in html.css. r=emilio
MozReview-Commit-ID: AdxjsDBpbZs
2017-06-19 23:25:00 -04:00
Boris Zbarsky
5b35706061 Bug 1373798 part 4. Add pseudo-classes for matching on the "dir" attribute states. r=emilio
MozReview-Commit-ID: pBbCiKKvi8
2017-06-19 23:25:00 -04:00
Wes Kocher
976d5437f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6A96Fe0GPjw
2017-06-19 17:37:53 -07:00
Wes Kocher
57da9036bb Merge inbound to central, a=merge
MozReview-Commit-ID: KZoJHLFuTwT
2017-06-19 17:30:02 -07:00
Kartikaya Gupta
b8d2c3798a Bug 1369678 - Follow-up to remove stale comment. r=me and DONTBUILD
MozReview-Commit-ID: DYZ4oy36DVv
2017-06-19 11:33:12 -04:00
Xidorn Quan
8c47606640 Bug 1369985 - Look for text run boundary based on transformed text when needed. r=jfkthame
MozReview-Commit-ID: 9wJXia7LBpO

--HG--
extra : rebase_source : 8727d7aa84147d64ab2c5a08d965220acd38fe9e
2017-06-18 11:18:32 +10:00
Wes Kocher
84816f4647 Backed out 5 changesets (bug 1373798) for browser_parseable_css.js failures a=backout CLOSED TREE
Backed out changeset ef2e6aa3ae88 (bug 1373798)
Backed out changeset 0970ac62b245 (bug 1373798)
Backed out changeset dc19b4db7e51 (bug 1373798)
Backed out changeset a5dd7744170e (bug 1373798)
Backed out changeset 2c8752c4b6fb (bug 1373798)

MozReview-Commit-ID: J1WkPvRqELs
2017-06-19 15:56:47 -07:00
Jessica Jong
fdb38c21da Bug 1372369 - Part 2: Set validity state to 'bad input' when the entered date value is invalid. r=smaug
If all fields in date/time input box are available but the input element's
value is empty, implies that it has been sanitized. In this case, we'll set the
'bad input' validity state. If any of the fields is cleared, we'll remove the
'bad input' validity state, as incomplete field does not imply 'bad input'.

MozReview-Commit-ID: 4EBpH5CWqXM
2017-06-19 01:13:00 -04:00
Carsten "Tomcat" Book
d14a5a593a merge mozilla-inbound to mozilla-central a=merge 2017-06-19 13:37:20 +02:00
Mats Palmgren
06d9d2ec37 Bug 1373884 - s/FramePropertyTable/FrameProperties/ in a couple of places. r=me
MozReview-Commit-ID: ID1bBk6hbOR
2017-06-19 00:07:36 +02:00
Mats Palmgren
18cc369911 Bug 1373999 part 2 - Create layout/generic/nsFrameSelection.cpp and move nsFrameSelection code from dom/base/Selection.cpp to it. r=smaug
MozReview-Commit-ID: 2uTrJ9SO63s

--HG--
rename : dom/base/Selection.cpp => layout/generic/nsFrameSelection.cpp
2017-06-19 00:07:36 +02:00
Mats Palmgren
d582beef4f Bug 1373999 part 1 - Move layout/generic/nsSelection.cpp verbatim to dom/base/Selection.cpp, and layout/generic/Selection*.h to dom/base/. Also export a few table header files that it needs. r=smaug
MozReview-Commit-ID: 9YUmEOIHUdc

--HG--
rename : layout/generic/nsSelection.cpp => dom/base/Selection.cpp
rename : layout/generic/Selection.h => dom/base/Selection.h
rename : layout/generic/SelectionChangeListener.h => dom/base/SelectionChangeListener.h
2017-06-19 00:07:36 +02:00
Sebastian Hengst
1f7d31312c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-18 20:50:40 +02:00
Sebastian Hengst
593e520c55 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Oi3PA6ZpRz
2017-06-18 20:35:11 +02:00
Mats Palmgren
5b7c81e34b Bug 1372317 part 2 - Replace LookupRemoveIf() calls with Lookup() + entry.Remove() where needed. r=froydnj
MozReview-Commit-ID: AoRNdbzh66c
2017-06-18 17:07:54 +02:00
Sebastian Hengst
968a22a73d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-18 00:25:47 +02:00
Ehsan Akhgari
47d81ff540 Bug 1373788 - Reset the cached blink rate when the caret stops blinking; r=mats
Otherwise the next time in ResetBlinking() we mistakenly think
we already have the blinking timer set.
2017-06-17 16:19:03 -04:00
Sebastian Hengst
3654d560d6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DPQl41S3ZkU
2017-06-17 22:26:03 +02:00
Sebastian Hengst
3caa17a4be Backed out changeset bb6b79e53e82 (bug 1352306) as requested by emilio. r=backout 2017-06-17 14:16:54 +02:00
Sebastian Hengst
e9ca697708 Backed out changeset 46d7719ee8ae (bug 1352306) 2017-06-17 14:16:20 +02:00
Wes Kocher
b0560565d7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8k4A4tEOtIT
2017-06-16 18:17:38 -07:00
Wes Kocher
39066d6984 Merge inbound to central, a=merge
MozReview-Commit-ID: 2k4filK9zyX
2017-06-16 17:58:58 -07:00
Mats Palmgren
e96c22d711 Bug 1373095 - Devirtualize GetRowSpan/GetColSpan. r=bz
MozReview-Commit-ID: 7EUqrFMMe9c
2017-06-17 02:49:09 +02:00
Mats Palmgren
9d353fa50b Bug 966240 - Remove support for <meta http-equiv="msthemecompatible" content="no">. r=dbaron
It appears that neither Chrome, Safari or Edge support this feature,
and it's causing web-compat issues for us, e.g. bug 1373417.

MozReview-Commit-ID: AP5LMgL6QmR
2017-06-16 17:17:22 +02:00
Mats Palmgren
5ef66d5e7d Bug 1371958 part 2 - Move a mPaintedLayerItems.GetEntry() call into the else-branch where its result is actually used to avoid an unnecessary hashtable lookup when we don't take the else-branch. r=froydnj
MozReview-Commit-ID: sOwNzB8mxj
2017-06-17 00:06:04 +02:00
Mats Palmgren
f8f1a23dc1 Bug 1371958 part 1 - Use EnsureRemoved instead of Contains+RemoveEntry to avoid an unnecessary hashtable lookup. r=froydnj
MozReview-Commit-ID: 6SPQrQCLBjF
2017-06-17 00:06:04 +02:00