Commit Graph

20633 Commits

Author SHA1 Message Date
Timothy Nikkel
6eb349ee89 Bug 874950. Don't let fixed position conclude occlude async scrolled content. r=roc
It would be incorrect to occlude async scrolled content.

Instead of doing a lot of extra frame tree walking just use the flags on display items to tell if they are in fixed position subtrees.

Also, don't let the fixed position flag on display items get set if we start building display items inside a subdocument. If didn't do this non-fixed content in a subdocument that is in fixed content in the parent document would be marked as in fixed position, and no occlusion would occur at all. This means that the fix applies to slightly less cases which are less important so that a more important case works the same as before.
2014-03-20 18:23:16 -05:00
Timothy Nikkel
fa25b28ebf Bug 874950. Record on display items if they are inside a fixed position subtree. r=roc 2014-03-20 18:23:16 -05:00
Ryan VanderMeulen
355f83a308 Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE.
Backed out changeset 98e31d225a5a (bug 917755)
Backed out changeset 43bceca43fb6 (bug 917755)
Backed out changeset 5117e3f594e7 (bug 917755)
Backed out changeset ada41f2f74b8 (bug 917755)
Backed out changeset 5272cfbd63f3 (bug 917755)
Backed out changeset f3bbd98021f7 (bug 917755)
Backed out changeset b049571a7cce (bug 917755)
Backed out changeset 472cb7738e14 (bug 917755)
2014-03-20 16:34:25 -04:00
Ryan VanderMeulen
4b007b082c Backed out changesets 716f942b5798, 48edbd324d0f, 3e6446f6d0e6 (bug 918189) for bustage. 2014-03-20 16:33:54 -04:00
Robert O'Callahan
201b14766b Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats 2013-09-20 22:22:11 +12:00
Robert O'Callahan
0518f069ab Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst 2014-03-12 09:11:39 +08:00
Robert O'Callahan
f79e645249 Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats 2014-03-12 09:11:38 +08:00
Robert O'Callahan
cb0ca90a5c Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal 2013-09-20 22:21:42 +12:00
Robert O'Callahan
570c9395bc Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal 2014-03-12 09:11:38 +08:00
Robert O'Callahan
e367900d2f Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal 2013-09-20 22:21:03 +12:00
Carsten "Tomcat" Book
2b4e4f7edd merge mozilla-inbound to mozilla-central 2014-03-20 13:56:02 +01:00
Carsten "Tomcat" Book
9fe557e5da Backed out changeset 1d12ab8bf5fe (bug 950526) for android reftest failures on a CLOSED TREE 2014-03-20 10:00:24 +01:00
Carsten "Tomcat" Book
80fc76217f Backed out changeset d5f4ed799fa3 (bug 950526) 2014-03-20 09:58:08 +01:00
Daniel Holbert
128cc39b95 (no bug) Remove whitespace at end of line in FrameLayerBuilder. (whitespace-only, DONTBUILD) 2014-03-20 14:49:27 +08:00
Daniel Holbert
8c8d7274be (no bug) Remove whitespace at end of line in nsCSSFrameConstructor. (whitespace-only, DONTBUILD) 2014-03-20 14:49:26 +08:00
Daniel Holbert
9bd5ed2407 (no bug) Remove whitespace at end of line in nsPresShell, nsIPresShell, and nsPresContext. (whitespace-only, DONTBUILD) 2014-03-20 14:49:25 +08:00
John Daggett
ba7d1fb3a6 Bug 921858 - reftest to test various space-containing lookup scenarios. r=jfkthame 2014-03-20 14:43:31 +08:00
John Daggett
753d90ac34 Bug 950526 - reftest for first-line handling of font styles. r=heycam 2014-03-20 14:43:30 +08:00
John Daggett
8a2f99bfd8 Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron 2014-03-20 14:43:29 +08:00
Cameron McCormack
3aec122f32 Bug 959973 - Followup to actually run the tests. r=dbaron 2014-03-20 15:43:37 +11:00
Markus Stange
178e89ae41 Bug 926292 - Put overlay scrollbars on top of the topmost positioned descendant of the scrolled frame. r=mats 2014-03-20 10:12:46 +08:00
Markus Stange
89c093b68b Bug 926292 - Add a testing pref for stopping overlay scrollbars from fading out. r=roc 2014-03-20 10:12:46 +08:00
Markus Stange
29f041c71a Bug 984761 - Use a typed enum for ColorSpace and AlphaModel. r=bjacob 2014-03-20 10:12:43 +08:00
Wes Kocher
fd0079fbe5 Backed out changeset 8764e9f061d0 (bug 980679) for a smoketest regression 2014-03-19 16:14:42 -07:00
Carsten "Tomcat" Book
1c1cd1a7e6 Backed out changeset 094decae8ff3 (bug 917755) for mochitest-1 bustage on a CLOSED TREE 2014-03-19 09:47:43 +01:00
Carsten "Tomcat" Book
cf4b10ed86 Backed out changeset 4771c2b309ad (bug 917755) 2014-03-19 09:46:04 +01:00
Carsten "Tomcat" Book
e1e727b8cc Backed out changeset 1b7530ddb0af (bug 917755) 2014-03-19 09:46:01 +01:00
Carsten "Tomcat" Book
3ca2210713 Backed out changeset f7e676be8fa0 (bug 918189) 2014-03-19 09:45:58 +01:00
Carsten "Tomcat" Book
174014df63 Backed out changeset e60fe593236d (bug 918189) 2014-03-19 09:45:57 +01:00
Carsten "Tomcat" Book
1a9bcfcc8e Backed out changeset 2f3187619c9e (bug 918189) 2014-03-19 09:45:48 +01:00
James Kitchener
b8b229d76e Bug 522393 - Remove invisible operators special case in reflow. r=fredw, r=roc 2014-03-19 13:05:02 -04:00
Ryan VanderMeulen
c5975cfb88 Backed out changesets a17ee88f1fe7, 6e3aee4a9650, 07e5ed676919 (bug 950076) for Werror bustage. 2014-03-19 14:00:10 -04:00
Ryan VanderMeulen
9289517c9a Backed out changeset 76f6f3d6d8e3 (bug 522393) for Werror bustage. 2014-03-19 13:32:30 -04:00
Alessio Placitelli
f0971950d5 Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-19 13:05:03 -04:00
James Kitchener
fa25f6be3e Bug 522393 - Remove invisible operators special case in reflow. r=fredw, r=roc 2014-03-19 13:05:02 -04:00
Neil Deakin
4398241309 Bug 972566, when a window is resized, panels should be repositioned after the view reflow rather than within the webshell listener, r=tn 2014-03-19 12:48:08 -04:00
Neil Deakin
54fd69f1a7 Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
L. David Baron
c960af6e7f Rename tests to match normal convention (abspos rather than abpos) and to match their internal rel=match. No bug.
This is importing a changeset from the CSS WG test repository by
Peter Linss <peter.linss@hp.com>.

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-abpos-child-1-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-abspos-child-1-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-abpos-child-1a.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-abspos-child-1a.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-abpos-child-1b.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-abspos-child-1b.html
2014-03-20 00:43:41 +08:00
Bobby Holley
a228c689cc Bug 825392 - Fix up a test to use transitive wrapping rather than getPrivilegedProps. r=bz 2014-03-19 13:35:44 -03:00
Ryan VanderMeulen
56a63775df Backed out changeset 1028c462d120 (bug 518592) for Werror bustage on a CLOSED TREE. 2014-03-19 11:16:36 -04:00
Xidorn Quan
bef437c64d Bug 985186 - Unwanted white space for multiple of 10,000 in Korean counter styles. r=jfkthame 2014-03-19 10:36:28 -04:00
James Kitchener
2ca56ed2d0 Bug 518592 - Fix single char <mi> frame type and add a test for dotless i. r=karlt 2014-03-19 10:36:27 -04:00
Robert O'Callahan
536ed13a33 Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats 2013-09-20 22:22:11 +12:00
Robert O'Callahan
0da1d0044c Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst 2014-03-12 09:11:39 +08:00
Robert O'Callahan
2ca806293f Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats 2014-03-12 09:11:38 +08:00
Robert O'Callahan
a4a2c7a113 Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal 2013-09-20 22:21:42 +12:00
Robert O'Callahan
4febcecf5a Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal 2014-03-12 09:11:38 +08:00
Robert O'Callahan
bc8977d790 Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal 2013-09-20 22:21:03 +12:00
Seth Fowler
df7910132c Bug 63895 (Part 5) - Add more tests for positioned internal table objects serving as absolute containing blocks. r=dbaron
--HG--
rename : layout/reftests/abs-pos/table-internal-1-ref.html => layout/reftests/abs-pos/table-internal-5-ref.html
rename : layout/reftests/abs-pos/table-internal-3-ref.html => layout/reftests/abs-pos/table-internal-6-ref.html
rename : layout/reftests/abs-pos/table-internal-4-ref.html => layout/reftests/abs-pos/table-internal-7-ref.html
2014-03-19 11:04:26 +08:00
Seth Fowler
24f4381f75 Bug 63895 (Part 4) - Propagate overflow of relatively positioned table parts to the table frame. r=dbaron 2014-03-19 11:04:23 +08:00
Jonathan Watt
22431e7e4a Bug 984280 - Convert DOMSVGPoint from Thebes to Moz2d. r=heycam 2014-03-19 09:13:18 +08:00
Daniel Holbert
3ba0796843 Bug 981640: Mark reftest svg/smil/transform/paced-1.svg as fuzzy on Windows. 2014-03-19 08:46:34 +08:00
Anuj Agarwal
6ee6fd4dc3 Bug 975747 - Reftest for MathML operator dictionary. r=fred.wang 2014-03-18 14:25:40 -07:00
Anuj Agarwal
0be8367522 Bug 975747 - Convert gOperatorTable to nsDataHashtable. r=karlt 2014-03-18 14:25:40 -07:00
Simon Sapin
6a56bcdf93 Bug 984241: Refactor/optimize grid-template-areas, store number of columns. r=dholbert
In the parsing code for grid-template-areas:

* Move some of the processing into the helper function,
  so that the grid-template will not have to duplicate it.

* Store the number of parsed columns (and rows),
  as they will affect the size of the "explicit grid".

* Use a hash table instead of a linear scan to avoid O(n²)-ish complexity.
2014-03-18 22:05:49 +08:00
Cameron McCormack
ebea0dc776 Bug 950436 - Store ImageValues that resulted from re-parsing a nsCSSValueTokenStream on that object. r=dbaron 2014-03-18 20:11:14 +11:00
Chris Lord
f641bc93ff Bug 874950 - Don't let fixed position content occlude displayports. r=tn
Don't let opaque fixed position items occlude display items that are in
display ports and thus may be asynchronously scrolled.
2014-03-17 23:39:59 +00:00
Makoto Kato
d846379c7f Bug 982298 - crash in mozilla::ScrollFrameHelper::ScrollToImpl by findAgain. r=roc 2014-03-18 16:35:28 +09:00
Botond Ballo
5242db2420 Bug 983208 - Workaround for composition bounds being wrong on android. r=tnikkel
Go back to using widget bounds. The root content document on android is a child document but it's treated like a root document in many ways. Do this until we can do what would technically be correct.
2014-03-17 12:16:05 -04:00
Cameron McCormack
d4ca54ecda Bug 984739 - Make nsCSSValue::StartImageLoad assume |new ImageValue| is infallible. r=dbaron 2014-03-18 16:49:51 +11:00
Masayuki Nakano
42568ddf15 Bug 983049 part.6 Move remaining stuff in EventDispatcher.cpp into mozilla namespace r=smaug 2014-03-18 13:48:22 +09:00
Masayuki Nakano
abfbab58dd Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
6696fc2bca Bug 983049 part.4 Rename nsDispatchingCallback to mozilla::EventDispatchingCallback r=smaug 2014-03-18 13:48:20 +09:00
Masayuki Nakano
db6b33d414 Bug 983049 part.3 Rename nsEventChainPostVisitor to mozilla::EventChainPostVisitor r=smaug 2014-03-18 13:48:20 +09:00
Phil Ringnalda
975aca0b70 Bug 973322 followup, set the sticky pref so we don't lose either the expected assertion, or the ability to test for the crash 2014-03-17 20:50:45 -07:00
Daniel Holbert
77e70df203 Bug 983434 followup: Fix positioning of MOZ_STACK_CLASS in AutoFlexLineListClearer class definition to fix Linux static-analysis bustage. 2014-03-18 10:27:51 +08:00
Daniel Holbert
f4c4deddd3 Bug 983434 part 2: Store FlexLines and FlexItems in MFBT LinkedLists instead of nsTArrays. r=mats 2014-03-18 09:23:23 +08:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Daniel Holbert
d4b9609044 Backed out c5dc2de8d224 (Bug 983434 part 2) for Linux static-analysis build bustage
CLOSED TREE
2014-03-18 07:27:52 +08:00
Timothy Nikkel
66d95c85ee Bug 984279. Composition bounds are relative to the reference frame, so make that be true when we use view bounds to calculate them. r=mats,botond 2014-03-17 18:02:11 -05:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Daniel Holbert
17628b5239 Bug 983434 part 2: Store FlexLines and FlexItems in MFBT LinkedLists instead of nsTArrays. r=mats 2014-03-18 06:09:41 +08:00
Daniel Holbert
f37d570ca0 Bug 983434 part 1: Minor cleanup in nsFlexContainerFrame.cpp (rename some variables, promote a static function to a private method). r=mats 2014-03-18 06:09:40 +08:00
Neil Rashbrook
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Daniel Holbert
d3bbe75abe Bug 984254: Remove unnecessary nsresult return value on nsCaret::CheckCaretDrawingState(). r=roc 2014-03-17 16:54:30 +08:00
Matt Woodrow
007105ff82 Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08:00
Masayuki Nakano
7add71c341 Bug 982602 Rename ns(LoadBlocking)AsyncDOMEvent to mozilla::(LoadBlocking)AsyncEventDispatcher r=smaug
--HG--
rename : dom/events/nsAsyncDOMEvent.cpp => dom/events/AsyncEventDispatcher.cpp
rename : dom/events/nsAsyncDOMEvent.h => dom/events/AsyncEventDispatcher.h
2014-03-17 15:56:54 +09:00
Masayuki Nakano
a7a5e56dd5 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
L. David Baron
3f0a38bfc2 Bug 981637: Make overflow events fire correctly in UpdateOverflow codepath. r=mats
I confirmed that the mochitest fails without the patch and passes with
it, both standalone and in the directory harness.
2014-03-16 07:21:42 +08:00
Tooru Fujisawa
32dd78ae54 Bug 983570 - Update aState.mPrevChild only when line->IsDirty is true in nsBlockFrame::ReflowDirtyLines. r=mats 2014-03-15 17:29:24 -04:00
Max Vujovic
bce945412e Bug 948265 - Fix user space to filter space transformation and example in nsSVGFilterInstance. r=mstange 2014-03-15 17:08:04 -04:00
Jeff Muizelaar
21392d8a92 Bug 979489. Add an additional pixel of fuzz to border-image-element test
Without this per-tile drawing fails presumably because of slightly different
floating point someplace.

--HG--
extra : rebase_source : 8c19191a8f7cd1a31d46eccbb3b807537fb3296e
2014-03-15 16:25:18 -04:00
Kyle Huey
7067fb5db1 Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
df0e7828eb Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
Kyle Huey
84360900b0 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
e78b977cbc Bug 967364: Use every already_AddRefed. r=bsmedberg 2014-03-15 12:00:16 -07:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Wes Kocher
aa89f0292c Merge inbound to m-c 2014-03-14 22:20:25 -07:00
L. David Baron
bd66f5b3ad Bug 697451 - Stop overriding line-height (max-ing with 1.0) on inputs other than single-line text inputs. r=bzbarsky
This allows *native-themed* button-type inputs to shrink more than
Chromium allows them to, but it might still be Web-compatible.
2014-03-14 17:00:12 -07:00
Daniel Holbert
1422f830ac Bug 983671: Add back (more restricted) 'fuzzy' annotation for reftest svg/smil/transform/skew-1.svg. (no review, test-manifest only) 2014-03-14 12:17:46 -07:00
Jeff Muizelaar
856d8c46e8 Bug 977861. Avoid putting the scroll thumb at subpixel positions. r=mstange
The solution for fixing this properly is not clear and could be a lot of work.
Matt Woodrow agreed that this is probably the right thing to do for now.

This is b2g only because it was causing reftest failures on OS X that I do not
understand and is pretty important for performance.

--HG--
extra : rebase_source : 52517bae11ac4db46471143ff5a30a97c1860e33
2014-03-14 14:48:07 -04:00
Yuan Xulei
ca0c726448 Bug 910412 - WebIDL and DOM binding for filesystem API. r=baku, r=smaug, f=dhylands, f=jonas 2014-03-05 11:26:39 +08:00
Bill McCloskey
aa5f40a77e Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
f4f6bf8e4d Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Ehsan Akhgari
a9eb81b431 Bug 983084 - Correctly handle z-order only changes by removing opacity through a dynamic change; r=dbaron 2014-03-13 19:14:35 -04:00
Bill McCloskey
7193069fa0 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Phil Ringnalda
0a9aff17fb Bug 863658 - Replace mozilla-banner.gif with a plain blue image in 359903-2.html since we aren't trying to test individual pixel differences in resized image painting there, r=bz
--HG--
extra : rebase_source : 7195cabfd486dc4902319506349e2fc1d74b6f00
2014-03-12 23:00:58 -07:00
Tom Hindle
e549835079 Bug 970363 - Fix selection moving over readonly elements in contenteditble blocks. r=roc 2014-03-12 07:45:01 -06:00
Tom Hindle
d00ff2db8c Bug 970363 - Make PeekOffset* methods return continue reason. r=roc 2014-03-13 08:14:37 -06:00
Kartikaya Gupta
f1fd719ac3 Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond 2014-03-13 15:48:38 -04:00
Andrew McCreight
de684478f3 Bug 982373 - Don't leak val when we return early from nsComputedDOMStyle::DoGetTextDecoration(). r=dholbert 2014-03-13 09:18:32 -04:00
Simon Montagu
9241d9e1ba Use logical text layout API for GetSkipSides, bug 789096, r=jfkthame 2014-03-13 00:39:33 -07:00
Botond Ballo
81f6add29a Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats 2014-03-12 12:46:57 -04:00
Botond Ballo
c169aeed9c Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats 2014-03-13 02:34:34 -04:00
Wes Kocher
a15b6e2f00 Merge m-c to m-i 2014-03-12 21:21:07 -07:00
L. David Baron
8201084346 Bug 349259 patch 4 - Add reftests for line-height on input type=text, input type=button, and button. 2014-03-12 20:33:22 -07:00
Boris Zbarsky
816c3b9f57 Bug 349259 patch 3 - Allow pages to override line-height on form controls, except for <select>. r=dbaron
This re-lands the part of the patch not backed out in
https://hg.mozilla.org/mozilla-central/rev/b97aef275b5e
2014-03-12 20:33:21 -07:00
L. David Baron
9ccd746fee Bug 349259 patch 2: Prevent html:input elements from having a line-height smaller than 1. r=bz 2014-03-12 20:33:21 -07:00
L. David Baron
beb1729130 Bug 349259 patch 1: Add an nsIContent* parameter to nsHTMLReflowState::CalcLineHeight. r=bz 2014-03-12 20:33:21 -07:00
Wes Kocher
c317000cea Merge fx-team to m-c 2014-03-12 20:01:45 -07:00
Wes Kocher
e8d6845a05 Merge inbound to m-c 2014-03-12 19:36:50 -07:00
Wes Kocher
a4de6958ad Merge m-c to inbound 2014-03-12 18:59:54 -07:00
Ryan VanderMeulen
50d628ae5a No bug - Remove the failing annotation for layout/reftests/font-face/ivs-1.html on Android.
CLOSED TREE
2014-03-12 15:39:28 -04:00
Ryan VanderMeulen
90b0abdecf Backed out changeset 1f4344d87e75 (bug 518592) for reftest failures. 2014-03-12 10:11:00 -04:00
Vincent Chen
3f3fab17dd Bug 922680 - triage reftests which fail oop, r=ahal 2014-03-12 09:25:23 -04:00
Max Vujovic
7d68e19dc9 Bug 948265 - Introduce an "intermediate" coordinate space to share across chained filters. r=roc 2014-03-12 08:42:19 -04:00
Benoit Jacob
1509f589e0 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Benoit Jacob
23a1ea4c91 Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz 2014-03-07 12:14:25 -05:00
Benoit Jacob
162c30b16f Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
James Kitchener
2ebcbcef65 Bug 518592 - Fix single char <mi> frame type and add a test for dotless i. r=fredw 2014-03-12 08:40:30 -04:00
Carsten "Tomcat" Book
c57ae36771 Merge mozilla-central to mozilla-inbound 2014-03-12 12:27:31 +01:00
Carsten "Tomcat" Book
105cf3d683 merge mozilla-inbound to mozilla-central 2014-03-12 12:15:34 +01:00
Vaibhav Agarwal
262a9b4cd4 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-12 06:16:12 -04:00
Peter Chang
1e4d8e1868 backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804 2014-03-12 15:16:20 +08:00
Simon Montagu
677c6954d4 Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame 2014-03-11 13:23:50 -07:00
Ryan VanderMeulen
4faf81a20d Backed out changeset 1bcd1fea2e73 (bug 922680) for B2G reftest crashes.
CLOSED TREE
2014-03-11 14:29:34 -04:00
Daniel Holbert
f1a9c96f8b Bug 981919: Add some documentation/clarification in test_flexbox_flex_shorthand.html. r=SimonSapin 2014-03-11 10:06:54 -07:00
Kartikaya Gupta
f3c8ac7c3e Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond 2014-03-12 15:27:45 -04:00
Ted Mielczarek
1e45b1eeae Bug 980015 - Remove MOCHITEST_FILES et. al. r=gps 2014-03-05 15:51:39 -05:00
Vaibhav Agarwal
086e8d6332 Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-12 11:41:08 -04:00
CJKu
e2b67702a1 Bug 982533 - Enable DEBUG_SELECTION cause compile fail. r=ehsan 2014-03-14 10:30:41 -04:00
Nathan Froyd
a21c6f2143 Bug 682215 - add a memory reporter for memory from libvpx; r=ted,njn 2014-02-25 16:35:13 -05:00
Masayuki Nakano
f2734aa16b Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Ryan VanderMeulen
5099e8a290 Backed out 5 changesets (bug 910412) for intermittent crash whack-a-mole.
Backed out changeset e3eb9463b3e1 (bug 910412)
Backed out changeset d5863d302bde (bug 910412)
Backed out changeset 422b66d4b1ca (bug 910412)
Backed out changeset 3431d59d752e (bug 910412)
Backed out changeset b1c0310cdac1 (bug 910412)
2014-03-11 12:17:03 -04:00
Vincent Chen
567fc55acc Bug 922680 - triage reftests which fail oop, r=ahal 2014-03-11 12:12:10 -04:00
Ryan VanderMeulen
4a46307f10 Bug 981651 - Remove unused presShell variable to fix Werror bustage. r=kats
CLOSED TREE
2014-03-11 11:35:32 -04:00
Kartikaya Gupta
fe71785dfc Bug 981651 - Don't scale the touch radius up by the resolution amount since it is usually canceled by layer transforms. r=roc 2014-03-11 11:14:51 -04:00
Simon Montagu
9d85f38b92 Use logical coordinates in nsBlockFrame::ReflowBullet. Bug 789096, r=jfkthame 2014-03-11 02:08:36 -07:00
Carsten "Tomcat" Book
cd849b5a0d Backed out changeset 9f92527ff03b (bug 789096) for Valgrind Test-Bustage on a CLOSED TREE 2014-03-11 09:23:32 +01:00
Carsten "Tomcat" Book
030af78620 Backed out changeset aeff4052ef00 (bug 789096) 2014-03-11 09:22:52 +01:00
Carsten "Tomcat" Book
e027e64b7a Backed out changeset 534a0efe7d3d (bug 789096) 2014-03-11 09:22:48 +01:00
Simon Montagu
02482367cf Use logical text layout API for GetSkipSides. Bug 789096, r=jfkthame 2014-03-10 22:19:03 -07:00
Simon Montagu
8db501aece Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame 2014-03-10 22:19:03 -07:00
Simon Montagu
e5b0236cc4 Use logical coordinates in nsBlockFrame::ReflowBullet. Bug 789096, r=jfkthame 2014-03-10 22:19:03 -07:00
Ehsan Akhgari
ae5bc6663d Bug 981292 - Move the CXXFLAGS variable in layout/build/Makefile.in to moz.build; r=mshal
--HG--
extra : rebase_source : 7c9e8dc076aeffe833d84c824be5e6771935373a
2014-03-10 20:13:57 -04:00
Daniel Holbert
f94056206c (no bug) fix trailing whitespace in test_flexbox_flex_shorthand.html. whitespace-only, DONTBUILD
Pusing on a CLOSED TREE with KWierso|sheriffduty's permission
2014-03-10 16:57:44 -07:00
Simon Sapin
b44cf36696 Bug 976787 part 5: Add grid-{column,row}-{start,end} and grid-auto-position to the style system. r=dholbert 2014-03-10 15:54:17 -07:00
Simon Sapin
e04f66defa Bug 976787 part 4: Add the grid-auto-flow property to the style system. r=dholbert 2014-03-10 15:54:16 -07:00
Simon Sapin
2e4ccc6e82 Bug 976787 part 3: Add the grid-auto-{columns,rows} properties to the style system. r=dholbert 2014-03-10 15:54:15 -07:00
Simon Sapin
a1c124e6f3 Bug 976787 part 2: Add the grid-template-areas property to the style system. r=dholbert 2014-03-10 15:54:14 -07:00
Simon Sapin
ed42775975 Bug 976787 part 1: Add the grid-template-{columns,rows} properties to the style system. r=dholbert 2014-03-10 15:54:13 -07:00
Daniel Holbert
5d1e1310a3 Bug 981640: Mark reftest svg/smil/transform/paced-1.svg as fuzzy on Mac. rs=RyanVM 2014-03-10 15:46:31 -07:00
Seth Fowler
136a8a8688 Bug 63895 (Part 3) - Add tests for positioned internal table objects serving as absolute containing blocks. r=dbaron 2014-03-10 15:41:21 -07:00
Seth Fowler
394cb4eccf Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-03-10 15:41:17 -07:00
Seth Fowler
fa7d967784 Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron 2014-03-10 15:41:14 -07:00
Matt Woodrow
e638200a0e Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Matt Woodrow
7ab34aad65 Bug 981252 - Initialize all values in MaskLayerUserData so that equality comparisons make sense. r=dbaron 2014-03-11 11:12:48 +13:00
Kartikaya Gupta
a83d646cfb Bug 981800 - Kill the three-parameter version of ReceiveInputEvent since it is redundant. r=botond 2014-03-10 17:59:46 -04:00
Botond Ballo
70dfe7ab91 Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Gregory Szorc
4b19f5e6c6 Bug 980174 - Remove some empty Makefile.in; r=mshal
--HG--
extra : rebase_source : eada340aed8daebbfc3bf7d4218bca980d654cef
2014-03-05 19:56:56 -08:00
Ryan VanderMeulen
462d354cd5 Backed out changeset 88780b5a201e (bug 980015) for test_property_database.html failures.
CLOSED TREE
2014-03-10 15:31:23 -04:00
Ted Mielczarek
4efe7d076c Bug 980015 - Remove MOCHITEST_FILES et. al. r=gps
--HG--
extra : rebase_source : 3825abc63eb0901bc1422aa00aed3680dbe3e44c
2014-03-05 15:51:39 -05:00
Nathan Froyd
04b818d90c Bug 677653 - part 1 - indirect libogg memory allocations through variables; r=glandium,rillian 2014-03-05 10:58:29 -05:00
Max Vujovic
49c8567b01 Bug 948265 - Remove deprecated filterRes attribute from SVG filters. r=roc, r=hsivonen 2014-03-10 08:55:25 -04:00
Robert O'Callahan
f87fd81842 Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
Robert O'Callahan
bfceba047b Bug 975931. Part 2: Add more async scrolling tests. r=kats
--HG--
extra : rebase_source : eb86d75c6c6d2fffda4b32f1407f158c7a48383a
2014-02-26 17:17:23 +13:00
Robert O'Callahan
147d6aaf9c Bug 975931. Part 9: Add basic reftests for async scrolling. r=tnikkel
--HG--
extra : rebase_source : 007307088ab09dd3811a74cb4782fdee320252f4
2014-02-24 21:57:29 +13:00
Robert O'Callahan
9dcbcf3034 Bug 975931. Part 7: Enable APZC in reftests. r=dbaron
--HG--
extra : rebase_source : 74c33e5b5f4e8aa59199e488cb7606527d7beaec
2014-02-24 20:17:58 +13:00
Robert O'Callahan
22fd2a7033 Bug 975931. Part 4: Support reftest-async-scroll attributes. r=dbaron
--HG--
extra : rebase_source : 2f87486f71f6e670df0999e75ac96cc43123921e
2014-02-24 18:09:47 +13:00
Robert O'Callahan
7d08110a4c Bug 975931. Part 3: When the reftest-async-scroll attribute is present, allow reftest-displayport to be set on any element. r=tnikkel
--HG--
extra : rebase_source : 1cd4607ec6e789f55eb19e156cf7d6657424ca31
2014-02-24 18:08:47 +13:00
Robert O'Callahan
18f9442cc0 Bug 975931. Part 2: Update README with complete documentation of all attributes, and put the attribute name in the section heading. r=dbaron
--HG--
extra : rebase_source : e5a4790fd9ea2a0c5318901c55314d2751b8a5e7
2014-02-24 18:08:34 +13:00
Robert O'Callahan
6a2a74cd42 Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Chris Peterson
e16a6e4390 Bug 980810 - Part 2: Fix clang -Wstring-conversion warning in layout. r=dbaron 2014-03-07 00:53:03 -08:00
Daniel Holbert
ece24222e4 Bug 981110 part 2: Remove a bunch of 'skip-if' annotations for B2G, in SMIL reftests. r=jwatt 2014-03-09 17:45:56 -07:00
Daniel Holbert
4451871ae8 Bug 981110 part 1: Remove some random, skip, and fuzzy annotations in SVG / SMIL reftests. r=jwatt 2014-03-09 17:45:55 -07:00
Bas Schouten
9acb8da5c6 Bug 963073 - Followup: Mark tests as no longer failing on B2G due to tiling being enabled (see bug 916112). r=orange 2014-03-08 03:48:21 +01:00
Masayuki Nakano
2c3296d1bb Bug 978023 part.3 Rename nsIMEStateManager to mozilla::IMEStateManager r=smaug
--HG--
rename : dom/events/nsIMEStateManager.cpp => dom/events/IMEStateManager.cpp
rename : dom/events/nsIMEStateManager.h => dom/events/IMEStateManager.h
2014-03-08 10:20:07 +09:00
Daniel Holbert
f823197be5 Bug 981116: Convert nsFlexContainerFrame boolean member-var into frame state bit. r=heycam 2014-03-07 15:58:38 -08:00
Daniel Holbert
f363dbb577 Bug 981127: Mark nsIFrame methods HasAllStateBits() & HasAnyStateBits() as 'const'. r=heycam 2014-03-07 15:58:37 -08:00
Wes Kocher
24fd4d4e34 Backed out changeset 7a2a0130dcdd (bug 980186) for breaking b2g reftests on a CLOSED TREE 2014-03-07 13:57:06 -08:00
Mike Conley
4611b5bdb4 Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Ryan VanderMeulen
add6a567df Merge m-c to inbound. 2014-03-07 15:45:57 -05:00
Jeff Muizelaar
b1f83f8af6 Bug 980186. Tell automation.environment about the debugger. r=jgriffin
This lets it set the crash reporting envs properly.

--HG--
rename : python/mozbuild/mozbuild/test/frontend/data/test-manifest-install-subdir/subdir.ini => python/mozbuild/mozbuild/test/frontend/data/test-manifest-empty/empty.ini
rename : python/mozbuild/mozbuild/test/frontend/data/test-manifest-install-subdir/moz.build => python/mozbuild/mozbuild/test/frontend/data/test-manifest-empty/moz.build
extra : rebase_source : 1e4cbc0dedab57629e120c4d35bd8270c4f44892
2014-03-07 15:38:48 -05:00
Ryan VanderMeulen
d76583a0fc Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Benoit Jacob
9b658d0e51 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Benoit Jacob
91655cdf5c Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz 2014-03-07 12:14:25 -05:00
Benoit Jacob
9c93a3d8aa Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Daniel Holbert
3d2b7f8eff Bug 980783: Make reftest scale-1.svg use MozReftestInvalidate for dynamic tweak, and make its reftest.list annotations more strict. r=jwatt 2014-03-07 09:48:56 -08:00
Ed Morley
0ddf702725 Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
L. David Baron
5edf98e9eb Bug 978712 - Prevent non-running transitions and animations (animations or transitions during their delay period, and animations after they finish) from repeatedly poking layer activity because we think we can run them on the compositor. r=heycam
This changes the behavior of the CanPerformOnCompositorThread methods of
both ElementAnimations and ElementTransitions to check that the
respective animations or transitions are actually running.  This is ok
because:
 - The main caller is nsLayoutUtils::HasAnimationsForCompositor, and all
   of its callers pretty clearly want the more restricted behavior (they're
   concerned with layer activity)
 - The only other callers of these functions are
   nsAnimationManager::FlushAnimations and
   nsTransitionManager::FlushTransitions (determining when to do
   throttling), nsAnimationManager::GetAnimationsForCompositor (whose
   only caller,
   nsDisplayListBuilder::AddAnimationsAndTransitionsToLayer, also checks
   IsRunningAt).  I think these also all want or are fine with having
   the IsRunningAt check.

As to the actual changes:
 - In the animation manager, I think it's a mistake that
   ElementAnimation::IsRunningAt didn't already check
   mIterationDuration, since we throw out animations with a bad
   iteration-duration in ElementAnimations::EnsureStyleRuleFor.  So this
   makes that change as well.
 - In the transition manager, IsRunningAt already checks
   !IsRemovedSentinel().

I've confirmed in gdb on a device that this fixes the repeated
nsIFrame::SchedulePaint calls that were the symptom of this bug.

I believe this patch also makes it so that a short animation of a
property that can't be animated on the compositor doesn't prevent the
entire duration of the animation of a property that can from being
throttled (having the main thread style updates suppressed).
2014-03-06 22:08:57 -08:00
L. David Baron
359a10be0c Bug 979748 - Simplify code based on already having checked the NS_FRAME_OUT_OF_FLOW bit. r=heycam
Since we've already returned if the NS_FRAME_OUT_OF_FLOW bit is not set,
and since FirstInFlow() is the same as this when GetPrevInFlow() is
null, this is a straightforward simplification of the code and should
not change behavior.
2014-03-06 22:08:57 -08:00
L. David Baron
bfbcf864da Bug 979760 - Pull out a BeginTransaction call common to the start of all three branches of if/else logic. r=mattwoodrow
I don't see any particular reason for them to logically be in each
branch, and it seems the code was originally written with the
BeginTransaction in one place, but later had to be refactored into its
current form.

Note that this separates the comment from one of the EndEmptyTransaction
calls below it, but the comment was actually associated primarily with
the further EndEmptyTransaction call, and with the if above it, based on
the history pointing to
https://hg.mozilla.org/mozilla-central/rev/b4e9a17e7fe2
2014-03-06 22:08:57 -08:00
Matt Woodrow
e1320c476a Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Seth Fowler
451d4a93d4 Backed out 3 changesets (bug 63895)
Backed out changeset ceafe92c7716 (bug 63895)
Backed out changeset 0199299ac111 (bug 63895)
Backed out changeset d78110a5cffa (bug 63895)

--HG--
extra : rebase_source : 76d8a63672dfdb000ff6db5d362231ed6e90c1bc
2014-03-06 16:59:56 -08:00
Timothy Nikkel
089a441c60 Bug 980256. nsDisplayZoom items need some adjustments if they are going to generate a scrollable layer. r=roc
Specifically GetBounds should use nsDisplaySubDocument::GetBounds (and not nsDisplayWrapList::GetBounds) before converting it to the right app units.

Similarly for ComputeVisibility except with the added wrinkle that nsDisplaySubDocument::ComputeVisibility won't properly handle coordinates if we are not generating a scroll layer. Namely it calls nsDisplayWrapList::ComputeVisibility which uses mVisibleRect (which is the visible rect of the scroll frame), when it needs to be using the visible rect of the contained list, which is for the scrolled content inside.
2014-03-06 17:40:31 -06:00
Matt Woodrow
9d2ab6314e Bug 978911 - Add the entire visible region to the layers invalid region when we invalidate the whole thing. r=roc 2014-03-07 12:31:47 +13:00
Matt Woodrow
dff354bb2a Bug 978911 - Add reftest for correct invalidation when changing the scale factors of an inactive transform. r=dholbert 2014-03-07 12:30:42 +13:00
Ed Morley
bd22dac370 Merge backout; CLOSED TREE 2014-03-07 15:53:02 +00:00