Граф коммитов

45740 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan ef54b4b14f Bug 1159990 - Add TableArea struct and replace nsIntRect with it for table damage area. r=roc
--HG--
extra : source : bdc7bf00559b80ae6a4f9c60848e34542f438218
2015-05-01 09:46:59 +12:00
Daniel Holbert d60e0e177e (no bug) Remove a stale reference to a fixed bug in a comment. DONTBUILD, comment-only 2015-04-30 11:42:15 -07:00
Mats Palmgren 167c7e473b Bug 1151201 - [css-grid] Update parsing of 'auto' in track-sizing functions to latest version of the spec. r=simon.sapin 2015-04-30 18:42:50 +00:00
Mats Palmgren f247a57b0a Bug 1146051 part 9 - [css-grid] More grid placement tests and new grid clamping tests. 2015-04-30 18:42:50 +00:00
Mats Palmgren 8140bec714 Bug 1146051 part 8 - [css-grid] Iterate all items again instead of collecting the ones with a definite position in an array which wouldn't be much of win anyway. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren ba5c6f4116 Bug 1146051 part 7 - [css-grid] Make LineRange::mStart/mEnd into a union with both a signed/unsigned members to make it clear when we're working with translated line numbers and when not. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren fe5823cb40 Bug 1146051 part 6b - [css-grid] Clamp grid lines after resolving 'auto'. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren 998fe0239a Bug 1146051 part 6 - [css-grid] Make the grid zero-based after resolving definite lines. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren fc5f8ce8f9 Bug 1146051 part 5b - [css-grid] Clamp resolved definite lines for abs.pos. to the untranslated grid bounds. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren 4a11f80b65 Bug 1146051 part 5 - [css-grid] Resolve definite lines such that they expand the implicit grid also to the top/left as needed. Also, implement the 'If not enough lines with that name exist, all lines in the implicit grid are assumed to have that name' spec change when resolving <custom-ident> with <integer> or span. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren 06a768fad0 Bug 1146051 part 4 - [css-grid] Translate the grid so that the top-/left-most implicit line becomes 1,1. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren 4fbe133028 Bug 1146051 part 3 - [css-grid] Simplify some code because ResolveLine() never returns kAutoLine. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren 2f3504012c Bug 1146051 part 2 - [css-grid] Remove dead code because ResolveLine() never returns kAutoLine. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren e999493eb2 Bug 1146051 part 1 - [css-grid] Change the representation of 'auto' from zero to kAutoLine - an arbitrary number outside the range we clamp definite lines to. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren 6c806ea505 Bug 1147423 part 2 - [css-grid] Clamp grid lines to the -10000 .. 10000 range. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren c4cf89e642 Bug 1147423 part 1 - [css-grid] Use a signed integer type for some line variables in preparation for negative implicit lines. r=dholbert 2015-04-30 18:42:50 +00:00
Jonathan Watt f73d9b5a0d Bug 1159053 - Cache SVG getBBox and objectBoundingBox calculations for better performance. r=heycam 2015-04-27 11:15:36 +01:00
David Major 8433a30b6f Bug 1155836: Template on aComputeData in the DoGetStyle* helpers. r=dbaron f=bz 2015-04-15 10:55:56 +12:00
Boris Zbarsky 5844aafa2d Bug 1159743. Stop forcing the dom.animations-api.core.enabled preference on in the test harness. r=birtles
--HG--
rename : dom/animation/test/css-animations/test_animation-cancel.html => dom/animation/test/css-animations/file_animation-cancel.html
rename : dom/animation/test/css-animations/test_animation-currenttime.html => dom/animation/test/css-animations/file_animation-currenttime.html
rename : dom/animation/test/css-animations/test_animation-finish.html => dom/animation/test/css-animations/file_animation-finish.html
rename : dom/animation/test/css-animations/test_animation-finished.html => dom/animation/test/css-animations/file_animation-finished.html
rename : dom/animation/test/css-animations/test_animation-pausing.html => dom/animation/test/css-animations/file_animation-pausing.html
rename : dom/animation/test/css-animations/test_animation-playstate.html => dom/animation/test/css-animations/file_animation-playstate.html
rename : dom/animation/test/css-animations/test_animation-ready.html => dom/animation/test/css-animations/file_animation-ready.html
rename : dom/animation/test/css-animations/test_animation-starttime.html => dom/animation/test/css-animations/file_animation-starttime.html
rename : dom/animation/test/css-animations/test_animations-dynamic-changes.html => dom/animation/test/css-animations/file_animations-dynamic-changes.html
rename : dom/animation/test/css-animations/test_effect-name.html => dom/animation/test/css-animations/file_effect-name.html
rename : dom/animation/test/css-animations/test_effect-target.html => dom/animation/test/css-animations/file_effect-target.html
rename : dom/animation/test/css-animations/test_element-get-animations.html => dom/animation/test/css-animations/file_element-get-animations.html
rename : dom/animation/test/css-transitions/test_animation-cancel.html => dom/animation/test/css-transitions/file_animation-cancel.html
rename : dom/animation/test/css-transitions/test_animation-currenttime.html => dom/animation/test/css-transitions/file_animation-currenttime.html
rename : dom/animation/test/css-transitions/test_animation-finished.html => dom/animation/test/css-transitions/file_animation-finished.html
rename : dom/animation/test/css-transitions/test_animation-pausing.html => dom/animation/test/css-transitions/file_animation-pausing.html
rename : dom/animation/test/css-transitions/test_animation-ready.html => dom/animation/test/css-transitions/file_animation-ready.html
rename : dom/animation/test/css-transitions/test_animation-starttime.html => dom/animation/test/css-transitions/file_animation-starttime.html
rename : dom/animation/test/css-transitions/test_effect-name.html => dom/animation/test/css-transitions/file_effect-name.html
rename : dom/animation/test/css-transitions/test_effect-target.html => dom/animation/test/css-transitions/file_effect-target.html
rename : dom/animation/test/css-transitions/test_element-get-animations.html => dom/animation/test/css-transitions/file_element-get-animations.html
rename : dom/animation/test/document-timeline/test_document-timeline.html => dom/animation/test/document-timeline/file_document-timeline.html
rename : dom/animation/test/mozilla/test_deferred_start.html => dom/animation/test/mozilla/file_deferred_start.html
rename : layout/style/test/test_animations_pausing.html => layout/style/test/file_animations_pausing.html
2015-04-30 14:25:03 -04:00
Ryan VanderMeulen 1d0ad1ef62 Backed out changesets 2bbe38dcb529 and f6bd5a0a047d (bug 1150614) for being the more-likely cause of B2G reftest failures.
CLOSED TREE
2015-04-30 09:08:20 -04:00
Brian Birtles a606228cd8 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly. r=smaug 2015-04-30 09:06:43 -04:00
Carsten "Tomcat" Book b05d97c166 Backed out changeset 1b5fc672f0d4 (bug 1159082) for B2G ICS Emulator opt R6 test failures on a CLOSED TREE
--HG--
rename : dom/animation/AnimationEffectReadOnly.cpp => dom/animation/AnimationEffectReadonly.cpp
rename : dom/animation/AnimationEffectReadOnly.h => dom/animation/AnimationEffectReadonly.h
rename : dom/webidl/AnimationEffectReadOnly.webidl => dom/webidl/AnimationEffectReadonly.webidl
2015-04-30 13:15:04 +02:00
Frédéric Wang 6c069218c1 Bug 1156463 - Add a preference option to disable the scale transform applied to MathML operators. r=karl
--HG--
extra : rebase_source : 58f08a9ec0d3c8c9843d5fd0c3eccf81cc7e11d1
2015-04-25 00:48:00 +02:00
Jonathan Kew a34e6fd938 Bug 1157951 patch 3 - Reftests for text-overflow with text decorations in vertical writing mode. r=roc 2015-04-28 12:50:21 +01:00
Xidorn Quan 0c5653824d Bug 1159101 part 5 - Initialize writing mode of desired mode of table cell frame from its table frame on a CLOSED TREE. r=roc
--HG--
extra : source : ad2134d545e36298124b6ec5aea600d3689022ad
extra : amend_source : 8bf117c8a17a8a9d0144a00709a8963f8b7efd14
2015-04-30 18:27:54 +12:00
Brian Birtles 4fb166f6b2 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly; r=smaug
--HG--
rename : dom/animation/AnimationEffectReadonly.cpp => dom/animation/AnimationEffectReadOnly.cpp
rename : dom/animation/AnimationEffectReadonly.h => dom/animation/AnimationEffectReadOnly.h
rename : dom/webidl/AnimationEffectReadonly.webidl => dom/webidl/AnimationEffectReadOnly.webidl
extra : rebase_source : 5fb31684bf494a57e208d0cfbbc76f65b502fc0e
2015-04-28 10:16:45 +09:00
Simon Montagu 6f25cac84c Tests for bug 1150614, r=jfkthame 2015-04-29 22:07:32 -07:00
Simon Montagu f4ea5d40c8 Bug 1150614: place floats correctly in vertical writing modes with dir="rtl", r=jfkthame 2015-04-29 22:07:30 -07:00
Ryan VanderMeulen e7e6f40c2f Merge m-c to fx-team. a=merge 2015-04-30 14:05:10 -04:00
Georg Fritzsche 93609ecc96 Bug 1148500 - Part 4 (Fx 40): Disable Telemetry recording in reftests. r=dexter 2015-04-30 14:00:58 +02:00
Mark Finkle ea1ba80c9b Bug 1159263 - Add support to nsCaret to stop blinking after a set of cycles r=roc r=snorp 2015-04-29 10:23:19 -04:00
Wes Kocher 926d795614 Backed out changeset b242594427fd (bug 1112014) for failing on b2g
IGNORE IDL

--HG--
extra : amend_source : 12884c3f4b8d591e7639658069738d7fe1d5c55c
2015-05-01 11:26:24 -07:00
Jet Villegas bfb3d11b2f Bug 1146561 - Add back the visibility check for Mac plugins. r=jmuizelaar
--HG--
extra : rebase_source : 54d5c31102bca7035b4060eefdfc48f89e13cae0
extra : histedit_source : 94bf4ef4a0e87b63e02588876fbe5360265b78ae
2015-04-24 17:44:00 -04:00
Markus Stange e72a2b1b6a Bug 1147194 - Do scroll info layer hoisting when building the display list. r=tn
--HG--
extra : amend_source : 35ca22eae3b3088eaae5143af8c47177bf601800
2015-04-30 14:54:48 -04:00
L. David Baron c0b0aac286 Bug 947753 / Bug 1122526 - Don't claim to support off-main-thread animations when the nearest widget is not using OMT compositing. r=birtles
This moves the test for whether off-main-thread compositor is enabled
*earlier* in CanPerformOnCompositorThread, since
CanAnimatePropertyOnCompositor is called only from
CanPerformOnCompositorThread.  This change means we're using a more
accurate test for whether we actually have off-main-thread compositing
than the pref, since in some cases we won't use off-main-thread
compositing for certain widgets (e.g., transparent widgets on Windows)
even when the pref is enabled.

--HG--
extra : amend_source : 0f286f6d05a1ebe706c14dba94ae35449ea898c9
2015-04-16 18:36:29 -07:00
Botond Ballo 1b108ac0db Bug 1154478 - Rename gfxPrefs::LayoutEventRegionsEnabled to LayoutEventRegionsEnabledDoNotUseDirectly. r=kats
--HG--
extra : source : a993f4ed89d7aa36f1c48b85810319374f7bf671
2015-04-23 01:25:00 -04:00
Tom Tromey 5adfab6bb9 Bug 1112014 - Avoid false negatives in CssPropertySupportsType. r=heycam
IGNORE IDL

--HG--
extra : rebase_source : f2bc30f0fe334823c334f04e42e89971c07e157b
2015-04-29 09:11:00 -04:00
Xidorn Quan b67d865b08 Bug 1159101 part 4 - Override GetWritingMode() in nsTable{{Col,Row}{,Group},Cell}Frame. r=roc
--HG--
extra : source : 4b8d51cfa3331c052ede29b56bb7172088e47873
2015-04-30 16:24:59 +12:00
Xidorn Quan 82e7b5cf9f Bug 1159101 part 3 - Replace most of nsTableFrame::GetTableFrame() usage with new GetTableFrame() methods. r=roc
--HG--
extra : source : 626bc4d2a946d0499a529f974abe2711c0174241
2015-04-30 16:24:59 +12:00
Xidorn Quan e30901b6a0 Bug 1159101 part 2 - Add GetTableFrame() for table inner frames. r=roc
--HG--
extra : source : c470aa2508be969b203ec686f8375383a5de6959
2015-04-30 16:24:59 +12:00
Xidorn Quan b076220a42 Bug 1159101 part 1 - Alter dependencies among headers of table struct frames. r=roc
--HG--
extra : source : 47d27fc19bd60b57a2d910c60c48ae047c66c65c
2015-04-30 16:24:59 +12:00
Timothy Nikkel 4351a73f8e Bug 1159056. Fix typo. 2015-04-29 19:16:34 -05:00
ziyunfei e1db0f779e Bug 1102219 - Part 4: Replace `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till 2015-04-30 00:32:05 +09:00
Boris Zbarsky 9cefe0c857 Bug 1141607. Fix the initial value of outline-color to actually be correct. r=dbaron 2015-04-28 14:48:39 -04:00
Mats Palmgren 3d32c9505f Bug 1153757 - Tweak DoGetParentStyleContext to exclude pseudos with a non-primary frame from using a display:contents parent as the style context parent. r=heycam 2015-04-29 13:13:47 +00:00
Kartikaya Gupta 0d34f1455a Bug 1158933 - Prevent scrollbars from jumping while zoomed in the B2G browser. r=botond 2015-04-29 07:22:27 -04:00
Kartikaya Gupta ca4c4fda69 Bug 1158323 - Make sure we set a base rect on document elements that have margins set. r=tn 2015-04-29 07:22:27 -04:00
Carsten "Tomcat" Book e5bf29ded9 Backed out changeset ebd9da2efb59 (bug 1157951) for b2g reftest failures on a CLOSED TREE 2015-04-29 13:12:33 +02:00
Jonathan Kew 1783225544 Bug 1157142 - Reftests for logical and physical orientation of <input type=range>. r=jwatt 2015-04-29 08:18:54 +01:00
Jonathan Kew 7ae17d117a Bug 1157142 - Support logical (inline/block) in addition to physical orientation for the <input type=range> element; make inline the default behavior so that range sliders respect writing mode. r=jwatt 2015-04-29 08:18:54 +01:00
Jonathan Kew 5fcbbd1ad3 Bug 1157951 patch 3 - Reftests for text-overflow with text decorations in vertical writing mode. r=roc 2015-04-29 08:18:54 +01:00
Jonathan Kew 861e6a44ed Bug 1157951 patch 2 - Make nsCharClipDisplayItem aware of vertical writing modes. r=roc 2015-04-29 08:18:53 +01:00
Jonathan Kew ed4f94f6c0 Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc 2015-04-29 08:18:53 +01:00
Jonathan Kew 6fb015cbfb Bug 1157752 - Reftest for vertical mode with upright orientation overriding bidi directionality. r=smontagu 2015-04-29 08:18:53 +01:00
Jonathan Kew d4ac33e086 Bug 1157752 - In vertical writing modes, text-orientation:upright should force LTR directionality. r=smontagu 2015-04-29 08:18:53 +01:00
Cameron McCormack abddd905f2 Bug 1157097 - Don't share a style context that will have its cached style data cleared. r=dbaron 2015-04-29 14:47:15 +10:00
Wes Kocher f8d9269061 Backed out changeset a1fea675c94d (bug 1141607) for mochitest-5 orange on an unrelatedly CLOSED TREE 2015-04-28 13:32:20 -07:00
L. David Baron 07676233b6 Bug 1156456 followup - Add a simple reftest for off-main-thread animation of opacity.
This is a parallel to the transform test previously added in this bug.

--HG--
extra : transplant_source : %2AQi/GD%B6%E5Z3s%C1%60%D1%83%28B%BE%DD%1D
2015-04-28 12:11:16 -07:00
Boris Zbarsky 438ae4276f Bug 1141607. Fix the initial value of outline-color to actually be correct. r=dbaron 2015-04-28 14:48:39 -04:00
Neil Deakin 7003d61769 Bug 1157276, rework test to fix intermittent failure, r=test 2015-04-28 08:20:17 -04:00
Timothy Nikkel b2cc193b4e Bug 1159056. Don't store a value in CSS pixels in a variable with type nscoord in ScrollFrameHelper::SetCoordAttribute. r=dholbert 2015-04-27 19:34:39 -05:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Tom Tromey 3fe62ac51d Bug 1154356 - Escape variable name in Declaration::AppendVariableAndValueToString. r=heycam
--HG--
extra : source : ecc645744a1134ce0e302611c8320a73f622a00a
2015-04-24 13:15:00 -04:00
Ryan VanderMeulen 105fa88eae Merge m-c to inbound. a=merge 2015-04-27 15:20:16 -04:00
Ryan VanderMeulen ae67d6b344 Backed out 2 changesets (bug 1099149, bug 1154356) for suspicion that one of them is causing frequent Android debug recursion.js failures. a=me
Backed out changeset ecc645744a11 (bug 1154356)
Backed out changeset 1d7c532f2a62 (bug 1099149)
2015-04-27 15:14:19 -04:00
Markus Stange 4150b52acc Bug 1157936 - Put the correct ratio on the scrollbar layer. r=tn 2015-04-27 14:59:17 -04:00
Tom Tromey 31d2b6cf77 Bug 1154356 - Escape variable name in Declaration::AppendVariableAndValueToString. r=heycam 2015-04-24 13:15:00 -04:00
Boris Zbarsky 1540774b0c Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Ehsan Akhgari ff4f580968 Bug 1158540 follow-up: Improve the comment
DONTBUILD
2015-04-27 09:17:24 -04:00
Ehsan Akhgari 65709fa8ac Bug 1158546 - Remove nsDisplayHeaderFooter::mFrame in favor of nsDisplayItem::mFrame; r=roc
There is no need to have two separate variables for the same thing
in the same object.
2015-04-27 08:10:29 -04:00
Carsten "Tomcat" Book 9a0d0fac15 Merge mozilla-central to mozilla-inbound 2015-04-27 12:37:12 +02:00
Carsten "Tomcat" Book 596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
L. David Baron c1b1d10e7d Bug 1144410 - Remove finished transitions when a frame transitions away from being display:none. r=birtles
Since bug 960465 patch 14, we've retained finished transitions in order
to handle the issues described in
https://lists.w3.org/Archives/Public/www-style/2015Jan/0444.html .  The
code that did this made the assumption that the transition manager is
notified of the full sequence of style changes that happen to an
element.  However, when an element becomes part of a display:none
subtree and then later becomes displayed again, the transition manager
is not notified of a style change when it becomes displayed again (when
we do not have the old style context).

This patch introduces code to prune the finished transitions when that
happens.

This really fixes only part of the set of problems described in bug
1158431, which also affect running transitions.  However, it's the part
of that set that was a regression from bug 960465, which introduced the
retention of finished transitions, and which makes these issues
substantially easier to hit.

I'd like to fix this part quickly because it's a regression and we
should backport the fix.

Without the patch, I confirmed that the following two tests fail:
INFO TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_dynamic_changes.html | bug 1144410 test - opacity after starting second transition - got 0, expected 1
INFO TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_dynamic_changes.html | bug 1144410 test - opacity during second transition - got 0, expected 0.5

With the patch, all the added tests pass.

--HG--
extra : transplant_source : %B4%A5%5Ck%E1%B7%F5Et%CF%9B%9F%40%97c%C5NM%D3%A8
2015-04-26 19:20:19 -07:00
Brian Birtles 7382c76c89 Bug 1150807 part 4 - Don't play/pause an idle animation when animation-play-state changes; r=jwatt
This isn't spec'ed anywhere (since the whole Web Animations API <-> CSS
interaction isn't spec'ed yet) but it seems that changing animation-play-state
should not restart an idle animation.

If an author calls Cancel() on an animation then that animation should continue
to be idle until they call Play()/Pause() from the API. Cancelling an animation
and hanging on to it is a purely API-only feature and hence it's reasonable that
restoring it from this state is also an API-only feature.

One can imagine use-cases such as polyfilling where script wants to remove any
CSS Animations/Transitions run by the browser and replace them with something
else entirely. In that case, the script can call Cancel() on the animation and
be sure that the animation is going to stay out of the way even if something
else tweaks the animation-play-state.
2015-04-27 08:53:19 +09:00
Brian Birtles 012ebba32c Bug 1150807 part 3 - Call PostUpdate from Cancel; r=jwatt
This patch makes Cancel() call PostUpdate which clobbers certain state in style
so that animated style is correctly flushed when an animation is cancelled.

The main difficulty with this is that we *don't* want to call this when we're
cancelling an animation as a result of a style update or else we'll trigger
needless work. The pattern elsewhere has been to define a *FromStyle() method
for this case (e.g. CSSAnimation::PlayFromStyle, PauseFromStyle). This isn't
ideal because there's always the danger we will forget to call the appropriate
*FromStyle method. It is, however, consistent. Hopefully in bug 1151731 we'll
find a better way of expressing this.
2015-04-27 08:53:19 +09:00
Ehsan Akhgari 3c14a64fec Backout bug 1157276 because it broke the test on all platforms 2015-04-26 17:25:56 -04:00
Neil Deakin 38d7846b11 Bug 1157276, yield on mouse synthesize calls, r=test-only-change 2015-04-26 12:31:49 -04:00
Ehsan Akhgari c7febd7a07 Bug 1158540 - Don't repeat the mRefCnt member of URLValue in ImageValue; r=dbaron
Even after this patch, it's not OK to AddRef an ImageValue and then call
Release on its base pointer (URLValue) since URLValue refcounting methods
are not virtual, so it would confuse the leak checker, but at least it
wouldn't cause UAF issues since we'd still be looking at the same mRefCnt
member.
2015-04-25 18:38:24 -04:00
Kevin Wern 10ec87bdf8 Bug 1148694 patch 3 - remove tests affected by removal of CSSCharsetRule. r=dbaron, r=khuey 2015-04-20 23:38:13 -07:00
Kevin Wern cad494d874 Bug 1148694 patch 2 - Remove interface and implementation of CSSCharsetRule. r=dbaron 2015-04-21 00:08:36 -07:00
Kevin Wern e47e3405b8 Bug 1148694 patch 1 - Stop creating a CharsetRule object when parsing @charset rules. r=dbaron 2015-04-21 01:26:11 -07:00
Jonathan Kew 4475b452c8 Bug 1156366 - Support vertical writing modes and upright/sideways glyph orientation in SVG text-on-a-path. r=longsonr 2015-04-25 09:10:19 +01:00
Shyam Venkatesh 83e06d1f7f Bug 1157728: Removed StackArena::Init() and call to it as it is now useless. r=dholbert 2015-04-25 07:47:10 +05:30
Kartikaya Gupta 9d19536ed8 Bug 1156952 - Switch Fennec over to the "attached" widget model, so we get one nsWindow instead of two. r=snorp 2015-04-24 22:26:34 -04:00
Ted Clancy f54f3ac732 Bug 1151908 - Updating our character property data with new Bidi info from Unicode 6.3. r=smontagu
--HG--
extra : rebase_source : 30ded48b101e138996fd819ee255275ec7a7a350
2015-04-17 14:19:39 -04:00
Nathan Froyd d264a57b76 Bug 1155776 - move USE_EXTENSION_MANIFEST to moz.build; r=mshal 2015-04-17 13:51:42 -04:00
Ryan VanderMeulen 6eee1dc356 Merge m-c to fx-team. a=merge
CLOSED TREE
2015-04-24 16:07:47 -04:00
David Anderson 979949ce62 Mark unaccelerated antialiasing reftest failures with APZ as fuzzy. (bug 1157716, r=mstange)
With APZ, we always layerize the first scrollable element of the page,
if the page itself is not scrollable. These additional layers can cause
fuzzy reftest failures in two ways: differences in blending, and by
disabling sub-pixel test anti-aliasing. The latter is only a problem
with unaccelerated drawing, because we don't support component alpha
layers with BasicLayers. (We also don't support them with
BasicCompositor, but "Reftest unaccelerated" only tests BasicLayers).
2015-04-24 10:13:32 -04:00
Jonathan Kew cdd4e7ba24 Bug 1155261 - Fix computation of glyph extents and text-frame visual overflow for vertical text frames. r=smontagu 2015-04-27 09:45:55 +01:00
Jonathan Kew 23dac4fb71 Bug 1158549 - Reftest for size constraints in vertical writing mode. r=smontagu 2015-04-27 09:41:57 +01:00
Jonathan Kew 3381e78769 Bug 1158549 - Properly apply min/max constraints to block-size in vertical writing modes. r=smontagu 2015-04-27 09:41:37 +01:00
Jonathan Kew b52d9eb75f Bug 1157691 - Explicitly enable writing-mode support for reftests that require it. r=smontagu 2015-04-27 09:36:01 +01:00
Jonathan Kew 577029853b Bug 1154227 - Fix the painting of text-shadow in vertical writing modes. r=smontagu 2015-04-27 09:35:59 +01:00
Masayuki Nakano cadd376534 Bug 1157083 <abbr> and <acronym> should use dotted underline of text-decoration instead of border-bottom r=dbaron 2015-04-24 11:02:35 +09:00
Xidorn Quan 8026501005 Bug 1117227 part 6 - Reftest for text-overflow on vertical text. r=jfkthame
--HG--
extra : source : b6ff031a157659309608a0148d269a636bf503bd
2015-04-24 10:15:32 +12:00
Xidorn Quan ff400fb4a5 Bug 1117227 part 5 - Render ellipsis in correct orientation. r=jfkthame
--HG--
extra : source : 4766d98091b93c120d41a5118406d82a38d9ff62
2015-04-24 10:15:32 +12:00
Xidorn Quan 3d4aa499c8 Bug 1117227 part 4 - Make overflow mark baseline computation aware of writing-mode. r=jfkthame
--HG--
extra : source : 4dc392ec04f77fd74811dc5595d6f199f99b8796
2015-04-24 10:15:32 +12:00
Xidorn Quan 065df6bd63 Bug 1117227 part 3 - Make nsTextFrame::MeasureCharClippedText use frame isize instead of width. r=roc
--HG--
extra : source : 235e6a1f915ea38fd4dc9c966d3a619bca6b3e59
2015-04-24 10:15:32 +12:00
Xidorn Quan cb03df0c0b Bug 1117227 part 2 - Convert TextOverflow to logical coordinate. r=roc
--HG--
extra : source : fc021c6ca3be7dbbe30fadfbe41f9e8b69c2f6a3
2015-04-24 10:15:32 +12:00
Xidorn Quan 1d2d23191b Bug 1117227 part 1 - Add IntersectRect method to LogicalRect. r=jfkthame
--HG--
extra : source : 3c42cbab1f5087c5411984c69b2f06939b735e93
2015-04-24 10:15:32 +12:00
Kyle Machulis 358e55b5b7 Bug 852944 - Gamepad API IPC; r=ted, r=baku
--HG--
extra : rebase_source : 34ca0c1e1b7fcc312b5d7c97d5bd2086af2bc7ce
2015-04-23 15:05:29 -07:00
Kartikaya Gupta cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Mike Conley f83673f8f9 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug.
--HG--
extra : rebase_source : ac3d5c25681356af06321bf4e2c8292fe88a3ade
2015-04-22 10:58:33 -04:00
L. David Baron 22f24eccb0 Bug 1157455 followup - fix test_transitions_per_property.html to expect different angle interpolation results, on a CLOSED TREE. 2015-04-23 10:50:31 -07:00
L. David Baron f483a7ca39 Bug 1157455 patch 3 - When interpolating angles, preserve units when possible in order to avoid floating point error. r=birtles
This avoids accumulating floating point error from conversion, so that
when we switch to doubles at the start of
nsCSSValue::GetAngleValueInRadians we're using the original unit, rather
than a different one that will round differently.
2015-04-23 09:18:13 -07:00
L. David Baron 20dd52e0ad Bug 1157455 patch 2 - Send angles (in CSS transform functions) to the compositor thread with their units rather than sending all such angles in radians. r=birtles
This avoids accumulating floating point error from conversion, so that
when we switch to doubles at the start of
nsCSSValue::GetAngleValueInRadians we're using the original unit, rather
than a different one that will round differently.
2015-04-23 09:18:12 -07:00
L. David Baron 4ecd5ea19f Bug 1157455 patch 1 - Add tests for OMTA transforms in degrees in addition to those in radians. r=birtles
In bug 1156456 I landed tests with the transform in radians to work
around float rounding issues with having the transform in degrees.  This
bug will fix the problems with degrees, so I'm duplicating the tests
here to have variants with both degrees and radians.

--HG--
rename : layout/reftests/transform-3d/animate-cube-ref.html => layout/reftests/transform-3d/animate-cube-degrees-ref.html
rename : layout/reftests/transform-3d/animate-cube-zoom-ref.html => layout/reftests/transform-3d/animate-cube-degrees-zoom-ref.html
rename : layout/reftests/transform-3d/animate-cube-zoom.html => layout/reftests/transform-3d/animate-cube-degrees-zoom.html
rename : layout/reftests/transform-3d/animate-cube.html => layout/reftests/transform-3d/animate-cube-degrees.html
rename : layout/reftests/transform-3d/animate-cube-ref.html => layout/reftests/transform-3d/animate-cube-radians-ref.html
rename : layout/reftests/transform-3d/animate-cube-zoom-ref.html => layout/reftests/transform-3d/animate-cube-radians-zoom-ref.html
rename : layout/reftests/transform-3d/animate-cube-zoom.html => layout/reftests/transform-3d/animate-cube-radians-zoom.html
rename : layout/reftests/transform-3d/animate-cube.html => layout/reftests/transform-3d/animate-cube-radians.html
2015-04-23 09:18:12 -07:00
L. David Baron 942ad651e2 Bug 1144885 followup - Remove spec links from reference, which the CSS test suite validator treats as an error. 2015-04-23 09:18:12 -07:00
Carsten "Tomcat" Book 3dd2fa2aaf Backed out changeset 8ed8157d26a2 (bug 1096093) 2015-04-23 17:18:22 +02:00
Mike Conley e21dde0949 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug.
--HG--
extra : rebase_source : 2103f47a75612dc4f1b719f5913d6cc14be5fbf7
2015-04-22 10:58:33 -04:00
Dave Townsend 7b5d12ad46 Bug 1038068: Check add-on signatures and refuse to install unsigned or broken add-ons (preffed off for now). r=dveditz
--HG--
extra : source : 3b48e1a81a170634dce964cd462c752d09680805
2015-03-31 11:32:40 -07:00
Ehsan Akhgari 90c2585151 Bug 1157046 - Remove ARRAY_LENGTH in favor of MOZ_ARRAY_LENGTH; r=Waldo 2015-04-23 08:30:41 -04:00
L. David Baron c5d31331ce Bug 1156456 followup - Also annotate as fuzzy on Mulet, on a CLOSED TREE. 2015-04-22 21:50:01 -07:00
Ting-Yu Lin 4961c5a716 Bug 1158090 - Fix documentation for nsDisplayListBuilder constructor. r=roc 2015-04-24 02:41:00 -04:00
L. David Baron cc896f3f84 Bug 1156456 patch 3 - Send transform origin and perspective origin to layer in device pixels rather than CSS pixels. r=birtles 2015-04-22 19:37:04 -07:00
L. David Baron a29e961fde Bug 1156456 patch 2 - Transform the z component just like the x and y. r=birtles
I confirmed locally that this patch fixes the reftest (per reftest.list
change).
2015-04-22 19:37:04 -07:00
L. David Baron 7952663706 Bug 1156456 patch 1 - Reftests comparing a 3-D transformed cube generated by main-thread paths and off-main-thread animations paths. r=birtles
I confirmed that without the patch, the test marked as failing (the one
with zoom) in this patch (which will be unmarked in the next patch)
fails.

There is also a small amount of fuzz that will need to be annotated with
an additional patch on top of the patch stack.
2015-04-22 19:37:04 -07:00
L. David Baron 9df2ba75ee Bug 1084322 followup - Fix reftest-analyzer display of image from a failing != test. 2015-04-22 19:37:04 -07:00
Bas Schouten 2862be92b8 Bug 1151821 - Test: Test whether simple canvas globalCompositeOperators work when a clip is set. r=jrmuizel 2015-04-10 07:09:31 +02:00
Xidorn Quan a5e91c3f1c Bug 1157011 - Check line break suppression of BR frame from its parent frame. r=dholbert
--HG--
extra : source : e68c66b656c730352e5ebdbddd87113ede715c76
2015-04-23 13:32:53 +12:00
Xidorn Quan 9c13d12b5e Bug 1156222 - Check frame type instead of display type for ruby and simplify code. r=dholbert
--HG--
extra : source : c00a44185d012b612271e0c64c444832c19d3b54
2015-04-23 13:32:53 +12:00
Botond Ballo 568cc0377d Bug 1151663 - Only call GetOrMaybeCreateDisplayPort() in nsLayoutUtils::PaintFrame() if we are using containers for root scroll frames. r=tn
--HG--
extra : rebase_source : 832db6a5ae1b513aaea7e2349f09bb500ef726e8
extra : source : c1f3b5ba0562e98d8b39c28f3964e37dfcff8528
2015-04-15 17:14:32 -04:00
Botond Ballo ed5527e448 Bug 1151663 - Initialize display list builder flags earlier in nsLayoutUtils::PaintFrame(). r=tn
--HG--
extra : rebase_source : 9b64fb508e4ed224396bf8c2c060264ec6f870d0
extra : source : 1cdbbd749b04f4a6068560f5d7c5528240fa8dfe
2015-04-15 15:48:09 -04:00
Boris Zbarsky be50caa66c Bug 1157279. Escaping CSS identifiers should use lowercase letters for hex digits, not uppercase ones. r=dbaron 2015-04-22 20:30:10 -04:00
Boris Zbarsky 9cbb1e7539 Bug 1157451. Make nsCORSListenerProxy::Init take an enum, not a boolean, to indicate what to do with data: URIs. And make it required, not defaulted to disallowing. r=smaug 2015-04-22 20:30:10 -04:00
Boris Zbarsky 6e3069def0 Bug 1109693. More places that use CORS should in fact allow data: URIs. r=smaug 2015-04-22 20:30:10 -04:00
Seth Fowler 3656603a55 Bug 1085783 (Part 2) - Add a test for rounding behavior when high-quality downscaling. r=roc 2015-04-22 13:04:06 -07:00
Seth Fowler 8b1d7b5a59 Bug 1085783 (Part 1) - Snap both the fill and dest rects using UserToDeviceSnapped() when pixel snapping images. r=roc 2015-04-22 13:04:04 -07:00
Seth Fowler b07b0bc85e Bug 1068881 (Part 2) - Add reftests for rounding image dest rects to zero size. r=roc 2015-04-22 13:04:01 -07:00
Ryan VanderMeulen ca0017ff24 Bug 1028716 - Adjust the OSX fails-if condition for progress-orient-vertical.html to only apply to 10.6.
CLOSED TREE
2015-04-22 13:52:36 -04:00
Markus Stange 99aa852b73 Bug 1156393 - Cache nsDisplayBorder bounds. r=roc 2015-04-20 18:57:51 -04:00
Markus Stange c8321737e0 Bug 1141089 - Add more asserts for DisplayItemData, trying to catch whether we're accessing deleted instances. r=roc 2015-04-21 14:13:54 -04:00
Mats Palmgren c88780414c Bug 1153586 - Prevent the same BUTTON_DOWN event from opening the dropdown menu again on platforms that don't consume the event. r=enndeakin
--HG--
extra : rebase_source : c5d8c8b39e6d35387e99c7cf2bb07b3f65de024e
2015-04-15 16:01:00 -04:00
Jonathan Kew d2159a3b44 Bug 1028716 - Reftests for <progress> and <meter> with various writing-mode and -moz-orient combinations. r=dbaron 2015-04-22 16:08:57 +01:00
Jonathan Kew b68965af5a Bug 1028716 part 2 - Handle the new orient values in <progress> and <meter> layout. r=smontagu 2014-06-27 11:25:11 +01:00
Jonathan Kew ba44c76dce Bug 1028716 part 1 - Remove the 'auto' value of the -moz-orient property, and add 'inline' (new initial value) and 'block'. r=dbaron 2014-06-27 11:22:32 +01:00
Kartikaya Gupta 57fccccc35 Bug 1147038 - Update some tests to pass on desktop platforms. r=tn
The test in question sets up an inconsistent state for desktop platforms because
it intends to simulate what the APZ does, but does it only partially. The APZ
code would set a CSS viewport (which the test does) but it doesn't set the
scroll-position-clamping-scroll-port-size which the APZ would always do.
2015-04-22 10:16:33 -04:00
Kartikaya Gupta 02fc2e12be Bug 1154478 - Really force-enable the event-regions code when APZ is enabled. r=tn 2015-04-22 10:16:27 -04:00
Carsten "Tomcat" Book 7ef9b42c28 merge mozilla-central to mozilla-inbound IGNORE IDL
--HG--
extra : rebase_source : 294f0cad1bada4ebf38f24ff52ebbd7798de5912
extra : amend_source : d7b1044b736cf3e351efbef9610c83a14e6543ae
2015-04-22 16:09:56 +02:00
Kartikaya Gupta 53dd599648 Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me 2015-04-22 09:36:25 -04:00
Ryan VanderMeulen b1b768e9ab Bug 1123563 - Skip test-animated-image-layers.html and test-animated-image-layers-background.html on Android and Linux. a=me
--HG--
extra : rebase_source : 31fc337503ec91ed87b5a4ea36493169e8620e61
2015-04-22 09:30:46 -04:00
David Anderson 2509aee14f Fix bogus assertion in nsLayoutUtils::SetDisplayPortMargins. (bug 1156409, r=botond, a=philor) 2015-04-21 23:01:41 -04:00
Wes Kocher b6e78e87bc Merge b2ginbound to m-c a=merge 2015-04-21 15:31:59 -07:00
Ryan VanderMeulen 8819aa2b6e Bug 1141867 - Add OSX 10.10 fuzz to the newly-added tests. a=merge
--HG--
extra : source : e96da160129953bebacc8e66bc8b6b178ab3fc09
extra : amend_source : ece231f919bf21cc4a3718b3066eebe868babb9b
2015-04-21 13:54:07 -04:00
Wes Kocher 687641fa14 Merge inbound to m-c a=merge 2015-04-21 15:23:57 -07:00
Wes Kocher 103ab1ed0e Merge fx-team to m-c a=merge 2015-04-21 15:15:48 -07:00
David Anderson 9ae1c872f4 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
Carsten "Tomcat" Book c560e33395 Merge mozilla-central to mozilla-inbound 2015-04-21 12:38:27 +02:00
Carsten "Tomcat" Book 57a5fd4e81 merge fx-team to mozilla-central a=merge 2015-04-21 12:06:04 +02:00
Timothy Nikkel c92044ef7a Bug 1156598. Remove old, dead scroll layer item code. r=mstange 2015-04-20 22:48:10 -05:00
Brian Birtles 2cfdd7ac06 Bug 1154615 part 7 - Rename CSSAnimationPlayer and CSSTransitionPlayer; r=jwatt 2015-04-21 10:22:10 +09:00
Brian Birtles 13834006d7 Bug 1154615 part 6 - Rename references to players within layout/; r=jwatt
We will rename CSSAnimationPlayer/CSSTransitionPlayer in a separate patch
2015-04-21 10:22:10 +09:00
Brian Birtles 8f5fbac8a9 Bug 1154615 part 5 - Rename AnimationPlayerCollection to AnimationCollection; r=jwatt 2015-04-21 10:22:10 +09:00
Brian Birtles 4f7bf25c27 Bug 1154615 part 2 - Rename PendingPlayerTracker to PendingAnimationTracker; r=jwatt
This patch also updates the method names on PendingAnimationTracker but leaves
a number of local variables which will be fixed in a subsequent patch.

--HG--
rename : dom/animation/PendingPlayerTracker.cpp => dom/animation/PendingAnimationTracker.cpp
rename : dom/animation/PendingPlayerTracker.h => dom/animation/PendingAnimationTracker.h
2015-04-21 10:22:09 +09:00
Brian Birtles 5c7929fd2a Bug 1154615 part 1 - Rename AnimationPlayer to Animation in WebIDL; r=smaug
This patch is a fairly minimal rename of the AnimationPlayer interface. It
leaves a bunch of local variables and helper classes still using the word
"player". These will be addressed in subsequent patches that don't require DOM
peer review.

--HG--
rename : dom/animation/AnimationPlayer.cpp => dom/animation/Animation.cpp
rename : dom/animation/AnimationPlayer.h => dom/animation/Animation.h
rename : dom/webidl/AnimationPlayer.webidl => dom/webidl/Animation.webidl
2015-04-21 10:22:09 +09:00
Wes Kocher 4b97517c7c Merge m-c to fx-team a=merge CLOSED TREE 2015-04-20 17:19:07 -07:00
Wes Kocher 1d3fd84d27 Merge fx-team to m-c a=merge CLOSED TREE 2015-04-20 17:04:09 -07:00
Simon Montagu bfb5cc9a66 Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn 2015-04-21 11:32:01 +03:00
Jonathan Kew d6d23c7bc2 Backout changeset 0b070d503800 (bug 1153510) for mochitest orange on a CLOSED TREE 2015-04-20 18:51:20 +01:00
Ehsan Akhgari 9646e11caf Bug 1156028 - Teach clang-analyzer about XPCOM assertion macros; r=froydnj 2015-04-20 13:10:35 -04:00
Jonathan Kew 33ba188037 Bug 1153510 - Improve handling of vertical writing mode in SVG text frames. r=longsonr 2015-04-20 18:05:47 +01:00
Mark Capella 689f5b0c2e Bug 1156037 - SelectWord triggered by NS_MOUSE_MOZLONGTAP widget event doesn't move focus, r=tylin 2015-04-20 10:41:20 -04:00
Wes Kocher 85f8cf9b3d Bug 1155426 - disable the test on b2g. r=ryanvm 2015-04-20 14:27:00 +02:00
Carsten "Tomcat" Book e02a605417 Merge mozilla-central to b2g-inbound 2015-04-21 15:37:22 +02:00
Denis Volk 32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Mason Chang 30c8ca5402 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on OS X. r=jrmuizel 2015-04-20 08:38:43 -07:00
Ehsan Akhgari 9a37d83f10 Bug 1156104 follow-up: forgot to actually include mURI 2015-04-19 15:05:57 -04:00
Ehsan Akhgari c8ee4d289f Bug 1156104 - Mark nsROCSSPrimitiveValue::m{Color,Value,URI} as MOZ_OWNING_REF; r=dbaron 2015-04-19 15:04:25 -04:00
Jonathan Kew 16916f1715 Bug 1156021 - Reftest for text-indent specified as percent in vertical writing mode. r=dbaron 2015-04-19 19:03:29 +01:00
Jonathan Kew 5e4b54b22c Bug 1156021 - Use containing block inline-size (as appropriate for writing mode) to compute text-indent when specified as percentage. r=dbaron 2015-04-19 19:03:27 +01:00
Phil Ringnalda d68dd54c30 Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson 4f6a850738 Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats) 2015-04-17 11:49:55 -04:00
Ehsan Akhgari a1a0553b7d Bug 1155488 - Mark nsIPresShell::mHiddenInvalidationObserverRefreshDriver as MOZ_UNSAFE_REF; r=roc 2015-04-18 19:08:24 -04:00
Ehsan Akhgari 923ff8e7e4 Bug 1155485 - Mark nsFrameManagerBase::mPresShell as MOZ_NON_OWNING_REF; r=roc 2015-04-18 19:08:21 -04:00
Ehsan Akhgari f9076fe89f Bug 1155478 - Use smart pointers for three members of nsIPresShell; r=roc 2015-04-18 19:08:18 -04:00
Daniel Holbert 2557a4c19e Bug 1155880 part 3: Rename nsTableFrame::GetColumnWidth to use "ISize" instead of "Width". r=jfkthame 2015-04-18 16:01:27 -07:00
Daniel Holbert d4904872c9 Bug 1155880 part 2: Rename nsTableColFrame Get/Set/ResetFinalWidth methods to use "ISize" instead of "Width". r=jfkthame 2015-04-18 16:01:26 -07:00
Daniel Holbert 2f0de265e8 Bug 1155880 part 1: Rename nsITableLayoutStrategy::ComputeColumnWidths and associated comments to use "ISize" instead of "Width". r=jfkthame 2015-04-18 16:01:24 -07:00
Sylvestre Ledru 6d0096a8b3 Bug 1155766 - Fix a bad assertion r=dbaron
--HG--
extra : rebase_source : 434379ab758ea7cfc7d54ac2379c2f609444349b
2015-04-20 11:43:06 -07:00
Sylvestre Ledru 947ef6f336 Bug 1155766 - Fix a bad assertion r=jfkthame
--HG--
extra : rebase_source : b68a09d56ef7c2014dace4ea61f07713436d551b
2015-04-20 11:42:49 -07:00
Jonathan Kew a2bf75b377 Bug 1155863 - Temporarily disable tests that involve table elements within vertical writing mode (not yet supported). r=heycam 2015-04-20 09:36:57 +01:00
Xidorn Quan d7cdaaccb9 Bug 1149009 followup - Disable css-ruby/line-break-suppression-4.html on B2G. 2015-04-20 17:46:57 +12:00
Markus Stange 4a60b47050 Bug 1156129 - Take border radius into account when calculating the bounds of border display items. r=roc
--HG--
extra : rebase_source : 4fdf851e055514fcf1b3a7d894a158ce8b384e6a
2015-04-19 20:48:37 -04:00
Xidorn Quan 1eac8d1918 Bug 1149009 - Fix line break suppression on whitespace not contained but wrapped in ruby boxes. r=dbaron
--HG--
extra : rebase_source : d523d7fb01b9ca6a0db9c2a99b05f5560a94e3aa
extra : source : b3028ab938b2269518a5fb1e124c2982f4afdd36
2015-04-20 15:04:09 +12:00
Xidorn Quan 354ce89430 Bug 1146117 - Downgrade the assertion in FindNearestRubyBaseAncestor to warning. r=dbaron
--HG--
extra : rebase_source : 78c752476816abd7f783f55a230b9b6e31f1d455
extra : source : 4bac31d169fb4b05a1e3c4842fcb5cd5e47d8677
2015-04-20 15:04:09 +12:00
Ehsan Akhgari f9324092a8 Bug 1156108 - Make nsTreeColumns::mFirstColumn an nsRefPtr; r=roc 2015-04-19 16:44:13 -04:00
Ehsan Akhgari ffad0ee63d Bug 1156106 - Make nsMenuBarFrame::mMenuBarListener an nsRefPtr; r=roc 2015-04-19 16:44:10 -04:00
Ehsan Akhgari 4840d71423 Bug 1156097 - Make nsImageFrame::mImageMap an nsRefPtr; r=roc 2015-04-19 16:44:08 -04:00
Ehsan Akhgari 9014085ccb Bug 1156008 - Convert CapturingContentInfo::mContent to StaticRefPtr; r=roc 2015-04-19 16:44:04 -04:00
Seth Fowler 3c8556a274 Bug 1145439 (Part 2) - Make test_scroll_event_ordering.html wait for rAF to unthrottle. r=roc 2015-04-21 09:44:43 -07:00
Seth Fowler ae663e5c87 Bug 1145439 (Part 1) - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-21 09:44:40 -07:00
Carsten "Tomcat" Book 34eac73c74 Merge mozilla-central to fx-team 2015-04-21 15:35:04 +02:00
Carsten "Tomcat" Book 92635b7ff7 Merge mozilla-central to fx-team 2015-04-21 12:45:22 +02:00
Maksim Lebedev 7229de63a0 Bug 1153130 - Add test for prevent FireFox crashes when pointer events are enabled. r=smaug 2015-04-17 03:06:00 +02:00
Maksim Lebedev 7cf78b521d Bug 1153130 - Prevent FireFox crashes when pointer events are enabled. r=smaug 2015-04-13 06:22:00 +02:00
Nicolas Silva e887c595eb Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02:00
Nicolas Silva cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Jonathan Kew 3c2c57d5cb Bug 1141867 - patch 3 - Reftests for contiguous orthogonal floats. r=smontagu 2015-04-09 14:40:54 +01:00
Jonathan Kew 76b29615af Bug 1141867 - patch 2 - If FloatMarginISize returns unconstrained, we need to do an early reflow on the orthogonal float to find out its real size. r=smontagu 2015-04-09 10:08:17 +01:00
Jonathan Kew c352e79274 Bug 1141867 - patch 1 - Use the proper writing mode to return the inline-size from FloatMarginISize. r=smontagu 2015-04-09 08:41:49 +01:00
Mats Palmgren 7f6df34459 Bug 1152354 - Re-introduce the incremental reflow hack in nsSimplePageSequenceFrame for now, since the regressions are worse than the original problem (bug 1108104). r=roc
--HG--
extra : rebase_source : bd5feeaa5e69ddcec8af6f80ad5ec2b6be5ed8ab
2015-04-20 05:46:00 -04:00
Carsten "Tomcat" Book f6bf2cb116 Backed out changeset dc6d37458b88 (bug 1068881) for windows 7 reftest perma failure 2015-04-22 13:18:03 +02:00
Carsten "Tomcat" Book 611ec988a9 Backed out changeset 60bbc4230cd7 (bug 1085783) 2015-04-22 13:14:35 +02:00
Carsten "Tomcat" Book 10d96f3c21 Backed out changeset bc6db8bcf480 (bug 1085783) 2015-04-22 13:14:33 +02:00
Daniel Holbert 22bdb1930e (no bug) Fix typo in nsStyleContext.h (s/currenlty/currently/). Comment-only, DONTBUILD 2015-04-21 23:34:05 -07:00
Andrea Marchesini 085da9302a Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Phil Ringnalda 857dc93f7f Merge m-c to a CLOSED TREE m-i 2015-04-21 20:17:57 -07:00
Seth Fowler 0d5b8cabbb Bug 1085783 (Part 2) - Add a test for rounding behavior when high-quality downscaling. r=roc 2015-04-21 19:23:13 -07:00
Seth Fowler d2fb40701c Bug 1085783 (Part 1) - Snap both the fill and dest rects using UserToDeviceSnapped() when pixel snapping images. r=roc 2015-04-21 19:23:10 -07:00
Seth Fowler fc4b966303 Bug 1068881 (Part 2) - Add reftests for rounding image dest rects to zero size. r=roc 2015-04-21 19:23:07 -07:00
Neil Deakin 5500eadc0e Bug 1058712, e10s, support for copy image command, r=ehsan,mconley 2015-04-21 20:09:14 -04:00
Neil Deakin 894febc41a Bug 1155355, e10s, rewrite and reenable browser tests in layout/xul/test, don't show tooltips during a drag, use system event listeners for tooltips, r=billm 2015-04-21 20:09:14 -04:00
Neil Deakin 03cc3bcefa Bug 1152290 - "[e10s] "<select>" doesn't show selected value". r=roc
--HG--
extra : rebase_source : c37303d508d4fdee0952059c14e79145a503bb7f
2015-04-08 08:38:00 +02:00
L. David Baron 5b90d1fe31 Bug 1156111 patch 2 - Add BUG_COMPONENT metadata for tests in layout/reftests/. r=gps 2015-04-20 23:10:40 -07:00
L. David Baron 55d067f4a6 Bug 1156111 patch 1 - Give layout/reftests/ its own moz.build file. r=gps 2015-04-20 23:10:40 -07:00
L. David Baron 0007f88a82 Bug 1144885 - Add reftests for font-size:0 and font-size-adjust:0. r=jdaggett 2015-04-20 23:10:40 -07:00
L. David Baron 026c5518c7 Bug 1144885 - Treat font-size-adjust: none as separate from font-size-adjust: 0. r=jdaggett
Without the patch, the addition to property_database.js leads to
failures related to the "0.0" and "0" values in
layout/style/test/test_value_computation.html .
2015-04-20 23:10:40 -07:00
Jonathan Watt 10b49eebc0 Bug 1149990 - Support replaying of finished CSS transitions by supporting setting of currentTime/startTime. r=birtles 2015-04-06 23:48:55 +01:00
Wes Kocher afda1781f5 Merge m-c to inbound a=merge CLOSED TREE 2015-04-20 17:16:03 -07:00
Wes Kocher 9becf2d33f Backed out 3 changesets (bug 1141867) for reftest orange CLOSED TREE
Backed out changeset 8dcfc3ace301 (bug 1141867)
Backed out changeset aeaa345b9aeb (bug 1141867)
Backed out changeset b1091955192c (bug 1141867)
2015-04-20 14:12:41 -07:00
Jonathan Kew ddd0c9c133 Bug 1153510 - Improve handling of vertical writing mode in SVG text frames. r=longsonr 2015-04-20 18:05:47 +01:00
Boris Zbarsky ff8ef95ec2 Bug 1156197. Just use the return value of the cols DOM property for determining the default number of rendered columns for a textarea. r=ms2ger 2015-04-20 16:54:46 -04:00
Danilo Cesar Lemes de Paula d7e8379673 Bug 1146024 - Fix up input routing for APZ on Fennec. r=kats
nsWindow::ProcessUntransformedAPZEvent is the method that
deals with APZ Input, so it should receive it's events
2015-04-20 16:16:17 -04:00
Jonathan Kew 73be2c9a7d Bug 1141867 - patch 3 - Reftests for contiguous orthogonal floats. r=smontagu 2015-04-09 14:40:54 +01:00
Jonathan Kew a2b186a60b Bug 1141867 - patch 2 - If FloatMarginISize returns unconstrained, we need to do an early reflow on the orthogonal float to find out its real size. r=smontagu 2015-04-09 10:08:17 +01:00
Jonathan Kew 376b12d54c Bug 1141867 - patch 1 - Use the proper writing mode to return the inline-size from FloatMarginISize. r=smontagu 2015-04-09 08:41:49 +01:00
Morris Tseng 6184cd18a5 Bug 1021499 - Enlarge touch/selection carets touch area. r=roc
--HG--
extra : histedit_source : 86209694d0b0704554a3a61d08741d02ea1a57cc
2015-04-15 19:15:00 -04:00
Wes Kocher 10b0765a42 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 65e706214cf534170bf6cfe658eb394c0195cb81
2015-04-21 15:35:07 -07:00
Cameron McCormack ce18025dce Bug 1156988 - Update RestyleManager::{Change,Restyle}HintToString for recent changes. r=dbaron 2015-04-22 08:03:31 +10:00
Markus Stange ac4687cfc6 Bug 1151346 - Back out the important part again because of bug 1151889.
--HG--
extra : rebase_source : cabd715313acc03708fc73e816f7d318abf812f0
2015-04-21 16:41:58 -04:00
Markus Stange 20468742ef Bug 1148515 - Do the scrollbar thumb layer wrapping in nsSliderFrame so that the thumb's event region is wrapped, too. r=tn
--HG--
extra : rebase_source : 629c067595d3c7260b0f6b3c3a7f0b89e97b070a
2015-04-21 15:22:28 -04:00
Timothy Nikkel 8ff667521d Backout 3c3337ed60a1 (bug 1139306) for causing bug 1156918. 2015-04-21 15:09:48 -05:00
Ryan VanderMeulen 9b2bbc3d1a Bug 1141867 - Add OSX 10.10 fuzz to the newly-added tests. 2015-04-21 13:54:07 -04:00
Daniel Holbert 31279a26d4 Bug 1155412: Use mozilla::Maybe instead of hardcoded placement-new, for reflow state created in nsTableOuterFrame::OuterBeginReflowChild() and used by its caller. r=dbaron 2015-04-17 15:56:01 -07:00
Ehsan Akhgari d7b425cef6 Bug 1155359 follow-up: Disable the test on B2G and Mulet
Landed on a CLOSED TREE
2015-04-17 16:38:20 -04:00
Daniel Holbert 1e4637780c Bug 1155798: Drop end-of-line whitespace from C++ files in layout/tables. (whitespace-only, no review, DONTBUILD) 2015-04-17 11:42:05 -07:00
Ehsan Akhgari 6cff744014 Bug 1112469 - Part 4: Disable periodic updates of service workers when running tests; r=nsm
This is meant to avoid random issues with Gecko suddenly kicking off the
periodic updates in the middle of our test runs.  This uses a hidden pref
intentionally since nobody should be able to discover this pref by going
to about:config.
2015-04-17 14:06:02 -04:00
Ehsan Akhgari 41df4b9686 Bug 1112469 - Part 1: Implement an XPCOM service responsible to trigger daily updates of service workers; r=nsm
--HG--
rename : dom/base/nsDOMCID.h => dom/workers/ServiceWorkerPeriodicUpdater.cpp
rename : dom/base/nsDOMCID.h => dom/workers/ServiceWorkerPeriodicUpdater.h
2015-04-17 13:59:49 -04:00
Daniel Holbert 51fe298034 Bug 1155312: Convert flex container nsHTMLReflowMetrics/aDesiredSize-populating code to use logical coords. r=mats 2015-04-17 10:41:23 -07:00
Ehsan Akhgari 1024e50281 Bug 1155359 - Add a reftest; r=gw280 2015-04-17 13:03:11 -04:00
George Wright 9ac0794124 Bug 1155359 - Set NS_FRAME_IS_BIDI on nsTextBoxFrame if text direction is set to RTL r=roc 2015-04-15 16:00:29 -04:00
Carsten "Tomcat" Book d518336551 Backed out changeset 5ef9825777a2 (bug 1021499) 2015-04-17 13:14:13 +02:00
Alessio Placitelli 748aeb48ed Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Morris Tseng 6176571161 Bug 1021499 - Enlarge touch/selection carets touch area. r=roc 2015-04-15 19:15:00 +02:00
L. David Baron 2e174d9799 Back out changeset 60b7888a323b (bug 947753 / bug 1122526) for Mac OS X mochitest-4 failure.
The failure was:
TEST-UNEXPECTED-FAIL | gfx/tests/mochitest/test_acceleration.html | Acceleration enabled on x86-64 OS X - didn't expect 0, but got it

I'm guessing this is because we're calling GetLayerManager earlier than
we were before.

CLOSED TREE
2015-04-16 20:19:03 -07:00
L. David Baron c83c61bfca Bug 947753 / Bug 1122526 - Don't claim to support off-main-thread animations when the nearest widget is not using OMT compositing. r=birtles
This moves the test for whether off-main-thread compositor is enabled
*earlier* in CanPerformOnCompositorThread, since
CanAnimatePropertyOnCompositor is called only from
CanPerformOnCompositorThread.  This change means we're using a more
accurate test for whether we actually have off-main-thread compositing
than the pref, since in some cases we won't use off-main-thread
compositing for certain widgets (e.g., transparent widgets on Windows)
even when the pref is enabled.
2015-04-16 18:36:29 -07:00
L. David Baron b3c27e4396 Bug 1153426 - Don't crash when doing an off-main-thread animation of a transform to or from the 'none' value. r=birtles
I confirmed locally (with ./mach mochitest-plain --e10s on Linux) that
the added test crashes without the patch and passes with the patch.
2015-04-16 18:13:15 -07:00
Cameron McCormack 84ff03514a Bug 1154149 - Remove nsPresContext arguments from a bunch of nsStyleSet methods. r=dbaron 2015-04-17 11:09:59 +10:00
Cameron McCormack 9e48addb00 Bug 1155030 - Fix asterix/asterisk misspelling. r=ehsan 2015-04-17 11:09:58 +10:00
Ryan VanderMeulen a4f44fd976 Merge m-c to inbound. a=merge 2015-04-16 16:21:05 -04:00