Commit Graph

26056 Commits

Author SHA1 Message Date
Kartikaya Gupta
74563ea4c9 Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond 2015-05-07 14:44:03 -04:00
Kartikaya Gupta
be2f4d0819 Bug 1160250 - Fix up the rect being used for the composition size calculation. r=tn 2015-05-07 14:44:03 -04:00
Kartikaya Gupta
67f53846ba Bug 1160250 - Put in a missing transfomToAncestor scaling factor. r=botond,tn 2015-05-07 14:44:02 -04:00
Kartikaya Gupta
186cc1d660 Bug 1160250 - Collapse the code from CalculateRootCompositionSize into UpdateCompositionBounds. r=botond,tn 2015-05-07 14:39:20 -04:00
Kartikaya Gupta
f0359f028e Bug 1160250 - Extract a helper function from the triplicated composition-bounds-updating code. r=botond,tn 2015-05-07 14:39:20 -04:00
Kartikaya Gupta
d142b53696 Bug 1160250 - Extract a helper method from the triplicated comp-bounds function to determine if we need to deflate the scrollbars. r=botond,tn 2015-05-07 14:39:19 -04:00
Simon Montagu
97003df6b3 Bug 645642: use text-align: match-parent in list items, options and file inputs, r=dbaron 2015-04-28 22:56:22 -07:00
Simon Montagu
6f214f4c11 Bug 645642: implement text-align: match-parent, r=dbaron 2015-05-07 11:25:16 -07:00
Simon Montagu
520c37b5eb Tests for bug 645642, r=dbaron 2015-05-07 11:25:16 -07:00
Seth Fowler
3cde7ec218 Bug 1162282 - When canvas.drawImage is called on a corrupt image that's not in the broken state, don't throw. r=gw280 2015-05-07 09:25:10 -07:00
Daniel Holbert
4bce2bc346 Bug 1132748 part 4: Extend CSS unprefixing mochitest to cover -webkit prefixed gradient expressions. (no review) 2015-05-07 09:04:42 -07:00
Daniel Holbert
341aa54fb2 Bug 1132748 part 3: Tweak imported cssfixme code to fit CSSUnprefixingService API. r=hallvors 2015-05-07 09:04:42 -07:00
Daniel Holbert
ae9502be3b Bug 1132748 part 2: Import cssfixme gradient-unprefixing code. r=hallvors
Source: https://github.com/hallvors/css-fixme/blob/fd91a1e259/cssfixme.htm
2015-05-07 09:04:42 -07:00
Daniel Holbert
19f36597a9 Bug 1132748 part 1: Add CSSUnprefixingService API for handling prefixed gradient expressions, with stub JS implementation. r=dbaron 2015-05-07 09:04:42 -07:00
Daniel Holbert
fa036020ec Bug 1162319: Refactor mochitest for CSS Unprefixing Service, to support testcases with different serialization in specified vs. computed style. (no review, test-only) 2015-05-07 09:04:42 -07:00
Boris Zbarsky
038cb65ab8 Bug 1161034. Make test_animations_pausing pass even when we're doing mainthread compositing. r=birtles 2015-05-07 11:08:34 -04:00
Cameron McCormack
51bf4622a3 Bug 1162366 - Fix spelling of nsPresContext::mSupressResizeReflow and associated methods. r=dholbert 2015-05-06 20:56:00 -04:00
Tom Tromey
403554c877 Bug 1152033 - Expose CSS lexer to js. r=heycam, r=bz 2015-05-04 10:28:00 -04:00
Tom Tromey
b4c837a439 Bug 1112014 - Avoid false negatives in CssPropertySupportsType. r=heycam
IGNORE IDL
2015-05-04 07:39:00 -04:00
Ryan VanderMeulen
3c1998fdde Backed out changesets 230adc57e016 and 61bd6e2c6e72 (bug 1072898) for reftest failures.
CLOSED TREE
2015-05-06 11:27:32 -04:00
Kearwood (Kip) Gilbert
05f91f7a4b Bug 1072898 - Part 2: Enable reftest for non-accelerated layers. r=mattwoodrow
- A reftest added to Bug 1035611 has been enabled for non-accelerated
  layer rendering, to test the same issue in the BasicCompositor.
2015-04-27 14:55:00 -04:00
L. David Baron
ca0fb5364b Bug 1153539 patch 2 - Compute scale for rasterizing off-main-thread transform animations based on ratio to display size in addition to maximum and minimum scale. r=roc
This fixes bug 1153539 with the Firefox download arrow being pixellated
(verified by testing locally).

I also confirmed what happens on a flame device with the transform
unlocking the Firefox OS homescreen (bug 945082 / bug 972310).  For that
transform (which had a maximum scale of 2), I see four calls to
GetSuitableScale:
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
(Presumably the first and third are for width, and the second and fourth
are for height.)  I believe this shows that bug 972310 will remain fixed
with this patch.

I chose to use the pres context's visible area rather than the screen
size because it seemed more appropriate, and also because (if memory
serves correctly) it's much cheaper to get.
2015-05-06 08:52:20 +02:00
L. David Baron
b7e2a0e713 Bug 1153539 patch 1 - Improve comments for nsLayoutUtils::ComputeSuitableScaleForAnimation. r=roc 2015-05-06 08:52:20 +02:00
L. David Baron
3e26012468 Bug 1160635 patch 2 - Stop making image resizing optimization when image has percent width or height. r=dholbert
The reftests pass with the patch, based on local testing.
2015-05-06 08:52:19 +02:00
L. David Baron
ef91238d54 Bug 1160635 patch 1 - Add reftests. r=dholbert
I confirmed that without patch 2, the reftests fail in the expected way
(with the image in the test having 100px height/width instead of 50px).
2015-05-06 08:52:19 +02:00
Mats Palmgren
3a7ecc5518 Bug 1161038 - [css-grid] Make kAutoLine not clash with translated grid lines. r=dholbert 2015-05-05 21:53:22 +00:00
Mats Palmgren
353f2c211d Bug 1009214 part 2 - [css-grid] Update the reference for a few tests that wrapped placeholders in anonymous grid items. 2015-05-05 21:53:22 +00:00
Mats Palmgren
16cb7dcfbc Bug 1009214 part 1 - [css-grid] Don't wrap placeholders in an anonymous grid item. r=dholbert 2015-05-05 21:53:22 +00:00
Mats Palmgren
1d9dc5cf18 Bug 1151316 part 2 - [css-grid] Tests for relative positioning of grid items. 2015-05-05 21:53:22 +00:00
Mats Palmgren
115ff147de Bug 1151316 part 1 - [css-grid] Implement relative positioning for grid items. r=roc 2015-05-05 21:53:22 +00:00
Daniel Holbert
bfff160260 Bug 1161731: Remove newline characters from the ends of NS_WARNING messages in /gfx and /layout. r=mstange 2015-05-05 13:57:47 -07:00
Timothy Nikkel
2ec0d06cb4 Bug 1133905. Add some reftests. 2015-04-20 15:33:27 -05:00
Timothy Nikkel
0c4e104ff1 Bug 1133905. Make layout place scrollbars at the scroll position clamping scrollport size when one is set so that scrollbars are positioned properly on b2g. r=mstange 2015-05-05 14:31:51 -05:00
Boris Zbarsky
bc03e5b2f6 Bug 1161036 part 1. Stop setting the layout.css.font-loading-api.enabled preference to true in the test harness. r=heycam 2015-05-05 13:38:56 -04:00
Olli Pettay
d7937f8597 Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron 2015-05-05 17:56:01 +03:00
Kartikaya Gupta
df69d729aa Bug 1161040 - Add some assertions to guard against infinite loops in the handoff chains. r=botond 2015-05-05 08:36:52 -04:00
Jonathan Kew
10aef652a8 Bug 1161033 - Use -moz-margin-start/end rather than margin-inline-start/end in UA stylesheets, to avoid being dependent on the writing-mode pref. r=jwatt 2015-05-05 12:20:42 +01:00
Cameron McCormack
9cc1e623bc Bug 1161325 - Make nsStyleVariables copy constructor behave more traditionally. r=dbaron 2015-05-05 19:57:34 +10:00
Cameron McCormack
8dbfa8b82a Bug 1161366 - Correctly set referrer when loading fonts with |new FontFace()|. r=dbaron 2015-05-05 19:55:28 +10:00
Tim Taubert
d096f29a92 Bug 1160724 - Part 2: Test that we resolve a properly parented style context when looking up -moz-binding of a display:none XUL/plugin element. r=heycam 2015-05-04 11:14:26 +02:00
L. David Baron
fe5e9ee3e8 Bug 1161021 patch 3 - Check that we don't get duplicate events for #seven::after. r=bzbarsky 2015-05-04 23:39:48 +02:00
L. David Baron
0c04730633 Bug 1161021 patch 2 - Fix unbalanced start_test()/finished_test() calls. r=bzbarsky
This should fix the main failure mode in bug 1156451, which is results
from the transition on #four (the last transition that completes)
happening after SimpleTest.finish().
2015-05-04 23:39:48 +02:00
L. David Baron
65d72e5d1a Bug 1161021 patch 1 - Add comments for existing started_test() calls. r=bzbarsky 2015-05-04 23:39:48 +02:00
Jonathan Kew
ca7f86be4b Bug 1152941 - Reftest for orthogonal block with potentially overflowing content. r=dbaron 2015-05-04 19:51:58 +01:00
Jonathan Kew
b2136a551c Bug 1152941 - Always use unconstrained block-size when reflowing an orthogonal child block, to avoid incomplete reflow across orthogonal boundary. r=dbaron 2015-05-04 19:51:56 +01:00
Timothy Nikkel
2b812da207 Bug 1159772. Don't let nsContainerFrame::SyncWindowProperties make widget calls that can result in synchronous painting during reflow or frame construction. r=mats
Specifically on Windows nsIWidget::SetTransparencyMode can result in sync painting.

So we give nsContainerFrame::SyncWindowProperties a sync or async option and use the view manager post pending update infrastructure to flush SyncWindowProperties calls async.
2015-05-04 14:29:19 -05:00
Kartikaya Gupta
1a46a87919 Bug 1161040 - Don't set a scrollparent on the root content document in the child process that points to itself. r=tn 2015-05-04 14:37:22 -04:00
Anthony Tseng
96161fc227 Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
Kartikaya Gupta
893c5f9675 Bug 1157579 - Make sure the visual scroll port size includes the area of scrollbars when used in TryLayout. r=tn 2015-05-04 10:17:26 -04:00
Morris Tseng
908b2e6554 Bug 1156636 - Remove post scale multiplication for event regions. r=roc 2015-04-28 01:46:00 +02:00