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

44058 Коммитов

Автор SHA1 Сообщение Дата
pchang 0b5289330f Bug 1098161 - Notify shortcut mode to system app when long tap on content with empty text. r=roc 2014-12-19 14:04:45 +08:00
Simon Montagu 15214fdece Tests for bug 1102175, r=jfkthame 2015-01-06 23:50:05 -08:00
Simon Montagu 8ef1ab91de Bug 1079154 patch 7: remove obsoleted nsPoint::GetPhysicalPosition, r=jfkthame 2015-01-06 23:10:43 -08:00
Simon Montagu 9480e827ab Bug 1079154 patch 6: convert ApplyRelativePosition, ReflowChild and FinishReflowChild in nsFlexContainerFrame to the logical versions, r=dholbert 2015-01-06 23:10:07 -08:00
Simon Montagu 1eacdee679 Bug 1079154 patch 5: convert callers of ApplyRelativePosition, ReflowChild and FinishReflowChild in layout/generic to the logical versions, r=jfkthame 2015-01-06 23:10:07 -08:00
Simon Montagu f632d7bf9b Bug 1079154 patch 4: Logical versions of ReflowChild and FinishReflowChild, r=jfkthame 2015-01-06 23:10:07 -08:00
Simon Montagu 3a8d6ee30c Bug 1079154 patch 3: logical versions of ApplyRelativePositioning, r=jfkthame 2015-01-06 23:10:07 -08:00
Simon Montagu 4aff46b627 Bug 1079154 patch 2: add SetPosition with a LogicalPoint to nsIFrame, r=jfkthame 2015-01-06 23:10:07 -08:00
Simon Montagu 999a094a1f Bug 1079154 patch 1: add a != operator to LogicalPoint and sprinkle some const dust in WritingModes.h, r=jfkthame 2015-01-06 23:10:07 -08:00
Jonathan Kew c3656996fc Bug 1079154 - Reftest for column child-frame positioning in vertical-rl mode, r=smontagu 2014-12-19 13:46:42 +00:00
Xidorn Quan f90f5d5d73 No bug, add a little more fuzz. 2015-01-07 17:20:11 +11:00
Ehsan Akhgari 8a04f8a90c Bug 1118426 - Mark virtual overridden functions as MOZ_OVERRIDE in layout/style; r=dbaron 2015-01-06 23:33:51 -05:00
Xidorn Quan fed49743f0 Bug 1116688 - Always try to push children after reflowing an incomplete ruby segment. r=dbaron
--HG--
extra : rebase_source : eddbedeaf484513da0789ec73d82801d55234d69
extra : source : afabc75550c1c5b3e8ce4b375cd0b5bb6a30fb21
2015-01-07 12:47:09 +11:00
Xidorn Quan b29ae7bea0 Bug 1117597 - Sync bounds of ruby annotation containers. r=roc
--HG--
extra : rebase_source : 336b023e6d44031a3a2adfde42a510b6729d83a3
extra : source : a2e4eb7e9c71f299685e8e4c9175bfb31a27a70b
2015-01-07 12:47:09 +11:00
Xidorn Quan 9a562a2e2b Bug 1116635 - Fix interaction between ruby alignment and trimmed whitespace. r=roc
--HG--
extra : rebase_source : 02452c197129f05cee9ebf1a868c166c3b5c7880
extra : source : 0d467e9425a4a48d358e65227d6f5f0812e8dd0c
2015-01-07 12:47:09 +11:00
Xidorn Quan 58fd48c4de Bug 1116631 - Fix isize reservation of ruby base container. r=roc
--HG--
extra : rebase_source : efc67e14e7e6bbc2b6ba736b09780a9e507b122e
extra : source : 86371e41d07bab00c6cd04b236d194fa312b99c4
2015-01-07 12:47:09 +11:00
Daniel Holbert aadd8c9412 Bug 1110950 part 0: Annotate b2g test-failures that are probably caused by this bug as "random-if(B2G)" for the time being. (no review, test-manifest-only) 2015-01-06 13:16:55 -08:00
Jonathan Kew 63dc9c1948 Bug 1113684 - part 2 - Update test from bug 1105268 to account for position of broken-image icon now being sensitive to vertical-rl mode. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew c6f6059f08 Bug 1113684 - part 1 - Handle vertical writing modes when displaying alt-text alongside a broken-image icon. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew b1289a8906 Bug 1111944 - Reftest for list item markers with vertical text. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew 0253650f87 Bug 1111944 - part 2 - Update nsBulletFrame::PaintBullet to handle vertical text in list item markers. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew e5ef938a64 Bug 1111944 - part 1 - Make nsLayoutUtils::DrawString (and the nsFontMetrics methods it calls) handle vertical text. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew 9e872e8622 Bug 1115916 - Reftest for synthetic vertical metrics. r=smontagu 2015-01-06 20:56:02 +00:00
JerryShih caec1fe4eb Bug 1118336. Extract timer rate function from RefreshDriverTimer into SimpleTimerBasedRefreshTimer. r=roc 2015-01-06 09:28:18 -08:00
Frédéric Wang b60cd30c4b Bug 619521 - Part 3: Send a notification for missing math fonts. r=jkitch 2014-11-11 02:37:00 -05:00
Jonathan Kew b77ae133f8 Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett 2014-12-22 16:35:54 +00:00
Ryan VanderMeulen 9e06657e83 Backed out changesets 4d2d510fbd62, 5e51dc838a89, and 652bd77f36c1 (bug 1116714) for Linux opt mochitest-dt orange.
CLOSED TREE
2015-01-06 08:57:43 -05:00
Mats Palmgren 5aa4ac7936 Bug 1117596 - Simplify the code in nsBlockFrame::AddFrames somewhat to avoid a false positive warning ('Uninitialized variable: overflowLines'). r=roc 2015-01-06 11:46:26 +00:00
Mats Palmgren 65df79cbad Bug 1116753 - Add 'explicit' to the nsRootBoxFrame one-arg ctor to fix static analysis failure. r=me 2015-01-06 10:07:04 +00:00
Mats Palmgren 2e240075ec Bug 1116753 - Remove the nsIPresShell* param from remaining frame ctors that still have it. r=roc 2015-01-06 09:27:56 +00:00
Mats Palmgren 2a88e0e176 Bug 1116714 part 3 - Use GetParentOrPlaceholderFor (not GetParent) so that reframing anonymous content frames works also for fixed pos frames. r=roc 2015-01-06 09:27:56 +00:00
Mats Palmgren 290209ca62 Bug 1116714 part 2 - Don't create a frame for the custom content container when it has no children. r=roc 2015-01-06 09:27:56 +00:00
Mats Palmgren 066e51211b Bug 1116718 part 2 - Don't bother setting up a reflow state for positioned children if there are none. r=roc 2015-01-06 09:27:56 +00:00
Mats Palmgren 5abc649388 Bug 1116718 part 1 - Don't bother calculating overflow areas when they will be discarded anyway. r=roc 2015-01-06 09:27:56 +00:00
Brian Birtles ac47cd0a02 Bug 1112480 part 6 - Make PendingPlayerTracker call StartOnNextTick; r=jwatt
This patch switches on the new, "actually start the player in the next refresh
driver tick" behavior. It updates PendingPlayerTracker, adding
a StartPendingPlayersOnNextTick method which calls the appropriate method on
AnimationPlayer. The existing StartPendingPlayers is renamed to
StartPendingPlayersNow and is used for testing only.

Furthermore, since we now expect AnimationPlayer::StartOnNextTick to be
functional, AnimationPlayer::DoPlay is updated to use it when there is no
document available. This should make playing an animation player always
asynchronous, that is, always transition to the pending state temporarily
(unless we are already playing).
2015-01-09 07:57:58 +09:00
Brian Birtles c6ebd438ae Bug 1112480 part 1 - Adjust tests to accommodate changed animation start behavior; r=jwatt
In this patch series we adjust the behavior of animation starting so that the
animation does not actually start until the following refresh driver tick. This
requires some tweaks to tests to ensure they continue to pass.
2015-01-09 07:57:58 +09:00
Benoit Girard accd31c28a Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
--HG--
extra : rebase_source : 785e13857a3bdb3107cb0836a37bcffbea7f02ec
2015-01-02 11:17:59 -05:00
Brian Birtles fd8aff9c0e Bug 1113413 - Make refresh driver go back immediately when restored from test control; r=vlad 2015-01-06 10:56:02 +09:00
Brian Birtles 62ee098b80 Bug 927349 part 30 - Cancel transitions when we have a change to a non-animatable style; r=heycam 2015-01-06 10:55:59 +09:00
Wes Kocher db9de9549f Merge m-c to inbound a=merge 2015-01-05 17:19:38 -08:00
Wes Kocher e62807e2fa Merge fx-team to m-c a=merge 2015-01-05 17:08:49 -08:00
Ethan Lin c550c53067 Bug 1103258 - Add reftest for assertion crash. r=jmuizelaar 2015-01-05 23:45:20 +08:00
Mats Palmgren a7ff0f7462 Bug 1117538 part 2 - [css-grid] Accept 'grid-auto-flow: dense' which now implies 'row dense'. r=simon.sapin 2015-01-05 22:20:56 +00:00
Mats Palmgren 0c2e9247ec Bug 1117538 part 1 - [css-grid] Remove 'grid-auto-flow: stack'. r=dholbert
Because it has been removed from the spec per:
http://lists.w3.org/Archives/Public/www-style/2014Dec/0321.html
2015-01-05 22:20:56 +00:00
Tom Tromey 14484f49ae Bug 1113706 - move TimelineMarker to a new header; r=smaug 2015-01-05 09:39:16 -08:00
Phil Ringnalda e75fcfb043 Backed out 4 changesets (bug 1116821, bug 1110928) for Windows OOMs
CLOSED TREE

Backed out changeset 9d593597df5f (bug 1110928)
Backed out changeset d68c75986335 (bug 1110928)
Backed out changeset 21d807074550 (bug 1110928)
Backed out changeset ca77252e50dd (bug 1116821)
2015-01-04 21:12:19 -08:00
Christoph Kerschbaumer b39fa64608 Bug 1116624 - Move CORS into dom/security (r=sicking)
--HG--
rename : dom/base/nsCrossSiteListenerProxy.cpp => dom/security/nsCORSListenerProxy.cpp
rename : dom/base/nsCrossSiteListenerProxy.h => dom/security/nsCORSListenerProxy.h
2014-12-30 15:54:59 -08:00
Andrew McCreight f65b00d7c0 Bug 1110928, part 3 - Try to pass a relevant zone to PokeGC. r=smaug
This means the browser will do less full GCs.
2015-01-04 17:46:50 -08:00
Andrew McCreight 4cf56547e8 Bug 1110928, part 2 - Call PokeGC in nsDocumentViewer::PageHide before the call to OnPageHide. r=smaug
This ensures that the document isn't destroyed when we call PokeGC, which will be useful later.
2015-01-04 17:46:50 -08:00
Andrew McCreight 9316f22371 Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
nsDocumentViewer knows which document is involved which will help us later.

Also, fix a typo in the comment.
2015-01-04 17:46:50 -08:00
Bas Schouten e7e398a29a Bug 1084450: Disable subpixelAA text when requested for header/footer drawing code. r=mattwoodrow 2015-01-05 01:18:11 +01:00
Phil Ringnalda 415bfb6776 Backed out 7 changesets (bug 1018320)
Backed out changeset 2ef1c26d77d3 (bug 1018320)
Backed out changeset bce9ed290ddd (bug 1018320)
Backed out changeset 8c01c134e40f (bug 1018320)
Backed out changeset 46353577ef7a (bug 1018320)
Backed out changeset edf5737d6e0e (bug 1018320)
Backed out changeset c6fcdd1c681f (bug 1018320)
Backed out changeset 5e26604cc6e0 (bug 1018320)
2015-01-04 08:40:27 -08:00
Andrea Marchesini c01dc5fa14 Bug 1018320 - RequestSync API - patch 2 - Wifi Only, r=ehsan 2015-01-04 10:36:53 +01:00
Phil Ringnalda 9f997b2894 Merge m-i to m-c, a=merge 2015-01-03 20:02:33 -08:00
Carsten "Tomcat" Book 68824da2af Merge mozilla-central to b2g-inbound 2015-01-02 14:15:38 +01:00
Kartikaya Gupta f7c0c43ecf Bug 1107280 - Fuzz a test unrelated to event-regions but that fails with event regions enabled. r=me 2015-01-02 17:07:20 -05:00
Joel Maher 6ad8bb118c Bug 1114710 - test_leaf_layers_partition_browser_window.xul fails when run as a standalone directory. r=tn 2014-12-31 12:02:00 +01:00
Morris Tseng b7c39e7aa0 Bug 1114853 - Part 5: Don't dispatch event when we're at drag mode. r=roc 2014-12-24 00:02:00 +01:00
Morris Tseng f2bf94474c Bug 1114853 - Part 4: Bail out if selections are mismatch. r=roc 2014-12-29 20:02:00 +01:00
Morris Tseng 8673ef0a0a Bug 1114853 - Part 3: Reset mSelectionVisibleInScrollFrames when visibility set to false. r=roc 2014-12-24 01:07:00 +01:00
Morris Tseng 241277e8e0 Bug 1114853 - Part 2: Remove useless SetVisibility calls. r=roc 2014-12-24 00:01:00 +01:00
Jonathan Kew 2ec8f432d2 Bug 1116480 - Reftest for textRun bounding box with fake italics. r=roc 2014-12-31 22:35:44 +00:00
Benoit Girard f7ad51e8cc Bug 1113781 - Only track layer decision with MOZ_DUMP_PAINTING and add a preference. r=mstange 2014-12-31 15:21:58 -05:00
Benoit Girard 98b7cc0e56 Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange 2014-12-31 15:17:39 -05:00
Xidorn Quan b71f548568 Bug 1116037 part 12 - Move mLineSize to RubyReflowState. r=dbaron
--HG--
extra : source : 17ad55f13af3e96df7649f968c838bc48b323c68
2014-12-30 11:20:10 +11:00
Xidorn Quan 3013e06e68 Bug 1116037 part 11 - Add RubyReflowState for sharing states between ruby level boxes. r=dbaron
--HG--
extra : source : c4f342ece9c1548053348dbc317d9857cbe790b6
2014-12-30 11:16:30 +11:00
Xidorn Quan 09350f0596 Bug 1116037 part 10 - Remove mColumnCount from nsRubyBaseContainerFrame. r=dbaron
--HG--
extra : source : 36096895ec5437c5f9cf6c97d6085bfeae8654c7
2014-12-30 10:05:54 +11:00
Xidorn Quan eb1ae2b722 Bug 1116037 part 9 - Move ruby text container arrays to stack. r=dbaron
--HG--
extra : source : 6c5d7212c3f8c355b4667aa46024dfef0710ca8e
2014-12-30 09:56:34 +11:00
Xidorn Quan 62bf8b83b1 Bug 1116037 part 8 - Merge two ruby text container arrays. r=dbaron
--HG--
extra : source : 2b3f8e1951d924c14c94c06a44012837b51a04ad
2014-12-30 09:44:12 +11:00
Xidorn Quan 16b6831601 Bug 1116037 part 7 - Small fixes to ruby line breaking. r=dbaron
--HG--
extra : source : 54ffc8e890c131d88047e4dabc7c2b71be544a5d
2014-12-30 09:24:57 +11:00
Xidorn Quan a33cdf1a4e Bug 1116037 part 6 - Use a single struct to represent ruby column. r=dbaron
--HG--
extra : source : 7b927cec3f77e194b37de15e3a5b93aa70925d3c
2014-12-29 15:22:19 +11:00
Xidorn Quan c7868a4f13 Bug 1116037 part 5 - Use unified struct for ruby reflow states. r=dbaron
--HG--
extra : source : 1c4bb2775ab5e26f34fb260daf12afdf86debe30
2014-12-29 15:03:38 +11:00
Xidorn Quan 259342b408 Bug 1116037 part 4 - Remove useless parameters in ruby reflow methods. r=dbaron
--HG--
extra : source : d712ee74e0f33f39b103e88753587559d0a0e9ed
2014-12-29 14:46:24 +11:00
Xidorn Quan b48d600a85 Bug 1116037 part 3 - Use ruby "column" instead of "pair" to match the spec term. r=dbaron
--HG--
extra : source : a7e31ed3d8d6933631729f014efb546844c84586
2014-12-29 14:30:00 +11:00
Xidorn Quan 1175e8d1f5 Bug 1116037 part 2 - Use frame state bit to mark rtc of span. r=dbaron
--HG--
extra : source : ae8d3b155c8ac5f73992fdb5f23e6be48c884c78
2014-12-29 13:34:07 +11:00
Xidorn Quan 7368bd2654 Bug 1116037 part 1 - Move TextContainerIterator to RubyUtils. r=dbaron
--HG--
extra : source : 2953b34d3cc05a3f34edb3d775821e81c798b77b
2014-12-29 11:14:53 +11:00
Mats Palmgren f427f5ad3c Bug 1116104 - Null-check the do_QueryFrame result before using it. r=roc 2014-12-31 07:10:11 +00:00
Xidorn Quan 61ff35b52e Bug 1114792 - Rename nsStyleContext::IsDirectlyInsideRuby to IsInlineDescendantOfRuby. r=dbaron
--HG--
extra : rebase_source : c28b41828c7d02ab26803c583bae15a218a5da05
2014-12-31 16:39:43 +11:00
Phil Ringnalda 41cdae473a Back out 9 changesets (bug 649142)
Backed out changeset 936703c75200 (bug 649142)
Backed out changeset b0252d2620d8 (bug 649142)
Backed out changeset 69ddb2036c50 (bug 649142)
Backed out changeset 67748675e669 (bug 649142)
Backed out changeset 15ed55c61f4e (bug 649142)
Backed out changeset 35c42cd138e1 (bug 649142)
Backed out changeset 1335630cf287 (bug 649142)
Backed out changeset b5725cd39a31 (bug 649142)
Backed out changeset b0eb691d6695 (bug 649142)
2014-12-30 20:04:20 -08:00
Cameron McCormack d6b07ef6c4 Bug 649142 - Part 8: Tests. r=dbaron 2014-12-31 12:18:16 +11:00
Cameron McCormack 6549a2b58b Bug 649142 - Part 7: Move CSS_PROPERTY_LOGICAL up into one of the earlier free bits. r=dbaron 2014-12-31 12:18:16 +11:00
Cameron McCormack c501eb9fff Bug 649142 - Part 6: Remove support for shorthand-implemented logical properties. r=dbaron
This includes removing:

* the box property directional source constants
* the CSS_PROPERTY_DIRECTIONAL_SOURCE property flag
* the CSS_PROPERTY_REPORT_OTHER_NAME property flag
* nsCSSProps::OtherNameFor
* methods on the CSS parser to parse directional box properties and set
  the old *-source and *-value properties
* the resolution of logical and physical properties in nsRuleNode during
  style computation, since that's now done as part of the cascade in
  nsCSSExpandedDataBlock::MapRuleInfoInto
2014-12-31 12:18:16 +11:00
Cameron McCormack 324837a87d Bug 649142 - Part 5: Convert logical border properties. r=dbaron 2014-12-31 12:18:15 +11:00
Cameron McCormack 246dccd863 Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2014-12-31 12:18:14 +11:00
Cameron McCormack c1366ac48c Bug 649142 - Part 3: Convert logical padding properties. r=dbaron
Here we convert the logical padding properties into their new resolved-at-
cascade-time implementations.  This involves:

* converting -moz-padding-{start,end} into logical longhand properties
* adding padding-inline-{start,end} aliases for -moz-padding-{start,end}
* converting padding-{left,right} into longhand properties
* removing padding-{left,right}-value and
  padding-{left,right}-{ltr,rtl}-source internal properties

The CSS parser and various tests are simplified a bit as a result.
2014-12-31 12:18:14 +11:00
Cameron McCormack ba024f653a Bug 649142 - Part 2.1: Test that logical properties in property_database.js are longhands. r=dbaron 2014-12-31 12:18:13 +11:00
Cameron McCormack 8c1da42424 Bug 649142 - Part 2: Convert logical properties to their physical equivalents during the cascade. r=dbaron
We will add cases to EnsurePhysicalProperty's switch statement as we
convert the existing shorthand-implemented logical properties to the
new, CSS_PROPERTY_LOGICAL-bearing properties.
2014-12-31 12:18:13 +11:00
Cameron McCormack 6cceecc24a Bug 649142 - Part 1: Add macros and flags for defining logical properties and don't allocate storage for them in nsRuleData. r=dbaron
We define a new flag CSS_PROPERTY_LOGICAL to be used for logical longhand
properties and a new CSS_PROP_LOGICAL macro in nsCSSPropList.h to
define them.

When using CSS_PROP to capture all properties, includers must now
explicitly indicate whether logical properties are included or not,
by defining CSS_PROP_LIST_EXCLUDE_LOGICAL (to exclude them),
CSS_PROP_LIST_INCLUDE_LOGICAL (to include them), or CSS_PROP_LOGICAL
(to capture them separately from other properties).
2014-12-31 12:18:12 +11:00
Robert Longson d249eb2fed Bug 1109860 - getBBox incorrect with bidirectional text character. r=heycam 2015-01-02 16:47:47 +00:00
Wes Kocher c214bcc122 Merge m-c to inbound a=merge 2014-12-30 16:04:20 -08:00
Wes Kocher 82e8b540fb Merge inbound to m-c a=merge 2014-12-30 15:48:13 -08:00
Kushan Joshi 94821f46e8 Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats 2014-12-30 14:07:57 -05:00
Kartikaya Gupta 2b2bb2889d Bug 1098654 - Add a cache for animated geometry roots on the display list builder. r=roc 2014-12-30 09:40:01 -05:00
Kartikaya Gupta 43054fe29c Bug 1098654 - Improve layerization of display items when dealing with async scrollable layers. r=tnikkel
The function IsSubjectToAsyncTransforms() was not correctly reporting when a
layer was actually subject to async transforms. As a result, sometimes display
items from above such a layer would end up in a layer below. This could
manifest as page elements being improperly covered by async scrolling elements.
2014-12-30 09:39:39 -05:00
Mats Palmgren 6aa40ed676 Bug 1116236 - Fix a typo. r=me 2014-12-30 07:29:40 +00:00
Christoph Kerschbaumer cc96f3ae3c Bug 1087735: Make JS callers of ios.newChannel call ios.newChannel2 in layout/ (r=dbaron) 2014-10-24 14:58:25 -07:00
Robert O'Callahan b8292681d6 Bug 1107508. Disable stylesheets in <use>-cloned subtrees for now. r=heycam
--HG--
extra : rebase_source : c29f557476e71ff9cae478b204185a40be4771d6
2014-12-22 16:09:32 +13:00
Xidorn Quan 3cf39e53b5 Bug 1103832 - Initialize mLineIsEmpty and mLineAtStart of ruby annotations to false. r=dbaron
--HG--
extra : source : e33bd169b681e446973a67e7aa6976ca530c8bc2
2014-12-10 15:57:14 +11:00
L. David Baron 527965d95c Bug 1115999 - Call ApplyRelativePositioning properly for some table cells that we choose not to reflow. r=roc
I confirmed that the reftest passes with the patch and fails without the
patch.

This is the crazy codepath where nsTableRowFrame sets doReflowChild to
true, and then tests some additional conditions, and based on those
conditions decides to do part (but not all) of the work of reflowing the
child.  This is making relative and sticky positioning work correctly in
that case, which we should really just get rid of, but which I don't
want to deal with now.

--HG--
extra : transplant_source : %B2%BE%A64%F1%5CG%25%BD%0F%BD%3E%94%80%24%86eEWv
2014-12-28 19:42:54 -05:00
Leonid V. Fedorenchik 9085b13b1e Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats 2014-12-27 12:48:27 -05:00
Mats Palmgren 0beb672e87 Bug 1109571 part 5 - tests. 2014-12-26 07:21:32 +00:00
Mats Palmgren 042c1202a1 Bug 1109571 part 4 - Frame construction bits to create the appropriate frame tree for table captions. r=roc
Note that this also makes IsPositioned() table captions be abs.pos.
containers, which was broken before.
2014-12-26 07:21:32 +00:00
Mats Palmgren 3c1a6ca818 Bug 1109571 part 3 - Implement table caption specific code for ComputeAutoSize(), GetCorrectedParent() (for getting the style parent frame) and AccessibleType(). r=roc 2014-12-26 07:21:32 +00:00
Mats Palmgren ee39486143 Bug 1109571 part 2 - Remove nsGkAtoms::tableCaptionFrame. Implement nsIFrame::IsTableCaption() and use that instead. r=roc 2014-12-26 07:21:32 +00:00
Mats Palmgren 71c9d3d7d5 Bug 1109571 part 1 - Remove nsTableCaptionFrame. r=roc 2014-12-26 07:21:31 +00:00
Brian Birtles e5b88e8ef0 Back out parts 22-29 from bug 927349 for causing intermittent test failure in css-animations/test_animation-pausing.html on 10.8 2014-12-26 11:54:43 +09:00
Brian Birtles 8f3f4c1376 Bug 927349 part 29 - Disable failing browser_555547.js on Windows opt - pushed again without backing out parts 22-29 at the same time; r=me
In https://hg.mozilla.org/integration/mozilla-inbound/rev/3ab2ff9b9f94
I accidentally pushed part 29 along with a backout for parts 22-29. This patch
reverts that change.

If this changset causes problems, the following changesets should be backed out:

https://hg.mozilla.org/integration/mozilla-inbound/rev/477f46897b0b
https://hg.mozilla.org/integration/mozilla-inbound/rev/6c345954bce5
https://hg.mozilla.org/integration/mozilla-inbound/rev/642e400b22a9
https://hg.mozilla.org/integration/mozilla-inbound/rev/9bdf7c2279fa
https://hg.mozilla.org/integration/mozilla-inbound/rev/79cac8c71159
https://hg.mozilla.org/integration/mozilla-inbound/rev/cfe757e478d5
https://hg.mozilla.org/integration/mozilla-inbound/rev/eaf834051cbd
2014-12-26 08:49:20 +09:00
Brian Birtles 414a5c831f Bug 927349 part 29 - Disable failing browser_555547.js on Windows opt; r=me (as discussed with jwatt) 2014-12-25 16:31:55 +09:00
Brian Birtles cbe7771b26 Bug 927349 part 28 - Call AddLayerChangesForAnimation after updating style; r=dbaron 2014-12-25 16:28:25 +09:00
Brian Birtles 94756a7b6f Bug 927349 part 22 - Make AnimationPlayer wait for animations to be rendered before starting; r=jwatt
This patch (finally!) introduces the delayed start behavior. It updates
AnimationPlayer::DoPlay to put animations in the PendingPlayerTracker from
where they are triggered.

This patch also updates nsTransitionManager to set the animation's source
before calling Play as otherwise the AnimationPlayer won't be able to access
the pending player tracker (which it locates by navigating AnimationPlayer ->
Animation (source content) -> target element -> composed doc -> pending player
tracker). In future, when we support setting the AnimationPlayer.source property
we will make this more robust so that the order in which these steps are
performed doesn't matter.

This patch also updates a couple of tests to reflect the fact that
AnimationPlayer will now return the pending state.
2014-12-25 16:28:24 +09:00
Simon Montagu 7fdd199fd3 Bug 1113526: make GetLogicalNormalPosition return the correct logical origin of the frame, not just convert the physical origin to logical coordinates, r=jfkthame 2014-12-24 04:39:46 -08:00
Jonathan Kew cb01fc326c Reftest for bug 1114329, r=smontagu 2014-12-22 02:28:20 -08:00
Chris Peterson c26e697150 Bug 1115264 - Fix -Wsometimes-uninitialized clang warning in nsRubyFrame.cpp. r=dholbert 2014-12-23 21:29:32 -08:00
Xidorn Quan 242c3684b6 Bug 1055665 part 5 - Tests for ruby-position. r=dholbert
--HG--
extra : source : 09e28946e0743204f05af32baf99f8e70f86e2bc
2014-12-09 17:47:26 +11:00
Xidorn Quan 0dea205772 Bug 1055665 part 4 - Position text containers according to ruby-position. r=dholbert
--HG--
extra : source : 434cf70e300dcf9985e013a0a76703972804b02a
2014-12-17 19:42:32 +11:00
Xidorn Quan 83ed4953c7 Bug 1055665 part 3 - Position ruby annotations and set the line size of them correctly. r=dholbert
--HG--
extra : source : c4dff2a39c852a249a5ff6e929780d898ba956ac
2014-12-09 17:47:26 +11:00
Xidorn Quan 4156dfaf68 Bug 1055665 part 2 - Make nsLineLayout::VerticalAlignLine not rely on line box. r=roc
--HG--
extra : source : c9cc22b10e21bf80d1129e8a01319b05e546b922
2014-12-09 17:47:26 +11:00
Xidorn Quan d04c336024 Bug 1055665 part 1 - Add support for parsing & computing CSS property "ruby-position". r=dholbert
--HG--
extra : source : 2fd75789fe00d972d78a5b189f1ac50f6b2a385f
2014-12-09 17:47:18 +11:00
Wes Kocher 0710669f0c Merge m-c to inbound a=merge CLOSED TREE 2014-12-23 16:54:09 -08:00
Wes Kocher ab27d8e9b0 Merge inbound to mozilla-central a=merge CLOSED TREE 2014-12-23 16:47:42 -08:00
Wes Kocher ce6e0dc416 Merge b2g-inbound to mozilla-central a=merge CLOSED TREE 2014-12-23 16:36:48 -08:00
pchang b32479bd71 Bug 1068474 - Limit the selection range based on the boundary of startcaret and endcaret. r=roc 2014-12-19 13:25:17 +08:00
Nicolas Silva 98ea8a9256 Bug 1071769 - Fuzz some test to enable DrawTargetTile on b2g. r=Bas 2014-12-23 10:52:20 +01:00
Xidorn Quan 17c1355146 Bug 1098272 part 6 - Check whether line break is allowed in ruby. r=dbaron
--HG--
extra : rebase_source : e016ab26fa8c22568d2310c17f34c4e1013373a2
extra : source : 7899fcd7c6f9059fdbf7417274f9181ed71d1e50
2014-12-22 16:52:30 +11:00
Xidorn Quan efc664834d Bug 1098272 part 5 - Move final line break check code in ruby. r=dbaron
--HG--
extra : rebase_source : ebafbe41f95d43329eb6f3e67ed1eb2be0033d68
extra : source : b3e1d5a511d0caa503f5bd8161f549f0d6cd1070
2014-12-22 16:36:55 +11:00
Xidorn Quan 4f414b3c98 Bug 1098272 part 4 - Remove unused parameter of nsRubyBaseContainerFrame::ReflowSpans. r=dbaron
--HG--
extra : rebase_source : ae32a99dbaf9faaad19f54ebba6e8d2e49a955a7
extra : source : 99bbfb3dce962504d1014e632c4b4b7f19a00276
2014-12-22 16:32:14 +11:00
Xidorn Quan 91630ffe11 Bug 1098272 part 3 - Move initial line break check code in ruby. r=dbaron
--HG--
extra : rebase_source : 99b3ea00f9905165f7a9d06842f944a2a35e1521
extra : source : 90b588b9897d0c53f4022c4c942d410942bbe0fe
2014-12-22 16:24:24 +11:00
Xidorn Quan b9fb386cc4 Bug 1098272 part 2 - Assert that there is no line break inside ruby. r=dbaron
--HG--
extra : rebase_source : 67ea1b202e197babf581a5f207c6b49ffe65a8fd
extra : source : c4dc03f162dc1b5c0e16bdfc3a338637c6ddb92c
2014-12-22 16:16:06 +11:00
Xidorn Quan 2331038635 Bug 1098272 part 1 - Suppress line breaks inside ruby boxes. r=dbaron,roc
--HG--
extra : rebase_source : 2e884fd15244a265011e3241be084c5a1c6fd66e
extra : source : 0ea7212c131401abff6a097773ae93cdfa05dcde
2014-12-22 15:17:55 +11:00
Daniel Holbert 19a6f2a9df Bug 1113811: Remove unnecessary null-check of infallible 'new', in ParseDeclarationBlock. r=heycam 2014-12-22 18:21:45 -08:00
Wes Kocher 5014637e84 Backed out changeset f6a3f2525323 (bug 1113811) for breaking lots of things on a CLOSED TREE 2014-12-22 17:03:11 -08:00
Daniel Holbert bc842894b3 Bug 1113811: Remove unnecessary null-check of infallible 'new', in ParseDeclarationBlock. r=heycam 2014-12-22 16:05:05 -08:00
Xidorn Quan 0cb7562edc Bug 1108429 part 8 - Implement default ruby alignment. r=roc
--HG--
extra : source : 469cb97255e807acd60aea73db7e76e03d9409c9
2014-12-15 10:33:59 +11:00
Xidorn Quan d732a076a4 Bug 1108429 part 7 - Modify jusitication computation to take ruby into account. r=roc
--HG--
extra : source : dc85c8f239aa5f08d31ada2f1346ad1965bdd4c2
2014-12-15 10:19:38 +11:00
Xidorn Quan b57d1f90f3 Bug 1108429 part 6 - Record inner justification opportunities for each frame. r=roc
--HG--
extra : source : 40cee8a9a435667520e3cc846783e8c17b252c5a
2014-12-15 09:57:36 +11:00
Xidorn Quan a759fbf567 Bug 1108429 part 5 - Enable justification computation when there is ruby. r=roc
--HG--
extra : source : a70242f72a280e7f1ceab6b6fa4ece13bd807dee
2014-12-13 22:18:16 +11:00
Xidorn Quan e8df246df7 Bug 1108429 part 4 - Handle isize reservation in sync annotation rect. r=roc
--HG--
extra : source : 9cd4da9858ad4a314cef0354ec73b8bd635c5ca9
2014-12-13 16:13:12 +11:00
Xidorn Quan ea6940e783 Bug 1108429 part 3 - Add flag to indicate the existance of ruby. r=roc
--HG--
extra : source : 322ca21457397001c361db0ea766367d19b9b9a1
2014-12-13 11:48:30 +11:00
Xidorn Quan 20e60d07f7 Bug 1108429 part 2 - Reserve isize for ruby boxes. r=roc
--HG--
extra : source : 123248ecc3ecfe0b4f9f0f544771cb4cc0f6192c
2014-12-13 11:05:02 +11:00
Xidorn Quan 4103883d8e Bug 1108429 part 1 - Add ruby utils for reserving isize of ruby boxes. r=roc
--HG--
extra : source : 1f280f5e65b715e5be3737d4eb80d6f220bb078a
2014-12-12 21:30:43 +11:00
Xidorn Quan 7042d1e185 Bug 1109937 - Change flags in PerFrameData to use bit fields. r=roc
--HG--
extra : source : 76160496de67f8d8e3f0823613632897ab55fa84
2014-12-23 10:22:26 +11:00
Ryan VanderMeulen 9b417fb924 Merge m-c to fx-team. a=merge 2014-12-23 13:19:37 -05:00
Hallvord R. M. Steen 8e013fa5d0 Bug 1101873 - Remove the part of the 923971 patch that caused a new problem. r=enndeakin 2014-11-27 10:23:51 +01:00
Mark Hammond 8dc853f068 Bug 1109120 - use a geoip xhr request for more reliable country detection for search. r=gavin 2014-12-23 22:17:12 +11:00
Carsten "Tomcat" Book a8f3b328fd Backed out changeset 4aad6ecf4b7d (bug 1098161) for marionette test failures 2014-12-22 09:34:14 +01:00
Morris Tseng 0b3d49e12b Bug 1109800 - Call CancelLongTapDetector when Selection carets are blurred. r=roc 2014-12-18 22:50:00 +01:00
pchang 20e2506fa0 Bug 1098161 - Notify shortcut mode to system app when long tap on content with empty text. r=roc 2014-12-19 14:04:45 +08:00
Phil Ringnalda 71d8445cfe Back out 155b9d4cb8cb (bug 1068474) for Marionette failures 2014-12-21 18:54:23 -08:00
pchang 43eba5fe34 Bug 1068474 Limit the selection range based on the boundary of startcaret and endcaret, r=roc
---
 layout/base/SelectionCarets.cpp | 13 +++++++++++++
 layout/base/SelectionCarets.h   |  8 ++++++++
 2 files changed, 21 insertions(+)
2014-12-19 13:25:17 +08:00
Brian Birtles 24eaa57ecc Bug 927349 part 19 - Don't add pending animations to layers when their refresh driver is under test control; r=jwatt 2014-12-22 09:35:42 +09:00
Brian Birtles 79e39d6e6a Bug 927349 part 16 - Do a full reflow when we have pending animations; r=jwatt
We want to time animations from when their first frame is painted. However,
interruptible reflow complicates this since, for a given set of pending
animations, some may be painted whilst others are not. To simplify this we
simply force an uninterruptible reflow when we have animations that are
waiting to start.
2014-12-22 09:35:41 +09:00
Brian Birtles fe8a65bf0d Bug 927349 part 13 - Update start times on animations in layers when the animation ready time is resolved; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles bed7d564db Bug 927349 part 12 - Store the initial time of animations on layers so start times can be resolved after-the-fact; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles 1261ccde9b Bug 927349 part 11 - Pass the animation ready time to the pending player tracker; r=jwatt 2014-12-22 09:35:41 +09:00
David Anderson 3423968662 Fix a layout bug with columnset, transforms, and fixed positions. (bug 1112501, r=dbaron) 2014-12-20 19:14:03 -08:00
Mats Palmgren 4f10cae0b5 Bug 1111995 - Mochitest. 2014-12-20 20:19:13 +00:00
Mats Palmgren 28750ad79a Bug 1111995 - Clip buttons to their border area for event hit testing. r=roc 2014-12-20 20:19:12 +00:00
Markus Stange 9f8bb48452 Bug 1101635 - Enable tiling on 10.6. r=jrmuizel f=milan 2014-12-19 14:48:33 -05:00
Markus Stange cf9273c036 Bug 1101635 - Adjust reftest fuzzing for tiling on 10.6. r=jrmuizel 2014-12-19 14:48:33 -05:00
Ryan VanderMeulen 10a6591145 Backed out changesets 5f7211d4190d and bac36f6e728f (bug 1111995) for B2G desktop mochitest failures.
CLOSED TREE
2014-12-19 14:33:58 -05:00
Daniel Holbert a522bf9f27 (no bug) Fix typo in copypasted assertion text in nsStyleBasicShape accessors. rs=krit over IRC 2014-12-19 10:12:31 -08:00
Daniel Holbert e10bbc5fc2 Bug 1113419: Make eUnit_Filter ordering more consistent, in switch statements & enum definition in StyleAnimationValue.h,cpp r=krit 2014-12-19 10:12:29 -08:00
Mats Palmgren 0f0530c0db Bug 1111995 - Mochitest. 2014-12-19 18:01:13 +00:00
Mats Palmgren 1c9433f6ed Bug 1111995 - Clip buttons to their border area for event hit testing. r=roc 2014-12-19 18:01:13 +00:00
Mats Palmgren a42b39e7f5 Bug 1111292 - Include the column gap(s) in the minimum width calculation when the number of columns is non-auto. r=roc 2014-12-19 16:28:43 +00:00
Mats Palmgren 5f0c10b686 Bug 447660 part 3 - When collecting / pushing a float, make sure to also pick up its next-in-flows that are in same block. r=roc
Move the AssertNoDuplicateContinuations in DrainPushedFloats earlier because
DrainOverflowLines() sometimes picks up overflow line with a placeholder for
a float that has a next-in-flow in this block and unmark those floats as
pushed floats because they aren't anymore.

Change AppendPushedFloat to push any next-in-flows that are in the same block
as the given float too.

Make DoCollectFloats collect next-in-flows in the same block.

Make VerifyOverflowSituation check some float list invariants too.
2014-12-19 16:28:43 +00:00
Mats Palmgren 4bd859f708 Bug 447660 part 2 - Mark an existing next-in-flow of a float that is split due to it being NOT_COMPLETE as NOT being an overflow container. r=roc 2014-12-19 16:28:43 +00:00
Mats Palmgren 5e7f3b9df5 Bug 447660 part 1 - Replace the #define DISABLE_FLOAT_BREAKING_IN_COLUMNS with a pref to enable fragmenting of floats inside columns. Set the pref enabled by default in non-RELEASE builds only. r=roc 2014-12-19 16:28:43 +00:00
Mats Palmgren 6851774977 Bug 1111360 - Remove the unused NS_IS_REFLOW_ERROR macro and an obsolete comment. r=roc 2014-12-19 16:28:42 +00:00
Jonathan Kew 8e3bc159b8 Bug 1111525 - Remove unused lineFlags returned by nsILineIterator. r=roc 2014-12-19 14:55:30 +00:00
Cameron McCormack ddd94333b7 Bug 649145 - Store properties on nsCSSCompressedDataBlocks in declaration order. r=dbaron 2014-12-19 14:32:34 +11:00
Nicholas Nethercote c7fe36c369 Bug 1113010 (part 2) - Shrink FrameConstructionItem by using bitfields. r=dholbert.
This reduces its size from 168 bytes to 160 bytes on 64-bit platforms.

--HG--
extra : rebase_source : de9bb482ccbdb85efa79f82083fa8f35bb629078
2014-12-18 14:15:18 -08:00
Nicholas Nethercote 77cbf48a56 Bug 1113010 (part 1) - Shrink FrameConstructionItem by reordering some fields. r=dholbert.
This reduces its size from 176 bytes to 168 bytes on 64-bit platforms.

--HG--
extra : rebase_source : 89b4f1c6e618eb1ab75989162c26308753a59d56
2014-12-18 14:14:58 -08:00
Nicholas Nethercote 208ab0c4e1 Bug 1113010 (part 0) - Remove impossible path in AddFrameConstruct(). r=dholbert.
Infallible new ensures that |item| is always non-null. And even if it didn't,
AppendItem() dereferences |item| before this code is reached.

--HG--
extra : rebase_source : 9abb8704ba03f455d6b77c5735fcb6cde4f8fef8
2014-12-18 14:14:31 -08:00
Prabhjyot Singh Sodhi 0de35ab99f Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats 2014-12-18 19:33:18 -05:00
Ryan VanderMeulen 4dd66991b6 Merge m-c to inbound. a=merge 2014-12-18 18:12:31 -05:00
Ryan VanderMeulen e74a8fc1d1 Merge inbound to m-c. a=merge 2014-12-18 17:59:14 -05:00
Patrick McManus 7edbeec28f bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Ryan VanderMeulen bcd9e64d4d Bug 1112988 - Skip layout/base on Mulet due to its inability to run the tests without blowing up in some way or another. 2014-12-17 22:39:14 -05:00
Ryan VanderMeulen cb95b51b81 Merge m-c to inbound. a=merge
CLOSED TREE
2014-12-17 21:03:11 -05:00
Ryan VanderMeulen 90f31ccf52 Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-17 20:53:20 -05:00
Ryan VanderMeulen 1ec6eba3c1 Bug 1087611 - Disable test_bug968148.html on Mulet. 2014-12-17 20:39:08 -05:00
David Anderson 9b99c0f6d4 Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn)
--HG--
extra : rebase_source : 29d74a8734aabc0e583ad5e372f7b04bcc9e2b8f
2014-12-17 15:37:28 -08:00
Brian Birtles 9fdafb68a4 Bug 927349 part 5 - Cancel players that are no longer used; r=jwatt
This patch adds a means of terminating an animation so that is has no effect.
The procedure is defined by Web Animations:

  http://w3c.github.io/web-animations/#cancelling-a-player-section

We don't implement all of this, however, since we don't currently support the
finished promise or custom effects.

In a later bug we will expose this as the cancel() method on AnimationPlayer.

We call this method for terminated animations in nsAnimationManager and
nsTransitionManager to ensure they get removed from the pending player tracker
and so that, for example, the ready promise of CSS Animation player objects is
rejected when the corresponding item is removed from animation-name.
2014-12-18 08:42:41 +09:00
Brian Birtles 11e4d27c81 Bug 1104435 part 9 - Make getting AnimationPlayer.ready flush for CSS Animation players; r=heycam 2014-12-18 08:42:41 +09:00
Prabhjyot Singh Sodhi 74d83cd734 Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats 2014-12-17 17:14:05 -05:00
Robert Longson ab70fe95ea Bug 1111222 - Use HasNonScalingStroke() more. r=dholbert 2014-12-17 13:58:31 +00:00
Jonathan Watt e45d8102b6 Bug 854296, part 1 - Make SVG respect stroke-miterlimit again. r=Bas 2014-12-16 15:31:28 +00:00
Xidorn Quan c244b776e2 Bug 1052123 - Autohide ruby annotations which are identical to their ruby bases. r=dbaron
--HG--
extra : transplant_source : %B5w%BF%89%879%D6F2%DD%BD%F3%BAG%0D%5E%A4%255%EE
2014-12-15 14:37:15 +11:00
Carsten "Tomcat" Book 253591c98f Merge mozilla-central to fx-team 2014-12-18 13:58:10 +01:00
Michael Ratcliffe 796189cca7 Bug 1112700 - Fix assertion failure: aPropID != eCSSPropertyExtra_variable r=me 2014-12-18 09:31:28 +00:00
Benoit Girard 22355f0c17 Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange
--HG--
extra : rebase_source : 5c7295e80105b0db43651553c1b901836571cbbb
2014-12-18 13:32:53 -05:00
Benoit Girard 0003ef72d0 Bug 1112483 - Add the layer bounds in the DisplayList dump. r=mattwoodrow
--HG--
extra : rebase_source : cb6d1329dc507607ef57bcd26d825dde052121ea
2014-12-18 13:32:51 -05:00
Wes Kocher 1cc829126d Backed out changeset 50d264e4ffa4 (bug 1052123) for android/linux reftest failures 2014-12-16 15:44:15 -08:00
Wes Kocher 56b818b46f Backed out 2 changesets (bug 1103258) for b2g reftest failures
Backed out changeset 64e9d08ae14b (bug 1103258)
Backed out changeset bca5954a31d2 (bug 1103258)
2014-12-16 15:24:45 -08:00
Jonathan Kew 3837d59146 Bug 1111879 - Avoid copying an nsFont when we don't need to modify it locally. r=dbaron 2014-12-16 23:02:37 +00:00
Xidorn Quan a75dd2b420 Bug 1052123 - Autohide ruby annotations which are identical to their ruby bases. r=dbaron
--HG--
extra : rebase_source : a458af255ceeb6a384b7f879ab5d060052142b76
extra : source : 5f0779afa4060c867bf94d7c798e9eccf0cdb9bd
2014-12-15 14:37:15 +11:00
Benoit Girard b518f856e9 Bug 1103258 - Add a reftest for culled container layers with an intermediate surface. r=jmuizel
--HG--
extra : rebase_source : 22e35ccb3c08df96bc391fc764835469e0bd87fe
2014-12-11 14:28:41 -05:00
Carsten "Tomcat" Book 8fa63969a1 Merge mozilla-central to mozilla-inbound 2014-12-16 13:42:57 +01:00
Carsten "Tomcat" Book 8c8eab8d31 merge fx-team to mozilla-central a=merge 2014-12-16 13:39:48 +01:00
Mike Hommey 541c80f735 Bug 948278 - Avoid piggy-backing into the build system for the reftest addon. r=ted
This makes the reftest addon use the httpd server as a js module instead of
a XPCOM component.
2014-12-16 15:07:01 +09:00
abdelrhman 3990efb3f1 Bug 1111276 - Replace gBrowser.selectedTab.linkedBrowser with gBrowser.selectedBrowser. r=dao
--HG--
extra : rebase_source : d7ef16a16f884458d99dff05efb370694d2ea5e3
2014-12-15 22:05:46 +01:00
Xidorn Quan 244888aa06 Bug 1039009 - Handle float in the base line layout. r=dbaron
--HG--
extra : rebase_source : 981a5ae2bb8f8bf7852398ea944c6e07ed283292
extra : source : b661631e125ab0ffa2bdfa44201fe59571189423
2014-12-10 10:49:13 +11:00
Jonathan Kew 7bae3d47b2 Bug 1111517 - Use new method UpdateLineContainerWidth instead of SlideLine when finalizing the width of a vertical-rl block. r=smontagu 2014-12-16 09:45:41 +00:00
Jonathan Kew 0b51a4e9eb Bug 1108067 - Make nsIFrame::GetWritingMode virtual, and override it in nsViewportFrame, nsCanvasFrame and nsHTMLScrollFrame to make them adopt the writing mode of their contents. r=smontagu 2014-12-16 09:45:11 +00:00
Xidorn Quan 4ee06cf1d6 Bug 1081770 - Move ruby annotation frames when text-align: justify is applied to ruby bases. r=dbaron
--HG--
extra : rebase_source : 959be07c7a44c96eba46963213de01525e5292b0
extra : source : c5e6e8898b2df7b29fe1b2071291bde17d7780fc
2014-12-09 17:43:24 +11:00
Xidorn Quan e1f2ef0e3c Bug 1098257 - Add tests for inlinizing block-level boxes inside ruby. r=heycam
--HG--
extra : rebase_source : 312702b9a3a6cfacc067001fe4013dbf23b6b52a
extra : source : 02feede82eaf3c822748fc5751f20b21bb0ac514
2014-12-11 09:26:19 +11:00
Xidorn Quan 4acbb5abac Bug 1098275 - Inlinize block-level boxes inside ruby. r=heycam
--HG--
extra : rebase_source : 70a969d3a6be4ea5dfe14777aa7c31189ade7211
extra : source : 30e0ea21cdfaa29f2c138f0b8975da984e8ac009
2014-12-11 09:26:18 +11:00
Xidorn Quan 06113ccc4a Bug 1087872 - Tests for dynamic change of ruby frames. r=bz,dbaron
--HG--
extra : rebase_source : 4fa97f21d33e96bfc6bf8456f7ce8983e1fedee2
extra : amend_source : 5c80d0ded3816655b8f05ef44f496b2a991d6940
extra : source : ea286aab916d2a35b4a08dc808667c78d4142968
2014-12-10 16:23:21 +11:00
Seth Fowler 3872008abd Bug 1106602 (Part 2) - Add tests for nonuniform scaling of SVG-as-image. r=dholbert 2014-12-15 15:44:16 -08:00
Seth Fowler 350888d88d Bug 1106602 (Part 1) - Use pretransform dest rect as default SVG-as-image viewport. r=dholbert 2014-12-15 15:44:13 -08:00
Nigel Babu 6245216328 Backed out changeset 39d19feaf2b2 (bug 1087872) for Windows test failures on a CLOSED TREE 2014-12-15 11:19:37 +05:30
Xidorn Quan fd8647c7ec Bug 1087872 - Tests for dynamic change of ruby frames. r=bz
--HG--
extra : rebase_source : 0c936ec06cd52f4d4fdd866de4b59f9501e95dae
extra : amend_source : 37d0fd1342c0538ae4cab882f3bc6f1cf72e9dc2
extra : source : c3c886f19e3a6bb7a3bb9de7fb2edaabdf4ffb57
2014-12-10 16:23:21 +11:00
Xidorn Quan 27fa8603a2 Bug 1087872 - Reconstruct ruby frames for frame insertion when necessary. r=bz
--HG--
extra : rebase_source : dfbb5179a5e3f438214e3d41e2f43ed9ff2331c4
extra : source : d82b661ffdba5319d98e363b18266b118b9072a0
2014-12-10 15:58:40 +11:00
Xidorn Quan 465fe16671 Bug 1087872 - Reconstruct ruby frames for frame removal when necessary. r=bz
--HG--
extra : rebase_source : 321d6249be4ec89bcb8f43c9a8c1c59ab52bce36
extra : source : 97115d9d8217f7ffbed866e11648299c47b97862
2014-12-10 15:58:40 +11:00
Xidorn Quan 9b2ac4ad67 Bug 1088489 - Tests for pseudo ruby box generation. r=bz
--HG--
extra : rebase_source : 1a23f85749bb495f21aa9d356bbbc35174dcb442
2014-12-14 17:18:29 +11:00
Xidorn Quan 56d367a884 Bug 1088489 - Implement ruby pseudo box generation. r=bz
--HG--
extra : rebase_source : 3d722db5a9f896a7083d385e65f0d1d7b694d9e2
extra : source : c7f276c6f764aa28e8b178230f0a9f12372f1db0
2014-12-08 21:45:56 +11:00
Xidorn Quan de448565ef Bug 1088489 - Add const overload of item() & add assertion in them. r=bz
--HG--
extra : rebase_source : 352b5fde0b0e35fa9474a4afaddc4da13c535383
2014-12-14 09:19:46 +11:00
Xidorn Quan 6213868258 Bug 1088489 - Separate wrapping frame construction items into a method. r=bz
--HG--
extra : rebase_source : bee1cea6a9f11399369fbebc0b17d96e0165841e
extra : source : 9950c01c8d222d2df50667ba44d0d821c321574c
2014-12-08 21:45:56 +11:00
Mats Palmgren 02e339c7a4 Skip the reftest for bug 1108104 on B2G. r=me 2014-12-14 21:33:54 +00:00
Mats Palmgren 927e38252b Bug 1108104 - reftest. 2014-12-14 17:22:07 +00:00
Mats Palmgren 60c0ffbe24 Bug 1108104 part 5 - Don't report a reflow as NS_FRAME_NOT_COMPLETE when it's actually complete. Because it will give the frame the wrong BSize. r=roc 2014-12-14 17:22:07 +00:00
Mats Palmgren 2bc1835a22 Bug 1108104 part 4 - Don't use the current next-sibling as a reference point where to continue the loop, since that frame may be pushed if it's also the next-in-flow. Instead, use the frame from the last iteration (the prev-sibling) and query its (potentially new) next-sibling. r=roc 2014-12-14 17:22:06 +00:00
Mats Palmgren 1a7b0cc935 Bug 1108104 part 3 - Deal with the placeholder being on a different page than the out-of-flow frame. r=roc 2014-12-14 17:22:06 +00:00
Mats Palmgren 4cad806382 Bug 1108104 part 2 - Move incremental reflow hack from nsSimplePageSequenceFrame::Reflow to nsTableOuterFrame. This is to avoid breaking pages that don't even use tables. r=roc 2014-12-14 17:22:06 +00:00
Mats Palmgren a222d49570 Bug 1108104 part 1 - Remove mFixedContainingBlock. Make GetAbsoluteContainingBlock() check for an ancestor with the right frame type instead. r=roc 2014-12-14 17:22:06 +00:00
Xidorn Quan a09ed65ad4 Bug 1107721 - Link line layouts of ruby annotations to those of their ruby base. r=dbaron
--HG--
extra : source : 40765e88bed63f79923291cff4af4e74d86b1681
extra : histedit_source : 75244b84b9bcbdfe0f06b452cb6de7ab65b11e79
2014-12-10 10:04:15 +11:00
Xidorn Quan 4d85275dd5 Bug 1107721 - Move BeginSpan down for attaching annotation containers to the base container. r=dbaron
--HG--
extra : source : 40b7661585537768ccc5bbac9c99ff70713815c9
extra : histedit_source : d9cd1403ce80c070fc3e3a1d66f9e9114bc0f1e3
2014-12-11 15:13:42 +11:00
Xidorn Quan f9c28c207a Bug 1107721 - Add method for attaching frame data to base line layout. r=dbaron
--HG--
extra : source : 82fe55e167562868c2a9056e08913f630a84fe48
2014-12-10 09:49:45 +11:00
Xidorn Quan 87cab6fb46 Bug 1107721 - Create PFD for root span. r=dbaron
--HG--
extra : source : 1b8c074e34182cd77158e1c09defe1231c25248e
2014-12-10 09:40:14 +11:00
Xidorn Quan 8be20d9f71 Bug 1107721 - Handle unlinking pfds linked to other levels. r=dbaron
--HG--
extra : source : c7f097390cb910d35fc09cc9cd8660d56fcccca2
2014-12-09 09:30:23 +11:00
Xidorn Quan 352948f6fe Bug 1107721 - Separate pfd unlinking code to method UnlinkFrame. r=dbaron
The comment of UnlinkFrame says that the PFDs of linked annotations
won't be freed immediately, which is not implemented in this patch,
but in the next patch.

--HG--
extra : source : 813840414cb9140b71ae3f337a96236689dac705
2014-12-09 09:14:49 +11:00
Xidorn Quan 2c3631601f Bug 1107721 - Add pointers to PerFrameData of different level. r=dbaron
--HG--
extra : source : 151ebfa898e36d36e5d7216a277ad8f1faa7fa5c
2014-12-05 15:57:12 -08:00
Xidorn Quan 347abfe9b0 Bug 1107721 - Allocate PerFrameData & PerSpanData from the base line layout. r=dbaron
--HG--
extra : source : 2444a14f27efcb9d69417d3333dfe809572b5dd0
2014-12-05 15:31:42 -08:00
Xidorn Quan 3ba35be862 Bug 1107721 - Add pointer to the base line layout in nsLineLayout. r=dbaron
--HG--
extra : source : 7b1b90d6bba043a68a84bb2faeba95096fa15ca5
2014-12-05 15:05:51 -08:00
Wes Kocher 2eb72eb486 Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
Wes Kocher 58cb48da88 Merge fx-team to m-c a=merge 2014-12-12 17:18:42 -08:00
Wes Kocher e4ad7391ee Merge b2g-inbound to m-c a=merge 2014-12-12 16:43:37 -08:00
Ehsan Akhgari 09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Daniel Holbert 2f2877f9a8 (no bug) Fix typo (s/it's/its/) in nsSubDocumentFrame.h code-comment. DONTBUILD because comment-only 2014-12-12 13:40:00 -08:00
Tom Tromey 18bb6d0861 Bug 1050770 - Add paint details to timeline. r=smaug, r=mattwoodrow 2014-12-11 10:40:00 -05:00
Morris Tseng 7bb01f8155 Bug 1092888 - Part 5: Add a parameter to toggle context menu when calling long_press. r=mdas 2014-11-16 18:52:00 -05:00
Morris Tseng 15225b418a Bug 1092888 - Part 4: Flip testing function for non-editablt test at test_selectioncarets.py. r=roc 2014-11-10 19:47:00 -05:00
Morris Tseng 9dbb731e46 Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc 2014-11-10 02:04:00 -05:00
Morris Tseng ad3caa7704 Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc 2014-12-07 18:52:00 -05:00
Wes Kocher 6d3a321489 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00
Ting-Yu Lin f674a2ec9b Bug 1067728 - Part 5 - Dispatch updateposition after scroll end and reflow. r=roc, sr=smaug
Add a selection state "updateposition" and a field "visible" to indicate
that the current selection's boundingClientRect or visible is changed.
We dispatch this state after scrolling or reflowing is done.
2014-12-10 01:50:00 +01:00
Ting-Yu Lin 09c7f0faf5 Bug 1067728 - Part 4 - Refactor two functions in SeletionCarets. r=roc
Make DispatchSelectionStateChangedEvent() and GetSelectionBoundingRect()
become member functions of SeletionCarets so that they are easier to use
in later patches.
2014-12-08 01:55:00 +01:00
Ting-Yu Lin 9ce9133a81 Bug 1067728 - Part 3 - Expose FindNearestCommonAncestorFrame. r=roc 2014-12-10 19:52:00 +01:00
Ting-Yu Lin 048aed18a4 Bug 1067728 - Part 2 - Hide start or end selection caret if it's out of scroll frame. f=mtseng, r=roc
nsLayoutUtils::IsRectVisibleInScrollFrames() had been used by
TouchCaret. We do the similar check for SelectionCarets.
2014-12-08 01:54:00 +01:00