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

44712 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta 4ebb7ef7d1 Bug 1130455 - Remove the mozasyncpanzoom attribute. r=roc
This attribute used to force APZ to be used on content processes even if the
overall APZ pref was false. However, this has a couple of problems, which cancel
each other out:
- If the pref is false, the APZ machinery is never created, and so it's
  impossible to have content processes "using" APZ.
- The reftest harness checks for the pref and ignores mozasyncpanzoom when
  evaluating the "asyncPanZoom" condition in reftest manifests.
Therefore, any reftests which were skip-if(!asyncPanZoom) would never run unless
the pref was set, and in those cases the mozasyncpanzoom attribute would not be
needed at all, as APZ is already enabled with the pref.
However, the mozasyncpanzoom attribute would cause some parts of the child
process code to behave as though APZ was enabled, which is incorrect. Removing
this attribute and relying solely on the pref corrects that.
2015-02-26 08:47:00 -05:00
Ting-Yu Lin eacb4adcf8 Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
chiajung hung 46866d6824 Bug 1129249 - Expose the element id in Gecko profiler for Restyle. r=dholbert r=benwa 2015-02-25 23:16:00 +01:00
Xidorn Quan 584fa0b43b Bug 1135954 part 2 - Make GetUniqueStyleData private and remove no longer used unique cases. r=heycam
--HG--
extra : source : 5d884b04b432946c1a7185e6dbd5db4819c3b9bb
2015-02-26 16:18:15 +11:00
Xidorn Quan b11baf4acb Bug 1135954 part 1 - Create empty border/padding style struct for rbc/rtc. r=heycam
--HG--
extra : source : 036de96aecb8a5e2c40e4d722b689c3db81583b7
2015-02-26 16:18:15 +11:00
Kartikaya Gupta 92986059d4 Bug 1136803 - Properly remove the force-dtc override flag on retained layers when listeners are removed. r=botond 2015-02-25 13:36:19 -05:00
Kartikaya Gupta 934d955071 Bug 1134493 - Ensure we don't set the force-empty-hit-region flag when a subdocument has mozpasspointerevents. r=botond 2015-02-25 13:36:19 -05:00
Markus Stange 511a39c19d Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc
--HG--
extra : rebase_source : 7b5877bc9336e3b01ec43732a5697fba7994c465
2015-02-25 11:47:22 -05:00
Markus Stange 6d5ecb7b01 Bug 961887 - Make FindOpaqueBackgroundColorFor take a region instead of a PaintedLayerData. r=roc
--HG--
extra : rebase_source : 21afe457b330919ba98705c39cd12e44734244cc
extra : source : 97c8184c30588f83147d1abe9ac66696ae35fd7a
2015-02-20 14:46:09 -05:00
Markus Stange f56803507c Bug 961887 - Refactor mVisibleAboveRegion management. r=roc
--HG--
extra : rebase_source : fc3b37cdce3cfce091e3552d2a2fc4d0d7c16fad
extra : source : f02c5c1f77048fabaf45c2f7626f900157ee47f7
2015-02-18 17:37:19 -05:00
Mats Palmgren 8c27917737 Bug 1134531 - Remove nsTextFrame::DidSetStyleContext which only contained a (now obsolete) wallpaper. r=heycam 2015-02-24 18:35:30 +00:00
Mats Palmgren 5db9cb8bc7 Bug 969756 - Add a test. 2015-02-24 18:35:30 +00:00
John Schoenick a11862a8ae Bug 1136379. Clean up the nsPluginHost API a bit. r=bzbarsky 2015-02-25 11:36:39 -05:00
Boris Zbarsky a7d78c82c0 Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug 2015-02-25 10:26:51 -05:00
Ting-Yu Lin 8c97b329f6 Bug 1136735 - Ignore events if there's no SelectionCarets elements. r=ehsan
XUL has no CanvasFrame. Hence no SelectionCarets elements.
SelectionCarets should ignore the events if it cannot get its elements.
2015-02-25 18:48:00 -05:00
Carsten "Tomcat" Book fac9e15494 Backed out changeset ed12a3822cb9 (bug 1132768) for mochitest-oop-1 test failures
--HG--
extra : rebase_source : 25acbb70ac1aadeeaef466974c2a0f16de7a5fb1
2015-02-25 15:49:55 +01:00
Kartikaya Gupta 6e2b17d2de Bug 990907 - Don't add text-overflow markers while being actively scrolled by APZ. r=mstange,tn 2015-02-25 09:33:00 -05:00
Kartikaya Gupta 9aa660ca7b Bug 990907 - Have DLBI pick up changes in the char-clip on text frames. r=mstange,mattwoodrow 2015-02-25 09:32:28 -05:00
Kartikaya Gupta 53bf04f021 Bug 990907 - Add a flag on nsIScrollableFrame to indicate if it is actively being scrolled by APZ. r=tn 2015-02-25 09:32:09 -05:00
Ehsan Akhgari 2f1041889b Bug 1132768 - Consider non-editable regions in contenteditable elements as user-select:all even if the editable region doesn't have the focus; r=roc 2015-02-25 07:35:33 -05:00
David Burns 7bdd33bd0a Bug 1107336: Update layout tests to use new Marionette Driver; r=jgriffin
--HG--
extra : rebase_source : 1a84494081492b97fe7d4c8ebb0c130e1c59fb29
2015-02-23 14:43:37 +00:00
David Burns eed0db3148 Bug 1107336: Update b2g desktop ref test runner to use new Marionette Driver; r=ahal
--HG--
extra : rebase_source : a7d25f417045a2c382124c29b017f176d9ecf0f5
2015-02-23 14:42:39 +00:00
Jonathan Watt 6c3e865ef2 Bug 1136486 - Simplify the SVG text rendering callbacks by getting rid of NotifyBeforeSVGGlyphPainted and NotifyAfterSVGGlyphPainted. r=heycam 2015-02-17 22:01:54 +00:00
Timothy Nikkel f1d154f17c Bug 1102896. Save and restore the subpixel AA settings of the draw target when drawing an inactive layer manager so they don't get clobbered. r=mattwoodrow 2015-02-24 22:59:43 -06:00
Benoit Girard b732d605b0 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats
--HG--
extra : rebase_source : 500ab9ab5bd860a434a02c51ced6a0834897eab8
2015-02-18 15:27:40 -05:00
Wes Kocher 84d0eb7968 Backed out 3 changesets (bug 961887) for reftest failures on a CLOSED TREE
Backed out changeset 1684d29858e1 (bug 961887)
Backed out changeset 97c8184c3058 (bug 961887)
Backed out changeset f02c5c1f7704 (bug 961887)
2015-02-24 17:32:37 -08:00
Timothy Nikkel 4776d9215a Bug 1134293. Report the bounds of a tree body as needing component alpha and support disable component alpha in the text it might draw if asked. r=roc 2015-02-24 17:51:25 -06:00
Markus Stange 9b0240a85b Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc 2015-02-24 14:35:46 -05:00
Markus Stange 2e52d4648c Bug 961887 - Make FindOpaqueBackgroundColorFor take a region instead of a PaintedLayerData. r=roc 2015-02-20 14:46:09 -05:00
Markus Stange 98769b80dc Bug 961887 - Refactor mVisibleAboveRegion management. r=roc 2015-02-18 17:37:19 -05:00
Ryan VanderMeulen ec8d7510c3 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
Jonathan Watt 9d8a4a932c Bug 1073379, part 4 - Rework the CSS animations event dispatch code to handle startTime shifting the animations back in time. r=dholbert 2015-02-13 15:58:33 +00:00
Chris Lord a7f6ea8515 Bug 1132728 - Don't draw focus rings on b2g. r=fabrice,bz 2015-02-18 15:40:14 +00:00
Ting-Yu Lin c4e7cf937e Bug 1135992 - Fix non-unified build failed in nsLayoutUtils.cpp. r=botond 2015-02-24 02:16:00 -05:00
David Parks 72b5e35b57 Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
Carsten "Tomcat" Book c161ee575d Merge mozilla-central to mozilla-inbound 2015-02-24 13:25:15 +01:00
Carsten "Tomcat" Book 6eece0b459 merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00
pchang 052ba27385 Bug 1023190 - Fix extra horizontal line when draw background image with repeat-x mode, r=roc 2015-02-24 14:18:40 +08:00
Jonathan Kew 302b3ccc09 Bug 1135361 - Reftest for ruby positioning in justified vertical text. r=xidorn 2015-02-24 10:17:47 +00:00
Xidorn Quan 728e9e7a08 Bug 1135361 - Fix position of ruby annotation in vertical-rl mode when justification is applied to the base. r=jfkthame
--HG--
extra : source : 9e051be10b37ed8c189bcae17fe8cb95b490d661
2015-02-24 14:46:29 +11:00
Mason Chang fbd9897745 Bug 1133526. Only enable vsync compositor or refresh driver if hardware vsync is enabled. r=kats 2015-02-23 12:04:11 -08:00
Phil Ringnalda fdc2ff6cb9 Back out 21e812742b52 (bug 1134598) for unexpected assertions 2015-02-22 15:56:44 -08:00
Phil Ringnalda 8a3d1b3f0e Merge m-c to m-i 2015-02-22 15:17:42 -08:00
Xidorn Quan 582c62bbd6 Bug 1135432 - Suppress line break after text run which ends in ruby. r=jfkthame
--HG--
extra : source : 31da0b2e765e139be3c7fc69b77929323f53000e
2015-02-23 08:55:04 +11:00
Jonathan Kew 5ebaf083e5 Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-22 21:51:05 +00:00
Jonathan Kew 296fd42516 Bug 1134534 - Reftest for fieldset legend with opposing directionality. r=smontagu 2015-02-22 21:48:53 +00:00
Jonathan Kew 257908aa03 Bug 1134534 - Convert writing mode if necessary before applying positioning to fieldset legend. r=smontagu 2015-02-22 21:48:28 +00:00
Jonathan Kew 3a5e09980e Bug 1134216 - Reftest for automatic hyphenation with text-transform. r=smontagu 2015-02-22 19:39:38 +00:00
Jonathan Kew 986898ce38 Bug 1134216 - Preserve line-break flags properly when applying text-transform conversions. r=smontagu 2015-02-22 19:39:36 +00:00
Phil Ringnalda 6dcfd648be Merge f-t to m-c, a=merge 2015-02-22 10:43:56 -08:00
Jonathan Watt 513fc5ff83 Bug 1135913, part 4 - Unify SVGTextFrame's NotifyBeforeSelectionDecorationLine and NotifySelectionDecorationLinePathEmitted callbacks. r=heycam 2015-02-04 13:51:22 +00:00
Jonathan Watt 9dd15de828 Bug 1135913, part 3 - Unify SVGTextFrame's NotifyBeforeDecorationLine and NotifyDecorationLinePathEmitted callbacks. r=heycam 2015-02-03 20:00:18 +00:00
Jonathan Watt deaaf27b4e Bug 1135913, part 2 - Separately handle non-selected and selected text. r=heycam 2015-02-03 19:36:15 +00:00
Jonathan Watt 05962ce5a4 Bug 1135913, part 1 - Simplify nsCSSRendering::DecorationLineToPath to not require a context. r=heycam 2015-02-03 14:34:14 +00:00
Jonathan Kew a48d5dee38 Bug 1135622 - The number-control.css stylesheet should be treated as a UA sheet when loaded, so that the inline-size property is recognized. r=heycam 2015-02-24 09:44:26 +00:00
Kartikaya Gupta 53a4b66a34 Bug 1102427 - Ensure scroll parents of an active scrollframe are layerized. r=tn 2015-02-24 01:24:04 -08:00
Aaron Klotz 040621b98e Bug 1115437: Part 2 - Update layout reftests to be compatible with asynchronous plugin initialization; r=roc
--HG--
extra : rebase_source : 77e24041ced152ff1e82c98ab943f9282f2aca7d
2015-01-27 14:44:06 -07:00
Mats Palmgren 79b7449ed8 Bug 969756 - Back out the test b/c of orange. 2015-02-22 04:57:16 +00:00
Xidorn Quan 43a12a680a Bug 1135426 - Prevent buffer overflow at CJKIdeographicToText. r=mats
--HG--
extra : source : 3d1c34d201358c871a3123727bc655f1e24864e9
2015-02-22 14:34:49 +11:00
Jesse Ruderman 9eeb7dc0d8 Bug 970710 - crashtest. 2015-02-22 02:41:59 +00:00
Mats Palmgren 7bb4ebd804 Bug 969756 - Add a code comment and a test. r=cam 2015-02-22 02:41:58 +00:00
Abhishek Arya 94652fe96d Bug 961859 - crashtest. 2015-02-22 02:41:58 +00:00
Atte Kettunen 1240a0d52b Bug 947158 - crashtest. 2015-02-22 02:41:58 +00:00
Tyson Smith eea1887f17 Bug 930381 - crashtest. 2015-02-22 02:41:58 +00:00
Jesse Ruderman bee3226652 Bug 419352 - crashtest. 2015-02-22 02:41:58 +00:00
Ryan VanderMeulen fd0387315e Merge inbound to m-c. a=merge 2015-02-21 16:40:27 -05:00
dominique vincent ef75e137d9 Bug 1126989 - Detect not readable links to pop up the zoomed view. r=kats, r=mcomella 2015-02-07 12:17:12 +01:00
Nathan Froyd 096d149883 Bug 1135075 - move generation of nsStyleStructList.h to GENERATED_FILES; r=mshal
We can't completely eliminate the Makefile.in here, because we still
need the INSTALL_TARGETS bits to export the generated header, but we can
at least get rid of a lot of the Makefile.in.
2015-02-20 09:51:28 -05:00
Wes Kocher 88f34ca973 Backed out 8 changesets (bug 1129078, bug 1128722) for mochitest-5 failures
Backed out changeset f7eff607655a (bug 1128722)
Backed out changeset 801b3abc0de8 (bug 1128722)
Backed out changeset 275d27c2dba0 (bug 1129078)
Backed out changeset 9830ab1a2028 (bug 1129078)
Backed out changeset ce5cb876af9a (bug 1129078)
Backed out changeset c199ff86c77f (bug 1129078)
Backed out changeset 38b1b039f14d (bug 1129078)
Backed out changeset c8a99ee97313 (bug 1129078)
2015-02-20 12:24:25 -08:00
Markus Stange 8ada7e4943 Bug 1134311 - Get rid of the draw region and always only use the visible region. r=roc 2015-02-18 13:01:40 -05:00
Matt Woodrow c2394710e5 Bug 1087956: Fix clipping of position:fixed layers inside displayports. r=roc 2015-02-20 10:55:28 -08:00
Mats Palmgren 7ffa9baa18 Bug 1128722 - part 2, tests. 2015-02-20 17:34:21 +00:00
Mats Palmgren 7c8decc2c6 Bug 1128722 - part 1, Call SetDirection as soon as we decide it needs to change. r=smaug 2015-02-20 17:34:21 +00:00
Mats Palmgren 96e5bf231f Bug 1129078 - part 6, Test suite for ordinary multi-range selections (non-generated ranges). 2015-02-20 17:34:21 +00:00
Mats Palmgren 0a533f22ed Bug 1129078 - part 5, Test suite for multi-range selections involving user-select:none.
--HG--
rename : layout/reftests/fonts/Ahem.ttf => layout/base/tests/Ahem.ttf
2015-02-20 17:34:21 +00:00
Mats Palmgren fc4bb2216e Bug 1129078 - part 4, Add AutoPrepareFocusRange stack objects on paths to TakeFocus that sets up mAnchorFocusRange (and possibly removes mIsGenerated ranges) based on what operation the user is performing. r=smaug 2015-02-20 17:34:21 +00:00
Mats Palmgren a895b6ecaf Bug 1129078 - part 3, Add a mIsGenerated bit to ranges that ExcludeNonSelectableNodes created due to user-select:none. Also, return the index to the range we want to be the new mAnchorFocusRange, based on the Selection direction. r=smaug 2015-02-20 17:34:21 +00:00
Mats Palmgren da07886215 Bug 1129078 - part 2, Refactor nsFrameSelection::MoveCaret slightly. r=smaug 2015-02-20 17:34:21 +00:00
Mats Palmgren c4f38570ce Bug 1129078 - part 1, Remove the chunk that bug 739396 added to Selection::Extend. r=smaug 2015-02-20 17:34:21 +00:00
Jonathan Kew 09e06bd652 Bug 1131013 followup - make the vertical-bidi reftest more robust across platform/font differences. r=smontagu
DONTBUILD since this test directory is not yet enabled.
2015-02-20 09:52:16 +00:00
Bill McCloskey ceab1ef58e Bug 1133594 - Rename nsFrameScriptExecutor to nsMessageManagerScriptExecutor (r=smaug) 2015-02-19 17:10:44 -08:00
Timothy Nikkel adf5931715 Bug 1132371. Allow opacity items that only contain one item that paints (and others that don't) to flatten away as well. r=mattwoodrow
The optimization that allows opacity items that only contain one item (which can fold the opacity into it's own drawing) to flatten away will never apply when we have layer event region items. This is because opacity generates a stacking context and we always push a new layer event regions item for a stacking context. So if we want to keep this optimization we need to extend to to at least two items. Layer event regions items have empty bounds, which allows the non-overlapping test to pass for layer event region items. Although it will work with any non-overlapping items.
2015-02-19 19:04:09 -06:00
Xidorn Quan a5435b8759 Bug 1134783 - Fix ruby-align problem on annotation when it has different align with its base. r=roc
--HG--
extra : source : 01382cc28e956490cb6b69d430ad1ac12c7a27b2
2015-02-20 13:45:49 +13:00
Xidorn Quan 016af04e89 Bug 1134667 - Check length of text run before checking line break in reflow of ruby base container. r=jfkthame
--HG--
extra : source : a79687b00c94ffc33eb74b291a1a1e8fe339edc5
2015-02-20 13:43:35 +13:00
Jeremy Chen d78ba333be Bug 1131948 - Part 3: Test caret visibility in multi-range text. r=dburns 2015-02-19 07:18:00 -05:00
Jeremy Chen b1bfdeff8c Bug 1131948 - Part 2: Separate multiple line test cases from test_selectioncarets.html. r=dburns 2015-02-19 07:14:00 -05:00
Jeremy Chen a95f54063b Bug 1131948 - Part 1: Add content non-editable marionette tests. r=dburns 2015-02-19 07:06:00 -05:00
Xidorn Quan 35914b5175 Bug 1134069 part 2 - Move ruby inlinize blocks reftests to w3c-css/submitted. r=dbaron
--HG--
rename : layout/reftests/css-ruby/inlinize-blocks-1-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-001-ref.html
rename : layout/reftests/css-ruby/inlinize-blocks-1.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-001.html
rename : layout/reftests/css-ruby/inlinize-blocks-2-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-002-ref.html
rename : layout/reftests/css-ruby/inlinize-blocks-2.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-002.html
rename : layout/reftests/css-ruby/inlinize-blocks-3-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-003-ref.html
rename : layout/reftests/css-ruby/inlinize-blocks-3.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-003.html
rename : layout/reftests/css-ruby/inlinize-blocks-4-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-004-ref.html
rename : layout/reftests/css-ruby/inlinize-blocks-4.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-004.html
rename : layout/reftests/css-ruby/inlinize-blocks-5-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-005-ref.html
rename : layout/reftests/css-ruby/inlinize-blocks-5.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-005.html
extra : source : 0d58cf4097ca4fc3ef917a88202a128d156de97c
2015-02-19 22:54:05 +13:00
Xidorn Quan 9e984bddba Bug 1134069 part 1 - Move ruby autohiding reftests to w3c-css/submitted. r=dbaron
--HG--
rename : layout/reftests/css-ruby/autohiding-1-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-001-ref.html
rename : layout/reftests/css-ruby/autohiding-1.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-001.html
rename : layout/reftests/css-ruby/autohiding-2-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-002-ref.html
rename : layout/reftests/css-ruby/autohiding-2.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-002.html
rename : layout/reftests/css-ruby/autohiding-3-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-003-ref.html
rename : layout/reftests/css-ruby/autohiding-3.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-003.html
extra : source : 027c19d2d80767e22cdf281d69932714b8599545
2015-02-19 22:54:05 +13:00
Xidorn Quan 3ae70c4475 Bug 1134206 part 2 - Reset zeroEffectiveSpanBox when ruby adjust the line spacing. r=roc
--HG--
extra : source : 62abc49c38c25c3b0e00558b5eacc46c32470487
2015-02-19 22:39:19 +13:00
Xidorn Quan 5b4a640a88 Bug 1134206 part 1 - Remove mZeroEffectiveSpanBox flag from PerSpanData. r=roc
--HG--
extra : source : 63758b6ca39d69218c04b9ecb081a78ba2f87b2e
2015-02-19 22:39:19 +13:00
L. David Baron b00c25a4fd Bug 1133439 patch 2 - Distinguish animation-only SMIL restyles based on eRestyle_StyleAttribute_Animations in RestyleManager::PostRestyleEvent. r=birtles 2015-02-19 21:22:05 +13:00
L. David Baron 3f721f200d Bug 1133439 patch 1 - Split eRestyle_StyleAttribute into eRestyle_StyleAttribute and eRestyle_StyleAttributeAnimations. r=birtles 2015-02-19 21:22:05 +13:00
Masayuki Nakano 98a0635a7e Bug 1119609 part.15 Fix new orange of test_menulist_keynav.xul because it's caused by timeout of incremental search in menu r=smaug+enn 2015-02-19 15:50:20 +09:00
Masayuki Nakano 019965a1f6 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Xidorn Quan a45876ed84 No bug - Fix some meta data of submitted w3c-css reftests. DONTBUILD
--HG--
extra : source : 1125d4e8beb8c7d9281435be6078c2b83ce2f4ad
2015-02-22 00:48:05 +13:00
Xidorn Quan ed7affec6f Bug 1134432 part 6 - Add reftest for intrinsic isize calculation of ruby. r=dbaron
--HG--
extra : source : e90d1efb6f1af343420e3d8727b9e9cce20c3254
2015-02-22 00:39:33 +13:00
Xidorn Quan 512d11bc20 Bug 1134432 part 5 - Fix line breaks for intrinsic min isize calculation of ruby base container. r=dbaron
--HG--
extra : source : 3b7aded59fa24bebcf3751120732567e032336dc
2015-02-22 00:39:33 +13:00
Xidorn Quan d783de7692 Bug 1134432 part 4 - Move line break checking code to an independent method for reuse. r=dbaron
--HG--
extra : source : 3f1500fbe87002df02ccdf374ac61d3ebda52431
2015-02-22 00:39:33 +13:00
Xidorn Quan 0ef0398b3c Bug 1134432 part 3 - Move a function upwards for reuse. r=dbaron
--HG--
extra : source : 3a9753cdec03709d2620e6926093ba63dff61411
2015-02-22 00:39:33 +13:00
Xidorn Quan e69dae05cd Bug 1134432 part 2 - Fix basic inline min/pref isize calculation of ruby frames. r=dbaron
--HG--
extra : source : 8a18d6dbbac5c01907664eb114338f3afc7353f5
2015-02-22 00:39:33 +13:00
Xidorn Quan aa1900b93a Bug 1134432 part 1 - Suppress break inside ruby when calculating intrinsic isize. r=dbaron
Breaks during reflow have been suppressed in bug 1098272.

--HG--
extra : source : c1b5405bd585ac8e89b577dc59ef8bb2dfe8270e
2015-02-22 00:39:33 +13:00
Daniel Holbert c5a272f4f7 Bug 1135181: Remove unnecessary 'nsresult' return value from nsCSSRuleProcessor::Startup(), since it always succeeds. r=heycam 2015-02-20 22:31:09 -08:00
Mats Palmgren d73b668aa4 Bug 1128722 - part 2, tests. 2015-02-21 04:27:59 +00:00
Mats Palmgren ef6dcefc77 Bug 1128722 - part 1, Call SetDirection as soon as we decide it needs to change. r=smaug 2015-02-21 04:27:59 +00:00
Mats Palmgren ff536e5a24 Bug 1129078 - part 6, Test suite for ordinary multi-range selections (non-generated ranges). 2015-02-21 04:27:59 +00:00
Mats Palmgren 20b80ccdae Bug 1129078 - part 5, Test suite for multi-range selections involving user-select:none.
--HG--
rename : layout/reftests/fonts/Ahem.ttf => layout/base/tests/Ahem.ttf
2015-02-21 04:27:59 +00:00
Mats Palmgren 04fed0b7a5 Bug 1129078 - part 4, Add AutoPrepareFocusRange stack objects on paths to TakeFocus that sets up mAnchorFocusRange (and possibly removes mIsGenerated ranges) based on what operation the user is performing. r=smaug 2015-02-21 04:27:59 +00:00
Mats Palmgren bd4f1d7ffe Bug 1129078 - part 3, Add a mIsGenerated bit to ranges that ExcludeNonSelectableNodes created due to user-select:none. Also, return the index to the range we want to be the new mAnchorFocusRange, based on the Selection direction. r=smaug 2015-02-21 04:27:59 +00:00
Mats Palmgren 47968fcda0 Bug 1129078 - part 2, Refactor nsFrameSelection::MoveCaret slightly. r=smaug 2015-02-21 04:27:59 +00:00
Mats Palmgren fe6b8e52d4 Bug 1129078 - part 1, Remove the chunk that bug 739396 added to Selection::Extend. r=smaug 2015-02-21 04:27:59 +00:00
Cameron McCormack 40b914bc13 Bug 1134379 - Cancel old AnimationPlayer when redirecting a transition. r=birtles 2015-02-19 11:52:36 +11:00
L. David Baron debfad6d05 Bug 1131812 patch 2 - Don't do ratio scaling when applying min/max-width/height for images without an intrinsic ratio. r=dholbert
This is because the rules in the table in section 10.4 of CSS 2.1 only
apply when width and height are auto (which we already tested) and when
the image has an intrinsic ratio (which we did not).

I had hoped to simplify the code further, but there are tricky ordering
dependencies that make it hard to do.  (In particular, in the branches
for one dimension auto and one non-auto, the non-auto dimension is
computed first.)
2015-02-19 13:49:52 +13:00
L. David Baron 0c32af1f51 Bug 1131812 patch 1 - Add reftests for sizing of replaced elements. r=dholbert 2015-02-19 13:49:52 +13:00
L. David Baron 71e196bb22 Bug 1133392 - Make handling of nsChangeHint_UpdateSubtreeOverflow iterate continuations, as all change hint handling needs to. r=mats
The test fails without the patch (missing underline on "an underline")
and passes with the patch (where the underline is present, and aligned
with the non-displaced text).
2015-02-19 13:49:52 +13:00
L. David Baron e2185eac72 Bug 1133375 - Condition starting (or cancelling) CSS transitions on the combined duration, rather than delay and duration both being exactly 0. r=birtles
The two count mochitests fail without the patch (the value tests pass,
though they exist partly just to flush); all tests pass with the patch.
2015-02-19 13:49:51 +13:00
John Daggett cd667506b0 Bug 1135567 - disable printing reftests that fail with downloadable font cache disabled. r=m_kato 2015-02-24 11:50:09 +09:00
John Daggett 034c374a09 Bug 1135567 - disable svg-glyph-mask.svg reftest due to crash. r=m_kato 2015-02-24 11:49:10 +09:00
Xidorn Quan c84a17a9c6 Bug 1134667 - Add crashtest for this heap-buffer-overflow bug. r=dholbert
--HG--
extra : source : 67cb1e198aba3ee74bc0b2d4094ed47b80ad8d3d
2015-02-24 08:54:58 +11:00
Ryan VanderMeulen fe6e64f262 Backed out changeset 45d4cc092de1 (bug 1134598) for WinXP reftest leaks. 2015-02-23 12:37:04 -05:00
Jonathan Kew 2574fff814 Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-19 13:37:42 +00:00
Carsten "Tomcat" Book 3507284f26 Backed out changeset e37d57033b13 (bug 1134598) for breaking reftests 2015-02-23 11:52:33 +01:00
Jonathan Kew b2ce448be4 Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-19 13:37:42 +00:00
Nicholas Nethercote 6731149c55 Bug 1127201 (attempt 2, part 2) - Remove remaining uses of NS_ABORT_IF_FALSE. r=Waldo.
For the poisoning in nsPresArena.cpp I made it print out the details, because
that seems useful. For the other I simply removed the printing of the
unexpected value because that seems less important; we have countless
assertions like that elsewhere in the codebase that don't print the unexpected
value.

--HG--
extra : rebase_source : 34bb135d34c67db8c1db1742a53ea84e472083c6
2015-02-09 17:05:37 -08:00
Jonathan Kew 2947df1147 Bug 1105644 - Update reftests for improved handling of capitalized words. r=smontagu 2015-02-16 10:52:38 +00:00
Geoff Brown 855e467da1 Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
David Parks 31f835e4bf Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
Maksim Lebedev 4a533d3199 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Maksim Lebedev 0002fc671c Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-20 02:12:00 -05:00
Ryan VanderMeulen 821fa5dd2b Bug 1120410 - Adjust the fuzz for 413361-1.html a bit more.
--HG--
extra : rebase_source : a91324212529b65f177bc1454de505e1972602e6
2015-02-27 14:19:02 -05:00
Alessio Placitelli deb826f3fb Bug 1111022 - Tests for the SelfSupport backend. r=gfritzsche 2015-01-09 11:18:00 +01:00
Carsten "Tomcat" Book a4471f613c Backed out changeset a36c441817d8 (bug 1105644) 2015-02-18 14:48:11 +01:00
Jonathan Kew d8f78481ae Bug 1105644 - Update reftests for improved handling of capitalized words. r=smontagu 2015-02-18 09:25:57 +00:00
Xidorn Quan af2bbac201 Bug 1133697 part 3 - Make ruby text frame not continue text run. r=roc
--HG--
extra : source : b9d1f775565347a2bc506b163b91b5c522e0a366
2015-02-18 17:20:02 +13:00
Xidorn Quan 46ca97ae38 Bug 1133697 part 2 - Scan ruby texts instead of their container for building text run. r=roc
--HG--
extra : source : 2c39dfb432eea53185ed28c5790cf472bf09abf8
2015-02-18 17:20:02 +13:00
Xidorn Quan 860930550d Bug 1133697 part 1 - Remove aForFrame check in BuildTextRuns. r=roc
The only caller of BuildTextRuns passes |this| as |aForFrame|, which must
never be nullptr, hence it's safe to remove the checks there.

--HG--
extra : source : 140bf27dd11cb63815bb558e4b8dc37dfc918132
2015-02-18 17:20:02 +13:00
Alexandre Lissy 6a7427dbba Bug 1128986 - Update gaia_lock_screen.js. r=jgriffin 2015-02-03 10:49:00 -05:00
Jonathan Kew 80b4e23133 Bug 1082017 - Add writing-mode to prerequisites for line-height and font (shorthand) tests, because vertical vs horizontal mode may result in different line metrics. r=dbaron 2015-02-17 22:34:25 +00:00
Cameron McCormack 635933d3f8 Bug 1127198 - Part 4: Clear cached structs only after we have fully processed a restyle. r=dbaron 2015-02-18 09:28:53 +11:00
Cameron McCormack b561d4e5ae Bug 1127198 - Part 3: Crashtest. r=dbaron 2015-02-18 09:28:53 +11:00
Cameron McCormack a61236bccd Bug 1127198 - Part 2: Assert if we clear cached structs on a style context still used by a frame. r=dbaron 2015-02-18 09:28:53 +11:00
Cameron McCormack e25c935827 Bug 1127198 - Part 1: Add a DEBUG-only count of frames that use a style context. r=dbaron 2015-02-18 09:28:53 +11:00
Cameron McCormack c11c432b20 Bug 1125391 - Re-enable bug 931668 optimizations. r=dbaron 2015-02-18 09:28:53 +11:00
Robert Longson 886bc07e58 Bug 1129854 - markers not oriented correctly for degenerate beziers. r=jwatt 2015-02-17 22:15:15 +00:00
David Anderson a287bcbe50 Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc) 2015-02-12 17:49:10 -08:00
Ryan VanderMeulen cc5672087d Merge m-c to inbound. a=merge 2015-02-17 14:27:23 -05:00
Ryan VanderMeulen cd46520185 Merge inbound to m-c. a=merge 2015-02-17 14:24:51 -05:00
Gabriele Svelto fafc282f1a Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats 2015-02-17 10:39:35 -05:00
Carsten "Tomcat" Book 08fafcb3e2 merge mozilla-inbound to mozilla-central a=merge 2015-02-16 15:59:56 +01:00
Ting-Yu Lin 565ac9a109 Bug 1096185 - Part 3 - Fix function redefinition in test_selectioncarets.py. r=automatedtester 2015-02-11 23:33:00 +01:00
Ting-Yu Lin 97d46f9e72 Bug 1096185 - Part 2 - Change hit test in tilt mode. r=automatedtester
Due to the caret images changed, we need to change this test
accordingly.

It's sufficient to perform hit tests only targeting the left edge of the
left tilted caret and the right edge of the right tilted caret. It also
reduces the running time of the tests.

It's sad that we cannot retrieve the CSS style of the carets from ua.css
directly. We need to copy them to the test file by hand.
2015-02-12 01:05:00 +01:00
Ting-Yu Lin a14bf9a83b Bug 1096185 - Part 1 - Adjust caret size and shadow. r=roc
The size of the images is enlarged by 1.5x. The CSS rules in ua.css are
changed accordingly.
2015-02-11 19:55:00 +01:00
Morris Tseng e205f3b0b8 Bug 1120750 - Part 5: Fix non-unified build bustage. 2015-02-12 21:05:50 -05:00
Ryan VanderMeulen 7f45ab0034 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-02-13 12:24:27 -05:00
Ian Wills cd4b0dff75 Bug 1055933 - Fix Imagemaps Style in nsComputedDOMStyle.cpp. r=bz 2015-02-12 17:27:00 +01:00
L. David Baron 91d13e7a1d Back out changeset 6849669e696e (bug 1130645) for Android robocop failures.
The first failure in rc1 was:
TEST-UNEXPECTED-FAIL | testAxisLocking | PaintExpecter - blockUtilClear timeout
and the first failure in rc2 (API9) or rc3 (API11) was:
TEST-UNEXPECTED-FAIL | testPanCorrectness | PaintExpecter - blockUtilClear timeout
2015-02-16 18:22:56 +13:00
L. David Baron 52aec10e19 Bug 992077 patch 5 - Remove implementation of OverflowChangedTracker::CHILDREN_AND_PARENT_CHANGED. r=mats
This simplifies the API of the OverflowChangedTracker.
2015-02-16 16:34:29 +13:00
L. David Baron a1282d848c Bug 992077 patch 4 - Stop using OverflowChangedTracker::CHILDREN_AND_PARENT_CHANGED for the overflow area updates dealing with absolutely positioned elements contained by relatively positioned table parts. r=mats
The old code here was also updating overflow areas on more frames than
needed.  (Using CHILDREN_CHANGED on positionedPart itself causes test
failures because positionedPart's overflow area doesn't change in the
overflow updating process, so no overflow change is propagated to the
parent; it's the parent that actually needs the update.)
2015-02-16 16:34:29 +13:00
L. David Baron 5a3d7683d5 Bug 992077 patch 3 - Stop using OverflowChangedTracker::CHILDREN_AND_PARENT_CHANGED for the UpdateOverflow and related hints. r=mats
This makes UpdateOverflow hint handling (which definitely did previously
need CHILDREN_AND_PARENT_CHANGED) and handling of related hints (which I
believe never actually needed CHILDREN_AND_PARENT_CHANGED) use the
CHILDREN_CHANGED hint in the overflow changed tracker, since use of
CHILDREN_AND_PARENT_CHANGED is no longer needed following the
introduction of the UpdateParentOverflow hint in patch 2.
2015-02-16 16:34:29 +13:00
L. David Baron 9cb83cbc59 Bug 992077 patch 2 - Use nsChangeHint_UpdateParentOverflow for changes to the top, right, bottom, and left properties. r=mats
These are the properties currently using UpdateOverflow where dynamic
changes of the properties do not affect the element's own overflow
areas, but instead affect the element's influence on its parent's
overflow areas.
2015-02-16 16:34:29 +13:00
L. David Baron f6a6550205 Bug 992077 patch 1 - Add nsChangeHint_UpdateParentOverflow hint so that we can reduce unnecessary UpdateOverflow calls for top/right/bottom/left changes, and reduce unnecessary propagation to the parent for UpdateOverflow hints for changes that actually affect the element's overflow. r=mats
This cleans up after bug 984226, which introduced
CHILDREN_AND_PARENT_CHANGED to deal with the facts that:

 (1) most properties whose changes yield UpdateOverflow style hints
     imply that an element's overflow area may have changed, and
     propagation to ancestors can stop without updating the element's
     parent if the element's own overflow area didn't change.

 (2) a few properties whose changes yield UpdateOverflow style hints
     actually don't change the overflow area of the element on which the
     property changed, but instead change that element's overflow area
     on the element's parent.

Having two separate hints means that we don't have to do the extra work
of always updating the parent's overflow area (when the child's overflow
area didn't actually change) for the properties in category (1), and we
don't have to do extra work of updating the element's own overflow area
for properties in category (2).
2015-02-16 16:34:29 +13:00
David Anderson c7b2d63a3a Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc) 2015-02-12 17:49:10 -08:00
David Zbarsky 4da70f1fe2 Bug 1125040: Use LayoutDeviceIntPoint for mMouseDownRect r=botond 2015-02-15 13:52:28 -05:00
Mats Palmgren 6bf6bbe5d8 Bug 1133243 - Fix compilation problem hidden by unified sources. r=heycam 2015-02-15 18:45:48 +00:00
Wes Kocher b0b2e34da7 Merge m-c to inbound a=merge 2015-02-13 18:11:59 -08:00
Robert Longson e05352fc8e Bug 1130888 - SVG text on path fill color does not render properly when preceded by RTL text. r=heycam 2015-02-13 20:15:27 +00:00
Krzysztof Mioduszewski d0cf1485e0 Bug 879861 - Part 5: Build support for SecureElement feature. r=gps 2015-02-11 10:09:00 -05:00
Andrew McCreight 31ba9aaed9 Bug 1131199, part 2 - Make PLDHashtInitEntry infallible. r=froydnj
Also, drop the unused table argument.
2015-02-11 09:46:40 -08:00
Ryan VanderMeulen 999b92a3a5 Backed out 12 changesets (bug 1107336) for Marionette harness bustage on a CLOSED TREE.
Backed out changeset 5075f0063d70 (bug 1107336)
Backed out changeset 9ef91d4fcf3b (bug 1107336)
Backed out changeset 995911340bf7 (bug 1107336)
Backed out changeset 4817d3cd3810 (bug 1107336)
Backed out changeset dad798a5e595 (bug 1107336)
Backed out changeset 4f60c437140c (bug 1107336)
Backed out changeset f92a5c6256fa (bug 1107336)
Backed out changeset 399a436c6e5f (bug 1107336)
Backed out changeset 0d04801bb2f0 (bug 1107336)
Backed out changeset 60d9d4d20971 (bug 1107336)
Backed out changeset 9c4b171c23be (bug 1107336)
Backed out changeset a07bb95eb209 (bug 1107336)

--HG--
rename : testing/marionette/driver/marionette_driver/application_cache.py => testing/marionette/client/marionette/application_cache.py
rename : testing/marionette/driver/marionette_driver/by.py => testing/marionette/client/marionette/by.py
rename : testing/marionette/driver/marionette_driver/date_time_value.py => testing/marionette/client/marionette/date_time_value.py
rename : testing/marionette/driver/marionette_driver/decorators.py => testing/marionette/client/marionette/decorators.py
rename : testing/marionette/driver/marionette_driver/errors.py => testing/marionette/client/marionette/errors.py
rename : testing/marionette/driver/marionette_driver/expected.py => testing/marionette/client/marionette/expected.py
rename : testing/marionette/driver/marionette_driver/geckoinstance.py => testing/marionette/client/marionette/geckoinstance.py
rename : testing/marionette/driver/marionette_driver/gestures.py => testing/marionette/client/marionette/gestures.py
rename : testing/marionette/driver/marionette_driver/keys.py => testing/marionette/client/marionette/keys.py
rename : testing/marionette/driver/marionette_driver/marionette.py => testing/marionette/client/marionette/marionette.py
rename : testing/marionette/driver/marionette_driver/selection.py => testing/marionette/client/marionette/selection.py
rename : testing/marionette/driver/marionette_driver/wait.py => testing/marionette/client/marionette/wait.py
2015-02-11 12:15:22 -05:00
David Burns 0e1a4d2088 Bug 1107336: selection tests imports for marionette; r=jgriffin
--HG--
extra : rebase_source : b8d709390daaf3027e0ba6a933a915110cf299ca
extra : source : 5a2e085824ae4e61687730c89575c259fdaa9468
2015-01-09 21:42:06 +00:00
Jonathan Kew 1a2d11d466 Bug 1119475 followup - Add test files that were accidentally omitted when landing the patches above.
DONTBUILD because these tests are not yet enabled on trunk anyway.
2015-02-17 13:58:56 +00:00
Xidorn Quan 7a45cae684 No bug - Mark css-ruby/line-breaking-1 a known assertion for windows. r=dbaron
--HG--
extra : amend_source : bbb6a15a603bad14ae410db9a01ddc93fbb361b6
2015-02-18 00:52:10 +13:00
Xidorn Quan c414b32e6d No bug - Fix fuzzy in reftest css-ruby/float-handling. CLOSED TREE 2015-02-17 21:24:08 +13:00
Xidorn Quan c74b073155 Bug 1055676 part 5 - Reftests for ruby-align. r=roc
--HG--
extra : source : ba7069cb559ce1be1a8f8cbeb7412db280497019
2015-02-17 18:01:49 +13:00
Xidorn Quan 08163561ed Bug 1055676 part 4 - Expand ruby boxes in respect of ruby-align. r=roc
--HG--
extra : source : b10ac646968af93ea53d8006a5fc5ccbdc358f45
2015-02-17 18:01:49 +13:00
Xidorn Quan 2701e5f8de Bug 1055676 part 3 - Adjust justification gap assigning algorithm for ruby-align. r=roc
--HG--
extra : source : 875a16b52371b7a3fad4fb1447abbf4a65d877e4
2015-02-17 18:01:49 +13:00
Xidorn Quan 6622361f7b Bug 1055676 part 2 - Move inter-frame justification assignment to an independent function. r=roc
--HG--
extra : source : 8e0084f1fcc9daba3780cbef92b73d6234ad5180
2015-02-17 18:01:49 +13:00
Xidorn Quan 20d97976e8 Bug 1055676 part 1 - Parse and compute ruby-align property. r=heycam
--HG--
extra : source : 1045566a325c979c076a4c1fe490046734e408db
2015-02-17 18:01:49 +13:00
Kartikaya Gupta 829d36ca44 Bug 1131840 - Add an EventRegionsOverride flag to force an empty hit region. r=roc,botond 2015-02-16 21:30:02 -05:00
Kartikaya Gupta 7fd26daa4a Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond 2015-02-16 21:30:02 -05:00
Xidorn Quan 1f651d328a Bug 1132008 part 4 - Fix reftests which rely on the old rtc sizing method. r=dbaron
--HG--
extra : source : b856985e95d7bd2cf2f8f403e65511f44409f2a9
2015-02-17 14:25:18 +13:00
Xidorn Quan c734dc18d4 Bug 1132008 part 3 - Remove unused code in nsLineLayout. r=dbaron
This code was originally introduced in bug 1055665 part 3.

--HG--
extra : source : a784dd2fe15b67f5e9f0ea380db1bfb6d65ad211
2015-02-17 14:25:18 +13:00
Xidorn Quan 63cd3802b6 Bug 1132008 part 2 - Sync bounds of <rt>s in line layout. r=dbaron
--HG--
extra : source : cd29b50ebcc6839c63acbaf9cab4893103967eda
2015-02-17 14:25:18 +13:00
Xidorn Quan c914c4063c Bug 1132008 part 1 - Calculate bsize of rtc according to its children. r=dbaron
--HG--
extra : source : e07fd183c24ea7133faa62bc5837e6d30589f05e
2015-02-17 14:25:18 +13:00
Xidorn Quan e1df1707b5 Bug 1133617 - Reftest Analyzer: Use process_log() directly instead of log_pasted() for log from url or param. r=dbaron DONTBUILD
--HG--
extra : source : feda36730b72911921c9806ca897c512a4d82e1f
2015-02-17 14:05:23 +13:00
Cameron McCormack ef65737426 Bug 1131994 - Part 4: Don't fail test_value_computation.html on min-{block,inline}-size:calc(-1%). r=dbaron 2015-02-17 11:36:36 +11:00
Cameron McCormack aa0740851b Bug 1131994 - Part 3: Fix bad invalid_values in property_database.js for max-{block,inline}-size. r=dbaron 2015-02-17 11:36:36 +11:00
Cameron McCormack f701da6ef7 Bug 1131994 - Part 2: Fix logical axis and offset property computed value lookup in tests. r=dbaron 2015-02-17 11:36:36 +11:00
Cameron McCormack 972516292a Bug 1131994 - Part 1: Support border-block-{start,end} shorthands in Declaration::GetValue. r=dbaron 2015-02-17 11:36:36 +11:00
L. David Baron 43c2cd3af5 Bug 960465 patch 22 - Remove implementation of nsRestyleHint_ChangeAnimationPhase. r=birtles 2015-02-17 11:15:06 +13:00
L. David Baron 8c28244fab Bug 960465 patch 21 - Replace one use of nsRestyleHint_ChangeAnimationPhase with nsRestyleHint_AllHintsWithAnimations so that we can remove the rest. r=birtles 2015-02-17 11:15:06 +13:00
L. David Baron 04535c3f75 Bug 960465 patch 20 - Allow pseudo-elements for style attribute replacement in RuleNodeWithReplacement. r=birtles
I confirmed that we're actually using this codepath by manually testing
<input type=color>:  it works with the patch, but if I comment out the
call to nsHTMLCSSStyleSheet::PseudoElementRulesMatching from
nsStyleSet::RuleNodeWithReplacement, then the color swatch breaks, which
proves that we're depending on the code.

I think I included this in the queue because it is needed for patch 22,
although I've forgotten the full reasoning.
2015-02-17 11:15:05 +13:00
L. David Baron 82ec6020a1 Bug 960465 patch 19 - Remove users of eRestyle_ChangeAnimationPhase. r=birtles 2015-02-17 11:15:05 +13:00
L. David Baron 6475962f36 Bug 960465 patch 18 - Remove aElementOrPseudoElement parameter to ReparentStyleContext (added in bug 1057129). r=birtles 2015-02-17 11:15:05 +13:00
L. David Baron bc26f211f6 Bug 960465 patch 17 - Remove separate animation and non-animation phases of restyling. r=birtles
Note that this means that when we start transitions, we post restyles
that are processed during the current restyling operation, rather than
in a later phase.  This depends on patch 11, which makes the transition
manager skip style changes that it posts while starting transitions, to
ensure that this doesn't lead to an infinite loop.  This also depends on
patch 16, which only consumes restyle data for the primary frame, to
ensure that the animation restyles posted are processed properly.  It
also depends on patch 14, which makes us retain data on finished
transitions, to avoid triggering extra transitions on descendants when
both an ancestor and a descendant transition an inherited property, and
the descendant does so faster.

This fixes a known failure in layout/style/test/test_animations.html and
test_animations_omta.html (as visible in the patch).  I believe this is
because this patch changes us to compute keyframe values for animations
on top of a style context *with* animation data rather than one without,
which means what we're computing them on top of changes each time.  (The
purpose of patch 3 was to avoid this in the case where avoiding it
matters, i.e., implicit 0% and 100% keyframes.)
2015-02-17 11:15:05 +13:00
L. David Baron 7695d1eb3f Bug 960465 patch 16 - Only consume restyle data for the primary frame. r=birtles
This is needed for patch 17, which removes restyling phases, so that
when the transition manager posts a restyle to undo the covering done by
the cover rule, that restyle doesn't get consumed by an inner frame.
2015-02-17 11:15:04 +13:00
L. David Baron 8e1599d76b Bug 960465 patch 15 - Switch debugging user of IsProcessingAnimationOnlyStyleUpdate() to InAnimationOnlyStyleUpdate() so that I can remove the former. r=birtles 2015-02-17 11:15:04 +13:00
L. David Baron 824c76c900 Bug 960465 patch 14 - Retain finished transitions until the next style change or until removed from transition-property. r=birtles
Note that this increases memory use for completed transitions since we
don't throw away the data when the transitions complete.  That said,
this matches what we do for CSS Animations, and it's needed (once we
switch to the new rules for starting transitions) to maintain the
invariant that unrelated style changes don't trigger transitions.

The storage issues could be optimized in the future if it turns out to
be a problem, but I think that's unlikely, given that we'll never store
more than one for any element+property combination.
2015-02-17 11:15:04 +13:00
L. David Baron 0eb562a497 Bug 960465 patch 13 - Remove the cover rule code, which became unused in the previous patch. r=birtles 2015-02-17 11:15:04 +13:00
L. David Baron fbd52317d1 Bug 960465 patch 12 - Instead of using the full style covered by the cover rule as the parent style for descendents when we've tried starting transitions, use the after-change style. r=birtles
This switches to the new rules for how transitions start on descendants
when also starting on ancestors.
2015-02-17 11:15:03 +13:00