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