Brian Birtles
38e9dfee9e
Bug 1245260 - Ignore redundant calls to RestyleManager::IncrementAnimationGeneration; r=dbaron
...
While processing restyles and starting transitions, we may trigger
a call to EffectCompositor::UpdateCascadeResults which may, in turn, call
EffectCompositor::RequestRestyle with RestyleType::Layer, which ultimately
results in a call to RestyleManager::IncrementAnimationGeneration().
Typically, nsTransitionManager::StyleContextChanged compares the animation
generation on its collection with that of the restyle manager and uses this
to ignore the restyle that it generates. However, given the sequence of events
above, that check may no longer help since the restyle manager's animation
generation will be out of step. As a result,
nsTransitionManager::StyleContextChanged will fail to ignore a subsequent
and redundant restyle. With certain combinations of content, this can mean that
restyles are posted in such a manner than an infinite cycle of restyles ensues.
This patch causes RestyleManager to ignore calls to IncrementAnimationGeneration
when it is already processing restyles such that the animation generation is
only ever updated once per restyle. This makes the check for a matching
animation generation in nsTransitionManager::StyleContextChanged work as
expected, preventing us from generating needless transitions which can produce
this endless loop.
MozReview-Commit-ID: 9HYDrknKPAI
--HG--
extra : rebase_source : f7d9f251d20805fcb4d0d9be04d4343336e69836
2016-03-16 15:05:10 +08:00
Mike Hommey
0a771514a8
Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
...
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
L. David Baron
fef3d844c0
Bug 1256745 - Cancel the DidPaint timer in SetShell(nullptr). r=mattwoodrow
...
MozReview-Commit-ID: KwtJD4AywX1
2016-03-16 13:47:41 -07:00
Ryan VanderMeulen
282499897a
Bug 1254826 - Annotate bug441782-3.html as passing on WinXP. r=ehsan
...
--HG--
extra : rebase_source : 28d9aaa8191708fe146dc6aee23edebc8477e24f
2016-03-16 14:26:03 -04:00
Ryan VanderMeulen
eff7a39713
Bug 1254832 - Update annotation to only expect failure on hardware-accelerated builds. r=me
2016-03-16 12:00:33 -04:00
Xidorn Quan
b377ad08c2
Bug 1257099 - Normalize the path of extensions for reftest. r=jmaher
...
MozReview-Commit-ID: 7nTx3uniJik
--HG--
extra : rebase_source : 4d757211c4fda9953a5817ad5e037b4b70994636
2016-03-16 14:26:27 +08:00
Xidorn Quan
0fb001761f
Bug 1256257 - Clear Win10 intro page url for reftest. r=jmaher
...
MozReview-Commit-ID: 3iJ8QVSNaKx
--HG--
extra : rebase_source : af532bdaf1c9fa66fff5dd530cf9639ed9bab63d
2016-03-16 14:27:25 +08:00
Nicholas Nethercote
a2f068b2ad
Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
...
This is easy because it's never needed.
--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Mike Shal
49c5290021
Bug 1256033 - Remove layout/style/test/Makefile.in; r=glandium
...
The css_properties.js rule can be converted into gen-css-properties.py,
which we can install with TEST_HARNESS_FILES instead of the
mochitest.ini manifest.
MozReview-Commit-ID: F7nf71ORWsS
2016-03-11 19:28:02 -05:00
Ryan VanderMeulen
be834fd775
Bug 1254832 - Annotate tree-row-outline-1.xul as failing on Win8 e10s. r=dbaron
2016-03-15 17:05:44 -04:00
Markus Stange
e41f4e8c1a
Bug 1255068 - Do not allow empty transaction transform changes if the scroll position has changed since the last paint. r=kats, r=mattwoodrow
...
MozReview-Commit-ID: 7exuhuf3HTJ
--HG--
extra : rebase_source : b131cdc68e07ab8dfdc6ae56caa24cc0ced5102e
2016-03-11 16:09:16 -05:00
Kartikaya Gupta
531a753e23
Bug 1255856 - Don't allow paint-skipping if there are windowed plugins on the page. r=mstange,jimm
...
MozReview-Commit-ID: BzQcUrSqCr5
2016-03-15 15:12:11 -04:00
Ryan VanderMeulen
30ac772d08
Bug 1157716 - Add a bit more fuzz for Windows unaccelerated reftest jobs. r=kats
...
--HG--
extra : rebase_source : fa62e19a13a0e1a678a9b8e169c3aef8825f5719
2016-03-15 12:11:10 -04:00
Timothy Nikkel
4bb3f55591
Bug 1209780. Mark some DrawResult's as unused in layout/svg. r=seth
...
We want to turn on the static analysis so no new violations are introduced. Fixing these is not straight forward.
2016-03-21 16:15:19 -05:00
Matt Woodrow
4bbe4fd01d
Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker
2016-03-22 09:06:58 +13:00
Boris Chiou
efe45f15d3
Bug 1249219 - Part 3: Replace Pair<Element*, CSSPseudoElementType> with NonOwningAnimationTarget. r=birtles
...
--HG--
extra : rebase_source : 35e69a293cdb7a25ce579dbb453289ed3521e7e2
2016-03-21 16:49:50 +08:00
Mason Chang
7c8ee2c76a
Bug 1207332. Update split-opacity-layers-1.html reftest fuzing on os x. r=me
2016-03-21 11:19:04 -07:00
Mason Chang
b7563f899e
Bug 1207332. Part 3: More skia os x reftest fuzzing. r=lsalzman
2016-03-21 09:04:07 -07:00
Mats Palmgren
f482a337c2
Bug 1258147 - Reftests with display:contents and ortogonal writing-mode.
2016-03-21 16:56:07 +01:00
Mats Palmgren
725f3ced29
Bug 1258147 - Pierce through display:contents style context ancestors when looking for CB context to compare our writing-mode to. r=jfkthame
2016-03-21 16:56:07 +01:00
Ryan VanderMeulen
a2634713e0
No bug - Add reftest annotations for Win10.
...
--HG--
extra : rebase_source : 45682f4ce6dcd4c28bdaaf90ee2a5a6a59c83a8b
2016-03-21 00:28:43 -04:00
Ryan VanderMeulen
be3bbfc784
No bug - Re-enable some disabled reftests on e10s.
...
--HG--
extra : rebase_source : d3c1489372f7be7baf4dc0282c9f37a82fe2e685
2016-03-21 00:28:43 -04:00
Jonathan Kew
5a67b554ba
Bug 1238243 followup - Mark test 1238243-2.html as random on OS X 10.6, due to dependency on available fonts.
2016-03-21 12:54:33 +00:00
Xidorn Quan
60bcaa5c0b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan
8acf32453c
Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
...
MozReview-Commit-ID: 4KMLCz6wQHQ
--HG--
extra : rebase_source : 08964aef3b335163985dd6818b4a6ae3a4e34fce
2016-03-17 12:07:47 +08:00
Xidorn Quan
f4ef02b391
Bug 1257121 part 1 - Use struct for passing some params of font metrics. r=jfkthame
...
MozReview-Commit-ID: FTJlYS3bbTa
--HG--
extra : rebase_source : f3df5f8ebe3f223abc62dc1ae1bf5f7830d63ab8
2016-03-21 11:59:36 +08:00
Jonathan Kew
80e600e39f
Bug 1140413 - Mark subsuper-fallback.html test as random on Android (as well) due to bug 1139269. (manifest annotation, no review)
2016-03-21 07:29:06 +00:00
Jonathan Kew
7a88338d98
Bug 1238243 - Reftests involving possibly-ignorable hangul choseong filler. r=xidorn
2016-03-21 07:27:53 +00:00
Daniel Holbert
00d43c6f13
Bug 1257938 part 3: Remove support for the "layout.css.sticky.enabled" pref (so we'll unconditionally support "position: sticky"). r=corey
...
MozReview-Commit-ID: 9jYcXkUvi8S
2016-03-20 23:06:53 -07:00
Daniel Holbert
42d59af359
Bug 1257938 part 2: Remove separation between test_position_sticky.html & its helper-file, now that it doesn't need to tweak a pref. r=corey
...
MozReview-Commit-ID: 7aUlaBP1OK
2016-03-20 23:06:42 -07:00
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
Hiroyuki Ikezoe
9cacbd5b2d
Bug 1196114 - Part 5: Store performce warning information as enum type. r=birtles
...
Each warning message is generated only when getPropertyState() is called.
MozReview-Commit-ID: C03ZSvPv9ff
--HG--
extra : rebase_source : 5932957f8f0b171c7b100b1c22e70513959c819e
2016-03-04 17:54:25 +09:00
Hiroyuki Ikezoe
53fd8ccffb
Bug 1196114 - Part 4: Localize messages for animation performance warnings. r=birtles
...
MozReview-Commit-ID: LPSHU2T3oP4
--HG--
extra : rebase_source : 898e11b02edd3f80452c8c2714b8364288a3fe75
2016-03-04 15:48:50 +09:00
Hiroyuki Ikezoe
d7ac86e556
Bug 1196114 - Part 3: Set AnimationPerformanceWarning messages. r=birtles
...
Those message will be modified in part 4 (localization).
MozReview-Commit-ID: 6TMUxemVLcu
--HG--
extra : rebase_source : 65ef1879b3e606ae6dc279981b1e995c7b2cd40b
2016-03-04 15:07:04 +09:00
Carsten "Tomcat" Book
6e681479dc
Merge mozilla-central to fx-team
2016-03-04 13:40:08 +01:00
Neil Deakin
b4405ac04b
Bug 1246669 - Enable test_bug749186.html and test_bug345267.html for e10s. r=dao
2016-03-04 08:49:09 +01:00
Daniel Holbert
f73795cc3b
Bug 1253354: Update flexbox reftests that deal with table parts in a flex container; now these elements will be blockified & will become flex items. r=mats
...
Specific changes:
- flexbox-table-fixup-001a.xhtml previously tested that table parts would get wrapped in an anonymous table, which would form a single flex item. This patch changes it to instead test that each table-part forms its own flex item.
- flexbox-table-fixup-001b.xhtml previously was a "belt and suspenders" afterthought to its "001a" counterpart. It verified that flex-item properties (like "flex") had no effect on table parts in a flex container. This patch removes this test (since it's no longer valid) and renames the "001a" test to simply "001" as a result.
- flexbox-with-pseudo-elements-003.html previously tested that ::before/::after pseudo-elements with table-part display values would have their flex-item-related properties ignored (because they'd be wrapped in an anonymous table). This patch flips that expectation, because now these pseudo-elements will directly become flex items and these properties should be honored.
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-table-fixup-001a.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-table-fixup-001.xhtml
2016-03-03 17:15:22 -08:00
Timothy Nikkel
cd3746d910
Bug 1253052. Only schedule paint when apz aware event listener is added if event regions/apz are enabled. r=kats
...
Bug 1210057 added this, we should only do it if apz/event regions are enabled.
2016-03-03 15:52:09 -06:00
Ryan VanderMeulen
9dabe43310
Bug 1252266 - Fuzz some APZ reftests with off-by-one failures.
2016-03-01 16:29:30 -05:00
Ryan VanderMeulen
e5d256eaa8
Bug 1252630 - Move the asyncPan skip-if for APZ reftests to the manifest level instead of per-test. r=kats
2016-03-01 16:56:41 -05:00
Nicholas Nethercote
933e726105
Bug 1252790 - Remove RuleHashTableOps. r=dbaron.
...
It's a confusing and non-standard way of doing things.
--HG--
extra : rebase_source : 0aa66f4d8b028a0b002a664f18ba3b98d936d00f
2016-03-03 09:21:49 +11:00
Bobby Holley
4d0a8d44bd
Bug 1253078 - Switch MOZ_STYLO environmental variable to MOZ_DISABLE_STYLO. r=dholbert
2016-03-02 15:14:55 -08:00
Mats Palmgren
3078b89191
Bug 1225005 - Clamp negative values in containing block size. r=roc
2016-03-02 23:39:34 +01:00
Mats Palmgren
a6b962bbed
Bug 1251999 - [css-grid] Reftests for repeat(auto-fill/fit, <fixed-size>) where <fixed-size> has one or more intrinsic sizing functions (one is allowed).
2016-03-02 23:39:34 +01:00
Mats Palmgren
ed62d7ab53
Bug 1251999 - [css-grid] Update <fixed-size> parsing to the latest spec. r=dholbert
2016-03-02 23:39:34 +01:00
Mats Palmgren
93262a673a
Bug 1250315 - Make <input type=number readonly> match :-moz-read-only and allow context events. r=jwatt
2016-03-02 23:39:34 +01:00
Mats Palmgren
f3bc22c342
Bug 1249913 - True overflow containers shouldn't have borders or background. r=dholbert
2016-03-02 23:39:34 +01:00
Mats Palmgren
5514483d5d
Bug 1249913 - Reftests for 'box-decoration-break' with child overflow.
2016-03-02 23:39:33 +01:00
Nathan Froyd
bced2f7575
Bug 1253007 - part 2 - pass a const& to PaintRangePaintInfo; rs=dholbert
2016-03-02 16:40:24 -05:00
Nathan Froyd
825414ab6a
Bug 1253007 - part 1 - use UniquePtr for RangePaintInfo in nsPresShell.cpp; r=dholbert
2016-01-20 16:24:28 -05:00
Stanley Mwangi
ecaaff970b
Bug 1243083 - Added --disable-e10s to mochitest_options.py and reftestcommandline.py. r=ahal
...
MozReview-Commit-ID: I3UIS8eEZ8D
--HG--
extra : rebase_source : cad52821f891915b2d174f60c250fb80ec307525
extra : amend_source : fe1a47030662a58c409e3cf2b42dc0ace452178d
2016-03-02 16:33:13 -05:00
Felipe Gomes
0fcf346707
Bug 1250744 - Disable e10s add-ons blocking on testing profiles. r=jmaher
2016-03-02 13:50:55 -03:00
CJKu
b33d045deb
Bug 1252739 - nsStyleImageLayers::HasLayerWithImage should return true when we have mask-image:<element-reference> | <gradient>; r=dbaron
...
MozReview-Commit-ID: 876p0IfKoUi
2016-03-02 16:27:21 +08:00
Tom Tung
6a022181ea
Bug 1238845 - Implement UUID helper - dom/bluetooth & dom/webidl & layout/build change. r=jocelyn, r=bz
2016-01-15 19:30:46 +08:00
Daisuke Akatsuka
0b1a2c1ae5
Bug 1248338 - Implement iterationStart; r=birtles
2016-03-02 16:23:34 +09:00
Phil Ringnalda
3d9efc3b94
Back out 3bd640d45525 (bug 1252266) for "sorting" other conditions so they no longer work
2016-03-01 20:28:30 -08:00
Ryan VanderMeulen
7ef84e4e6d
Bug 1160011 - Fuzz 518172-2b.html on OSX e10s as well.
2016-03-01 23:00:42 -05:00
Ryan VanderMeulen
72c830eed0
Bug 1252266 - Fuzz some APZ reftests with off-by-one failures on OSX e10s.
2016-03-01 16:29:30 -05:00
Ryan VanderMeulen
bfba1808a2
Bug 1160011 - Fuzz 518172-1b.html on OSX e10s.
2016-03-01 16:13:49 -05:00
Ryan VanderMeulen
292e985055
Bug 1242085
- Add fuzz to a couple font-matching reftests that fail on OSX 10.10 e10s.
2016-03-01 16:13:49 -05:00
Ryan VanderMeulen
f25de7bd9b
Bug 1194533 - Fuzz a couple reftests with off-by-one failures on OSX e10s.
2016-02-29 17:50:50 -05:00
Wes Kocher
ab36d59168
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 3PWdAnh0hk5
2016-03-01 15:29:43 -08:00
Wes Kocher
d4bc23e4dd
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: B0yZpi7wa4I
2016-03-01 15:19:25 -08:00
Brendan Dahl
2ece6215a9
Bug 1235869 - Remove web runtime from android. r=myk
2016-02-29 10:31:00 +01:00
Christoph Kerschbaumer
9ab1648f67
Bug 1195172 - Use channel->ascynOpen2 layout/style/FontFaceSet.cpp (r=bz,cam)
2016-03-01 13:06:13 -08:00
Jim Mathies
744331de7b
Bug 1232181
- Add an image layer for plugin frames that represent windowed plugins on platforms that support scroll capture. r=roc
2016-03-01 12:48:26 -06:00
Jim Mathies
e1dc9da3f2
Bug 1232181
- Notify plugins about scroll state. r=roc
2016-03-01 12:48:26 -06:00
Botond Ballo
cb9e347c28
Bug 1250550 - Ensure a scroll event posted during a refresh driver tick fires during that same tick. r=mats
...
MozReview-Commit-ID: 1ZvYjA6a5ay
2016-02-24 18:20:40 -05:00
Kartikaya Gupta
d9094aa96a
Back out cset 447498cdecee for landing the wrong patch (it was obsoleted by a new one).
...
MozReview-Commit-ID: HOLKux4OtCQ
2016-03-01 09:38:55 -05:00
Botond Ballo
5b55c16a8a
Bug 1250550 - Ensure a scroll event posted during a refresh driver tick fires during that same tick. r=mats
...
MozReview-Commit-ID: 1ZvYjA6a5ay
2016-02-24 18:20:40 -05:00
CJKu
9262252e5d
Bug 1243734 - Part 3. Set mask-mode reftest as failure before enable mask-as-shorthand; r=dbaron
...
MozReview-Commit-ID: 2kvIHx5HOSX
2016-03-01 19:52:17 +08:00
CJKu
9aa8a082cd
Bug 1243734 - Part 2. Set up gCSSProperties depends on mask-as-shorthand; r=dbaron
...
MozReview-Commit-ID: 4QBJtezm9Tt
2016-03-01 19:52:17 +08:00
CJKu
27044084c1
Bug 1243734 - Part 1. Use MOZ_ENABLE_MASK_AS_SHORTHAND to define the type of mask property; r=dbaron
...
MozReview-Commit-ID: FkPgdh8YHOC
2016-03-01 19:52:17 +08:00
Gregory Szorc
57bde8258a
Bug 1244006 - Use const instead of MOZ_CONSTEXPR to avoid startup crash; r=dbaron
...
PGO builds on Visual Studio 2015 Update 1 did not take kindly to
MOZ_CONSTEXPR in this file, causing a startup crash (for reasons
I can't explain). Switching to literal "const" makes the crash
go away.
MozReview-Commit-ID: K1A43NIa6lG
--HG--
extra : rebase_source : 16c57ae79cb642b5d2945425144c726c119371b4
2016-02-29 18:20:07 -08:00
Ting-Yu Lin
b063b0cec5
Bug 1097398 Part 2 - Add preferences to make carets always tilt. r=roc
...
This is to support Firefox Android L style carets assets that the two
carets always look like tilt.
This patch is derived from a WIP patch by Mark Capella
<markcapella@twcny.rr.com>
MozReview-Commit-ID: H3nKLz6HcpM
--HG--
extra : rebase_source : b3a77b0bb8aaea8f010002f54fde075c9d469711
2016-02-16 16:55:28 +08:00
Ting-Yu Lin
514007237a
Bug 1097398 Part 1 - Move AccessibleCaret default assets to layout/style/. r=nalexander, r=heycam
...
Default AccessibleCaret assets were in editor for historical reasons. Because
ua.css references them, I move them to layout/style/ and add them in jar.mn so
that we don't have to package them in various products.
MozReview-Commit-ID: 7K7qr9FK784
--HG--
rename : editor/composer/res/accessiblecaret@1.5x.png => layout/style/res/accessiblecaret-normal@1.5x.png
rename : editor/composer/res/accessiblecaret.png => layout/style/res/accessiblecaret-normal@1x.png
rename : editor/composer/res/accessiblecaret@2.25x.png => layout/style/res/accessiblecaret-normal@2.25x.png
rename : editor/composer/res/accessiblecaret@2x.png => layout/style/res/accessiblecaret-normal@2x.png
rename : editor/composer/res/accessiblecaret_tilt_left@1.5x.png => layout/style/res/accessiblecaret-tilt-left@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_left.png => layout/style/res/accessiblecaret-tilt-left@1x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2.25x.png => layout/style/res/accessiblecaret-tilt-left@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2x.png => layout/style/res/accessiblecaret-tilt-left@2x.png
rename : editor/composer/res/accessiblecaret_tilt_right@1.5x.png => layout/style/res/accessiblecaret-tilt-right@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_right.png => layout/style/res/accessiblecaret-tilt-right@1x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2.25x.png => layout/style/res/accessiblecaret-tilt-right@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2x.png => layout/style/res/accessiblecaret-tilt-right@2x.png
extra : rebase_source : bb29652fcc47725feb44397a7f9f39c89b0161b6
2016-02-16 16:55:28 +08:00
Nicholas Nethercote
6cdef547b5
Bug 1252374
- Increase the chunk size of the displayListArena. r=roc.
...
It reduces the number of malloc/free calls and may reduce malloc heap
fragmentation.
--HG--
extra : rebase_source : 9ca0b27fc29181667be924116807186e8eb1c1fa
2016-03-01 16:48:31 +11:00
Daniel Holbert
40bd6a6b1e
Bug 1251848: Check StyleSheetHandles for being null-flavored before derefing them, in assertions within nsLayoutStylesheetCache::InvalidateSheet. r=bholley
2016-02-29 18:57:05 -08:00
Daniel Holbert
36fc48e775
Bug 1192376: Make nsImageBoxFrame check whether image size is available before trying to paint an image. r=seth
2016-02-29 15:09:13 -08:00
Daniel Holbert
e23c4f231b
Bug 1247478: Rename FirstAdditionalAuthorSheet() to GetFirstAdditionalAuthorSheet(), since it can return null. r=heycam
2016-02-29 15:09:13 -08:00
Daniel Holbert
3b5be30cb3
Bug 1245978 part 3: Drop unnecessary whitespace in NS_DECL_NSIDOCUMENTVIEWERPRINT macro. (whitespace only, no review)
2016-02-29 15:09:13 -08:00
Daniel Holbert
65bef52b4d
Bug 1245978 part 2: Drop redundant 'virtual' keyword from NS_DECL_NSIDOCUMENTVIEWERPRINT macro (which already includes 'override' keyword). r=heycam
...
This makes these lines shorter, and brings us into alignment with the Mozilla Coding Style Guide. See mozilla.dev.platform post "Proposal to alter the coding style to not require the usage of 'virtual' where 'override' is used" for more info.
2016-02-29 15:09:13 -08:00
Daniel Holbert
541713fc1f
Bug 1245978 part 1: Make nsDocumentViewer::CreateStyleSet directly return the thing it creates. r=heycam
2016-02-29 15:09:13 -08:00
Jamie Nicol
609f6141ab
Bug 1247098 - Take document resolution into account when computing root composition bounds for displayport base. r=tnikkel
...
nsLayoutUtils::CalculateCompositionSizeForFrame() is not affected by the
document resolution when called for the root content document's root
scroll frame. When determining the root composition bounds in order to
calculate a displayport base, if the frame used is the RCD-RSF we must
be sure to scale the bounds ourselves by the document resolution.
MozReview-Commit-ID: ATctmEYvWIJ
--HG--
extra : rebase_source : ba96e7ecc2cefdbeacb08fbd3f5817819dd933c8
2016-02-24 15:30:10 +00:00
Jamie Nicol
4443e3c227
Bug 1247098 - Mark nsIPresShell::GetResolution and nsPresContext::IsRootContentDocument as const. r=tnikkel
...
MozReview-Commit-ID: 5IXm4EUy7IN
--HG--
extra : rebase_source : 7028a908adcb36828a58bb3ad7403559cfad9eb2
2016-02-24 14:57:43 +00:00
Ting-Yu Lin
a423fc51d3
Bug 1251915 - Ignore handling eTouchCancel events. r=roc
...
In my original design, I treat eTouchCancel to be like eTouchEnd for
ending a caret dragging procedure.
However when pointer events is enabled, it sents an eTouchCancel event
after the eTouchStart event whose primary usage is to be converted to
pointer events, which then cancels the normal caret dragging procedure.
Moreover, when pointer events is disabled, we don't get eTouchCancel
during a normal caret dragging scenario, so we don't really need to
handle eTouchCancel anyway.
MozReview-Commit-ID: GKju2Tp0q3Q
--HG--
extra : rebase_source : 31da189fc5543c7df0d748df004fc67c87f4da7f
2016-02-29 15:51:44 +08:00
Ting-Yu Lin
5b6692bd2c
Bug 1251915 - Correct AccessibleCaretEventHub coding style by clang-format. r=roc
...
This patch is generatedy by applying clang-format on
AccessibleCaretEventHub.cpp.
MozReview-Commit-ID: 10qPJ47CVMH
--HG--
extra : rebase_source : ff39be696ef4cd93ffbe0b9e7c95920aa03a6893
2016-02-29 15:51:44 +08:00
Bogdan Postelnicu
5a04584913
Bug 1252039 - corrected MOZ_ASSERT expression in SeparatorRequiredBetweenTokens. r=dbaron
...
MozReview-Commit-ID: 89XUK8hKSSE
--HG--
extra : rebase_source : 53a336311edc4faabf20a829f58ed95461aa6cf6
2016-02-29 14:26:22 +02:00
Ting-Yu Lin
883cfca3eb
Bug 1250560 - Fix crash in HandleTouchEvent. r=roc
...
When enabling "dom.w3c_pointer_events.enabled", we might get a
eTouchCancel event without any touch data. That is, aEvent->touches is
an empty array. We need to make sure it's non-empty before accessing
aEvent->touches[0].
MozReview-Commit-ID: BQUsrJjHHEl
--HG--
extra : rebase_source : d5f435792ecc0cac79937121fa03ce6f22c59582
2016-02-28 23:16:45 +08:00
David Anderson
0efa6917a2
Ensure that content processes recreate rendering devices. (bug 1245765 part 8, r=mattwoodrow)
2016-02-29 01:53:15 -05:00
David Anderson
c00e9a5d93
Handle device resets by recreating the compositor, rather than the compositor IPDL stack. (bug 1245765 part 7, r=mattwoodrow)
2016-02-29 01:53:15 -05:00
David Anderson
dd2df9d99a
Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow)
2016-02-29 01:53:14 -05:00
David Anderson
baa8528ec5
Fold nsDisplayBlendContainer constructors. (bug 1209278 part 3, r=mstange)
2016-02-29 01:45:43 -05:00
David Anderson
4de734947b
Remove lazy scrollinfo hoisting introduced in bug 1193557. (bug 1209278 part 2, r=mstange)
2016-02-23 10:11:43 -08:00
David Anderson
b7dba4cb77
Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange)
2016-02-23 10:11:21 -08:00
Ryo Motozawa
35966647ca
Bug 1244641 - Part 5: Add duration tests in layout/style/test. r=hiro
...
MozReview-Commit-ID: JrsLXlvjJa8
--HG--
extra : transplant_source : H%24%12%FF%01%40%97%02%23ym%88%C2%C6%08T%ACB%20%91
2016-02-27 06:41:40 +09:00
Robert O'Callahan
e0d9d3c032
Bug 1250143. Account for border/padding on outer <svg> elements in GeometryUtils. r=mats
...
MozReview-Commit-ID: KwEwnukNgeF
--HG--
extra : rebase_source : d0ba2e4cd3e45280d8d030517c515caa04cb0b66
2016-02-25 23:54:09 +13:00
Bobby Holley
5c409b2ed2
Bug 1251496 - Forward stylesheet management to RawServoStyleSet. r=heycam
2016-02-28 00:25:34 -08:00
Bobby Holley
205b124ab5
Bug 1251496 - Introduce a servo-side data structure to represent the style set. r=heycam
2016-02-28 00:25:33 -08:00
Bobby Holley
90a86c1a2e
Bug 1251496 - Hoist existing RefPtrTraits into a ServoBindingHelpers.h. r=heycam
...
I think we're going to have a fair number of things like this, so I'd rather
put them all in one place, rather that defining them in the header for the first
consumer that uses the type.
2016-02-28 00:25:32 -08:00
Eric Rahm
fa0cddb6fb
Bug 1251770 - Remove remaining references to MOZILLA_XPCOMRT_API from layout. r=dbaron
2016-02-27 11:12:08 -08:00