Commit Graph

25219 Commits

Author SHA1 Message Date
Ehsan Akhgari
70135c9c76 Attempt to fix bug 1137717 by focusing the test frame 2015-03-02 16:06:08 -05:00
Wes Kocher
9b35dd25c4 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Mats Palmgren
ea628d360e Bug 1137723 - Don't call ::IsBoxWrapped(this) with the current mParent intact b/c IsBoxWrapped uses GetParent() and it may have been destroyed while this frame is still sitting an overflow list waiting to be lazy re-parented. r=roc 2015-03-02 13:59:29 +00:00
Fabrice Desré
ae557e0c21 Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi,mshal 2015-02-26 13:51:20 -08:00
Ryan VanderMeulen
03dcb035cd Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-02-27 13:23:30 -05:00
Wes Kocher
64d28ca0a8 Merge m-c to b2ginbound a=merge CLOSED TREE 2015-02-26 18:53:42 -08:00
Ms2ger
b9870ca52f Backed out changeset 7abf54d96823 for lack of review. 2015-02-26 23:02:55 +01:00
Fabrice Desré
d3eac9c824 Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi 2015-02-26 13:51:20 -08:00
Kartikaya Gupta
322bf4057f Bug 1137232 - Fix dumping of client layers so it doesn't get truncated. r=dvander
DONTBUILD because NPOTB
2015-02-26 15:57:42 -05:00
Daniel Holbert
caade7003f Bug 1107378 - Part 4: Add mochitest for our CSS unprefixing functionality. r=dbaron 2015-02-26 12:07:08 -08:00
Daniel Holbert
41e9b19233 Bug 1107378 - Part 3: In cases where we're unprefixing, treat "display:-webkit-box" as "display: flex" (& same for "-moz-box" if we previously saw "-webkit-box"). r=dbaron 2015-02-26 12:07:07 -08:00
Daniel Holbert
e7e4f2c25c Bug 1107378 - Part 2: Make the CSS Parser call out to the unprefixing service, when it detects a vendor-prefixed property name (if pref is enabled). r=dbaron 2015-02-26 12:07:06 -08:00
Daniel Holbert
31362a5970 Bug 1107378 - Part 1: Create a JS-implemented "CSS Unprefixing Service" that can convert certain -webkit prefixed CSS to an unprefixed form. r=dbaron 2015-02-26 12:07:05 -08:00
Wes Kocher
66de749534 Backed out 4 changesets (bug 1107378) as a last grasped straw to figure out the m-dt bustage on a CLOSED TREE
Backed out changeset 44144b892414 (bug 1107378)
Backed out changeset 5a8d5e8ff524 (bug 1107378)
Backed out changeset 960037d0fc98 (bug 1107378)
Backed out changeset 23fb39cb0f97 (bug 1107378)
2015-02-26 23:35:25 -08:00
Botond Ballo
0b5574410b Bug 1071018 - Work around an assertion (will be fixed properly in bug 1036967). r=kats 2015-02-25 18:30:46 -05:00
Daniel Holbert
80c3f0fd6f Bug 1107378 part 4: Add mochitest for our CSS unprefixing functionality. r=dbaron 2015-02-26 12:07:08 -08:00
Daniel Holbert
fda3dc11ef Bug 1107378 part 3: In cases where we're unprefixing, treat "display:-webkit-box" as "display: flex" (& same for "-moz-box" if we previously saw "-webkit-box"). r=dbaron 2015-02-26 12:07:07 -08:00
Daniel Holbert
4c1f22de62 Bug 1107378 part 2: Make the CSS Parser call out to the unprefixing service, when it detects a vendor-prefixed property name (if pref is enabled). r=dbaron 2015-02-26 12:07:06 -08:00
Daniel Holbert
f21036898f Bug 1107378 part 1: Create a JS-implemented "CSS Unprefixing Service" that can convert certain -webkit prefixed CSS to an unprefixed form. r=dbaron 2015-02-26 12:07:05 -08:00
Markus Stange
1b052a51a3 Bug 961887 - Add some reftest fuzz. 2015-02-25 15:36:27 -05:00
Anish Chandran
215f8ebc47 Bug 1135383 - Convert Marionette unit tests to use SpecialPowers.pushPrefEnv. r=jmaher, r=mwargers 2015-02-25 19:31:36 +01:00
Daniel Holbert
f53aa2771b Bug 1135200: Hook up nsCSSParser's pref-backed bool variables in a startup method. r=heycam 2015-02-26 09:02:19 -08:00
Ehsan Akhgari
0e39582252 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-26 09:18:27 -05:00
Kartikaya Gupta
b204ae6120 Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Kartikaya Gupta
8b846b3b40 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
c4db413d6a 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
90143cf904 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
233e0df002 Bug 1135954 part 2 - Make GetUniqueStyleData private and remove no longer used unique cases. r=heycam 2015-02-26 16:18:15 +11:00
Xidorn Quan
53e99e64c2 Bug 1135954 part 1 - Create empty border/padding style struct for rbc/rtc. r=heycam 2015-02-26 16:18:15 +11:00
Kartikaya Gupta
67882aacac 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
e315530ec9 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
ea6525cc63 Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc 2015-02-25 11:47:22 -05:00
Markus Stange
2e16d3eb79 Bug 961887 - Make FindOpaqueBackgroundColorFor take a region instead of a PaintedLayerData. r=roc 2015-02-20 14:46:09 -05:00
Markus Stange
a097b563bd Bug 961887 - Refactor mVisibleAboveRegion management. r=roc 2015-02-18 17:37:19 -05:00
Mats Palmgren
dddc646458 Bug 1134531 - Remove nsTextFrame::DidSetStyleContext which only contained a (now obsolete) wallpaper. r=heycam 2015-02-24 18:35:30 +00:00
Mats Palmgren
dda9fd7777 Bug 969756 - Add a test. 2015-02-24 18:35:30 +00:00
John Schoenick
3ede5a642c Bug 1136379. Clean up the nsPluginHost API a bit. r=bzbarsky 2015-02-25 11:36:39 -05:00
Boris Zbarsky
8d06e45b3d 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
e0378afa59 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
eebd298d8c Backed out changeset ed12a3822cb9 (bug 1132768) for mochitest-oop-1 test failures 2015-02-25 15:49:55 +01:00
Kartikaya Gupta
6a08695dcd 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
59242188d5 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
98767506c5 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
c86a381d66 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
94b3e98f97 Bug 1107336: Update layout tests to use new Marionette Driver; r=jgriffin 2015-02-23 14:43:37 +00:00
David Burns
59a8996a61 Bug 1107336: Update b2g desktop ref test runner to use new Marionette Driver; r=ahal 2015-02-23 14:42:39 +00:00
Jonathan Watt
d51834a89d 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
2138def09b 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
cd2be197a6 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats 2015-02-18 15:27:40 -05:00
Wes Kocher
cc0aeb80b6 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
a39b7dafd3 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
533b9d24b1 Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc 2015-02-24 14:35:46 -05:00
Markus Stange
7c77f134f7 Bug 961887 - Make FindOpaqueBackgroundColorFor take a region instead of a PaintedLayerData. r=roc 2015-02-20 14:46:09 -05:00
Markus Stange
1d50988de8 Bug 961887 - Refactor mVisibleAboveRegion management. r=roc 2015-02-18 17:37:19 -05:00
Ryan VanderMeulen
5ce7838926 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
aea97895e2 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
0e0090e12b Bug 1132728 - Don't draw focus rings on b2g. r=fabrice,bz 2015-02-18 15:40:14 +00:00
Ting-Yu Lin
a5f85a399f Bug 1135992 - Fix non-unified build failed in nsLayoutUtils.cpp. r=botond 2015-02-24 02:16:00 -05:00
David Parks
a0787612f2 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
864ffaf330 Merge mozilla-central to mozilla-inbound 2015-02-24 13:25:15 +01:00
Carsten "Tomcat" Book
d90f5b71e1 merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00
pchang
627d094f4e 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
cad15bdc0d Bug 1135361 - Reftest for ruby positioning in justified vertical text. r=xidorn 2015-02-24 10:17:47 +00:00
Xidorn Quan
071c31b4a7 Bug 1135361 - Fix position of ruby annotation in vertical-rl mode when justification is applied to the base. r=jfkthame 2015-02-24 14:46:29 +11:00
Mason Chang
888a2f246b 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
ed560de68f Back out 21e812742b52 (bug 1134598) for unexpected assertions 2015-02-22 15:56:44 -08:00
Phil Ringnalda
af3d786890 Merge m-c to m-i 2015-02-22 15:17:42 -08:00
Xidorn Quan
f584039622 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
59c34f47de Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-22 21:51:05 +00:00
Jonathan Kew
c9deb00381 Bug 1134534 - Reftest for fieldset legend with opposing directionality. r=smontagu 2015-02-22 21:48:53 +00:00
Jonathan Kew
6fdbd5bef9 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
906d349b7a Bug 1134216 - Reftest for automatic hyphenation with text-transform. r=smontagu 2015-02-22 19:39:38 +00:00
Jonathan Kew
07faf61412 Bug 1134216 - Preserve line-break flags properly when applying text-transform conversions. r=smontagu 2015-02-22 19:39:36 +00:00
Phil Ringnalda
3a53d120d0 Merge f-t to m-c, a=merge 2015-02-22 10:43:56 -08:00
Jonathan Watt
20cc82e1ae Bug 1135913, part 4 - Unify SVGTextFrame's NotifyBeforeSelectionDecorationLine and NotifySelectionDecorationLinePathEmitted callbacks. r=heycam 2015-02-04 13:51:22 +00:00
Jonathan Watt
953ac521d9 Bug 1135913, part 3 - Unify SVGTextFrame's NotifyBeforeDecorationLine and NotifyDecorationLinePathEmitted callbacks. r=heycam 2015-02-03 20:00:18 +00:00
Jonathan Watt
e7bf04247c Bug 1135913, part 2 - Separately handle non-selected and selected text. r=heycam 2015-02-03 19:36:15 +00:00
Jonathan Watt
787e7c001d Bug 1135913, part 1 - Simplify nsCSSRendering::DecorationLineToPath to not require a context. r=heycam 2015-02-03 14:34:14 +00:00
Jonathan Kew
10f41176d3 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
be43cf4a67 Bug 1102427 - Ensure scroll parents of an active scrollframe are layerized. r=tn 2015-02-24 01:24:04 -08:00
Aaron Klotz
87b041b88d 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
c3269cab0a Bug 969756 - Back out the test b/c of orange. 2015-02-22 04:57:16 +00:00
Xidorn Quan
ce54b83b79 Bug 1135426 - Prevent buffer overflow at CJKIdeographicToText. r=mats
--HG--
extra : source : 3d1c34d201358c871a3123727bc655f1e24864e9
2015-02-22 14:34:49 +11:00
Jesse Ruderman
9293edb0c0 Bug 970710 - crashtest. 2015-02-22 02:41:59 +00:00
Mats Palmgren
8202799ad1 Bug 969756 - Add a code comment and a test. r=cam 2015-02-22 02:41:58 +00:00
Abhishek Arya
f2444ab499 Bug 961859 - crashtest. 2015-02-22 02:41:58 +00:00
Atte Kettunen
495f18ded9 Bug 947158 - crashtest. 2015-02-22 02:41:58 +00:00
Tyson Smith
6704ca2135 Bug 930381 - crashtest. 2015-02-22 02:41:58 +00:00
Jesse Ruderman
0c51fcdf5a Bug 419352 - crashtest. 2015-02-22 02:41:58 +00:00
Ryan VanderMeulen
f1dae981be Merge inbound to m-c. a=merge 2015-02-21 16:40:27 -05:00
dominique vincent
5a11466171 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
79172e42df 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
b1abeb037e 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
271445d798 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
f5f7c8a7fe Bug 1087956: Fix clipping of position:fixed layers inside displayports. r=roc 2015-02-20 10:55:28 -08:00
Mats Palmgren
a5c2f23aa1 Bug 1128722 - part 2, tests. 2015-02-20 17:34:21 +00:00
Mats Palmgren
280533ec52 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
14190e8f0f Bug 1129078 - part 6, Test suite for ordinary multi-range selections (non-generated ranges). 2015-02-20 17:34:21 +00:00
Mats Palmgren
cc10780c4c 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
045a256757 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
4d876e490a 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
151edb193e Bug 1129078 - part 2, Refactor nsFrameSelection::MoveCaret slightly. r=smaug 2015-02-20 17:34:21 +00:00
Mats Palmgren
19637d06ef 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
8d0a945560 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
37371d7209 Bug 1133594 - Rename nsFrameScriptExecutor to nsMessageManagerScriptExecutor (r=smaug) 2015-02-19 17:10:44 -08:00
Timothy Nikkel
e49482c950 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
5a467ea875 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
f8b04f6883 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
339fcab73b Bug 1131948 - Part 3: Test caret visibility in multi-range text. r=dburns 2015-02-19 07:18:00 -05:00
Jeremy Chen
50eff0b0a4 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
fd91937296 Bug 1131948 - Part 1: Add content non-editable marionette tests. r=dburns 2015-02-19 07:06:00 -05:00
Xidorn Quan
9c70eb6d67 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
343c8d3103 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
5711c38f2d 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
ef1aa46427 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
6b4dd91874 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
88d26a6cac 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
a8dadd1a69 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
f1fce37659 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Xidorn Quan
ceadcb71ab 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
3117c1b553 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
4a6a93978b 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
469236d573 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
cf4aac7c66 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
88944e8721 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
ca197a8241 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
b4ab7dc95b 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
8f45132918 Bug 1128722 - part 2, tests. 2015-02-21 04:27:59 +00:00
Mats Palmgren
b71451caa0 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
c253df4a40 Bug 1129078 - part 6, Test suite for ordinary multi-range selections (non-generated ranges). 2015-02-21 04:27:59 +00:00
Mats Palmgren
13bec80f8e 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
621d7a7400 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
d8c88b9787 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
88a2585ac0 Bug 1129078 - part 2, Refactor nsFrameSelection::MoveCaret slightly. r=smaug 2015-02-21 04:27:59 +00:00
Mats Palmgren
00aef14813 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
eab46d5ca7 Bug 1134379 - Cancel old AnimationPlayer when redirecting a transition. r=birtles 2015-02-19 11:52:36 +11:00
L. David Baron
12c4dd7d9b 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
202d8ca159 Bug 1131812 patch 1 - Add reftests for sizing of replaced elements. r=dholbert 2015-02-19 13:49:52 +13:00
L. David Baron
06f668f7b7 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
b6785077bc 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
300668a71a 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
851374ff06 Bug 1135567 - disable svg-glyph-mask.svg reftest due to crash. r=m_kato 2015-02-24 11:49:10 +09:00
Xidorn Quan
ff59bf2cae Bug 1134667 - Add crashtest for this heap-buffer-overflow bug. r=dholbert 2015-02-24 08:54:58 +11:00
Ryan VanderMeulen
38d26bc788 Backed out changeset 45d4cc092de1 (bug 1134598) for WinXP reftest leaks. 2015-02-23 12:37:04 -05:00
Jonathan Kew
f0ff61fde1 Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-19 13:37:42 +00:00
Carsten "Tomcat" Book
d91124eb92 Backed out changeset e37d57033b13 (bug 1134598) for breaking reftests 2015-02-23 11:52:33 +01:00
Jonathan Kew
222ce2f452 Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-19 13:37:42 +00:00
Nicholas Nethercote
a3b64ce67c 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
0ad79ada3e Bug 1105644 - Update reftests for improved handling of capitalized words. r=smontagu 2015-02-16 10:52:38 +00:00
Geoff Brown
3e990e689d Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
David Parks
462c259c6c 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
f389e8e2b3 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Maksim Lebedev
5cc287bf44 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-20 02:12:00 -05:00
Ryan VanderMeulen
fa2aa2a735 Bug 1120410 - Adjust the fuzz for 413361-1.html a bit more. 2015-02-27 14:19:02 -05:00
Alessio Placitelli
45327633a8 Bug 1111022 - Tests for the SelfSupport backend. r=gfritzsche 2015-01-09 11:18:00 +01:00
Carsten "Tomcat" Book
44d1838891 Backed out changeset a36c441817d8 (bug 1105644) 2015-02-18 14:48:11 +01:00
Jonathan Kew
42b55ffd98 Bug 1105644 - Update reftests for improved handling of capitalized words. r=smontagu 2015-02-18 09:25:57 +00:00
Xidorn Quan
d5ce574d19 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
13591e88a5 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
60fe2f2072 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
d8eaa3f900 Bug 1128986 - Update gaia_lock_screen.js. r=jgriffin 2015-02-03 10:49:00 -05:00
Jonathan Kew
07c9eae66b 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
c1b64d0113 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
67cb5be85e Bug 1127198 - Part 3: Crashtest. r=dbaron 2015-02-18 09:28:53 +11:00
Cameron McCormack
1eea9501a2 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
f8f9b983ca 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
ec4fb5b8aa Bug 1125391 - Re-enable bug 931668 optimizations. r=dbaron 2015-02-18 09:28:53 +11:00
Robert Longson
2bd1b5fa2b Bug 1129854 - markers not oriented correctly for degenerate beziers. r=jwatt 2015-02-17 22:15:15 +00:00
David Anderson
e2b0192273 Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc) 2015-02-12 17:49:10 -08:00
Ryan VanderMeulen
6d1fb2c8e1 Merge m-c to inbound. a=merge 2015-02-17 14:27:23 -05:00
Ryan VanderMeulen
f19a6fcd25 Merge inbound to m-c. a=merge 2015-02-17 14:24:51 -05:00
Gabriele Svelto
648983dd11 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
92151b28e6 merge mozilla-inbound to mozilla-central a=merge 2015-02-16 15:59:56 +01:00
Ting-Yu Lin
4f4b4eec1a Bug 1096185 - Part 3 - Fix function redefinition in test_selectioncarets.py. r=automatedtester 2015-02-11 23:33:00 +01:00
Ting-Yu Lin
3ea3b61c67 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
8014653475 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
37830d7edd Bug 1120750 - Part 5: Fix non-unified build bustage. 2015-02-12 21:05:50 -05:00
Ryan VanderMeulen
f0ac763ef5 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-02-13 12:24:27 -05:00
Ian Wills
1046e1718b Bug 1055933 - Fix Imagemaps Style in nsComputedDOMStyle.cpp. r=bz 2015-02-12 17:27:00 +01:00
L. David Baron
494ed67397 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
49eac97168 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
d9a5d2ed25 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
bc32b5ef7c 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
cf90da9a10 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
eccc9e3c56 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
e13516ed21 Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc) 2015-02-12 17:49:10 -08:00
David Zbarsky
b7d40d195f Bug 1125040: Use LayoutDeviceIntPoint for mMouseDownRect r=botond 2015-02-15 13:52:28 -05:00
Mats Palmgren
3ad64eea2a Bug 1133243 - Fix compilation problem hidden by unified sources. r=heycam 2015-02-15 18:45:48 +00:00
Wes Kocher
b806e04199 Merge m-c to inbound a=merge 2015-02-13 18:11:59 -08:00
Robert Longson
02a2abf300 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
1758406543 Bug 879861 - Part 5: Build support for SecureElement feature. r=gps 2015-02-11 10:09:00 -05:00
Andrew McCreight
2b516fc573 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
a502827c68 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
990a203501 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
4643ccf86b 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
47cc8000ad 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
63dca2f736 No bug - Fix fuzzy in reftest css-ruby/float-handling. CLOSED TREE 2015-02-17 21:24:08 +13:00
Xidorn Quan
e1f92f47fd Bug 1055676 part 5 - Reftests for ruby-align. r=roc
--HG--
extra : source : ba7069cb559ce1be1a8f8cbeb7412db280497019
2015-02-17 18:01:49 +13:00
Xidorn Quan
52a720752f 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
72af284d7c 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
2c8b47f530 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
fd409a084e 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
a2d821499e 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
1f5d00564d Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond 2015-02-16 21:30:02 -05:00
Xidorn Quan
88bbe2f95c 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
ae056a1701 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
c82b0849b3 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
91dbc29cc5 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
ef1761e1f6 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
abd9c48b25 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
7aca412d0e 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
93694cce8a 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
2f76611861 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
3b82e74b9d Bug 960465 patch 22 - Remove implementation of nsRestyleHint_ChangeAnimationPhase. r=birtles 2015-02-17 11:15:06 +13:00
L. David Baron
0307211fae 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
cbf5e33e73 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
dbad586939 Bug 960465 patch 19 - Remove users of eRestyle_ChangeAnimationPhase. r=birtles 2015-02-17 11:15:05 +13:00
L. David Baron
e7d3fa23a5 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
d5bb664bcf 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
a64d974c3e 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
a184423c03 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
5ff37bf6f6 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
2d81da517e 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
f214a231fe 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
L. David Baron
4518b8f2b8 Bug 960465 patch 11 - nsTransitionManager should skip style changes that it posted while starting transitions. r=birtles
This will be needed when (in later patches) we stop separating animation
phases.
2015-02-17 11:15:03 +13:00
L. David Baron
0921901e69 Bug 960465 patch 10 - Invalidate the collection's style rule when we stop some but not all transitions. r=birtles 2015-02-17 11:15:03 +13:00
L. David Baron
2907f101d5 Bug 960465 patch 9 - Move the addition of the cover rule into nsTransitionManager::StyleContextChanged so that later patches can make it other than just addition of a rule. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
d8e15051e2 Bug 960465 patch 8 - Get a style that is the correct "after-change style" for once we stop using animation phases. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
07a4a43e7a Bug 960465 patch 7 - Use SetInAnimationOnlyStyleUpdate for ProcessPendingRestyles runs that are only updating animation data. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
f96bade422 Bug 960465 patch 6 - Add the new mechanism for avoiding starting spurious transitions as a result of animations: flush animation styles only before doing other restyle processing. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
b99c33a3b5 Bug 960465 patch 5 - Make SMIL animations participate in the animation-only style flush. r=birtles
This is needed to prevent these reftests from failing:
  layout/reftests/svg/smil/smil-transitions-interaction-1a.svg
  layout/reftests/svg/smil/smil-transitions-interaction-1b.svg
  layout/reftests/svg/smil/smil-transitions-interaction-2a.svg
  layout/reftests/svg/smil/smil-transitions-interaction-2b.svg
  layout/reftests/svg/smil/smil-transitions-interaction-4a.svg
  layout/reftests/svg/smil/smil-transitions-interaction-4b.svg
The mIsCSS path fixes the a tests, and the !mIsCSS path fixes the b tests.

This is because this patch series changes the way in which transitions
interact with other types of animations to depend on those animations
being flushed in the animation-only style flush.  (The relevant call is
added in patch 6, though we don't really depend on it until patch 17.)
2015-02-17 11:15:02 +13:00
L. David Baron
3545426b12 Bug 960465 patch 4 - Track whether there are any pending non-animation restyles. r=birtles
This depends on bug 1087536 patch 3, which posts animation restyles
using the eRestyle_CSSTransitions and eRestyle_CSSAnimations hints.

This is used by patch 6.
2015-02-17 11:15:02 +13:00
L. David Baron
b374a55e13 Bug 960465 patch 3 - Use style without animation for base values for CSS animations (refixes bug 686656 in the new architecture). r=birtles
This is needed to make the tests for bug 686656 in test_animations.html
pass.

Note that once the rest of bug 960465 happens this will start producing
slightly different results in edge cases, since we will only be skipping
animation styles for the element itself and not for ancestors.  However,
both old and new behaviors are incorrect, since per spec we should be
updating the base values dynamically (bug 1064915).
2015-02-17 11:15:01 +13:00
L. David Baron
fe815e18a8 Bug 960465 patch 2 - Add method to return a modified version of a style context, with all or part of the animation data removed. r=birtles
This is used in patch 3.
2015-02-17 11:15:01 +13:00
L. David Baron
dcd9c6ff16 Bug 960465 patch 1 - Add parameter to skip animations work to ResolveStyleWithReplacement. r=birtles
This is used in patch 2.
2015-02-17 11:15:00 +13:00
Xidorn Quan
42c795f067 Bug 1133573 - Fix available size calculation of ruby text container. r=roc
--HG--
extra : source : 8d3b16b31e7e7369264155e51f93a0116e6b892e
2015-02-17 11:07:55 +13:00
Andrea Marchesini
8df233265a Bug 1134280 - Get rid of Tag() - patch 2.12 - layout/style, layout/svg - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
3f3a854900 Bug 1134280 - Get rid of Tag() - patch 2.11 - layout/xul - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
9faebd2885 Bug 1134280 - Get rid of Tag() - patch 2.7 - layout/generic - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
491e547893 Bug 1134280 - Get rid of Tag() - patch 2.6 - layout/base and layout/form - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
87abc8eee4 Bug 1134280 - Get rid of Tag() - patch 2.4 - layout/mathml - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
454d9140a2 Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
pchang
b9cb47edd5 Bug 1137109 move the displaylist tracing inside nsViewManager::ProcessPendingUpdates, r=benwa, mattwoodrow 2015-03-03 18:01:16 +08:00
Jeremy Chen
c2f2fbd948 Bug 1136567 - Marionette test for selection carets' positions after changing orientation of device. r=Automatedtester 2015-03-01 22:45:00 +01:00
David Burns
1c4a656160 Bug 1107336: Update layout tests that use marionette to use new Marionette Driver module; r=jgriffin
--HG--
extra : rebase_source : e1b821760481477805968de7f6910fca949f4e0c
extra : source : d1847f46d2934a8e73aa71cc9c463b04dd3c1be9
2014-12-09 20:21:32 +00:00
David Burns
012934fca1 Bug 1107336: Update b2g desktop imports to use marionette driver; r=ahal
--HG--
extra : rebase_source : bcc5b15801c4c75ba98e805f72703bdce4520146
2015-01-26 14:07:28 +00:00
Carsten "Tomcat" Book
27cd4c3c96 Backed out 6 changesets (bug 1075670) for bustage on a CLOSED TREE
Backed out changeset 4d68750b4e28 (bug 1075670)
Backed out changeset 4d34eb58c46d (bug 1075670)
Backed out changeset d3ac4fd82311 (bug 1075670)
Backed out changeset 8b72b1201661 (bug 1075670)
Backed out changeset cd6cf15b27cc (bug 1075670)
Backed out changeset bf710daef92b (bug 1075670)
2015-02-11 16:03:06 +01:00
David Parks
85b40e96f5 Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
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
719abf1b85 Merge mozilla-central to mozilla-inbound 2015-02-11 15:00:07 +01:00
Carsten "Tomcat" Book
34b660c646 merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00