Commit Graph

49596 Commits

Author SHA1 Message Date
Daniel Holbert
0a77fd87dd Bug 1257938 part 1: Adjust automated tests to assume position:sticky is unconditionally supported. r=corey
MozReview-Commit-ID: IfQatzWq7q5
2016-03-20 23:05:34 -07:00
Ehsan Akhgari
a36acab5c8 Bug 1256178 - Drop the moz prefix from the MozCSSKeyframeRule and MozCSSKeyframesRule interfaces; r=bzbarsky 2016-03-15 10:23:01 -04:00
L. David Baron
544ca9b3aa Bug 1253189 followup - Also skip ch-unit-001 because it fails on OS X 10.10. 2016-03-15 06:13:34 -07:00
Xidorn Quan
20196ad4ea Bug 1253189 followup - Update skip.list to match the directory name on CLOSED TREE
--HG--
extra : amend_source : c94fcb2622e379a02beb4bff32b5a8eb5a2cfce1
2016-03-15 18:35:21 +08:00
Xidorn Quan
1502dabf39 Bug 1253189 part 5 - Import reftests of css-values. r=dbaron
MozReview-Commit-ID: DgYTyHV9Leu

--HG--
extra : rebase_source : 4949c0dd79a44f3450d6d858522a736109eca5e8
2016-03-03 18:28:23 +08:00
Xidorn Quan
5252f60461 Bug 1253189 part 4 - Add skip.list for skipping imported tests. r=dbaron
MozReview-Commit-ID: 3TpjZRy8rS9

--HG--
extra : rebase_source : 329c5e89d54a33f114d09d69c8d6960e4f15a233
2016-03-03 18:27:18 +08:00
Xidorn Quan
66f45c7a3d Bug 1253189 part 3 - Update existing received w3c reftests. r=dbaron
MozReview-Commit-ID: 2ixqFjX7yT1

--HG--
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-001-ref.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-001-ref.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-001.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-001.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-002.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-002.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-003.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-003.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-004.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-004.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-005.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-005.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-006.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-006.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-007.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-007.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-008.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-008.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-009.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-009.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-010.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-010.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-011.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-011.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-012.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-012.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-013.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-013.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-014.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-014.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-015.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-015.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-016.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-016.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-017.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-017.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-018.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-018.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-019.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-019.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-020.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-020.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-021.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-021.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-022.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-022.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-023.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-023.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-024.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-024.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-025.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-025.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-026.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-026.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-027-ref.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-027-ref.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-027.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-027.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-028.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-028.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-029.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-029.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-030.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-030.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-031.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-031.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-032.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-032.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-033.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-033.html
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-001.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-001.xml
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-002.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-002.xml
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-003.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-003.xml
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-004.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-004.xml
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-005.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-005.xml
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-006.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-006.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-1-block.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1-block.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-1-generic.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1-generic.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-1.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-2-generic.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-2-generic.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-2.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-2.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-3.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-3.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-5.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-5.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-6.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-6.xml
rename : layout/reftests/w3c-css/received/css3-namespace/scope-001.xml => layout/reftests/w3c-css/received/css-namespaces-3/scope-001.xml
rename : layout/reftests/w3c-css/received/css3-namespace/scope-002.xml => layout/reftests/w3c-css/received/css-namespaces-3/scope-002.xml
rename : layout/reftests/w3c-css/received/css3-namespace/support/fail.css => layout/reftests/w3c-css/received/css-namespaces-3/support/fail.css
rename : layout/reftests/w3c-css/received/css3-namespace/support/scope-002a.css => layout/reftests/w3c-css/received/css-namespaces-3/support/scope-002a.css
rename : layout/reftests/w3c-css/received/css3-namespace/support/scope-002b.css => layout/reftests/w3c-css/received/css-namespaces-3/support/scope-002b.css
rename : layout/reftests/w3c-css/received/css3-namespace/support/syntax-007.css => layout/reftests/w3c-css/received/css-namespaces-3/support/syntax-007.css
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-001.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-001.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-002.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-002.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-003.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-003.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-004.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-004.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-005.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-005.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-006.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-006.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-007.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-007.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-008.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-008.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-009.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-009.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-010.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-010.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-011.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-011.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-012.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-012.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-013.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-013.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-014.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-014.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-015.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-015.xml
extra : rebase_source : 940bc5d26d31dc0b1bc4ac2d96d7146b7e658443
2016-03-03 17:18:42 +08:00
Xidorn Quan
c40fc92658 Bug 1253189 part 2 - Update import-tests.py script to work on the current repo. r=dbaron
MozReview-Commit-ID: 7u2tzEEOQSg

--HG--
extra : rebase_source : 0a0530a881207af87a82ef64cde3f80fa19bbd13
2016-03-03 18:24:46 +08:00
Xidorn Quan
e788386f59 Bug 1253189 part 1 - Make import-tests.py compatible with Windows. r=dbaron
MozReview-Commit-ID: DdnXqUOm2bC

--HG--
extra : rebase_source : 461609bee3f7dfe086629dfbd1f8da42c65ed6d7
2016-03-03 18:30:35 +08:00
Chris H-C
018094dbaa Bug 1249664 - Save the combobox's dropped-down state across frame reconstruction. r=dbaron
We already restore the scroll-position state of the list control frame (via
nsHTMLScrollFrame), so the combobox control frame needs to add a suffix to
its state key so it doesn't overlap.

MozReview-Commit-ID: Eq0X0FCOciZ

--HG--
extra : rebase_source : 3d4b1a555f980ffaad59fbcbb72370117013812c
2016-03-10 14:21:05 -05:00
Chris H-C
b72448dbf9 Bug 1249664 - Save dropped-down state in nsPresState. r=dbaron
nsComboboxControlFrame will need some place to store its dropped-down state.
Instead of using nsISupportsPRBool and SetStateProperty, just add a bool.

MozReview-Commit-ID: CEnshCbqEV1

--HG--
extra : rebase_source : 6c4cef994ef85a1de2ff3aa40ad70bb150af9d09
2016-03-10 14:02:13 -05:00
Chris H-C
550ae0a515 Bug 1249664 - Make stateful frames responsible for their own keys r=dbaron
nsFrameManager::CaptureFrameStateFor generates keys for stateful frames that
only take into account the document and element. This precluded saving pieces
of information coming from different frames responsible for the same element.

MozReview-Commit-ID: 29x3Gj66wAy

--HG--
extra : rebase_source : 9f6fc24ce88009b31dae9fc37bb2187cad8164f2
2016-03-10 10:14:37 -05:00
Timothy Nikkel
5263f50634 Bug 1251150. Add crash annotations if image visibility is re-entering. r=mats 2016-03-14 22:59:02 -05:00
L. David Baron
8c5857d870 Bug 1256500 - Root style contexts before calling ApplyStyleFixups. r=heycam
MozReview-Commit-ID: 8P4AyTCvhmW
2016-03-14 20:26:53 -07:00
Morris Tseng
0f88c1a15b Bug 594933 - Part 2: Add support for calc() to line-height. r=dbaron
--HG--
extra : commitid : ISfJfHKpK5Z
2016-03-15 10:37:37 +08:00
Morris Tseng
99b819272d Bug 594933 - Part 1: Let calc() supports number. r=dbaron
--HG--
extra : commitid : HWZIwem6z6u
2016-03-15 10:37:37 +08:00
Gregory Szorc
873147d1fb Bug 1256509 - Disable C4577 to unblock compilation on VS2015; r=poiru
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the warning occurs in 3rd party ICU
code. So I'm not sure what my options are for fixing this.

MozReview-Commit-ID: 2MIqvI3qCsZ

--HG--
extra : rebase_source : cbb3b14a1e6fd47aeb9e4ce915cddd0b78ce90cf
2016-03-14 18:03:39 -07:00
Gregory Szorc
72230d9b94 Bug 1256505 - Disable C4312 to unblock compilation on VS2015; r=poiru
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: 70QwT9y6eb2

--HG--
extra : rebase_source : afc1eb71d11241819a4e2d2219e699c081f0c4af
2016-03-14 17:56:28 -07:00
Daniel Holbert
feb302c132 Bug 1255276 part 2: Make nsSVGAnimatedTransformList remember its previous HasTransform() value, so we can detect attr changes which are effectively creating the attr. r=longsonr 2016-03-14 17:37:36 -07:00
Kartikaya Gupta
ab65d99c4e Bug 1254273 - Align the displayport to a max of 256 pixels even if the layer is larger. r=BenWa
MozReview-Commit-ID: CLghUMWkJU8
2016-03-14 15:02:43 -04:00
Kartikaya Gupta
b3806e256d Bug 1216924 - Don't align to tiles (either real or virtual) if displayport suppression is enabled. r=BenWa
MozReview-Commit-ID: 15XWTTM0tZI
2016-03-14 14:07:31 -04:00
L. David Baron
89ad8d0c53 Bug 1142531: Check more bits in nsStyleContext::MoveTo assertion. r=heycam
MozReview-Commit-ID: 455suOkmdj7
2016-03-14 10:27:05 -07:00
L. David Baron
a1dea9b4fc Bug 1251797 - Don't fault struct out of rule tree if all of the potential physical property destinations already have a winning value in the cascade. r=heycam
I believe this is useful for cases like having logical properties in the
UA style sheet that are commonly overridden (e.g., margins on lists).

MozReview-Commit-ID: KxojbfMYq0f
2016-03-14 10:27:05 -07:00
L. David Baron
19b419056a Bug 1145218 followup - Properly parenthesize macro argument. No review.
MozReview-Commit-ID: EZ5zX4L6z6W
2016-03-14 10:27:05 -07:00
L. David Baron
c54f49142c Bug 649142 followup: Correct #undef. No review.
MozReview-Commit-ID: BjkVBufjlBQ
2016-03-14 10:27:04 -07:00
Benoit Girard
a08807e27f Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
MozReview-Commit-ID: K5PTxUqU9E6

--HG--
extra : rebase_source : 6d9e35b27e2fd37c1df513dd856b48c181f3150f
2016-03-14 11:50:55 -04:00
Mats Palmgren
13ebd582e0 Bug 1256190 - Tweak tests to fix intermittent orange. r=me 2016-03-14 06:56:00 -04:00
Mats Palmgren
9f5f38e8d7 Bug 1256040 - Follow-up fix for nsGridContainerFrame.h/cpp compile errors in non-unified build. r=me 2016-03-13 09:12:00 -04:00
Mats Palmgren
c71ca081ec Bug 1256040 - Bustage fix. r=me 2016-03-13 00:47:41 +01:00
Mats Palmgren
7f3197f8cc Bug 1256040 - Fix some nsGridContainerFrame.h/cpp compile errors in non-unified build. r=dholbert 2016-03-13 00:30:36 +01:00
Ryan VanderMeulen
da1885e860 Merge inbound to m-c. a=merge 2016-03-12 15:23:38 -05:00
malayaleecoder
c10c9a9612 Bug 1252368 - Move resource files in layout/style/ into layout/style/res/ directory. r=nalexander
MozReview-Commit-ID: HdF06H2gJYY

--HG--
rename : layout/style/arrow-left.gif => layout/style/res/arrow-left.gif
rename : layout/style/arrow-right.gif => layout/style/res/arrow-right.gif
rename : layout/style/arrow.gif => layout/style/res/arrow.gif
rename : layout/style/arrowd-left.gif => layout/style/res/arrowd-left.gif
rename : layout/style/arrowd-right.gif => layout/style/res/arrowd-right.gif
rename : layout/style/arrowd.gif => layout/style/res/arrowd.gif
rename : layout/style/counterstyles.css => layout/style/res/counterstyles.css
rename : layout/style/forms.css => layout/style/res/forms.css
rename : layout/style/html.css => layout/style/res/html.css
rename : layout/style/noframes.css => layout/style/res/noframes.css
rename : layout/style/noscript.css => layout/style/res/noscript.css
rename : layout/style/number-control.css => layout/style/res/number-control.css
rename : layout/style/plaintext.css => layout/style/res/plaintext.css
rename : layout/style/quirk.css => layout/style/res/quirk.css
rename : layout/style/ua.css => layout/style/res/ua.css
rename : layout/style/viewsource.css => layout/style/res/viewsource.css
extra : rebase_source : c56048e17a72c75a456556ee2111841184a92edf
2016-03-11 00:57:34 +05:30
Carsten "Tomcat" Book
e070379821 merge mozilla-inbound to mozilla-central a=merge 2016-03-11 16:50:43 +01:00
Carsten "Tomcat" Book
80bad564c7 merge fx-team to mozilla-central a=merge 2016-03-11 11:51:28 +01:00
Seth Fowler
c963068948 Bug 1255362 - Null-check GetContainer() before using it in image-related ConfigureLayer() methods. r=mstange a=Tomcat 2016-03-11 15:12:07 +08:00
Daisuke Akatsuka
cb51780a6e Bug 1237173 - Part2: Change type of duration to Maybe<StickyTimeDuration>. r=birtles 2016-03-09 14:14:20 +09:00
Bobby Holley
abd6123240 Bug 1252611 - Hoist IsComplete/SetComplete into StyleSheet. r=dholbert 2016-03-10 22:18:59 -08:00
Bobby Holley
0ff743226a Bug 1252611 - Add a method to get the StyleSheetInfo for a given StyleSheet. r=dholbert
One of the annoying things about sharing algorithms on the superclass here is that
certain members live on StyleSheet and others live on StyleSheetInfo (a situation
resulting from the split between CSSStyleSheet and CSSStyleSheetInner). This allows
us to write general algorithms on StyleSheet that touch members on StyleSheetInfo
without paying the price of virtual dispatch.
2016-03-10 22:18:57 -08:00
Bobby Holley
3293dd162c Bug 1252611 - Hoist mDocument into StyleSheet. r=dholbert 2016-03-10 22:18:56 -08:00
Phil Ringnalda
3ceef3ef63 Back out 2 changesets (bug 1209273) for devtools failures in browser_css_autocompletion.js
Backed out changeset 85f7dbb76c15 (bug 1209273)
Backed out changeset 1901109091be (bug 1209273)
2016-03-10 21:32:50 -08:00
Kartikaya Gupta
a8f43cb473 Bug 1253860 - Don't update the scrollbar unless we're actually painting. r=mstange
MozReview-Commit-ID: 3JIcp2NFwRn
2016-03-09 22:57:15 -05:00
Kartikaya Gupta
2c7a5f6eaf Bug 1253860 - Skip paints for main thread scrolls if we can ask APZ to handle the scrolling for us. r=mstange
MozReview-Commit-ID: LqugzganLru
2016-03-09 22:57:15 -05:00
Kartikaya Gupta
0415065a38 Bug 1253860 - Add a flag on scroll frames indicating if they have an APZ counterpart. r=mstange
MozReview-Commit-ID: EEmdmjrbG3O
2016-03-09 22:57:14 -05:00
Blake Kaplan
2797f17920 Bug 1255235 - Enable this already-passing test. rs=bz 2016-03-09 17:01:54 -08:00
Matt Woodrow
5f414f7d68 Bug 1220466 - Avoid doing unnecessary layer building work for inactive layers. r=mstange 2016-03-10 13:56:52 +13:00
Matt Woodrow
6ff9f85978 Bug 1220466 - Don't build event region display items for pseudo stacking contexts, unless they are also an AGR. r=mstange 2016-03-10 13:55:00 +13:00
Tobias Schneider
6b4432e4a6 Bug 1250674 - Don't print header/footer if larger than user defined margins. r=dbaron
--HG--
extra : rebase_source : 778ef2680cd72a5aa0056861f0d9214de698e78d
2016-02-23 13:55:00 -05:00
Tobias Schneider
74df504068 Bug 1209273 - Part 2: Force printing background if color-adjust: exact. r=dbaron
--HG--
extra : rebase_source : d244c149e2b5e79082b77864fc7b6aaa912a687d
2016-03-08 09:44:00 -05:00
Tobias Schneider
9cfd13fa3d Bug 1209273 - Part 1: Support for color-adjust CSS property. r=dbaron
--HG--
extra : rebase_source : 72919e863a59f76d24fbae31870463025aee7a40
2016-03-10 10:51:00 -05:00
Shih-Chiang Chien
d06a3c964a Bug 1255262 - convert test_selection_preventDefault.html to mochitest. r=smaug.
MozReview-Commit-ID: IPZKEA6082n

--HG--
extra : rebase_source : 47761c512e502cf8e0c73f3b9e03699e33f6b35d
2016-03-10 11:11:41 +08:00
Kartikaya Gupta
3e180de2ca Bug 1242690 - Make sure that synthetic mouse events have a reasonable guid so that the callback transform can get unapplied properly. r=botond
MozReview-Commit-ID: FYnSEGAZLyO
2016-03-10 18:25:49 -05:00
Robert O'Callahan
005e370b1f Bug 1203417. Propagate error result from PaintTableFrame. r=seth
MozReview-Commit-ID: 4rRkHXUl9iE
2016-02-13 09:30:27 +13:00
Timothy Nikkel
66444437b6 Bug 1209780. Propagate the use of MOZ_MUST_USE DrawResult in nsTablePainter. r=seth 2016-03-09 17:56:35 -06:00
Timothy Nikkel
cafdb616d3 Bug 1209780. Propagate the use of MOZ_MUST_USE DrawResult in nsTreeBodyFrame::PaintText. r=seth 2016-03-09 17:56:35 -06:00
Trevor Saunders
a879c2430c bug 1253265 - make some nsRestyleHint operators constexpr r=dholbert 2016-03-09 18:01:58 -05:00
Kyle Machulis
fde34a472d Backout 6397f46b0628 and c6be87916507 (Bug 1171182) due to windows mochitest failures 2016-03-09 14:49:39 -08:00
Kartikaya Gupta
30f39f0a24 Bug 1205473 - Add a state bit to optimize building event regions. r=mattwoodrow
MozReview-Commit-ID: CPSgChJc92L
2016-03-09 17:29:41 -05:00
Ehsan Akhgari
9a3b4db938 Bug 1254991 - Port test_bug348681.html to mochitest-plain so that it runs under e10s; r=mrbkap 2016-03-09 16:41:51 -05:00
Ehsan Akhgari
aeb1803db1 Bug 1254985 - Port test_scroll_selection_into_view.html to mochitest-plain so that it runs under e10s; r=mrbkap
--HG--
rename : layout/base/tests/chrome/scroll_selection_into_view_window.html => layout/base/tests/scroll_selection_into_view_window.html
2016-03-09 16:41:51 -05:00
Markus Stange
48d21a14da Bug 1221094 - Reduce the size of the layers in this reftest so that they don't get lowres tiles.
MozReview-Commit-ID: 4BY1F9u5we1

--HG--
extra : rebase_source : 7df323cf2cb943542c48fb8b219e66f0e29c3096
2016-03-09 12:08:34 -05:00
Markus Stange
0dc2cf176e Bug 1221094 - Detect scrollability (for using tiled layers) through container layers. r=mattwoodrow
MozReview-Commit-ID: 6Z8pniahhbP

--HG--
extra : rebase_source : e5464e4d77b41e227c1577b6a11d312c066e9291
2016-03-08 14:43:32 -05:00
Markus Stange
a0ae168e8d Bug 1221094 - Don't mutate local mParameters with stuff that we only want to pass somewhere else. r=mattwoodrow
MozReview-Commit-ID: FV0HxrrWfHW

--HG--
extra : rebase_source : 91b31f7613bfcdec44f75100516ab39b33e7de61
2016-03-08 14:43:15 -05:00
Kyle Machulis
75e71bb508 Bug 1171182 - CSS Zoom Query for NPAPI; r=jaas r=bsmedberg 2016-03-09 11:55:21 -08:00
Mark Capella
aa9ca8ef90 Bug 1252802 - Web page scrolls when dragging caret in editable, r=snorp 2016-03-10 18:06:13 -05:00
Ryan VanderMeulen
1d983e67fb Bug 1175546 - Add fuzz for a couple reftests that started to permafail on Linux32 PGO with the GCC version bump. r=me 2016-03-12 11:22:53 -05:00
Mats Palmgren
70b192860d Bug 1255877 - Fix intermittent failure. r=me 2016-03-12 05:01:00 -05:00
Xidorn Quan
b8db274b17 Bug 1255659 part 2 - Add 'fullscreen' tag to tests which ever put window into fullscreen. r=smaug
MozReview-Commit-ID: EBynEGbpYQU

--HG--
extra : rebase_source : 1f777ff519e602403486d24e739b252a2dfc8428
2016-03-11 10:45:00 +08:00
Neil Deakin
038b1390a7 Bug 1246659, enable browser_bug453896.js in e10s, r=mconley 2016-03-09 09:11:56 -05:00
Matt Woodrow
b954395165 Bug 1251527 - Don't override visible regions for background-attachment:fixed. r=mstange
--HG--
extra : rebase_source : ed4d7bd065a75bc04ff515d1a8f94592ff777419
2016-03-09 17:35:48 +13:00
Ryo Motozawa
d812d0d4c6 Bug 1244635 - Part4 Add enddelay tests in layout/style/test r=hiro
MozReview-Commit-ID: EUvAdiPudgZ

--HG--
extra : rebase_source : 91bf3aef8f5ea8da1b990b6363d7ab40bddb2aae
2016-03-08 10:31:40 +09:00
Brian Birtles
c9d3c84ee0 Bug 1239945 part 8 - Add GetOrCreateAnimationCollection; r=dholbert
Rather than passing around a bool flag to indicate if we should be creating
an AnimationCollection when none is found, it would be a lot easier to read
if we simply introduce a separate method for this.

MozReview-Commit-ID: 6bg8jGoH5pL
2016-03-09 12:55:39 +09:00
Brian Birtles
065446fdcd Bug 1239945 part 7 - Move GetAnimationCollection to AnimationCollection; r=dholbert
By moving GetAnimationCollection to AnimationCollection itself, we can remove
a bunch of virtual methods on the animation managers, simplify call sites,
and provide better type safety by ensuring a correspondence between element
property names and concrete animation types.

One change in behavior, however, is that in doing this we can no longer
add any newly-created AnimationCollection to the corresponding manager's linked
list of collections inside GetAnimationCollection. Instead we take a bool
outparam to indicate if a new collection was created and leave managing the
linked list to the manager. This is just a temporary measure, however, since
by the end of this patch series will will eliminate this linked list altogether
along with this flag.

MozReview-Commit-ID: 1jsc4QcmVDg
2016-03-09 12:55:39 +09:00
Brian Birtles
dd4f27f03e Bug 1239945 part 6 - Templatize AnimationCollection based on the concrete type of Animation stored; r=dholbert
This patch templatizes the type of Animation stored in an AnimationCollection.
This allows us to remove a number AsCSSAnimation() calls in nsAnimationManager.

This patch also removes the AnimationPtrArray typedef. In its place we
introduce OwningCSSAnimationPtrArray and OwningCSSTransitionPtrArray but we
don't use these as widely. There was some comment previously that the typedefs
in animation code make it hard to read, particularly when these typedefs don't
make it clear if the data type is an owning reference or not.

In doing this we need to templatize CommonAnimationManager as well and move the
implementation of its (few) methods to the header file. We may be able to
remove the need for templatizing CommonAnimationManager later in this patch
series depending on how we ultimately decide to handle the lifetime of
AnimationCollection objects.

CommonAnimationManager::GetAnimationCollection is a bit messy but this will be
significantly tidied up in subsequent patches in this series.

MozReview-Commit-ID: 3ywatY53pRR
2016-03-09 12:55:39 +09:00
CJKu
9799fb0aaa Bug 1243734 - Part 5. Add MOZ_ENABLE_MASK_AS_SHORTHAND compile flag; r=ted r=dbaron
MozReview-Commit-ID: 8KbrEXnJqlp
2016-03-09 11:15:09 +08:00
Ting-Yu Lin
cc904bb3cc Bug 1253989 Part 6 - Refactor open_test_html(). r=mtseng
MozReview-Commit-ID: 2VY1GnVF7Jx

--HG--
extra : rebase_source : 679d21e1fad9227cb89a62ee0d3d593948affcc0
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
337ddd8206 Bug 1253989 Part 5 - Remove touch caret and selection carets naming. r=mtseng
- To avoid confusion, call the blinking cursor (nsCaret) "cursor" so that
  AccessibleCaret can be called caret for short.
- Add second_caret_location() as a helper function, and use it in
  selection mode tests.

MozReview-Commit-ID: IKN6KuR92HE

--HG--
extra : rebase_source : c247ad6b61bc1b1cc3c4d8784584e19d9ef5c1ea
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
22302ef765 Bug 1253989 Part 4 - Rename AccessibleCaret test files. r=mtseng
Remove "touch caret" and "selection carets" from file names and titles.

MozReview-Commit-ID: KqjYE7tiqXd

--HG--
rename : testing/marionette/harness/marionette/www/test_touchcaret.html => testing/marionette/harness/marionette/www/test_carets_cursor.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_iframe.html => testing/marionette/harness/marionette/www/test_carets_iframe.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_longtext.html => testing/marionette/harness/marionette/www/test_carets_longtext.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_multipleline.html => testing/marionette/harness/marionette/www/test_carets_multipleline.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_multiplerange.html => testing/marionette/harness/marionette/www/test_carets_multiplerange.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets.html => testing/marionette/harness/marionette/www/test_carets_selection.html
extra : rebase_source : 1af82b4e59c409109025684553aa0ff780eec947
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
732119fb5b Bug 1253989 Part 3 - Use @parameterized to rewrite selection mode tests. r=mtseng
* Inline some of the open_*_html methods since they're called only once.
* Save test running time by finding the elements needed in tests instead
  of find all of the elements in open_*_html methods.
* Remove test_long_press_to_select_non_selectable_word() since it's
  covered by test_focus_not_changed_by_long_press_on_non_selectable().
* Use hyphen for element ids.
* Replace "left" and "right" caret by "first" and "second" caret,
  respectively.

MozReview-Commit-ID: Ey5m5zO3HYc

--HG--
extra : rebase_source : c94b84ced75560ce1167cda35ee94dd4cc81ee4d
2016-03-08 22:21:31 +08:00
Ting-Yu Lin
b40db974b8 Bug 1253989 Part 2 - Use @parameterized to rewrite cursor mode tests. r=mtseng
Remove _test_touch_caret_hides_after_receiving_wheel_event() completely
since it was a test only for touch caret, which is a leftover in bug
1221459.

MozReview-Commit-ID: 4szwuG6t5SF

--HG--
extra : rebase_source : 85a201d76016da65f14cd2cc0a641c342e266904
2016-03-08 22:21:31 +08:00
Ting-Yu Lin
33799d733f Bug 1253989 Part 1 - Remove tests for accessiblecaret preference off. r=mtseng
I don't feel these tests are helpful. It's unlikely that someone will
accidentally turn on AccessibleCaret on desktop platforms without being
noticed. Remove these tests also reduces the test running time.

MozReview-Commit-ID: 33RQQSy77gZ

--HG--
extra : rebase_source : 5cd7fd77a48f07ee137d8140481ea6210070d139
2016-03-08 22:21:30 +08:00
Ryan VanderMeulen
a3835b03c5 Bug 1253849 - Tweak some reftest annotations.
--HG--
extra : rebase_source : 449d1c23f7c0041f6114376694ef71845b792ffb
2016-03-08 21:23:17 -05:00
Wes Kocher
71aa3b8d31 Backed out changeset e7e01671e85f (bug 1253977) for windows reftest failures in focusring-1.html CLOSED TREE
MozReview-Commit-ID: 8j0fD5taR6z

--HG--
extra : histedit_source : 61897e005185864102170fe7a1c1f950eb88a379%2C36fe84b9a97141d65b1b282ca2b5c205b33f499b
2016-03-08 16:07:00 -08:00
Markus Stange
836fcb72ef Bug 1248913 - Make nsDisplayBlendContainer active or inactive based on its contents. r=mattwoodrow
MozReview-Commit-ID: GN0084Rrmlm

--HG--
extra : rebase_source : e11f0bd9385244d01a824c3ed327653495020df7
2016-03-08 14:39:07 -05:00
Markus Stange
46dbf6fc7d Bug 1248913 - Remove mCanBeActive and second nsDisplayBlendContainer constructor. r=mattwoodrow
MozReview-Commit-ID: Jcrip22bW5k

--HG--
extra : rebase_source : a2601fd33f6ec7cafa6902abb2ece13d4b0a9428
2016-03-08 14:38:22 -05:00
Markus Stange
08e56286e7 Bug 1248913 - Build nsDisplayBlendMode items for background-blend-mode. r=mattwoodrow
MozReview-Commit-ID: 72IzlcgHFtd

--HG--
extra : rebase_source : fdc3fd31176e1177e04b224c9206858437ef7806
2016-03-08 14:22:36 -05:00
Markus Stange
623ad9afd8 Bug 1248913 - Let nsDisplayBackgroundImage specify the background blend mode. r=mattwoodrow
This is needed because blending for nsDisplayBackgroundImage items will soon
happen outside of nsDisplayBackgroundImage::Paint, it will be done by an
nsDisplayBlendMode item that wraps the nsDisplayBackgroundImage item.

MozReview-Commit-ID: 20cILOGVFEG

--HG--
extra : rebase_source : 306725c99a1cd8d450149482817b8b51bc660908
2016-03-08 16:54:09 -05:00
Markus Stange
5485807971 Bug 1248913 - Rename nsDisplayMixBlendMode to nsDisplayBlendMode. r=mattwoodrow
We're going to use it both for background-blend-mode and for mix-blend-mode.

MozReview-Commit-ID: 6zKCDSkLspc

--HG--
extra : rebase_source : 81b4691d2b74e56c634bdf08f85636ba2abbf486
2016-03-05 17:04:02 -05:00
Markus Stange
14975d0ba1 Bug 1248913 - Add a constructor argument to nsDisplayMixBlendMode that lets you specify the blend mode. r=mattwoodrow
MozReview-Commit-ID: 9MqjLKjRmeh

--HG--
extra : rebase_source : 11ebc2d8fa1939ba079bdf09e916d3da1e68d6d7
2016-03-05 16:39:25 -05:00
Markus Stange
cd7fa4800f Bug 1248913 - nsDisplayListBuilder doesn't need to know what blend modes it contains, just whether it contains any. r=mattwoodrow
MozReview-Commit-ID: 5yQcGnXBKKp

--HG--
extra : rebase_source : 176c96a0b5d67a539e8f7e0c72e4ee541cbf1686
2016-03-05 12:46:14 -05:00
Mats Palmgren
35503fb698 Bug 1254000 - [css-grid] Enable Grid container properties in UA sheets to avoid warnings in the console. r=dholbert 2016-03-08 23:03:26 +01:00
Mats Palmgren
195015a265 Bug 1253977 part 2 - Reftests. 2016-03-08 23:03:26 +01:00
Mats Palmgren
dec5bab458 Bug 1253977 part 1 - Update focus state on combobox frame destruction/construction properly. r=tn 2016-03-08 23:03:26 +01:00
Mats Palmgren
0524303c83 Bug 1253529 part 2 - [css-grid] Remove the 'grid-template' shorthand. r=dholbert 2016-03-08 23:03:26 +01:00
Mats Palmgren
552f99f2a9 Bug 1253529 part 1 - [css-grid] Replace uses of the 'grid-template' shorthand with 'grid'. 2016-03-08 23:03:26 +01:00
Nathan Froyd
777c075f0e Bug 1253010 - part 3 - create all nsIDateTimeFormat instances directly; r=smontagu 2015-12-05 11:03:27 -05:00
Markus Stange
301cb40329 Bug 1247854 - Apply the correct scroll clips to the nsDisplayTransform and nsDisplayPerspective of a scrolled perspective item. r=mattwoodrow
I've decided to fix this in a very explicit way. The only "magic" part that's
left is how we decide that the AGR of the perspective item is outside the
scrolled frame (and I'm not sure myself how that works).

I didn't want to change what scroll clips we set on what items, because the
scroll clip really belongs on the perspective item, because that's the item
that needs to be clipped, and it should also be the item that should be
scrolled if it weren't for the fact that APZ wouldn't know that it should
apply the perspective transform before the APZ transform.

MozReview-Commit-ID: BBw8VPohQI4

--HG--
extra : rebase_source : 9e11441af2b5dab93a5908236e153fc6cd2c3d8b
extra : histedit_source : 7b3dd75afa92346856765284be48df5618821326
2016-02-26 01:29:41 +01:00
Markus Stange
6260202cb6 Bug 1238564 - Get rid of cross stacking context parent scroll clip. r=mattwoodrow
MozReview-Commit-ID: JthSGAb5Kp3

--HG--
extra : rebase_source : cd00795753547f31b4d205d0d4b8b82b37d0bb75
extra : histedit_source : f867f175155d7aa3fa70bdbbd10119bd8310384d
2016-03-04 14:49:35 -05:00
Markus Stange
57c501e338 Bug 1238564 - Don't do another pass over the display list to figure out ancestor scroll clips. r=mattwoodrow
MozReview-Commit-ID: BgySqVGG43R

--HG--
extra : rebase_source : 752d726fbc238b783b8e41b7bcd2b6735c4d3739
extra : histedit_source : 0684a2b440de008fb24c7f82b270b9d69b6d77c5
2016-03-05 11:27:54 -05:00
Markus Stange
197419db4f Bug 1238564 - Include mIsAsyncScrollable information in DisplayItemScrollClip::ToString. r=roc
MozReview-Commit-ID: 7R38KtIjM5q

--HG--
extra : rebase_source : a23156202612ba4331f167f209eaa5c61d7dd402
extra : histedit_source : 488e2fdbc97a8c15aaa1bdbcceadaebc10976a3f
2016-02-24 16:23:32 +01:00
Markus Stange
668ec29ed6 Bug 1238564 - When building a fixed/sticky display item, don't restore the clip until we're ready to build that item so that inner items aren't unnecessarily clipped. r=roc
This isn't really about regular clips, it's about scroll clips. If the inner
item has an unnecessary scroll clip (one that's already on the parent), this can
cause the inner item's bounds to be larger than necessary because, after the
first patch in bug 1238564, it will include the whole bounds of async-scrollable
scroll frames.
Also, if e.g. the inner item is an opacity item, and it has a scroll clip that's
not just the innermost ancestor scroll clip of all of its children, then
FrameLayerBuilder's mContainerBounds == mAccumulatedChildBounds assertion can
fail if the opacity item gets flattened away, because the child bounds won't
have been enlarged for the scroll clip.

There must be a better way to do the clip resetting in
nsFrame::BuildDisplayListForStackingContext - the code is not pretty at all.
But I'd rather get the tests passing first before we figure out how to clean it
up.

MozReview-Commit-ID: E1DdpN546va

--HG--
extra : rebase_source : ecf4774a47978fb0aa5ebde9346cf464ebc60ab6
extra : histedit_source : 9395ca5f74413d887df3b7fa54cad726742dca30
2016-02-23 18:22:21 +01:00
Markus Stange
0636b4dae1 Bug 1238564 - Set the innermost possible scroll clip on opacity items during creation. r=mattwoodrow
Always use an ancestor scroll clip of all direct children, or the original
scroll clip if the children don't share the same scroll clip tree.
Unfortunately this requires another pass over the stacking context display list.

Also, fix clips, scroll clips and creation order of blend items:
If a clipped mix-blend-mode item contains absolute / fixed positioned items,
those items should not be clipped, same for blend container items.
When a transform item contains blend modes, create the blend container inside
the transform.

Don't do tree comparisons on scroll clips from different scroll clip trees.
If the inner scroll clip is nullptr, because it was cleared, it will look like
it's the ancestor of the outer non-nullptr scroll clip.

These changes don't look very related, but it was very hard to get tests passing
with only some of the changes and not the others, and after having spent two
weeks on this patch I'm not thrilled about going back and checking exactly which
change was necessary to fix which test failure.

MozReview-Commit-ID: IKGciUBrdNa

--HG--
extra : rebase_source : e570f16ecedd80cba16051f0e1ac66764bc95815
extra : histedit_source : fcfbcbc254aaf93594d9d80c117d6ec945805993
2016-03-04 15:05:58 -05:00
Markus Stange
cff7a4ce84 Bug 1238564 - Allow constructing nsDisplayWrapList with a given scroll clip. r=roc
MozReview-Commit-ID: 59FqPndU9mr

--HG--
extra : rebase_source : 3ce68bd42b034820421f1c31e649978f5e88adb7
extra : histedit_source : 3c76c77f38c9b2d5bbd85c4e5a820612f945b96f
2016-02-26 13:38:12 +01:00
Markus Stange
fe4bbe304b Bug 1238564 - Anticipate async scrolling when computing the scroll clipped bounds of a display list. r=roc
This makes sure that for example the bounds of an opacity item are not empty if
the opacity item contains a scroll frame whose contents are currently scrolled
offscreen but still inside that scroll frame's display port.

On its own, this changeset causes test failures due to missed optimizations
because the bounds of many opacity items are now too large. That's because of
the way we're setting scroll clips on opacity items at the moment: Even if the
opacity is inside a scroll frame, we're currently only setting that scroll
frame's scroll clip on the opacity item's contents, not on the opacity item
itself, because the opacity item might also contain other items that are not
scrolled by this scroll frame.
The next patch in this bug will make us only do that when necessary.

MozReview-Commit-ID: 9TtcJ7eQE7U

--HG--
extra : rebase_source : 51cab60bd27e1a7e3c2d6b8d791b79fe3b3baa94
extra : histedit_source : ba421898e442d08f7f711d13f71a693c34d908bb
2016-02-22 16:17:16 +01:00
Markus Stange
fd02c2dffd Bug 1192910 - Stop triggering repaints when the displayport margins change without the displayport changing. r=kats
MozReview-Commit-ID: K1g6sNlZdRk
2016-03-07 16:27:41 -05:00
Kartikaya Gupta
392b122471 Bug 1253690 - Don't let a changing displayport cause invalidation and mess with the intent of the test. r=mstange
MozReview-Commit-ID: 3EcWfWQHuk3
2016-03-08 11:03:43 -05:00
Nathan Froyd
694927c993 Bug 1254551 - remove tabs in FrameLayerBuilder.cpp; r=me
DONTBUILD because whitespace-only changes are totally safe, right?
2016-03-07 15:50:35 -05:00
Sebastian Hengst
1c0df4dae0 Backed out changeset 8abae7731417 (bug 1192910) for OS X 10.10 opt R-e10s bustage. r=backout 2016-03-08 14:43:43 +01:00
Markus Stange
cf4896ee92 Bug 1192910 - Stop triggering repaints when the displayport margins change without the displayport changing. r=kats
MozReview-Commit-ID: K1g6sNlZdRk
2016-03-07 16:27:41 -05:00
Sebastian Hengst
c3651e35dd Backed out changeset 3ad367f04970 (bug 1242781) for reftest failures. r=backout 2016-03-08 12:43:19 +01:00
Sebastian Hengst
fe62e82fdc Backed out changeset 4a56c6dc4c7e (bug 1192910) for permafailing R-e10s on OS X 10.10. r=backout 2016-03-08 11:07:39 +01:00
Shing Lyu
0fc7aee5e1 Bug 1242781 - Add 1 appunit in BRFrame::AddInlinePrefISize to match the 1 appunit added during reflow. r=dbaron 2016-03-08 16:06:50 +08:00
Sebastian Hengst
6c3f333103 Backed out changeset 2bd6d33ad128 (bug 1242781) for reftest failures. r=backout 2016-03-08 10:48:15 +01:00
Shing Lyu
4099eeaee2 Bug 1242781 - Add 1 appunit in BRFrame::AddInlinePrefISize to match the 1 appunit added during reflow. r=dbaron 2016-03-08 16:06:50 +08:00
Xidorn Quan
b022cd37f8 Bug 1251995 part 7 - Use struct to pass params for nsTextFrame::Paint*Shadow functions. r=jfkthame
MozReview-Commit-ID: 5Wa9U0Ile4L

--HG--
extra : source : 95464b236e0e5c52495445a94301791a25668094
2016-03-08 15:56:18 +08:00
Xidorn Quan
40f8859cc1 Bug 1251995 part 6 - Use struct to pass params for nsTextFrame::PaintText* functions. r=jfkthame
MozReview-Commit-ID: NTEUm8TY8N

--HG--
extra : source : d1f1d14ddf9df26f07a28a36e54216b8ad6ff5fb
2016-03-08 15:56:18 +08:00
Xidorn Quan
e1002ffcb3 Bug 1251995 part 5 - Unify units of dirty rect used for painting text frame. r=jfkthame
MozReview-Commit-ID: BK7j6y7lBV3

--HG--
extra : source : 4403438493793ddfa7356cab2438d050f8a66da1
2016-03-08 15:56:18 +08:00
Xidorn Quan
8ade98d572 Bug 1251995 part 4 - Use struct to pass params for nsTextFrame::DrawText* functions. r=jfkthame
MozReview-Commit-ID: LYshkPDrqYl

--HG--
extra : source : 5de24f7944a12e0d20ca83b4b2eceeaf56fc5efd
2016-03-08 15:56:18 +08:00
Xidorn Quan
1a5d64446b Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
MozReview-Commit-ID: HAqtS3VXPHH

--HG--
extra : source : e6a45ca0a21666b4e01c217e0bb42772e4dd918f
2016-03-08 15:56:18 +08:00
Xidorn Quan
b3ea3fa801 Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : source : bd88a2e478e23edf1845f724a32fef908c8cc007
2016-03-08 15:56:18 +08:00
Xidorn Quan
ab357753a9 Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
MozReview-Commit-ID: 6UBvmEpo12f

--HG--
extra : source : d14cafc0e378ab7356c32a0b469ed783244aa48b
2016-03-08 15:56:18 +08:00
CJKu
2891c41a0f Bug 619500: Part 3. svg-as-borderimage test cases; r=dholbert
MozReview-Commit-ID: 1zcYqoMgtnR
2016-03-08 15:54:14 +08:00
CJKu
d57efebb5f Bug 619500: Part 2. When drawing an SVG image as a CSS border-image, use preverveAspectRatio="none"; r=dholbert
MozReview-Commit-ID: JH5E3An4opJ
2016-03-08 15:54:13 +08:00
CJKu
19414f3998 Bug 619500: Part 1. Default sizing for specified size of SVG images which have no constraints; r=dholbert r=seth
MozReview-Commit-ID: 8DI86w6Ni8T
2016-03-08 15:54:13 +08:00
Seth Fowler
f5a0ea9226 Bug 1251804 - Use the ImageContainer's size and not the intrinsic size when computing the transform in nsDisplayImage::ConfigureLayer. r=tn
--HG--
extra : rebase_source : df3cfd946dd08a67284d0091b1b7ce0131fff47e
2016-03-07 17:06:04 -08:00
Wes Kocher
e555862651 Followup to bug 1225005 to adjust assertion expectations for android r=me a=me CLOSED TREE
MozReview-Commit-ID: KEMYMak6ZsF


MozReview-Commit-ID: 6Cpqku0vonY

--HG--
extra : source : 9a446438d3a4e9279b776d3e296e7a7209acab77
extra : histedit_source : 1a9ba250a6f280a9e797cd4138387bf58519fd8c%2Cedeb86a13a12327a35c879ec08487ba275bfe113
2016-03-07 17:04:03 -08:00
Kartikaya Gupta
42c6a18fb5 Bug 1107143 - Don't build event regions unless we're painting to the window. r=tnikkel
MozReview-Commit-ID: LRN8S7buXLL

--HG--
extra : rebase_source : 608e7f32c272f0154a509cab31be34c98ade5845
2016-03-07 17:08:31 -05:00
Kartikaya Gupta
b107477fd5 Bug 1254263 - Add a flag to allow disabling paint-skipping. r=mstange
MozReview-Commit-ID: 4bgvqEZcSWy

--HG--
extra : rebase_source : 3aafaffa34b9e7afba81bbec52793eedb8f425ac
2016-03-07 16:25:00 -05:00
Markus Stange
73cb47ec12 Bug 1192910 - Stop triggering repaints when the displayport margins change without the displayport changing. r=kats
MozReview-Commit-ID: K1g6sNlZdRk
2016-03-07 16:27:41 -05:00
Kartikaya Gupta
c712b6166e Bug 1251937 - Don't align to tiles when displayport suppression is enabled. r=BenWa
MozReview-Commit-ID: JMSqpMPUcpv
2016-03-07 16:23:23 -05:00
Jonathan Watt
3032d8365b Bug 1253094, part 5 - Stop using DebugOnly for class/struct members in layout/. r=mats
MozReview-Commit-ID: 3a49kqA4A9
2016-02-26 15:52:07 +00:00
Carsten "Tomcat" Book
41a0c1ddb8 Backed out changeset d88221aad093 (bug 1251995) for reftest failures 2016-03-07 12:18:40 +01:00
Carsten "Tomcat" Book
b9f86983b1 Backed out changeset bf004c055beb (bug 1251995) 2016-03-07 12:18:19 +01:00
Carsten "Tomcat" Book
1d0a6281ac Backed out changeset 3f9fbbef0294 (bug 1251995) 2016-03-07 12:18:17 +01:00
Carsten "Tomcat" Book
f30e50acc7 Backed out changeset 9b31d6fb1fcb (bug 1251995) 2016-03-07 12:18:16 +01:00
Carsten "Tomcat" Book
26ad32ef03 Backed out changeset ac1d42c669be (bug 1251995) 2016-03-07 12:18:14 +01:00
Carsten "Tomcat" Book
cf20e3d145 Backed out changeset c36e12ded845 (bug 1251995) 2016-03-07 12:18:13 +01:00
Carsten "Tomcat" Book
128137c7a9 Backed out changeset 734559c25cb1 (bug 1251995) 2016-03-07 12:18:11 +01:00
Xidorn Quan
e64f114346 Bug 1251995 part 7 - Use struct to pass params for nsTextFrame::Paint*Shadow functions. r=jfkthame
MozReview-Commit-ID: 5Wa9U0Ile4L

--HG--
extra : rebase_source : a568bb94fd7d51ed5308e2a1e13c308b67b143f2
2016-03-02 09:41:43 +08:00
Xidorn Quan
a6408cb861 Bug 1251995 part 6 - Use struct to pass params for nsTextFrame::PaintText* functions. r=jfkthame
MozReview-Commit-ID: NTEUm8TY8N

--HG--
extra : rebase_source : 134dd6abcb3cbc61f61b9466be5675b1a0436684
2016-03-01 17:43:06 +08:00
Xidorn Quan
0a4c762195 Bug 1251995 part 5 - Unify units of dirty rect used for painting text frame. r=jfkthame
MozReview-Commit-ID: BK7j6y7lBV3

--HG--
extra : rebase_source : 38b5544d3e572927b64d8066a61bfa9711400199
2016-03-01 16:28:27 +08:00
Xidorn Quan
0f327ddc56 Bug 1251995 part 4 - Use struct to pass params for nsTextFrame::DrawText* functions. r=jfkthame
MozReview-Commit-ID: LYshkPDrqYl

--HG--
extra : rebase_source : 9047819828a41df693fe9e8c663bd2113644ae7a
2016-03-02 13:27:17 +08:00
Xidorn Quan
11bea4b5a2 Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
MozReview-Commit-ID: HAqtS3VXPHH

--HG--
extra : rebase_source : de01c02d3baf3e8c648d6301bd6ff283d76ae212
2016-02-29 19:06:05 +08:00
Xidorn Quan
8e3206382b Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : rebase_source : 29961e56b5fe14b244046b3dc52b1f922c206218
2016-02-29 16:50:17 +08:00
Xidorn Quan
5b1f34e2f6 Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
MozReview-Commit-ID: 6UBvmEpo12f

--HG--
extra : rebase_source : e967015366b727f199fe3febedc70f1f43f19725
2016-03-04 19:20:43 +08:00
Timothy Nikkel
3849e26998 Bug 1253044. Fix fall through of observer topics when other conditions aren't met in PresShell::Observe. r=dholbert 2016-03-06 23:43:47 -06:00
Daniel Holbert
09bd32b41a Bug 458634 trivial followup: Drop executable bit from a reftest font & its license text-file. (no review) 2016-03-06 16:51:50 -08:00
Bobby Holley
9440c9f754 Bug 1253149 - Use bool instead of int for boolean return values. r=SimonSapin 2016-03-05 19:58:04 -08:00
Bobby Holley
293f493107 Bug 1253149 - Remove the #ifdef __cplusplus bits from ServoBindings.h. r=SimonSapin 2016-03-05 19:58:03 -08:00
Ryan VanderMeulen
54367e83bf Merge fx-team to m-c. a=merge 2016-03-05 19:22:45 -05:00
Phil Ringnalda
cabee82044 Back out 9 changesets (bug 801176) for frequent crashes in test_offscreencanvas_dynamic_fallback.html
Backed out changeset 82320c900699 (bug 801176)
Backed out changeset 624fb8512ba5 (bug 801176)
Backed out changeset a2a7b1c4dc5b (bug 801176)
Backed out changeset e210473d793c (bug 801176)
Backed out changeset 0fb279e041e1 (bug 801176)
Backed out changeset c090dc98c670 (bug 801176)
Backed out changeset fc509e59a0cd (bug 801176)
Backed out changeset 134a8c56335a (bug 801176)
Backed out changeset 2022afa9aef2 (bug 801176)
2016-03-05 07:20:47 -08:00