Commit Graph

25333 Commits

Author SHA1 Message Date
L. David Baron
af52a71861 Bug 1125455 patch 3 - Add mochitests for animations overriding transitions. r=birtles
Note that (at this stage) some of the tests in both files fail (which I
have verified locally), as noted by the todos and FIXMEs in the test,
which will be removed in later patches in this bug, as the failures are
fixed.
2015-03-18 07:35:30 -07:00
L. David Baron
2c24da9290 Bug 1125455 patch 2 - Set mWinsInCascade for transitions based on whether there are animations. r=birtles 2015-03-18 07:35:30 -07:00
L. David Baron
8e1348b0d3 Bug 1125455 patch 1 - Add boolean for whether an animation of a property wins in the CSS cascade. r=birtles 2015-03-18 07:35:29 -07:00
Avi Halachmi
9d2d05c1d5 bug 1142079: disable refresh driver telemetry on Android. r=froydnj 2015-03-18 08:59:01 +02:00
Mats Palmgren
214deaa199 Bug 1139539 - part 4, [css-grid] Tests for simple track sizing and grid item layout. 2015-03-18 09:02:32 +00:00
Mats Palmgren
9c1fb71b32 Bug 1107778 - part 2, [css-grid] Some reftests for grid item placement with auto positions. 2015-03-18 09:02:32 +00:00
Mats Palmgren
d78880e4a5 Bug 1009776 - part 7, [css-grid] Some reftests for grid item placement with definite positions. 2015-03-18 09:02:32 +00:00
Mats Palmgren
dc1659cac5 Bug 1139539 - part 3, [css-grid] Fix a couple of typos in the CSS Grid tests. 2015-03-18 09:02:32 +00:00
Mats Palmgren
717c81e207 Bug 1139539 - part 2, [css-grid] Implement grid item containing block calculations and reflow (initial version). r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
4dd4d8a9bd Bug 1139539 - part 1, [css-grid] Implement primitive grid track sizing. r=dholbert
Basically just 11.4 "Initialize Track Sizes" in:
http://dev.w3.org/csswg/css-grid/#algo-init
2015-03-18 09:02:32 +00:00
Mats Palmgren
1a62846639 Bug 1107778 - part 1, [css-grid] implement automatic grid item placement. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
2eec3a3c54 Bug 1009776 - part 6, [css-grid] Update the spec reference in a comment. 2015-03-18 09:02:32 +00:00
Mats Palmgren
411cfb1db4 Bug 1009776 - part 5, [css-grid] Fill the cell map if the grid area is definite. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
585565d3f9 Bug 1009776 - part 4, [css-grid] Add a cell map to keep track of which grid cells are occupied. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
f9df94c077 Bug 1009776 - part 3, [css-grid] Store the grid item's grid area on a frame property. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
66a339d79d Bug 1009776 - part 2, [css-grid] Add a method to inflate the implicit grid to include a given grid area. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
b600c202a4 Bug 1009776 - part 1, [css-grid] Implement line-based placement. r=dholbert 2015-03-18 09:02:32 +00:00
Timothy Nikkel
0735ebd42c Bug 1143974. When converting the anchor rect for a xul popup make sure to actually convert for app units differences. r=mats
ConvertAppUnitsRoundOut returns the result, it doesn't modify |this|.
2015-03-18 03:55:01 -05:00
Cameron McCormack
c4d240d87a Bug 1144507 - Fix incorrect Promise usage in test_font_loading_api.html. r=jdaggett 2015-03-18 19:54:01 +11:00
Carsten "Tomcat" Book
71ab410e32 Backed out changeset 6b528bd3294c (bug 1039926) for R20 test failures on a CLOSED TREE 2015-03-18 09:12:41 +01:00
Markus Stange
6eee9aed44 Bug 1039926 - Add a test for not invalidating stuff inside mask layers. 2015-03-17 15:47:45 -04:00
Markus Stange
46e2d15dbf Bug 1144307 - Destroy scroll info layer items when we're done with them. r=tn 2015-03-17 22:04:33 -04:00
Seth Fowler
a6c30c7c5f Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Seth Fowler
60adb8623f Bug 1143267 - Make nsDisplayAltFeedback use nsGenericImageGeometry. r=tn 2015-03-17 19:40:16 -07:00
Seth Fowler
8a1d35bf88 Bug 1143506 - Give up on sync decoding if we get DrawResult::BAD_IMAGE. r=tn 2015-03-17 13:56:49 -07:00
Ryan VanderMeulen
a4fe1a181c Merge m-c to inbound. a=merge
CLOSED TREE
2015-03-17 14:28:42 -04:00
Ryan VanderMeulen
61149e5ecc Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-03-17 14:22:40 -04:00
Daniel Holbert
2c24121797 Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Xidorn Quan
c817483da2 Bug 1143558 part 3 - Reftests for line break suppression inside ruby. r=roc 2015-03-17 19:10:15 +11:00
Xidorn Quan
2dc8e859ae Bug 1143558 part 2 - Convert suppressed line break to whitespace. r=roc 2015-03-17 19:10:15 +11:00
Xidorn Quan
2de2f0c18e Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc 2015-03-17 19:10:15 +11:00
Cameron McCormack
c1209ca6f5 Bug 1143953 - Fix typo in test_font_loading_api.html where it incorrectly returns document.fonts.read. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack
c94f332965 Bug 1143537 - Part 5: Test status of FontFace and FontFaceSet with @font-face rules. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack
397071ed16 Bug 1143995 - Remove unnecessary layout flushes from test_font_loading_api.html. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack
1c722c78b9 Bug 1143537 - Part 4: Serialize FontFace unicodeRange and fontFeatureSettings with proper defaults. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack
7d336b6047 Bug 1143537 - Part 3: Serialize unicode-range without leading zeroes. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack
14ffe0930e Bug 1143537 - Part 2: Test descriptor getters for CSS-connected FontFaces when the descriptor isn't present. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack
deec6e2b35 Bug 1143537 - Part 1: Fix test numbering. r=jdaggett 2015-03-17 18:15:42 +11:00
dvander@alliedmods.net
d560040e6d Don't expand displayports beyond the maximum texture size. (bug 1135907, r=kats) 2015-03-16 22:59:29 -07:00
Markus Stange
86b6ea312f Bug 1141595 - Make scroll info display item hoisting work after bug 913443. r=tn 2015-03-16 18:37:04 -04:00
Markus Stange
620446961e Bug 1141089 - Add some release assertions to gather more data. r=roc 2015-03-16 16:04:00 -04:00
Botond Ballo
b7b1daa972 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
Jeff Muizelaar
d0961738de Bug 1143789. Remove unnecessary cast to BasicLayerManager. r=mstange 2015-03-16 14:19:32 -04:00
Kearwood (Kip) Gilbert
3452818109 Bug 1140623 - Correct mochitest failures that occur when the layout.css.scroll-snap.enabled preference is enabled (V3 Patch). r=cam
- CSS scroll snapping related attributes are now sorted correctly
- Now passes mochitests with CSS scroll snapping enabled:
  - layout/style/test/test_bug657143.html
  - layout/style/test/test_compute_data_with_start_struct.html
  - layout/style/test/test_property_syntax_errors.html
  - layout/style/test/test_style_struct_copy_constructors.html
  - layout/style/test/test_value_computation.html
2015-03-13 18:00:00 +01:00
Kartikaya Gupta
f3969d4950 Bug 962594 - Add tests. r=heycam 2015-03-15 20:28:52 -04:00
Kartikaya Gupta
acab963d10 Bug 962594 - Don't build CSS animations for elements that are in a display:none subtree. r=heycam 2015-03-15 20:28:49 -04:00
Timothy Nikkel
4cd7aaa229 Bug 1130400. Part 1. Pass the passed in anchor frame to SetPopupPosition in nsMenuPopupFrame::LayoutPopup if we have one. r=enndeakin
Bug 562740 combined nsMenuFrame::DoLayout and nsPopupSetFrame::DoLayout to create nsMenuPopupFrame::LayoutPopup.

nsMenuPopupFrame::LayoutPopup called SetPopupPosition with this (the nsMenuFrame) as the anchor and then laid out the menu popup frame. nsPopupSetFrame::DoLayout laid out the menu popup frame and then called SetPopupPosition with the anchor argument as null.

When these were combined into nsMenuPopupFrame::LayoutPopup both SetPopupPosition call were included, the second one always passing null for the anchor even though there may be a non-null anchor passed in from the caller.

This patch simply passes the passed in anchor frame to SetPopupPosition.
2015-03-14 01:11:04 -05:00
Daniel Holbert
87e9233ff3 Bug 1142686: check flex item's content-box size (not border-box size) when deciding whether to skip final reflow. r=mats 2015-03-13 23:08:21 -07:00
Daniel Holbert
7e6598d5ea Backed out changeset 6cd4d71818ee (bug 1142686) because it wasn't quite the final patch version 2015-03-13 23:07:57 -07:00
Daniel Holbert
8a34baadd5 Bug 1142686: check flex item's content-box size (not border-box size) when deciding whether to skip final reflow. r=mats 2015-03-13 23:00:37 -07:00
Xidorn Quan
d0fb143c3f Bug 1141928 part 3 - Reftest for simple RTL case. r=jfkthame
The added test only tests the position of ruby text and ruby text container. The position of text inside is not correct yet, which will be fixed in bug 1141931.
2015-03-14 16:46:33 +11:00
Jonathan Kew
5e69de6a1f Bug 1141928 part 2 - Correct the position of ruby text frames. r=roc 2015-03-14 16:46:33 +11:00
Xidorn Quan
253be0ea22 Bug 1141928 part 1 - Correct the position of ruby text containers in RTL text. r=jfkthame
This patch uses the logical version of FinishReflowChild instead, so that we are able to keep the consistent logical rect, and then fix the rect with correct container width after the whole line is reflowed.
2015-03-14 16:46:33 +11:00
Xidorn Quan
dc391faf2c Bug 1141928 part 0 - Change line relative dir mapping code to return LogicalSide instead of physical side. r=jfkthame
This also fixes the line relative dir mapping code for inline axis direction.
2015-03-14 16:46:33 +11:00
Cameron McCormack
b1bdb8cb74 Bug 1123523 - Part 9: Dispatch an nsIAnimationObserver notification when an animation is changed. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack
2a986b6693 Bug 1123523 - Part 8: Dispatch nsIAnimationObserver notifications when an animation is added or removed. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack
f984425c1b Bug 1123523 - Part 3: Store a flag on AnimationPlayer for whether it is exposed by Element.getAnimationPlayers(). r=birtles 2015-03-14 16:34:40 +11:00
Xidorn Quan
64218bc049 Bug 1141919 part 2 - Drain overflow list of ruby content frame if line break suppression fails somewhere. r=dbaron 2015-03-14 16:29:06 +11:00
Xidorn Quan
d7e950464b Bug 1141919 - Fix incomplete line break suppression in ruby. r=dbaron 2015-03-14 16:29:06 +11:00
L. David Baron
f5b9d0a204 Bug 1142360 - Make bidi_numeral_test.js use assertSnapshots rather than using compareSnapshots directly so that it dumps images on failure. r=ehsan
Note that this adds a parameter to the callback function so that we can
keep track of which canvas is for the test and which is for the
reference; previously we didn't care.

It also puts testfile and reffile in local variables so that they can be
reused, and then appends the extra bidi numeral information to reffile
when calling assertSnapshots so that the messages contain the same (or
more) data as before.
2015-03-13 22:24:10 -07:00
Daniel Holbert
a744b5ed4a Bug 1132743: Only allow CSS Unprefixing Service to be activated for hosts on a small, hardcoded whitelist. r=dbaron f=bz 2015-03-13 13:15:09 -07:00
Wes Kocher
9e72506946 Backed out 2 changesets (bug 1132743) for asan mochitest-e10s-1 bustage CLOSED TREE
Backed out changeset 4e00f10f5a2d (bug 1132743)
Backed out changeset 720842726906 (bug 1132743)
2015-03-13 15:16:33 -07:00
Daniel Holbert
1a09175bb0 Bug 1132743: Only allow CSS Unprefixing Service to be activated for hosts on a small, hardcoded whitelist. r=dbaron f=bz 2015-03-13 13:15:09 -07:00
Ryan VanderMeulen
ea4f5f05dc Merge m-c to inbound. a=merge 2015-03-13 16:12:34 -04:00
Ryan VanderMeulen
54abe997e7 Merge fx-team to m-c. a=merge 2015-03-13 16:09:58 -04:00
Alexandre Lissy
b2b2057bfa Bug 1142928 - Make 1090168-3.html fuzzy on Mulet as on B2G. r=jfkthame 2015-03-13 06:25:00 -04:00
Botond Ballo
30ef0a80a0 Bug 1139464 - In GetNearestScrollableFrame(), associate the root APZC with the root scroll frame of the root document (whether chrome or content), not the root content document. r=kats,tn 2015-03-11 17:10:15 -04:00
Carsten "Tomcat" Book
15cdfdf7ec Backed out changeset ef3881f8d1a3 (bug 1140623) for causing perma m20 failures on b2g 2015-03-13 16:32:50 +01:00
Gijs Kruitbosch
7302031eee Bug 1135545 - add logging to figure out bug 1135545, rs=test-only-logs 2015-03-13 13:41:37 +00:00
Jim Mathies
13528aa927 Bug 1082510 - When we detect a chrome popup at the current event coordinates and remote content has the mouse captured, release capture. r=Enn 2015-03-12 14:32:20 -05:00
Robert O'Callahan
1696333d19 Bug 1141252. Don't mark the TablePainter display item as having background-attachment:fixed content if the background-attachment:fixed image will be painted by a dedicated nsDisplayTableCellBackground. r=mats 2015-03-12 15:08:26 +13:00
Robert O'Callahan
c12182dad4 Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug 2015-03-14 00:50:10 +13:00
Botond Ballo
8d53c88caa Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats 2015-03-06 13:54:10 -05:00
Botond Ballo
46d1e4aa8c Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas 2015-03-06 13:53:47 -05:00
Kearwood (Kip) Gilbert
ff64c85d6c Bug 1140623 - Correct mochitest failures that occur when the layout.css.scroll-snap.enabled preference is enabled (V2 Patch). r=heycam
- CSS scroll snapping related attributes are now sorted correctly
- Now passes mochitests with CSS scroll snapping enabled:
  - layout/style/test/test_bug657143.html
  - layout/style/test/test_compute_data_with_start_struct.html
  - layout/style/test/test_property_syntax_errors.html
  - layout/style/test/test_style_struct_copy_constructors.html
  - layout/style/test/test_value_computation.html
2015-03-12 11:22:00 +01:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Markus Stange
02b07f6efa Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc
This adds support for class="reftest-opaque-layer" and for
reftest-assigned-layer="some-layer-name" to the reftest harness.

From reftest/README.txt:

Opaque Layer Tests: class="reftest-opaque-layer"
================================================

If an element should be assigned to a PaintedLayer that's opaque, set the class
"reftest-opaque-layer" on it. This checks whether the layer is opaque during
the last paint of the test, and it works whether your test is an invalidation
test or not. In order to pass the test, the element has to have a primary
frame, and that frame's display items must all be assigned to a single painted
layer and no other layers, so it can't be used on elements that create stacking
contexts (active or inactive).

Layerization Tests: reftest-assigned-layer="layer-name"
=======================================================

If two elements should be assigned to the same PaintedLayer, choose any string
value as the layer name and set the attribute reftest-assigned-layer="yourname"
on both elements. Reftest will check whether all elements with the same
reftest-assigned-layer value share the same layer. It will also test whether
elements with different reftest-assigned-layer values are assigned to different
layers.
The same restrictions as with class="reftest-opaque-layer" apply: All elements
must have a primary frame, and that frame's display items must all be assigned
to the same PaintedLayer and no other layers. If these requirements are not
met, the test will fail.
2015-03-11 14:51:59 -04:00
Markus Stange
458ad738ab Bug 1141281 - Don't put empty Info: lines into the layers dump. r=BenWa 2015-03-09 00:41:11 -04:00
Markus Stange
26d3fa6b86 Bug 1141408 - Don't include the display item's memory address in the profile label. r=BenWa 2015-03-07 18:40:03 -05:00
Robert Longson
4ca49248c1 Bug 1141636 - "Dubious loop test in nsSVGElement::GetAnimatedLengthListValues". r=cam f=longsonr 2015-03-12 00:39:00 +01:00
Alexandre Lissy
3931e3aa40 Bug 1139893 - Disable reftest bugs/1062108-1.html on mulet. r=jfkthame
There is a real issue underlying, tracked in bug 1141535
2015-03-10 06:59:00 -04:00
Carsten "Tomcat" Book
6d58aad7d5 Backed out changeset 5ad9cc334725 (bug 1141636) for suspicion of causing failures in wr tests 2015-03-12 13:05:40 +01:00
Jonathan Kew
4307f2964b Bug 1136557 - Reftests with nested spans in vertical mode. r=smontagu 2015-03-12 10:48:12 +00:00
Jonathan Kew
5211142fff Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-19 13:37:42 +00:00
Xidorn Quan
f19a3fd448 Bug 1142400 - Separate padding calculation in Get{Min,Pref}ISize and Reflow of nsBulletFrame. r=dbaron 2015-03-12 20:53:54 +11:00
Robert Longson
51063915a4 Bug 1141636 - call GetAnimatedLengthListValues with valid arguments. r=heycam 2015-03-12 09:04:47 +00:00
Xidorn Quan
ae7c08d758 Bug 1142369 - Include padding of generated image in intrinsic isize of bullet frame. r=roc 2015-03-12 16:57:08 +11:00
Robert O'Callahan
ada6918a8a Bug 1125767. Clarify aContextFrame parameter to nsStylePosition::IsFixedPosContainingBlock and nsStylePosition::HasTransform and make nsCSSFrameConstructor actually honor it. r=mats 2015-03-11 00:18:49 +13:00
Robert O'Callahan
797a84b4ab Bug 1125767. CSS/SVG filters on an element should make it a containing block for fixed-pos and abs-pos descendants. r=mats 2015-03-09 23:44:49 +13:00
Robert O'Callahan
315ccebd6d Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
Also renames IsPositioned to IsAbsPosContainingBlock.
2015-03-12 16:21:01 +13:00
Wes Kocher
43233d5ebe Merge m-c to inbound a=merge 2015-03-11 19:06:00 -07:00
Ryan VanderMeulen
67d1ffef4b Merge m-c to b2g-inbound. a=merge 2015-03-11 16:03:39 -04:00
Alexandre Lissy
b62250a7cb Bug 1141511 - Disable some gtk2Widget-dependant reftests on Mulet. r=ahal 2015-03-10 09:20:00 -04:00
Xidorn Quan
0e28175f81 Bug 1141842 - Add LastOptionalBreakPriority to nsLineLayout to simplify some code. r=roc 2015-03-11 14:14:48 +11:00
Carsten "Tomcat" Book
71a59a133e Backed out changeset fdd33ef9606e (bug 969250) for m5 test failures 2015-03-11 10:33:52 +01:00
Carsten "Tomcat" Book
441ec5e061 Backed out changeset 2550379cff3c (bug 969250) 2015-03-11 10:33:01 +01:00
Jonathan Kew
6eaeaefcb1 Bug 1141676 - Reftest for sizing of synthetic sub/superscript glyphs. r=jdaggett 2015-03-11 08:49:51 +00:00
Tooru Fujisawa
4c24ab13cb Bug 1141748 - Do not use non-standard flag argument of String.prototype.replace in CSSUnprefixingService.js. r=dholbert 2015-03-11 05:47:08 +09:00
dvander@alliedmods.net
b106231552 Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats) 2015-03-11 12:29:06 -07:00
David Anderson
20bb991890 Backed out changeset de19c60e56bd 2015-03-11 12:28:28 -07:00