Xidorn Quan
68e4d23fbf
Bug 934072 - Part 3: Implement complex CJK ideographic counter styles. r=jfkthame
2013-12-02 12:51:26 -05:00
Xidorn Quan
8dbe908ce9
Bug 934072 - Part 2: Add counter style cjk-decimal. r=jfkthame
2013-12-02 12:51:26 -05:00
Xidorn Quan
98b1f89681
Bug 934072 - Part 1: Support other suffixes in numbered bullet. r=jfkthame
2013-12-02 12:51:25 -05:00
James Kitchener
aa4fcaba6a
Bug 114365 - Textrun transformations and TextFrame changes for mathvariant. r=roc
2013-12-02 11:49:27 -05:00
William Chen
e1156f34cd
Bug 806506 - Part 1: Implement ShadowRoot interface with DOM accessor methods. r=mrbkap,ehsan
2013-12-02 02:26:11 -08:00
Robert O'Callahan
a48288acad
Bug 931460. Part 1: When a <legend>'s frame is reparented to the <fieldset>, update StickyScrollContainers to match if necessary. r=mats
...
--HG--
extra : rebase_source : 05a224b4cf49b93c529a476f5c667d91a6e9f3e5
2013-11-23 22:48:26 +13:00
Mats Palmgren
7e31ce3c3c
Bug 943448 - Adjust assertion counts accordingly.
2013-11-30 21:45:20 +00:00
Ms2ger
9e571865d3
Bug 939522 - Part a: move some mochitests in layout/{generic, style} to manifests; r=heycam
2013-11-28 15:27:03 +01:00
Ms2ger
a16ff2b7ac
Bug 937224 - Part e: Move LOCAL_INCLUDES to moz.build in layout/; r=mshal
2013-11-28 15:23:10 +01:00
Cameron McCormack
bd0078cfc1
Bug 922669 - Part 4: Pass in anonymous content nodes when restyling any pseudo-elements that can match user action pseudo-classes. r=bz
2013-11-28 17:46:38 +11:00
Daniel Holbert
293eb0cabf
Bug 943509: Explicitly check for unconstrained availableHeight, when checking whether bottom padding fits, at end of flex container reflow. r=mats
2013-11-26 17:14:48 -08:00
Daniel Holbert
f7c792d03b
Bug 939896 part 9: Use cached sums of flexbox inner/outer main sizes in ResolveFlexibleLengths, and rename a variable. r=mats
2013-11-26 10:27:53 -08:00
Daniel Holbert
161bd27105
Bug 939896 part 8: Make FlexLine store the sums of its items' hypothetical inner & outer main sizes. r=mats
2013-11-26 10:27:52 -08:00
Daniel Holbert
4c8bc74531
Bug 939896 part 7: Move ResolveFlexibleLengths() to live on FlexLine. r=mats
2013-11-26 10:27:52 -08:00
Daniel Holbert
648997d8bb
Bug 939896 part 6: Make ComputeFlexContainerMainSize take a FlexLine. r=mats
2013-11-26 10:27:52 -08:00
Daniel Holbert
d108bffd8c
Bug 939896 part 5: Move PositionItemInMainAxis to live on FlexLine, and make it position all the line's items. r=mats
2013-11-26 10:27:52 -08:00
Daniel Holbert
bb73dce218
Bug 939896 part 4: Move PositionItemInCrossAxis to live on FlexLine, and make it position all the line's items. r=mats
2013-11-26 10:27:52 -08:00
Daniel Holbert
038b8568d7
Bug 939896 part 3b: Keep track of line cross-size and baseline-alignment offset in FlexLine instead of in (more ephemeral) SingleLineCrossAxisPositionTracker. r=mats
2013-11-26 10:27:51 -08:00
Daniel Holbert
2980590329
Bug 939896 part 3a: Make FlexItem compute its own baseline offset from cross-start edge (and support bottom-to-top cross axis). r=mats
2013-11-26 10:27:51 -08:00
Daniel Holbert
6c2d7335f6
Bug 939896 part 2: Make ComputeLineCrossSize take a FlexLine. r=mats
2013-11-26 10:27:51 -08:00
Daniel Holbert
3c494be356
Bug 939896 part 1: Introduce a FlexLine object, which manages a nsTArray of FlexItems on a single line in a flex container. r=mats
2013-11-26 10:27:50 -08:00
Frédéric Wang
64f2218f41
Bug 415413 - Incorrect widths and heights of MathML with italics in table cells. r=karlt, r=roc
2013-11-25 09:20:20 -05:00
Daniel Holbert
ebb7b515af
(no bug) Update names for 'justify-content' property values in 2 comments within nsFlexContainerFrame.cpp. (comment-only, DONTBUILD)
2013-11-25 00:22:30 -08:00
John Daggett
d1eb2f6076
Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame
2013-11-25 13:59:56 +09:00
Matt Woodrow
854397553e
Bug 882384 - Make sure the status panel always get its own layer. r=roc
2013-11-25 14:59:00 +13:00
Daniel Holbert
41073e8f62
(no bug) clarify a code comment about flexbox layout. (comment-only, DONTBUILD)
2013-11-23 23:55:27 -08:00
Mats Palmgren
8dcfe21a2d
Bug 941220 - Avoid calling GetVisualOverflowRectRelativeToSelf() multiple times to improve performance. r=roc
2013-11-23 21:47:26 +00:00
Daniel Holbert
1b1665268b
Bug 941916 followup: Drop another unused param "aFlexContainerFrame" from SingleLineCrossAxisPositionTracker constructor. r=trivial (essentially the same as previous patch)
2013-11-23 11:07:33 -08:00
Ryan VanderMeulen
d7e49cc136
Merge b-i to m-c.
2013-11-22 15:35:31 -05:00
Botond Ballo
16e9267e41
Bug 912666 - Force scroll frames for 'scrollgrab' elements to always create a real scrollable layer rather than a scroll info layer. r=roc,tn
2013-10-23 05:04:42 -04:00
Daniel Holbert
4433cb3b07
Bug 811024 part 4: Don't ask for bottom border/padding space on a flex container if it's going to get a continuation. r=mats
2013-11-21 10:20:02 -08:00
Daniel Holbert
fa495fecc6
Bug 811024 part 3: Split horizontal flex containers whose cross size (height) is larger than available height (and refactor cross-size computation). r=mats
2013-11-21 10:20:01 -08:00
Daniel Holbert
e4fd022b63
Bug 811024 part 2: Split vertical flex containers whose main size (height) is larger than available height. r=mats
2013-11-21 10:20:01 -08:00
Trevor Saunders
bb5ea2186e
bug 939049 - get rid of useless QIs r=smaug
2013-11-15 11:32:12 -05:00
Mike Hommey
a65383e1e9
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Jonathan Watt
2e17e2ebe4
Bug 889736, part 5 - Remove nsISVGGlyphFragmentNode and nsISVGGlyphFragmentLeaf. r=heycam
2013-11-18 14:29:53 +00:00
Jonathan Watt
9ab25aeece
Bug 889736, part 4 - Remove nsSVGTextContainerFrame. r=heycam
2013-11-18 14:29:53 +00:00
Jonathan Watt
769a3a3091
Bug 889736, part 3 - Remove nsSVGTSpanFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
5dc11fc229
Bug 889736, part 2 - Remove nsSVGTextPathFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
159a62b18f
Bug 889736, part 1 - Remove nsSVGTextFrame and nsSVGGlyphFrame. r=heycam
2013-11-18 14:29:51 +00:00
Robert O'Callahan
ac362be738
Bug 919144. Part 9: Move FrameLayerBuilder::ContainerParameters to mozilla::ContainerLayerParameters. r=mattwoodrow
...
This is to avoid having to #include FrameLayerBuilder.h in nsLayoutUtils.h in the next patch.
--HG--
extra : rebase_source : 5f3c3ae2785267949766ae094414781133d4ce44
2013-09-27 18:01:16 +12:00
Robert O'Callahan
c7ac6cec44
Bug 919144. Part 8: Delete lots of code that's no longer needed. r=mattwoodrow
...
I never liked nsDisplayListBuilder::IsFixedItem anyway, its behavior and
naming was confusing. Also, it assumed there's only one viewport displayport,
on the rootmost document, and that's a bad assumption in general.
We're able to remove calls to ForceVisiblityForFixedItem because FrameLayerBuilder
is now responsible for inflating the visible region of the fixed-pos layers.
--HG--
extra : rebase_source : e93d8e25d2f5c7f3e167e47203d961e6b4293b81
2013-09-27 18:01:16 +12:00
Robert O'Callahan
4e3b98bb4e
Bug 919144. Part 7: Make fixed-pos frames with displayports animated geometry roots, and make FrameLayerBuilder responsible for setting fixed-pos layer parameters instead of nsDisplayFixedPosition. r=mattwoodrow
...
This patch also makes FrameLayerBuilder responsible for setting the visible region
of a fixed-pos layer to the displayport intersected with the draw-region of
the layer. This will let us remove some displaylist code in later patches.
We add special handling to GetAnimatedGeometryRootFor for nsDisplayScrollLayers,
to match what nsDisplayList::IsFixedItem does.
--HG--
extra : rebase_source : f9258243fe666d5dee33c13a88e596bbed8e2c1c
2013-09-27 18:01:16 +12:00
Robert O'Callahan
cbf2dad73d
Bug 919144. Part 2: Force creation of a layer for every viewport with a displayport. r=mattwoodrow
...
This ensures that for all fixed-pos content attached to a viewport with a
displayport, the viewport has a layer and the fixed-pos content's layer will be
a direct child of the viewport's layer.
--HG--
extra : rebase_source : da35bacad5518b94cb0b92a198d4f607cede4ac9
2013-09-27 17:56:00 +12:00
Mats Palmgren
71b6a583a2
Bug 916143 - Try to fix test_movement_by_words.html on Win8 PGO with a waitForFocus
2013-11-17 15:33:48 -08:00
Ehsan Akhgari
4837829df4
Bug 938849 - Build layout/generic in unified mode; r=roc
2013-11-15 08:19:02 -05:00
Robert O'Callahan
2e02d90dd4
Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
...
--HG--
extra : rebase_source : 24e7900efdb476a0533808956b9604d144e4db89
2013-09-09 17:08:41 -07:00
Daniel Holbert
1329f6b328
(no bug) Remove some obsolete/incorrect comments from nsFlexContainerFrame.cpp. comment-only, DONTBUILD
2013-11-15 20:41:48 -08:00
Ryan VanderMeulen
25f4dc9657
Merge m-c to inbound on a CLOSED TREE.
2013-11-14 20:58:52 -05:00
Ryan VanderMeulen
b435761165
Merge b2g-inbound to m-c on a CLOSED TREE.
2013-11-14 20:57:32 -05:00
Daniel Holbert
777d4a236f
(no bug) Fix a few whitespace issues in nsFlexContainerFrame.*
...
DONTBUILD because whitespace-only
2013-11-12 18:50:39 -08:00
Daniel Holbert
b0fd092870
Bug 937858: Rename border-only variable from "bp" to "border", to avoid confusion with border/padding. r=mats
2013-11-12 17:14:50 -08:00
Corey Ford
98358e22c2
Bug 925259: Avoid sticky positioning inner table elements. r=dholbert
2013-11-12 12:46:47 -08:00
Botond Ballo
6b767514e1
Bug 936277 - Do not allow subframe displayports to get clipped away. r=tn
2013-11-07 19:36:59 -05:00
Mats Palmgren
5669ac8cc5
Bug 931853 - Adjust the frame's vertical position to account for a negative margin larger than its height, in quirks mode. r=roc
2013-11-12 18:38:29 +00:00
Abhishek Arya
2722ff0bf6
Bug 784600 - Crashtest.
2013-11-12 14:37:22 +00:00
miaubiz@gmail.com
b8f9e27cdb
Bug 777838 - Crashtest.
2013-11-12 14:37:22 +00:00
Mats Palmgren
b3b295a6eb
Bug 654002 - crash tests.
2013-11-12 14:37:22 +00:00
Jesse Ruderman
1dab61cc13
Bug 537645 - Crashtest.
2013-11-12 14:37:22 +00:00
Jesse Ruderman
48227959ed
Bug 489477 - Crashtest.
2013-11-12 14:37:22 +00:00
Martijn Wargers
253ede2d2a
Bug 463785 - Crashtest.
2013-11-12 14:37:22 +00:00
Ryan VanderMeulen
f39e400adc
Bug 937847 - Skip layout/generic/crashtests/784600.html on Android due to intermittent failures.
2013-11-13 08:15:11 -05:00
Jonathan Kew
10cb6945e2
bug 909344 - testcase 398332-3.html might not trigger assertions. r=roc
2013-11-12 12:57:39 +00:00
Jonathan Kew
32d9c9c699
bug 909344 - load testcase 388367-1 as a crashtest rather than reftest. r=roc
...
--HG--
rename : layout/reftests/bugs/388367-1.html => layout/generic/crashtests/388367-1.html
2013-11-12 12:57:22 +00:00
Daniel Holbert
2699bc1b56
Bug 937298 part 2: De-virtualize nsIFrame::GetOffsetFromView, since it only has one implementation. r=mats
2013-11-11 23:57:44 -08:00
Daniel Holbert
956d278394
Bug 937298 part 1: Remove always-NS_OK return value from nsIFrame::GetOffsetFromView. r=mats
2013-11-11 23:57:42 -08:00
Daniel Holbert
2e17cbd5ce
Bug 936100 part 1: Adjust reftests and crashtests to no longer bother with flexbox pref. r=mats
2013-11-09 07:53:02 -08:00
Mike Hommey
6b4f0058ce
Bug 935387 - Remove non recursed install targets. r=mshal
2013-11-07 10:37:45 +09:00
Neil Deakin
1fdb661cb9
Bug 545156, Expose nsPoupSetFrame's ::popupList, r=mats
2013-11-04 11:22:20 -05:00
Robert O'Callahan
e093640250
Backout changeset 3fb9ea77d858 for bug 876321 due to test failures (CLOSED TREE)
...
--HG--
extra : rebase_source : 6b21bf36f9a8bd73bdd72ddfb5fe8c25e7854071
2013-11-03 23:14:26 -08:00
Robert O'Callahan
81c6b33304
Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
...
--HG--
extra : rebase_source : f92bcf0b60cadefa0197cdffcd6dd9b4eaa6b2d5
2013-09-09 17:08:41 -07:00
Robert O'Callahan
f29e5f0bf3
Bug 931432. Rename nsGfxScrollFrameInner to mozilla::ScrollFrameHelper, and mInner fields to mHelper. r=mats
...
--HG--
extra : rebase_source : 14410be7a6c41a85489f8a802c88a309ddd0fe60
2013-10-29 15:27:50 +13:00
John Daggett
a09ce34653
Bug 933638 - move nsTextFrameTextRunCache to nsTextFrame.h r=heycam
2013-11-03 11:33:23 +09:00
Robert O'Callahan
3876c8cda2
Bug 911889. Part 3: Create nsLayoutUtils::HasAnimations, and suppress opacity:0 optimizations whenever there's any opacity animation even if it's not using the compositor. r=dbaron
2013-09-04 23:30:57 +12:00
Robert O'Callahan
2709003286
Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
...
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.
2013-09-04 23:30:57 +12:00
Timothy Nikkel
52ab14a4c0
Bug 929915. Fix IsScrollingActive on scroll frames to only be true if we actually build a scrollable layer. r=roc
2013-11-01 22:47:21 -05:00
Daniel Holbert
61f3c9d998
Bug 903880 part 4: Resolve stretched cross-size early, if we know the container's cross size, and use the result when establishing main size. r=dbaron
2013-10-31 19:39:02 -07:00
Daniel Holbert
746052c37e
Bug 903880 part 3: Convert "ResolveStretchedSize" into a member-function on FlexItem. r=dbaron
2013-10-31 19:39:02 -07:00
Daniel Holbert
20409f3205
Bug 903880 part 2: Resolve the flex base size produced by "height:auto" *after* we create a FlexItem object. r=dbaron
2013-10-31 19:39:02 -07:00
Daniel Holbert
b029a624fa
Bug 903880 part 1: Create a helper-function to set a flex item's base size (and update its hypothetical main size). r=dbaron
2013-10-31 19:39:02 -07:00
Ed Morley
77ca47c050
Bug 932296 - Disable test_bug448987.html for being too sensitive to timing changes
...
CLOSED TREE
2013-10-29 14:29:11 +00:00
Kartikaya Gupta
b0a97ce747
Bug 732971 - Create a new layer type for subdocuments with a resolution. r=tn
...
The new nsDisplayResolution layer type is created for any subdocument whose
presShell specifies a non-1.0 resolution. This is specifically needed for
platforms such as Android and Metro, where the presShells corresponding to
the tabs (which have non-1.0 resolutions) are not the root presShell.
2013-10-29 09:27:15 -04:00
Phil Ringnalda
98204c9e49
Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
...
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Robert O'Callahan
b3d2ee0341
Bug 911889. Part 3: Create nsLayoutUtils::HasAnimations, and suppress opacity:0 optimizations whenever there's any opacity animation even if it's not using the compositor. r=dbaron
...
--HG--
extra : rebase_source : b3ffe185686e38226e0979060a74669271e1c2d5
2013-09-04 23:30:57 +12:00
Robert O'Callahan
58a3ced7c4
Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
...
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.
--HG--
extra : rebase_source : e69b8e7a95d36720bd38d74f0789ede603e58a09
2013-09-04 23:30:57 +12:00
Phil Ringnalda
a1f80ad10b
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
fd4a9f4426
Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical
2013-10-27 17:53:29 -04:00
David Zbarsky
b28c18df90
Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical
2013-10-27 17:53:26 -04:00
Mats Palmgren
b3592d49a1
Bug 929991 - Layout implementation of 'text-align: true X'. r=roc
2013-10-27 20:56:32 +00:00
Robert O'Callahan
3f350d1ef3
Bug 928607. Ensure that nsGfxScrollFrameInner::UpdatePosition clips the overflow area of its children. r=tn
...
--HG--
extra : rebase_source : 2c8e33393cf73b6760cd26017c58a44d209b8e9b
2013-10-22 14:10:31 +02:00
Benoit Girard
cae43fed6c
Backout 9861229c1b15 for test. CLOSED TREE
2013-10-26 01:07:08 +02:00
Benoit Girard
c4a9122d2f
Bug 931082 - LayerActivityTracker shouldn't force invalidate. r=roc
2013-10-25 22:45:51 +02:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Kartikaya Gupta
c94501ab5f
Bug 928441 - Don't clip to the scrollport on root scrollframes if the CSS viewport has been overridden. r=tn,roc
2013-10-24 18:31:26 +02:00
Brian O'Keefe
4c98f61956
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Simon Montagu
74c3067fe1
Add new bidi control characters defined in Unicode 6.3. Bug 922530, r=jfkthame
2013-10-02 16:07:02 +03:00
Mike Hommey
61124c1afc
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Ed Morley
7a743fbc80
Backed out changeset bcf1282f3f4b (bug 928607)
2013-10-23 16:22:47 +01:00
Robert O'Callahan
128d46836b
Bug 928607. Ensure that nsGfxScrollFrameInner::UpdatePosition clips the overflow area of its children. r=tn
...
--HG--
extra : rebase_source : dfdd0ee95b02cfea05341592384ed5f51f0cc782
2013-10-22 14:10:31 +02:00
Masayuki Nakano
15be48ff2e
Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc
2013-10-22 22:27:36 +09:00
Wes Kocher
6559234e89
Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
...
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Arnaud Bienner
28e6e2c644
Bug 875275 part 1: Implement layout support for <input type="color">. r=dbaron,dholbert
2013-07-10 00:25:27 +02:00
Masayuki Nakano
381b632044
Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc
2013-10-22 22:27:36 +09:00
Markus Stange
14e4217296
Bug 929362 - When refusing compositor animation during BuildLayer, set a property on the frame that disables all async animations on it forever. r=roc
...
--HG--
extra : rebase_source : 98c9b690a4842c19314dd46f5e531601b77fe527
2013-10-22 12:30:45 +02:00
Masayuki Nakano
40483897f3
Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug
2013-10-22 17:55:20 +09:00
Kartikaya Gupta
4d5196d5fa
Bug 906043 - Enable async subframe scrolling for Metro. r=tn
2013-10-18 15:56:51 -04:00
Masayuki Nakano
ef2ba2f3e7
Bug 920425 part.27 Use mozilla::WidgetEvent::AsInputEvent() r=smaug
2013-10-18 15:10:26 +09:00
Timothy Nikkel
93e4b6b2d2
Bug 916125. Clip scroll layer items to the scroll port so the resulting layers have the proper clip. r=roc
2013-10-17 17:02:42 -05:00
Robert O'Callahan
b73ccf9edd
Bug 926706. When nsGfxScrollFrameInner::UpdateOverflow decides we need to update the scrollbars, don't reflow the scrollframe with NS_FRAME_IS_DIRTY since that reflows all descendants. Just reflow the frame itself and don't dirty anything else. r=tn
2013-10-17 23:05:15 +13:00
Masatoshi Kimura
ebf15cb668
Bug 926580 - Kill unused layout.enable_japanese_specific_transform pref. r=roc
2013-10-15 19:48:48 +09:00
Phil Ringnalda
7c556eefde
Bug 859424 - Disable layout/generic/crashtests/309322-4.html for loading a bmo attachment as an img src
2013-10-12 15:20:21 -07:00
André Reinald
d6cc051cc7
Bug 868648: Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. Credits to Markus for his help getting this right. r=mstange,masayuki,smichaud
2013-08-16 23:17:40 +02:00
Steven Michaud
061bf53f0e
Bug 925411 - Temporarily backout patch for bug 868646 for causing this bug. r=spohl
2013-10-10 16:22:02 -05:00
Daniel Holbert
cffbdc9d38
Backout e67dad88f860 and assertion-count-tweak followups (bug 914919), since including nsDebug.h in gfx/2d causes issues with some skia headers.
2013-10-09 17:03:35 -07:00
André Reinald
aecacdd464
Bug 868648 - Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. r=mstange, r=masayuki
...
Credits to Markus for his help getting this right.
2013-08-16 23:17:40 +02:00
Birunthan Mohanathas
967e556c1c
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
...
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Ehsan Akhgari
b6bef348c1
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Masatoshi Kimura
02cab17dff
Bug 922931 - Display a placeholder for broken images if the alt attribute is unset even in no-quirks mode. r=bz
2013-10-06 05:25:49 +09:00
Matt Woodrow
687c4fbd0a
Bug 916034 - remove + character from a broken rebase. r=bustage
2013-10-02 22:35:19 +13:00
Matt Woodrow
47b68f6760
Bug 916034 - Use a similar surface rather than an image surface for the canvas background cache when using azure. r=ajones
2013-10-02 22:12:34 +13:00
Masayuki Nakano
e46624e0ca
Bug 920377 part.32 Get rid of nsMouseEvent r=roc
2013-10-02 15:38:27 +09:00
Daniel Holbert
9265cd3a98
Bug 919865: Replace #ifdef DEBUG with DebugOnly<> in a few spots in layout/generic. r=mats
2013-10-01 22:02:23 -07:00
Masayuki Nakano
5e5853070a
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Masayuki Nakano
d9fe18d02f
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Matt Woodrow
d188bf5f9a
Bug 921910 - Invalidate when we change the frame of an asynchronous ImageContainer that is part of a main-thread layer tree. r=roc
2013-10-02 16:05:49 +13:00
Robert O'Callahan
bd8d9c7482
Bug 898444. Wrap nsDisplayScrollLayer only around the scrolled content. r=tn
...
--HG--
extra : rebase_source : 828c5e4a33a26d958117357b439955cfb8dee1dd
2013-10-01 22:29:24 -04:00
Jonathan Watt
1d369668c1
Bug 917386 - Make frame construction handle trees of nsIAnonymousContentCreator::ContentInfo objects, including support for associating CSS pseudo-elements with deeply nested anonymous elements. r=bz
2013-10-01 22:51:29 +01:00
Martijn Wargers
e74da71097
Bug 918258 - Convert reftests 448987.html and 449653-1.html to mochitests. r=dholbert
...
--HG--
rename : layout/reftests/bugs/448987.html => layout/generic/test/file_bug448987.html
rename : layout/reftests/bugs/448987-ref.html => layout/generic/test/file_bug448987_ref.html
rename : layout/reftests/bugs/449653-1.html => layout/generic/test/file_bug449653_1.html
rename : layout/reftests/bugs/449653-1-ref.html => layout/generic/test/file_bug449653_1_ref.html
2013-09-24 15:01:00 +02:00
Ehsan Akhgari
7e5b2154cf
Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Ehsan Akhgari
8778f7536d
Bug 921753 - Part 3: Avoid #including nsStyleStructInlines.h in nsHTMLReflowState.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1362 to 1268.
2013-10-01 17:01:49 -04:00
Ehsan Akhgari
6c364e9615
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Ehsan Akhgari
2fb9794854
Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Masayuki Nakano
512bc33b30
Bug 920377 part.26 Get rid of nsInputEvent r=roc
2013-10-01 16:23:02 +09:00
Masayuki Nakano
9b8afa1588
Bug 920377 part.18 Get rid of nsTextRangeStyle r=roc
2013-10-01 16:22:59 +09:00
Daniel Holbert
72c8a88724
Bug 922410: Consolidate loops in MainAxisPositionTracker constructor. r=mats
2013-09-30 20:30:24 -07:00
Cameron McCormack
05da3c0fd6
Bug 921716 - Don't paint column rules when element is visibility:hidden. r=sjohnson
2013-10-01 11:30:06 +10:00
Daniel Holbert
7c613d5a1a
Bug 921522: Use already-established flex container content-box main size to determine packing space, instead of checking reflow state. r=mats
...
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1a.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1b.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1a.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1b.xhtml
2013-09-30 16:38:36 -07:00
Ehsan Akhgari
0a3a2ee94a
Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
...
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
places which require it implicitly.
2013-09-30 17:26:04 -04:00
James Kitchener
101f48c289
Bug 919164 - Rename TEXT_FORCE_TRIM_WHITESPACE to TEXT_IS_IN_TOKEN_MATHML. r=fredw, r=roc
2013-09-30 11:55:51 -04:00
Gregory Szorc
cc1da2c22a
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Ed Morley
038cae0901
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Gregory Szorc
483a776413
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Daniel Holbert
b04170dc24
Bug 913759 part 1: Treat buttonContent frames as block wrappers, so percent heights inside a button can resolve against button's height (minus focus border/padding). r=bz
2013-09-28 10:24:00 -07:00
Nathan Froyd
b095d63d5d
Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan
2013-09-10 16:56:05 -04:00
Masayuki Nakano
96af2de548
Bug 920377 part.11 Get rid of nsScrollPortEvent r=roc
2013-09-27 15:20:56 +09:00
Masayuki Nakano
0d1e72a8e7
Bug 920377 part.10 Get rid of nsScrollAreaEvent r=roc
2013-09-27 15:20:56 +09:00
Blake Kaplan
919570efe5
Bug 917515 - Check for null before checking the document. r=ehsan
2013-09-26 18:42:53 +02:00
L. David Baron
0754b253b8
Bug 828312 patch 11: Don't generate change hints for restyling of later continuations, since the handling of the change hints from the first continuation is required to do the necessary work. r=bzbarsky
...
This depends on bug 898333 in order to avoid causing:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/test_focused_link_scroll.xul | Assertion count 1 is greater than expected range 0-0 assertions.
due to the assertion:
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 62
The assertion count change in layout/generic/crashtests/571995.xhtml is
expected because it changes us from having 7 of:
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 62
with the stack:
mozilla::ElementRestyler::CaptureChange(nsStyleContext*, nsStyleContext*, nsChangeHint) [layout/base/nsChangeHint.h:191]
mozilla::ElementRestyler::RestyleSelf(nsRestyleHint) [layout/base/RestyleManager.cpp:2304]
to only having one. This is expected since this patch changes
RestyleSelf to only call CaptureChange for the first continuation or
block-in-inline sibling.
2013-09-25 12:28:08 -07:00
L. David Baron
4b9bce2616
Bug 828312 patch 9a: Make sticky positioning handle block-in-inline splits correctly. r=dholbert
...
This assumes that the specification for how position:sticky behaves for
block-in-inline splits matches the specification for position:relative,
in other words, matches
http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level .
It's also necessary for patch 9b since the new rule for handling of
style change hints is that a style change hint applies to all
continuations and all block-in-inline siblings ("special siblings").
The change in StickyScrollContainer::GetScrollRanges is really the fix
for bug 918994, but adjusted for the change here to use block-in-inline
siblings ("special siblings") in addition to continuations.
2013-09-25 12:28:08 -07:00
Daniel Holbert
179d9a65f6
Bug 919813 part 2: Upgrade NS_ERROR to MOZ_ASSERT in nsFrame's impl of SetPrevInFlow, SetNextInFlow, SetPrevContinuation, SetNextContinuation. rs=mats
2013-09-25 10:54:56 -07:00
Daniel Holbert
b99490dfd5
Bug 919813 part 1: Remove never-checked return value from frame methods SetPrevInFlow, SetNextInFlow, SetPrevContinuation, SetNextContinuation. r=mats
2013-09-25 10:54:55 -07:00
Birunthan Mohanathas
4198afdd73
Bug 919729 - Remove unnecessary MOZILLA_INTERNAL_API checks from nsIFrame.h. r=bz
2013-09-25 09:48:20 -04:00
Mats Palmgren
a7a36b9304
Bug 919318 - A few cosmetic changes after dropping the Get prefix on some methods. r=dholbert
2013-09-25 11:42:35 +00:00
Mats Palmgren
5a3cdd8297
Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert
2013-09-25 11:42:34 +00:00
Masayuki Nakano
648570f10b
Bug 912956 part.18 Remove nsGUIEvent.h r=roc
2013-09-25 20:21:22 +09:00
Masayuki Nakano
ad647cc182
Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc
2013-09-25 20:21:20 +09:00
Masayuki Nakano
d37d273b83
Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc
2013-09-25 20:21:19 +09:00
Masayuki Nakano
f827f4667b
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
Daniel Holbert
c191b38ac7
Bug 919871: Make .cpp files in layout/generic #include their corresponding .h file first. r=mats
2013-09-24 18:43:43 -07:00
Benoit Jacob
c1d7f88886
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Masayuki Nakano
9586dcc4ba
Bug 912956 part.12 All event utils (macros and inline methods) should be methods of mozilla::WidgetEvent r=roc
2013-09-24 19:04:16 +09:00
Masayuki Nakano
2a465d3e36
Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
...
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Daniel Holbert
94a7238fff
(no bug) Replace two c-style casts in nsFrame.cpp with const_cast<>. (no review; trivial/non-functional)
2013-09-23 21:04:08 -07:00
Ehsan Akhgari
37bbcfc9c9
Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc
2013-09-23 07:55:35 -04:00
Daniel Holbert
52a24bec16
Bug 918519 part 2: Replace GetMainComponent/GetCrossComponent invocations with macros to avoid unnecessarily constructing nsSize() on-the-fly. r=mats
2013-09-20 13:26:52 -07:00
Daniel Holbert
7935e04c63
Bug 918519 part 1: Add macros GET_MAIN_COMPONENT and GET_FLEX_COMPONENT to nsFlexContainerFrame.cpp, and use them to implement existing utility methods. r=mats
2013-09-20 13:26:52 -07:00
Ehsan Akhgari
d6d42640c3
Bug 886781 follow-up: Disable the test properly, we can't return from the global scope
...
Landed on a CLOSED TREE
2013-09-19 11:49:04 -04:00
Ed Morley
89543866cc
Bug 886781 - Disable test_movement_by_characters.html on Windows 8 for too many intermittent failures
...
--HG--
extra : rebase_source : 608a5680e1e7bcd9ab87b732b0366512abbc1529
2013-09-19 14:25:23 +01:00
Corey Ford
1a19b79ce1
Bug 904197 - Use the union of continuations' rects in sticky positioning calculations. r=dholbert
...
Reftest inline-3.html fails because handling the sticky element's margin correctly will take more work; similarly, border/padding on containing-block continuations won't be handled quite right. Reftest column-contain-1a fails because some of the anonymous blocks inside an nsColumnSetFrame have 0 height.
2013-09-13 16:53:48 -07:00
Steven Michaud
81e7acabff
Bug 909678 - Send right-mouse-dragged and other-mouse-dragged events to plugins. r=spohl,roc
2013-09-17 18:36:03 -05:00
Corey Ford
425e998f81
Bug 915475 - Don't sticky position frames with NS_FRAME_IS_NONDISPLAY. r=dholbert
2013-09-17 14:11:12 -07:00
Daniel Holbert
57aadd37fc
Bug 917032 part 3: Move flex item physicalPosn computation up a bit higher. r=mats
2013-09-17 14:54:07 -07:00
Daniel Holbert
4d20a18dc9
Bug 917032 part 2: Make PhysicalPositionFromLogicalPosition() take the content-box size, so it can do polarity-flipping if necessary. r=mats
2013-09-17 14:54:02 -07:00
Daniel Holbert
4dac163182
Bug 917032 part 1: Do flex layout in content-box space, rather than in frame-rect (border-box) space, and adjust for border/padding at the end of reflow. r=mats
2013-09-17 14:53:56 -07:00
Martijn Wargers
3dbeb6c4a3
Bug 916086 - Remove some more enablePrivilege calls. r=jmaher
...
CLOSED TREE
--HG--
rename : layout/base/tests/test_bug458898.html => layout/base/tests/chrome/test_bug458898.html
2013-09-16 22:12:29 +02:00
Ehsan Akhgari
eaafff8ccb
Bug 917301 - Remove some dead code in layout/; r=dholbert
2013-09-17 13:02:02 -04:00
L. David Baron
7fc7cb49ca
Bug 911786 part 3: Add an assertion to check that part 2 only changes things for position:sticky. r=dholbert
...
I'm worried that part 2 was the cause of bug 916751. If it was, I think
this assertion should catch the problem. Even if it's not, I think it's
a good assertion to have.
2013-09-17 04:44:16 -07:00
L. David Baron
4d640839e9
Bug 916751: Do not use nsIFrame::MovePositionBy from nsLineLayout. r=dholbert
...
Since bug 916751 is hard (for me) to test, I haven't confirmed for sure
that this fixes the bug.
However, it fixes the assertions that bug 911786 part 3 triggers in
layout/base/crashtests/317934-1.html through this codepath.
2013-09-17 04:44:16 -07:00
L. David Baron
ef01bdd9f2
Bug 917021: We should not store the NormalPositionProperty on all frames, only relatively positioned ones. r=dholbert
...
This also fixes nsHTMLReflowState::ApplyRelativePositioning to no-op for
svg:text, as it should (since nsIFrame::IsRelativelyPositioned() checks
more than nsStyleDisplay::IsRelativelyPositionedStyle()).
2013-09-17 04:44:16 -07:00
Cameron McCormack
f5495def59
Bug 874507 - Make clip-path, filter, mask and opacity work on <marker> elements. r=longsonr
2013-09-16 15:06:29 +10:00
Rik Cabanier
37cda4a234
Bug 902525 - Part 3: create a layer for content that stores the blend mode r=roc
2013-09-14 20:40:11 -07:00
Rik Cabanier
48ef519963
Bug 902525 - Part 2: Create layers for isolated groups when blending is involved r=roc
2013-09-14 20:30:00 -07:00
Ryan VanderMeulen
68ba33db0f
Backed out 7 changesets (bug 902525) for B2G reftest failures.
...
Backed out changeset bbca63772c83 (bug 902525)
Backed out changeset edb386989dbd (bug 902525)
Backed out changeset 3137dadb4fcd (bug 902525)
Backed out changeset e562afcb3c89 (bug 902525)
Backed out changeset 8ef3a516bd68 (bug 902525)
Backed out changeset 520fcd422150 (bug 902525)
Backed out changeset 4e553e8da44e (bug 902525)
2013-09-15 18:59:27 -04:00
Phil Ringnalda
6449089938
Bug 914919 followup followup, increase the assertion range for everyone
2013-09-15 13:34:08 -07:00
Rik Cabanier
47b70c43bf
Bug 902525 - part 3: Create a layer for content that stores the blend mode. r=roc
2013-09-15 16:24:16 -04:00
Rik Cabanier
c9f23e97c5
Bug 902525 - Part 2: Create layers for isolated groups when blending is involved. r=roc
2013-09-15 16:24:06 -04:00
Timothy Nikkel
116e1aca5d
Bug 915526. Take into account display port and scroll port clamping in image visibility. r=roc f=kats
2013-09-15 13:51:35 -05:00
Phil Ringnalda
6b0251f6d1
Bug 914919 followup, increase the assertion range for Windows
2013-09-14 21:39:16 -07:00
Corey Ford
1a8da8309d
Bug 914919 - Downgrade BaseRect::Set*Edge assertions to be non-fatal. r=dholbert
2013-09-11 16:27:14 -07:00
Timothy Nikkel
10932d1189
Bug 847223. Part 10. Make the new code work when we have the image visibility analysis prefed off. r=mats
2013-09-14 19:05:06 -05:00
Timothy Nikkel
ff6006c467
Bug 847223. Part 6. Use the first reflow of relevant image frames to add/remove them from the visible list. r=mats
2013-09-14 19:05:05 -05:00
Timothy Nikkel
83defa774d
Bug 847223. Part 4. Tweak the ExpandRect function to not expand in a direction that we cannot scroll. r=mats
2013-09-14 19:05:04 -05:00
Timothy Nikkel
929a7df9cb
Bug 847223. Part 3. Factor out the expand the scrollport code so we can use it on individual images later. r=mats
2013-09-14 19:05:04 -05:00
Jonathan Watt
0cbbb98ce1
Bug 635240 - Implementation of the layout and anonymous shadow tree portion of <input type=number>. r=dholbert
2013-09-04 11:30:36 +01:00
Daniel Holbert
c2abdae85f
Bug 941916: Drop unused constructor param "aItems" from SingleLineCrossAxisPositionTracker constructor. r=mats
2013-11-21 22:50:47 -08:00
Jonathan Kew
99f58ee59f
bug 941638 - cache hyphen width in the gfxFontGroup, to improve layout performance for auto-hyphenated text. r=roc
2013-11-21 21:31:53 +00:00
Jonathan Kew
0a5b653da3
bug 941629 - take account of letter-spacing when adding the width of an automatic hyphen to the natural width of a justified line. r=roc
2013-11-21 21:31:43 +00:00