Robert O'Callahan
2789b6b666
Bug 985303. Part 3: Save a block's 'bottom edge of content' in a frame property if it doesn't match the block's content height, and use it in UpdateOverflow to compute the correct overflow. r=dbaron
...
--HG--
extra : rebase_source : 11fe6925ee266a2e1feec5a4d5c0e5ed152516f5
2014-04-03 04:27:23 -04:00
Robert O'Callahan
8b33bb1a79
Bug 985303. Part 1: Assert that nsViews are only associated with a specific, limited set of frame types. r=dbaron
...
--HG--
extra : rebase_source : 80ce9f2e4841b831fd37acf2b89d4ff350762ab8
2014-04-03 04:24:58 -04:00
Daniel Holbert
50d14afe31
Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc
2014-04-14 21:30:25 -07:00
Daniel Holbert
278c535e89
Bug 996326: Make nsDeviceContext::CreateRenderingContext() return its result directly, instead of using outparam. r=roc
2014-04-14 20:15:01 -07:00
Daniel Holbert
40820c7fe6
Bug 996319: Drop always-null arg from nsTextFrame.cpp's static helper-function "GetReferenceRenderingContext". r=jdaggett
2014-04-14 17:45:39 -07:00
Seth Fowler
16d054ed67
Bug 901146 - Fix misleading comment in nsImageFrame.cpp. r=tn
2014-04-14 16:26:35 -07:00
Timothy Nikkel
9fc11eb358
Bug 980500. Add scrollbars that APZC places properly if we are doing the early exit ignore scroll frame when building a display list for a scrollframe. r=roc
2014-04-11 19:12:43 -05:00
Kartikaya Gupta
ced4f777ac
Bug 982888 - Populate the scroll parent field as appropriate. r=
2014-04-11 19:39:22 -04:00
Botond Ballo
30a35592c2
Bug 982141 - Make sure the primary async-scrollable frame has a displayport set. r=tn
...
--HG--
extra : rebase_source : 6ceb20abb14f3e829ea06c3b3b911455cff9db23
2014-03-19 13:29:24 -04:00
Botond Ballo
61e1214277
Bug 982141 - Factor out 'wantSubAPZC' into nsLayoutUtils. r=kats,tn
...
--HG--
extra : rebase_source : c23e9d3253991523f39d7437ab5f36172768813a
2014-04-04 10:13:30 -04:00
Botond Ballo
76b93d9237
Bug 982141 - Expose the logic used to decide whether a scrollable frame should be async scrollable. r=tn
...
--HG--
extra : rebase_source : 6ce26d8d54bbf75c79b10fd8a8dc449b0d417387
2014-03-12 16:20:26 -04:00
Daniel Holbert
76f7a6c968
Bug 983427 part 5: Toggle switch to enable the code added in this bug & avoid reflowing flex items in bottom-to-top order. r=mats
2014-04-11 14:22:12 -07:00
Daniel Holbert
44fd755c5a
(no bug) Update ResolveFlexibleLengths() documentation & drop whitespace on blank line. comment/whitespace-only
...
(Prior to this commit, the documentation mentioned long-since-removed params aTotalFreeSpace and aItems.)
2014-04-11 14:22:10 -07:00
Ryan VanderMeulen
1087eac823
Backed out 6 changesets (bug 982141) for Windows and OSX bustage. CLOSED TREE
...
Backed out changeset 16540ab2d2cb (bug 982141)
Backed out changeset 2ad9ce9d904e (bug 982141)
Backed out changeset af219bb49c06 (bug 982141)
Backed out changeset ffe51d96e86e (bug 982141)
Backed out changeset 6642718ad3bb (bug 982141)
Backed out changeset 95b341d26f7b (bug 982141)
2014-04-10 15:27:42 -04:00
Botond Ballo
ff0051ba05
Bug 982141 - Make sure the primary async-scrollable frame has a displayport set. r=tn
...
--HG--
extra : rebase_source : cecfe35b5407d6bbe1709eb0a2abf55ab8503c2d
2014-03-19 13:29:24 -04:00
Botond Ballo
f35d4684d5
Bug 982141 - Factor out 'wantSubAPZC' into nsLayoutUtils. r=kats,tn
...
--HG--
extra : rebase_source : d651c8b224c31518816a29afc003ef5ac6ed7cc7
2014-04-04 10:13:30 -04:00
Botond Ballo
803fc64902
Bug 982141 - Expose the logic used to decide whether a scrollable frame should be async scrollable. r=tn
...
--HG--
extra : rebase_source : 1e1c2c9377b7127683fe555450fcf2354934fe93
2014-04-10 14:42:58 -04:00
Geoff Brown
d0b48b9ecb
Bug 962676 - Reset expected assertion counts for Android crashtests; r=blassey
2014-04-09 08:38:44 -06:00
Timothy Nikkel
8a292f0648
Bug 987680. Overlay scrollbars should be placed on top of content. r=roc
...
Bug 926292 accidentally put them in the background list if there were no positioned descendents they needed to be on top of it (because this was where non-overlay scrollbars went, which never made sense). If there are no positioned descendents overlay scrollbars should go on the top-most non-positioned list, which is outlines.
2014-04-09 07:12:21 -05:00
Boris Zbarsky
fdbb455d4f
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
3f26a82832
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Ryan VanderMeulen
edd51f0af4
Backed out changeset 7be71c699b85 (bug 984226) for crashtest asserts.
2014-04-08 15:31:45 -04:00
Kearwood (Kip) Gilbert
0c00e3b8dd
Bug 984226 - Add parameter to OverflowChangedTracker::AddFrame to distingush between frames that need nsIFrame::UpdateOverflow called and frames that only have a transform that has changed. r=dbaron
...
- OverflowChangedTracker::AddFrame now accepts an enumerated type parameter to
indicate if the overflow areas of children have changed (CHILDREN_CHANGED) or
if the transform has changed (TRANSFORM_CHANGED).
- OverflowChangedTracker::Flush no longer falls back to calling
nsIFrame::UpdateOverflow when a frame lacks a PreTransformOverflowAreas
property.
- Added an additional change hint, nsChangeHint_ChildrenOnlyTransform, which
results in TRANSFORM_CHANGED being passed in to
OverflowChangedTracker::AddFrame.
- In nsIFrame::FinishAndStoreOverflow, the passed in overflow is now stored as
the InitialTransformProperty for elements that are IsTransformed().
- Partially corrected Bug 926155, by only calling
OverflowChangedTracker::AddFrame on parents of the sticky element during
StickyScrollContainer::UpdatePositions, using CHILDREN_CHANGED.
2014-03-13 17:21:25 -07:00
John Daggett
e22f4dc847
Bug 950526 - dirty frames after reparenting. r=dbaron
2014-04-08 14:13:28 +09:00
John Daggett
2d1be2e695
Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron
2014-04-08 14:13:28 +09:00
Daniel Holbert
3a2377b08b
Bug 983427 part 4c: If axes are reversed, compute flex container's baseline using the *last* flex line (which in reality is the first line). r=mats
2014-04-07 17:17:43 -07:00
Daniel Holbert
60596fc507
Bug 983427 part 4b: If axes are reversed, align baseline-aligned items with respect to to the flex-end edge (which is the "real" flex-start edge). r=mats
2014-04-07 17:17:43 -07:00
Daniel Holbert
bc07f71ba1
Bug 983427 part 4a: Expand FlexItem baseline accessor to let caller pick the edge as well as the axis. r=mats
2014-04-07 17:17:43 -07:00
Daniel Holbert
523dfed6f1
Bug 983427 part 3: If axes are reversed, swap "flex-start" and "flex-end" alignment (& treat "stretch" as a variety of "flex-start"). r=mats
2014-04-07 17:17:42 -07:00
Daniel Holbert
21b807e55f
Bug 983427 part 2: If axes are reversed, link up our lists of FlexLines & FlexItems in reverse, too. r=mats
2014-04-07 17:17:42 -07:00
Daniel Holbert
a515ca6ad8
Bug 983427 part 1: Add FlexboxAxisTracker flag to indicate whether we've detected bottom-to-top flow & are internally reversing axes. r=mats
2014-04-07 17:17:42 -07:00
Aryeh Gregor
8224d6e2e8
Bug 927558 - Missing null check in Selection::GetPrimaryFrameForFocusNode; r=ehsan
2014-04-02 19:01:01 +03:00
Timothy Nikkel
df81b7d231
Backout 389ff4b5612c and d234394e0147 (bug 987680) for reftest failuires.
2014-04-07 04:52:36 -05:00
Timothy Nikkel
cdf9e2e208
Bug 987680. Overlay scrollbars should be placed on top of content. r=roc
...
Bug 926292 accidentally put them in the background list if there were no positioned descendents that they needed to be on top of it (because this was where non-overlay scrollbars went, which never made sense). If there are no positioned descendents overlay scrollbars should go on the top-most non-positioned list, which is outlines for the current implementation.
2014-04-06 22:00:01 -05:00
Phil Ringnalda
542c4dfcab
Back out b9085d8ca22e (bug 987680) for b2g reftest failures and passes
...
CLOSED TREE
2014-04-06 23:11:35 -07:00
Timothy Nikkel
d56f39fcf9
Bug 987680. Overlay scrollbars should be placed on top of content. r=roc
...
Bug 926292 accidentally put them in the background list if there were no positioned descendents that they needed to be on top of it (because this was where non-overlay scrollbars went, which never made sense). If there are no positioned descendents overlay scrollbars should go on the top-most non-positioned list, which is outlines for the current implementation.
2014-04-06 22:00:01 -05:00
Neil Deakin
ba71f5497a
Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil
2014-04-04 13:11:12 -04:00
Mats Palmgren
76ea7c2156
Bug 990655 - Don't apply 'text-overflow' to nsComboboxControlFrame, its anon block deals with it. r=roc
2014-04-03 18:02:09 +00:00
Daniel Holbert
e1e2408909
Bug 991512: Add convenience methods to calculate outer main & cross size of a FlexItem. r=mats
2014-04-03 10:40:12 -07:00
Tatiana Meshkova
42cebf4c6d
Bug 990869 - Allow to enable sub Apzc for non WIN gecko clients. r=kats
2014-04-02 18:40:00 +02:00
Masayuki Nakano
5c4524957a
Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
...
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
L. David Baron
0f609689eb
Bug 989130 - Back out changeset fe119a83b1f2 (bug 942017) while leaving the corresponding test from changeset 3c63decb4e7e. r=jfkthame
...
This should be backed out for two reasons:
(1) It caused a serious regression with bullets from list-style-image,
which no longer affect the line box height and thus overlap.
(2) The dependency on 'line-height: normal' doesn't make sense; there's
no reason for whether line-height is 'normal' or not to affect the
behavior of bullets.
I don't currently have time to figure out why Gecko behavior differs
from other browsers on bug 942017, but that should be re-analyzed and
the bug fixed in a different way. At first glance, the code should
already be leading to the expected behavior, since the bullet ought to
have the same metrics and alignment as the block's influence on the line
box's height. Why this isn't the case should be investigated.
2014-04-01 11:53:29 -07:00
Masayuki Nakano
a63f35fff1
Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
...
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Jonathan Kew
cf66ed437a
bug 617008 - avoid creating a rendering context that we may not need. r=roc
2014-03-31 11:53:09 +01:00
Peter Van der Beken
17b498a5a1
Bug 988334 - Stop reusing SpecialPowers for different windows. r=jmaher.
...
--HG--
extra : rebase_source : ffeb4f2d49c6a20a95cc3ca0da63b49c10dee904
2014-03-24 21:12:41 +01:00
Kartikaya Gupta
be80698012
Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond,tn
2014-03-28 08:21:19 -04:00
Timothy Nikkel
af1fa4611b
Bug 957668. Set the display port base rect in several places. r=roc
2014-03-26 21:46:24 -04:00
Abel Lin
0b1203962c
Bug 980247 - Use offsets from GetNormalPosition() when updating continuations of position:sticky elements instead of assuming that they're all currently offset by the same amount. r=dbaron, r=corey
2014-03-26 14:45:17 -04:00
Gorman Ho
f829937556
Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz
2014-03-25 09:25:47 -04:00
Matt Woodrow
2cabdd6d95
Bug 976365 - Make 'perspective' create a containing block for absolute and fixed positioned children. r=dbaron
2014-03-25 11:45:43 +13:00
Simon Montagu
3766f98942
Aways use the root span's writing mode when recursing into child spans in nsLineLayout::ApplyFrameJustification. Bug 986899, r=jfkthame
2014-03-24 10:50:13 -07:00
Simon Montagu
27a769cf38
Correction to typo in checkin for bug 789096. Bug 983691, r=jfkthame
2014-03-24 02:23:12 -07:00
Daniel Holbert
3363b24a57
Bug 984786 part 1: Add MOZ_FINAL and private destructors to some refcounted classes in layout. r=dbaron
2014-03-21 09:16:20 +08:00
Timothy Nikkel
585af7072e
Bug 874950. Fix variable name to fix the build. on a CLOSED TREE
2014-03-20 18:46:30 -05:00
Timothy Nikkel
a11a1c2c36
Bug 874950. Don't let fixed position conclude occlude async scrolled content. r=roc
...
It would be incorrect to occlude async scrolled content.
Instead of doing a lot of extra frame tree walking just use the flags on display items to tell if they are in fixed position subtrees.
Also, don't let the fixed position flag on display items get set if we start building display items inside a subdocument. If didn't do this non-fixed content in a subdocument that is in fixed content in the parent document would be marked as in fixed position, and no occlusion would occur at all. This means that the fix applies to slightly less cases which are less important so that a more important case works the same as before.
2014-03-20 18:23:16 -05:00
Timothy Nikkel
0071bffc0e
Bug 874950. Record on display items if they are inside a fixed position subtree. r=roc
2014-03-20 18:23:16 -05:00
Carsten "Tomcat" Book
8c46dc13d5
merge mozilla-inbound to mozilla-central
2014-03-20 13:56:02 +01:00
Carsten "Tomcat" Book
94e9995102
Backed out changeset 1d12ab8bf5fe (bug 950526) for android reftest failures on a CLOSED TREE
2014-03-20 10:00:24 +01:00
John Daggett
328447eda5
Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron
2014-03-20 14:43:29 +08:00
Markus Stange
f80b79dc3a
Bug 926292 - Put overlay scrollbars on top of the topmost positioned descendant of the scrolled frame. r=mats
2014-03-20 10:12:46 +08:00
Markus Stange
3186fd41cb
Bug 926292 - Add a testing pref for stopping overlay scrollbars from fading out. r=roc
2014-03-20 10:12:46 +08:00
Wes Kocher
c5d81bb33f
Backed out changeset 8764e9f061d0 (bug 980679) for a smoketest regression
2014-03-19 16:14:42 -07:00
Neil Deakin
5bca1a23ba
Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn
2014-03-19 12:48:08 -04:00
Xidorn Quan
ecd3f787a3
Bug 985186 - Unwanted white space for multiple of 10,000 in Korean counter styles. r=jfkthame
2014-03-19 10:36:28 -04:00
Makoto Kato
7de91d240c
Bug 982298 - crash in mozilla::ScrollFrameHelper::ScrollToImpl by findAgain. r=roc
2014-03-18 16:35:28 +09:00
Masayuki Nakano
b7a8d4a392
Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
...
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Daniel Holbert
60476682b5
Bug 983434 followup: Fix positioning of MOZ_STACK_CLASS in AutoFlexLineListClearer class definition to fix Linux static-analysis bustage.
2014-03-18 10:27:51 +08:00
Daniel Holbert
1bdf779856
Bug 983434 part 2: Store FlexLines and FlexItems in MFBT LinkedLists instead of nsTArrays. r=mats
2014-03-18 09:23:23 +08:00
Neil Rashbrook
921625ab05
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Daniel Holbert
53e3fac586
Backed out c5dc2de8d224 (Bug 983434 part 2) for Linux static-analysis build bustage
...
CLOSED TREE
2014-03-18 07:27:52 +08:00
Wes Kocher
2939a367ba
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Daniel Holbert
08a9ba5a42
Bug 983434 part 2: Store FlexLines and FlexItems in MFBT LinkedLists instead of nsTArrays. r=mats
2014-03-18 06:09:41 +08:00
Daniel Holbert
714bb59013
Bug 983434 part 1: Minor cleanup in nsFlexContainerFrame.cpp (rename some variables, promote a static function to a private method). r=mats
2014-03-18 06:09:40 +08:00
Neil Rashbrook
f83724018d
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Masayuki Nakano
aa64da45fb
Bug 982602 Rename ns(LoadBlocking)AsyncDOMEvent to mozilla::(LoadBlocking)AsyncEventDispatcher r=smaug
...
--HG--
rename : dom/events/nsAsyncDOMEvent.cpp => dom/events/AsyncEventDispatcher.cpp
rename : dom/events/nsAsyncDOMEvent.h => dom/events/AsyncEventDispatcher.h
2014-03-17 15:56:54 +09:00
Masayuki Nakano
6461de2a4d
Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
...
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
L. David Baron
0ee9b25ed5
Bug 981637: Make overflow events fire correctly in UpdateOverflow codepath. r=mats
...
I confirmed that the mochitest fails without the patch and passes with
it, both standalone and in the directory harness.
2014-03-16 07:21:42 +08:00
Tooru Fujisawa
ab36d57449
Bug 983570 - Update aState.mPrevChild only when line->IsDirty is true in nsBlockFrame::ReflowDirtyLines. r=mats
2014-03-15 17:29:24 -04:00
Kyle Huey
567b9398be
Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan
2014-03-15 12:00:17 -07:00
Kyle Huey
a5ae9a4da3
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
f7eafc09a9
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
L. David Baron
71444402e8
Bug 697451 - Stop overriding line-height (max-ing with 1.0) on inputs other than single-line text inputs. r=bzbarsky
...
This allows *native-themed* button-type inputs to shrink more than
Chromium allows them to, but it might still be Web-compatible.
2014-03-14 17:00:12 -07:00
CJKu
6fa3988f01
Bug 982533 - Enable DEBUG_SELECTION cause compile fail. r=ehsan
2014-03-14 10:30:41 -04:00
Bill McCloskey
d960718b48
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00
Wes Kocher
62d61f05a8
Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
...
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
cff466f79f
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Bill McCloskey
624ffda758
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
a23e0f8633
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Tom Hindle
38c4862764
Bug 970363 - Fix selection moving over readonly elements in contenteditble blocks. r=roc
2014-03-12 07:45:01 -06:00
Tom Hindle
07d114e685
Bug 970363 - Make PeekOffset* methods return continue reason. r=roc
2014-03-13 08:14:37 -06:00
Kartikaya Gupta
a9019c7fc6
Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond
2014-03-13 15:48:38 -04:00
Simon Montagu
e8d17e904a
Use logical text layout API for GetSkipSides, bug 789096, r=jfkthame
2014-03-13 00:39:33 -07:00
L. David Baron
9a38e7f2eb
Bug 349259 patch 2: Prevent html:input elements from having a line-height smaller than 1. r=bz
2014-03-12 20:33:21 -07:00
L. David Baron
2d1064d968
Bug 349259 patch 1: Add an nsIContent* parameter to nsHTMLReflowState::CalcLineHeight. r=bz
2014-03-12 20:33:21 -07:00
Vaibhav Agarwal
07841bb6fe
Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher
2014-03-12 06:16:12 -04:00
Simon Montagu
b160bea1d5
Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame
2014-03-11 13:23:50 -07:00
Simon Montagu
33532e689b
Use logical coordinates in nsBlockFrame::ReflowBullet. Bug 789096, r=jfkthame
2014-03-11 02:08:36 -07:00
Carsten "Tomcat" Book
b67b727eca
Backed out changeset 9f92527ff03b (bug 789096) for Valgrind Test-Bustage on a CLOSED TREE
2014-03-11 09:23:32 +01:00
Carsten "Tomcat" Book
7f2e815865
Backed out changeset aeff4052ef00 (bug 789096)
2014-03-11 09:22:52 +01:00
Carsten "Tomcat" Book
7fdc8d352f
Backed out changeset 534a0efe7d3d (bug 789096)
2014-03-11 09:22:48 +01:00
Simon Montagu
7c94db65dd
Use logical text layout API for GetSkipSides. Bug 789096, r=jfkthame
2014-03-10 22:19:03 -07:00
Simon Montagu
5e7ae0913d
Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame
2014-03-10 22:19:03 -07:00
Simon Montagu
3834bef695
Use logical coordinates in nsBlockFrame::ReflowBullet. Bug 789096, r=jfkthame
2014-03-10 22:19:03 -07:00
Seth Fowler
064ace58f4
Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron
2014-03-10 15:41:14 -07:00
Daniel Holbert
774ef76723
Bug 981116: Convert nsFlexContainerFrame boolean member-var into frame state bit. r=heycam
2014-03-07 15:58:38 -08:00
Daniel Holbert
284d261cbc
Bug 981127: Mark nsIFrame methods HasAllStateBits() & HasAnyStateBits() as 'const'. r=heycam
2014-03-07 15:58:37 -08:00
Alex Henrie
9aa7a86686
Bug 963970 - Place combobox button where a scrollbar would be. r=roc
2014-03-06 16:24:01 -07:00
L. David Baron
f59fdc97c7
Bug 979748 - Simplify code based on already having checked the NS_FRAME_OUT_OF_FLOW bit. r=heycam
...
Since we've already returned if the NS_FRAME_OUT_OF_FLOW bit is not set,
and since FirstInFlow() is the same as this when GetPrevInFlow() is
null, this is a straightforward simplification of the code and should
not change behavior.
2014-03-06 22:08:57 -08:00
Seth Fowler
d3a5ae8a34
Backed out 3 changesets (bug 63895)
...
Backed out changeset ceafe92c7716 (bug 63895)
Backed out changeset 0199299ac111 (bug 63895)
Backed out changeset d78110a5cffa (bug 63895)
--HG--
extra : rebase_source : 76d8a63672dfdb000ff6db5d362231ed6e90c1bc
2014-03-06 16:59:56 -08:00
Vaibhav Agarwal
b192b2603d
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
Jonathan Kew
d65fad3678
bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
2013-12-31 13:50:31 +00:00
Joel Maher
a46890e4bd
Bug 971025 - move testing/mochitest/test/test_* to testing/mochitest/test/Harness_sanity. r=ted
...
--HG--
rename : testing/mochitest/tests/SpecialPowersLoadChromeScript.js => testing/mochitest/tests/Harness_sanity/SpecialPowersLoadChromeScript.js
rename : testing/mochitest/tests/file_SpecialPowersFrame1.html => testing/mochitest/tests/Harness_sanity/file_SpecialPowersFrame1.html
rename : testing/mochitest/tests/test_SimpleTestGetTestFileURL.html => testing/mochitest/tests/Harness_sanity/test_SimpleTestGetTestFileURL.html
rename : testing/mochitest/tests/test_SpecialPowersExtension.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension.html
rename : testing/mochitest/tests/test_SpecialPowersExtension2.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension2.html
rename : testing/mochitest/tests/test_SpecialPowersLoadChromeScript.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript.html
rename : testing/mochitest/tests/test_SpecialPowersPushPermissions.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersPushPermissions.html
rename : testing/mochitest/tests/test_SpecialPowersPushPrefEnv.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersPushPrefEnv.html
rename : testing/mochitest/tests/test_bug362788.xhtml => testing/mochitest/tests/Harness_sanity/test_bug362788.xhtml
rename : testing/mochitest/tests/test_bug816847.html => testing/mochitest/tests/Harness_sanity/test_bug816847.html
rename : testing/mochitest/tests/test_sanity.html => testing/mochitest/tests/Harness_sanity/test_sanity.html
rename : testing/mochitest/tests/test_sanityEventUtils.html => testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html
rename : testing/mochitest/tests/test_sanityException.html => testing/mochitest/tests/Harness_sanity/test_sanityException.html
rename : testing/mochitest/tests/test_sanityException2.html => testing/mochitest/tests/Harness_sanity/test_sanityException2.html
rename : testing/mochitest/tests/test_sanitySimpletest.html => testing/mochitest/tests/Harness_sanity/test_sanitySimpletest.html
rename : testing/mochitest/tests/test_sanityWindowSnapshot.html => testing/mochitest/tests/Harness_sanity/test_sanityWindowSnapshot.html
rename : testing/mochitest/tests/test_sanity_cleanup.html => testing/mochitest/tests/Harness_sanity/test_sanity_cleanup.html
rename : testing/mochitest/tests/test_sanity_cleanup2.html => testing/mochitest/tests/Harness_sanity/test_sanity_cleanup2.html
2014-03-05 10:32:02 -05:00
Simon Montagu
a69d6fb3f4
Add more logical-coordinate API to nsIFrame. Bug 735577, r=jfkthame
2014-03-04 23:31:47 -08:00
L. David Baron
b98ff26924
Bug 828173 patch 5: Call AddAnimationsAndTransitionsToLayer when we choose not to repaint when handling an UpdateTransformLayer hint, so that any new animations resulting from the style change get sent to the layer. r=mattwoodrow
2014-03-04 20:13:22 -08:00
Masayuki Nakano
66706f5a6e
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Daniel Holbert
60f5732676
Bug 973701: Check NS_FRAME_OUT_OF_FLOW state bit instead of IsAbsolutelyPositioned(), when excluding out-of-flow frames from being considered as flex items. r=mats
2014-03-04 11:08:54 -08:00
Seth Fowler
a85936692f
Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron
2014-03-03 19:40:27 -08:00
Ehsan Akhgari
ab6abed6ef
Bug 977418 - Special case opacity:0.99 to treat it as opacity:1 for display purposes; r=roc
...
This helps avoid significant costs in our graphics code when websites
use opacity:0.99 as a hint for creating a stacking context only.
2014-03-03 09:42:16 -05:00
L. David Baron
8f1703567a
Bug 439204: Remove assertion "We placed a float where there was no room!" r=roc
2014-03-03 00:54:39 -08:00
L. David Baron
4680ed2f65
Bug 978620: Make nsFrameSetFrame call FinishAndStoreOverflow. r=roc
2014-03-03 00:54:39 -08:00
Makoto Kato
4d1a05b05d
Bug 968647 - Part 1. Add position change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Makoto Kato
33a4027ce6
Backed out changeset d06ee3f1e9a3 (bug 968647)
2014-03-03 11:53:43 +09:00
Makoto Kato
be87ec45be
Bug 968647 - Part 1. Add postion change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Timothy Nikkel
544b71c580
Bug 978542. If paint dumping is enabled at build time also enable frame dumping so we can get frame names in display list dumps. r=mattwoodrow
...
Also makes DidComputeVisibility available during non-debug painting so we can use it.
2014-03-02 16:22:29 -06:00
Mats Palmgren
5bd85e6c56
Bug 978443 - Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. r=dholbert
...
Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. Also fix whitespace and remove unnecessary parens in a few places and enumerate the possible break types in an assertion so that it doesn't make assumptions on the actual property values.
2014-03-02 17:42:16 +00:00
Jesse Ruderman
83a7ba8f83
Bug 513110 - tests
2014-03-01 10:36:39 +00:00
Mats Palmgren
42841bae56
Bug 513110 - Adjust the maximum break type (only used in assertions) to reflect reality. r=dholbert
2014-03-01 10:36:39 +00:00
Geoff Brown
f251f43ac0
Bug 891347 - Disable layout/generic/crashtests/385526.html on Android 2.3
2014-02-28 14:58:34 -07:00
Ryan VanderMeulen
433c5de893
Merge m-c to inbound.
2014-02-28 10:15:57 -05:00
Horia Iosif Olaru
b92ebfeaec
Bug 976533 - In case there is are both a MixBlendMode and BlendContainer wrapping the same stacking display list, reverse the order so that the BlendContainer comes first. This way, it will not isolate the legitimate MixBlendMode item. r=roc
2014-02-28 09:11:37 -05:00
Carsten "Tomcat" Book
67109b9a5c
merge b2g-inbound to mozilla-central
2014-02-28 14:42:11 +01:00
Carsten "Tomcat" Book
3581886531
Backed out changeset e670f691e2b9 (bug 968647) for mochitest test bustage on OS X on a CLOSED TREE
2014-02-28 09:30:34 +01:00
Makoto Kato
8c079ee5f7
Bug 968647 - Part 1. Add postion change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Timothy Nikkel
f91f7c1a76
Bug 959847. Part 11. Use nsLayoutUtils::ViewportHasDisplayPort instead of repeating boilerplate code. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
c1ef4c92c7
Bug 959847. Part 5. Only call RecordFrameMetrics for subdocuments if we are ignoring viewport scrolling so that we don't call it twice for the same scroll frame (the other one being the scroll layers created by nsGfxScrollFrame). r=roc
2014-02-27 16:01:53 -06:00
Timothy Nikkel
c5eadf4d6e
Bug 959847. Part 4. Call RecordFrameMetrics for subdocument layers. r=roc
...
We do this by creating a new display item type: nsDisplaySubDocument.
Original patch by Kartikaya Gupta <kgupta@mozilla.com>.
2014-02-27 16:01:53 -06:00
Timothy Nikkel
84799aa7d0
Bug 959847. Part 3. Make zoom items be contained in resolution items for subdocuments if they occur together. r=roc
...
Wrap the zoom item in the resolution item if we have both because we want the resolution scale applied on top of the app units per dev pixel conversion. Resolution is just a scale transform and app units per dev pixel affect layout, so conceptually the resolution gets applied after.
2014-02-27 16:01:52 -06:00
Timothy Nikkel
8aa800b645
Bug 959847. Part 2. Don't ignore "ignore viewport scrolling" on subdocuments. r=roc
...
This means that the layer we create in nsSubDocumentFrame::BuildDisplayList becomes the scrollable layer for the document and we early early from ScrollFrameHelper::BuildDisplayList before it gets to the nsDisplayScrollLayer creation.
2014-02-27 16:01:52 -06:00
Timothy Nikkel
d94b77e6f5
Bug 959847. Part 1. Retrieve the displayport of the root scroll frame the same way as everywhere else does in nsSubDocumentFrame::BuildDisplayList. r=roc
2014-02-27 16:01:52 -06:00
Carsten "Tomcat" Book
ac78ac1ab1
Merge mozilla-central to b2g-inbound
2014-02-27 15:59:39 +01:00
Kartikaya Gupta
4e68d36d9d
Bug 975033 - If the displayport is too big, it's better to pretend it's not there at all. r=tn
2014-02-27 08:42:40 -05:00
Simon Sapin
818727a691
Bug 975501 part 2: Add display:{inline-,}grid behind a pref, and a stub nsGridContainerFrame. r=dholbert
2014-02-26 23:45:29 -08:00
Simon Sapin
3b9a3f4ac0
Bug 975501 part 1: Add a XUL prefix to existing internal GRID constants. r=dholbert
2014-02-26 23:43:18 -08:00
Daniel Holbert
88a037855a
(no bug) fix a few whitespace issues in nsFlexContainerFrame.cpp. whitespace-only, DONTBUILD
2014-02-26 23:28:38 -08:00
Reuben Morais
b672cdc604
Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
...
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
Ryan VanderMeulen
bd214454e7
Merge m-c to inbound.
2014-02-27 17:33:47 -05:00
Benoit Jacob
67d70dfb99
Bug 975789 - Sync the computation of whether we have a pseudo stacking context between two different places - r=dbaron
2014-02-27 15:09:09 -05:00
Ted Mielczarek
062d40049c
Bug 975455 - Move more Mochitests to manifests. r=jmaher
2014-02-20 10:14:52 -05:00
Matt Woodrow
5d58c059d9
Bug 968555 - Don't create a stacking context for backface-visibility:hidden. r=dbaron
2014-02-27 15:57:45 +13:00
L. David Baron
b38b58369f
Bug 976364: Make 'perspective' create a stacking context. r=mattwoodrow
...
While it seems a little silly since 'perspective' doesn't require
atomicity (rather, it adds an additional transformation to any 3-D
descendants, which already require atomicity), the spec requires it, and
it matches WebKit.
2014-02-26 13:36:36 -08:00
L. David Baron
abcf03b259
Bug 975741 patch 2: Remove checks of nsStyleDisplay::mChildPerspective.GetCoordValue() > 0 because it's now always greater than 0. r=mattwoodrow
...
Now that the first patch in this bug changed things so that 'none' is
reliably stored as eStyleUnit_None (rather than being stored as a 0
length when it comes from the initial value), we know mChildPerspective
is always > 0 when it is eStyleUnit_Coord, and there's no point making
the additional check.
2014-02-26 13:36:35 -08:00
Arnaud Sourioux
02b48ee29a
Bug 974687 - Part 2: Fix more than 80cols issues caused by MOZ_OVERRIDE annotation. r=dholbert
2014-02-24 09:41:56 -05:00
Arnaud Sourioux
94fd6d0fd6
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Mats Palmgren
38588981af
Bug 966992 - Implement layout for the overflow-clip-box property. r=roc
2014-02-22 01:18:24 +00:00
Mats Palmgren
789fe92cf5
Bug 974905 - Warn and ignore SchedulePaint calls in a detached pres context. r=roc
2014-02-21 08:40:45 +00:00
Cameron McCormack
61ef845297
Bug 974749 - Make nsFrame::DumpFrameTree wrapper functions use stderr so they can go to logcat. r=tn
2014-02-20 14:57:02 +11:00
Wes Kocher
cb4508103d
Backed out 3 changesets (bug 63895) for debug crashtest failures on a CLOSED TREE
...
Backed out changeset 02e057fea56c (bug 63895)
Backed out changeset 80bd36a3d4f1 (bug 63895)
Backed out changeset 6609365ee797 (bug 63895)
2014-02-19 17:35:03 -08:00
Seth Fowler
44c398a3ec
Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron
2014-02-19 16:03:24 -08:00
Benoit Girard
85ef318061
Bug 964885 - Implement stacking context behavior of CSS will-change. r=dbaron
...
--HG--
extra : rebase_source : 9417239e40a13df22c207838faf64b67d9027f6e
2014-02-05 23:50:22 -05:00
Ehsan Akhgari
0c756d118f
Backed out 5 changesets (bug 966992, bug 965237) because of a PGO only build failure on Linux, landed on a CLOSED TREE
...
Backed out changeset f11cad93ceee (bug 966992)
Backed out changeset c84d530c9a51 (bug 965237)
Backed out changeset 740b13866bac (bug 966992)
Backed out changeset 8c3420cc77d8 (bug 966992)
Backed out changeset 7ddfc587edda (bug 966992)
2014-02-19 13:28:33 -05:00
Mats Palmgren
0cfb95c93e
Bug 966992 - Implement layout for the overflow-clip-box property. r=roc
2014-02-19 14:14:52 +00:00
Arnaud Sourioux
200cfba6b0
Bug 973805 part 2: Adds MOZ_OVERRIDE in layout/ forms/nsImageControlFrame.cpp, generic/nsImageFrame.h, generic/nsObjectFrame.h r=dholbert
2014-02-19 00:21:57 -08:00
Arnaud Sourioux
0b782ab9cb
Bug 973805 part 1: Change #define classA classB to typedef classB classA, in some frame classes. r=dholbert
2014-02-19 00:21:56 -08:00
Arnaud Sourioux
977d686ef2
Bug 973087: Rename nsSimplePageSequence[.h|.cpp] to nsSimplePageSequenceFrame[.h|.cpp] r=roc
...
--HG--
rename : layout/generic/nsSimplePageSequence.cpp => layout/generic/nsSimplePageSequenceFrame.cpp
rename : layout/generic/nsSimplePageSequence.h => layout/generic/nsSimplePageSequenceFrame.h
2014-02-18 00:58:22 -08:00
Daniel Holbert
bea5535e10
Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD
2014-02-18 00:36:33 -08:00
Arnaud Sourioux
d4e37270b8
Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
2014-02-17 23:47:48 -08:00
L. David Baron
b3bff6bf01
Bug 709014 patch 1: Honor margin-left and margin-right on elements in inline layout that have 0 width and/or height (commonly, inline-blocks). r=roc
...
Prior to this patch, we failed to honor:
* margin-left on elements in inline layout with 0 width and 0 height
* margin-right on elements in inline layout with 0 width
I think that was because the code in CanPlaceFrame to discard both
margins when the width was 0 was running after the left-margin was
applied, unless the later code in PlaceFrame (checking both width 0 and
height 0) un-applied that left margin.
The assertion count change in test_value_computation.html is due to 2
additional "bad width" assertions (I presume from honoring large
margins that were previously ignored).
The change to 538935-1-ref.html is to match an improvement in rendering
of the margins in the test, where both sides of the margin are now
honored.
The change to layout/reftests/text-overflow/marker-basic-ref.html is to
keep the reference (which uses margins) rendering the same way following
the changes to margin handling.
The new behavior (in the reftests added in layout/reftests/inline/)
matches at least Chromium; I didn't check any other browsers.
2014-02-17 20:07:45 -08:00
Simon Montagu
858b45d469
Fix a hang by using a dedicated state bit instead of overloading NS_FRAME_IS_DIRTY. Bug 964821, r=roc
2014-02-17 14:46:40 -08:00
L. David Baron
ee2f20f11a
Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
...
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-16 16:05:10 -08:00
Jim Mathies
690fe4ebab
Bug 967671 - Set nsGfxScrollFrame's mOriginOfLastScroll default to 'other', insures apzc will receive a scroll offset update when frames are created. Also remove display port reset in metrofx front end code when window size changes. r=kats, tnikkel
2014-02-15 07:06:27 -06:00
Vaibhav Agarwal
81f1ea0a18
Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher
2014-02-15 04:53:02 -05:00
L. David Baron
e8c782f1e4
Back out changeset dd1f8adbfecc (bug 480888 patch 4) for failing reftests 402338-1.html and 412352-2.html on Android and B2G only.
2014-02-14 23:45:31 -08:00
L. David Baron
194cd4272e
Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
...
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-14 21:29:13 -08:00
L. David Baron
90da36dcb5
Bug 480888 patch 3: Refactor a common pattern into a FrameMaintainsOverflow helper function. r=roc
2014-02-14 21:29:13 -08:00
L. David Baron
b724f54508
Bug 480888 patch 2: Remove always-true aStoreRectProperties parameter to ComputeEffectsRect. r=roc
2014-02-14 21:29:12 -08:00
L. David Baron
c3109dc9e2
Bug 480888 patch 1: Rename ComputeOutlineAndEffectsRect to ComputeEffectsRect. r=roc
2014-02-14 21:29:12 -08:00
L. David Baron
c98f68542e
Bug 972088: Make nsIFrame::Preserves3DChildren not call nsStyleDisplay::HasTransform (pure refactoring). r=mattwoodrow
...
The purpose of this change is to make the code less confusing (since it's not clear to me why one would check HasTransform here), and in general to reduce the number of callers of HasTransform, since HasTransform is a complicated check that checks too many things and probably isn't the right thing for many of its callers (see, e.g., bug 968555).
This is pure refactoring because:
(1) We're calling HasTransform only if mTransformStyle is
NS_STYLE_TRANSFORM_STYLE_PRESERVE_3D.
(2) HasTransform can return false for either of two reasons:
(a) because HasTransformStyle is false, which cannot be the case
here because HasTransformStyle checks mTransformStyle, and we
already know that check passes because of (1)
(b) because IsFrameOfType(nsIFrame::eSupportsCSSTransforms) is
false.
This means that we can replace the HasTransform check with solely the
IsFrameOfType check.
2014-02-14 21:29:12 -08:00
Mats Palmgren
32ee3292c1
Bug 971655 - The inner (-moz-fieldset-content) frame have the correct padding area and is the abs.pos. containing block so don't use the outer FieldSetFrame. r=roc
2014-02-15 02:00:08 +00:00
Masayuki Nakano
e393ad7356
Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug
2014-02-15 09:57:39 +09:00
Jonathan Kew
a51fad7aea
bug 970710 - ensure GetTrimmedOffsets is called with consistent parameters from PropertyProvider::InitializeForMeasure and SetupJustificationSpacing. r=roc
2014-02-13 08:38:48 +00:00
Simon Montagu
0621f133e7
Extend the WritingModes API. Bug 735577, r=jfkthame
2014-02-12 23:55:08 -08:00
Simon Montagu
aac777c4b4
Add some logical setters/getters to nsIFrame.h. Bug 735577, r=jfkthame
2014-02-12 23:55:06 -08:00
Daniel Holbert
09da556742
Bug 971913: Use DISPLAY_MIN_WIDTH / DISPLAY_PREF_WIDTH logging macros in nsFlexContainerFrame. r=jwatt
2014-02-12 23:47:01 -08:00
Alexander Surkov
4aa0692608
Bug 956032 - text selection change event is missed when selected text becomes unselected, r=tbsaunde
2014-02-11 20:18:31 -05:00
Max Vujovic
2b722685f9
Bug 948265 - [CSS Filters] Change nsSVGFilterProperty to track an nsStyleFilter chain instead of a single nsIURI and nsSVGFilterFrame. r=roc
2014-02-09 20:31:03 -08:00
Brian O'Keefe
e3f6084e7a
Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal
2013-11-05 13:37:54 -05:00
L. David Baron
20e815fd1f
Bug 970647 patch 3: Rename (to match convention) and better share nsStyleDisplay* variable in nsIFrame::Preserves3DChildren. r=mattwoodrow
2014-02-10 17:03:25 -08:00
L. David Baron
d20f2fd0fd
Bug 970647 patch 2: Fix indentation and bracing in nsIFrame::Preserves3DChildren. r=mattwoodrow
2014-02-10 17:03:25 -08:00
L. David Baron
c7aad1f0e0
Bug 970647 patch 1: Remove some null-checks and simplify control flow in nsIFrame::HasPerspective and nsIFrame::ChildrenHavePerspective. r=mattwoodrow
2014-02-10 17:03:25 -08:00
Ehsan Akhgari
82ebdc883f
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Mats Palmgren
58c02b28b6
Bug 968174 - Don't schedule a paint if the pres context was detached during the delay. Re-enable the assertions from bug 967758. r=roc
2014-02-10 02:14:38 +00:00
Robert O'Callahan
9fbd39be16
Bug 947588. Part 3: Map nsStyleText::mControlCharacterVisibility to TEXT_HIDE_CONTROL_CHARACTERS flag in nsTextFrame. r=jfkthame
...
Note that this is set up so any use of gfxTextRun outside of nsTextFrame
shows hexboxes for control characters.
--HG--
extra : rebase_source : 83335c85c4db4a6391f18924aad566b00fd6a66c
2014-02-05 23:16:23 +13:00
L. David Baron
6d9425e5a1
Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats
2014-02-06 17:45:33 -08:00
L. David Baron
d1d3f52e0b
Bug 91419 patch 8: Miscellaneous function and variable name changes. r=mats
2014-02-06 17:45:32 -08:00
L. David Baron
edc948d350
Bug 91419 patch 6: Rename everything with IBSplitSpecialPrevSibling to IBSplitPrevSibling. r=mats
2014-02-06 17:45:31 -08:00
L. David Baron
98ca7cd11c
Bug 91419 patch 5: Rename everything with SpecialSibling to IBSplitSibling. r=mats
2014-02-06 17:45:31 -08:00
L. David Baron
b2713a05ff
Bug 91419 patch 4: Rename everything with IBSpecialSibling to IBSplitSibling. r=mats
2014-02-06 17:45:30 -08:00
L. David Baron
d323811d0a
Bug 91419 patch 3: Rename everything with IBSplitSpecialSibling to IBSplitSibling. r=mats
2014-02-06 17:45:30 -08:00
L. David Baron
8bcdd8411b
Bug 91419 patch 1: Rename NS_FRAME_IS_SPECIAL to NS_FRAME_PART_OF_IBSPLIT. r=mats
2014-02-06 17:45:28 -08:00
Daniel Holbert
14d26a8bdb
Bug 969147: Compute (and sum) the cross sizes of flex lines as we go, to make pagination easier. r=mats
2014-02-06 17:04:52 -08:00
Daniel Holbert
fde5f3fb06
Bug 967287 part 2: Adjust indentation after removal of nsPresContext* args. r=mats
2014-02-06 14:07:48 -08:00
Daniel Holbert
e9a642b785
Bug 967287 part 1: Remove unnecessary nsPresContext* argument from functions defined in nsContainerFrame.h. r=mats
2014-02-06 14:07:47 -08:00
Alex Henrie
9763e9f9df
Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron
2014-02-06 12:32:05 -07:00
Daniel Holbert
f2d773ab79
Bug 965897: Assert that we have the right prescontext in nsHTMLReflowState constructor, and convert some existing NS_PRECONDITION null-checks into MOZ_ASSERTs. r=mats
2014-02-06 01:02:12 -08:00
Kartikaya Gupta
3b9d933124
Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm
2014-02-05 17:43:20 -05:00
Cameron McCormack
f040e3de01
Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
2014-01-18 18:08:22 +11:00
Phil Ringnalda
d06dd52262
Back out 191a71ff02bf (bug 960899)
...
CLOSED TREE
2014-02-04 21:37:12 -08:00
Cameron McCormack
7885e2c485
Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
...
--HG--
extra : rebase_source : 6c83922c24727d03830de31b3407fa0e6a0e350e
2014-01-18 18:08:22 +11:00
Cameron McCormack
3292446211
Bug 960848 - Part 3: Generate consts rather than enum values for nsFrameState bits for VS2010. r=dbaron,f=glandium
2014-02-05 13:00:03 +11:00
Cameron McCormack
a8bfc1897b
Bug 960848 - Part 2: Swap NS_BLOCK_HAS_FIRST_LETTER_CHILD and NS_BLOCK_FRAME_HAS_INSIDE_BULLET bit values. r=dbaron
2014-02-05 12:59:57 +11:00
Cameron McCormack
45beaceb53
Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron
2014-02-05 12:59:39 +11:00
Timothy Nikkel
809d0e5cfc
Bug 967758. Disable newly added assert because it is triggering too much. r=roc on a CLOSED TREE
2014-02-04 19:04:50 -06:00
Mats Palmgren
a5fa3a1598
Bug 966419 - Update the global ShrinkToFitRatio when the current page overflows and requires additional scaling to fit horizontally on the page in Print/Preview. r=dholbert
2014-02-04 02:12:13 +00:00
Mats Palmgren
26baf9bcfc
Bug 946929 - Part 2, Disable painting for the shell while the child views are detached. r=roc
2014-02-03 23:47:57 +00:00
Mats Palmgren
0e72a4953f
Bug 946929 - Part 1, Don't schedule paint related events in a detached pres context. r=roc
2014-02-03 23:47:57 +00:00
Ryan VanderMeulen
30ecfe5a0e
Merge m-c to inbound.
2014-01-31 21:16:16 -05:00
Ryan VanderMeulen
0abe831eea
Backed out changeset 4f0d8916386e (bug 962791) for causing various regressions.
2014-01-31 20:40:29 -05:00
L. David Baron
4b021fabc8
Bug 964529 pre-patch: Make things that were syntax errors prior to enabling scientific notation continue to be syntax errors, by changing e+ to x+.
2014-01-31 16:06:46 -08:00
Blake Kaplan
d8fa50d973
Bug 966398 - Kill nsIBidiKeyboard::SetLangFromBidiLevel. r=roc
...
--HG--
extra : rebase_source : 3a8a5a58e6bf56f8201a0ffbe0efc22e686507ec
2014-01-31 15:02:44 -08:00
Daniel Holbert
2f45c9517f
(no bug) Tweak a comment in nsFlexContainerFrame.cpp to make it accurate in the post-bug-939901 multi-line flexbox world. (no review, comment-only; DONTBUILD)
2014-01-31 14:54:08 -08:00
Nicholas Cameron
e259f86806
Bug 700926. Use nsStyleImage and nsRenderingContext to draw border-images. r=roc
2014-01-31 16:36:41 +13:00
Daniel Holbert
a16595c7e3
(no bug) whitespace fix in nsFlexContainerFrame.cpp (reindent some function-parameters). no review, whitespace-only, DONTBUILD
2014-01-30 13:02:05 -08:00
James Kitchener
705ad85b6f
Bug 953385 - Set math script flag on textruns belonging to MathML tokens. r=roc
2014-01-30 10:59:16 -05:00
Robert O'Callahan
f7acd87e0a
Bug 946502. Part 4: Remove mStickyPosFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : 71bcbd246cf6806196a3e64d32fdde169bddfa07
2014-01-04 18:14:27 +13:00
Matt Woodrow
f5ff47d807
Bug 946952 - Run a 'compressed' paint up to 1 second after skipping the ColorLayer optimization. r=roc
2014-01-30 18:41:17 +13:00
Kartikaya Gupta
6838566a8f
Bug 956690 - Ensure we descend into the root scroll frame if there is a displayport set. r=tn
2014-01-29 17:40:01 -05:00
Benoit Girard
ba779eccfc
Bug 940842 - 2/3 - Implement will-change in layers-building code - r=mattwoodrow
2013-11-22 13:14:34 -05:00
Botond Ballo
e6a11b0727
Bug 962791 - Do not wrap a position:absolute item into a ScrollLayer item if its containing block if outside the scrolled frame. r=roc
2014-01-27 19:51:35 -05:00
Kartikaya Gupta
49a38a6b30
Bug 961280 - Prevent the APZ repaint request from clobbering a layout-driven async scroll. r=tn
2014-01-28 17:54:59 -05:00
Mats Palmgren
19bc225508
Bug 964078. r=roc
2014-01-28 09:15:24 -05:00
David Zbarsky
c2b5692c64
Bug 952977: Convert Layer's mTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:29:06 -05:00
David Zbarsky
77535232c8
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
James Kitchener
b36478181e
Bug 941611 - More consistent rounding of text metrics. r=karlt, r=fredw
2014-01-27 08:18:26 -05:00
Timothy Nikkel
f23158ac10
Bug 963771. Remove code accidentally landed that was only ever intended for local debugging.
2014-01-26 16:50:31 -06:00
Timothy Nikkel
351bc2034d
Bug 963771. Add a debug dump function to print a single display item (and not just an entire display list). r=mats
2014-01-26 16:09:14 -06:00
Timothy Nikkel
c323a2dea7
Bug 962443. Make layout frame tree dumping code work better for Fennec and b2g. r=mats
2014-01-26 16:07:02 -06:00
Benoit Jacob
15ef84b8b5
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
28ff3ad25f
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
d136b8327b
Bug 959380 - 1/5 - Make gfxBreakPriority a typed enum - r=jrmuizel
2014-01-23 13:26:39 -05:00
Daniel Holbert
92c0ec28f6
Bug 962267: Move nsFlexContainerFrame.h's forward-decls into the class's scope. r=mats
2014-01-21 17:05:07 -08:00
Daniel Holbert
e4351e2133
Bug 783470 part 5: Add assertion to ensure we don't create FlexItems for abspos children. rs=mats
2014-01-21 14:52:32 -08:00
Daniel Holbert
192af6695e
Bug 783470 part 3: Use the strut metadata we've saved to actually build special "strut" FlexItems on our second pass through reflow. r=mats
2014-01-21 14:52:27 -08:00
Daniel Holbert
24178bf4de
Bug 783470 part 2: Create an array with information about each visibility:collapse "strut" that we need to build. r=mats
2014-01-21 14:51:58 -08:00
Daniel Holbert
8b3fd15df6
Bug 783470 part 1: Split most of flex reflow into a helper-function, so that we can easily restart it by reinvoking that helper. r=mats
2014-01-21 14:51:57 -08:00
Daniel Holbert
aa243cb603
Bug 961354 part 2: Don't consider absolutely-positioned elements to be flex items, since they don't participate in normal flex layout. r=mats
2014-01-20 14:02:20 -08:00
Daniel Holbert
43532411b0
Bug 961354 part 1: Move nsCSSOffsetState constructor definition to .cpp file. r=mats
2014-01-20 14:02:18 -08:00
Peiyong Lin
e0dbe148bc
Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert
2014-01-16 17:34:44 -08:00
Vivien Nicolas
34b64b76cb
Bug 942246 - Event fluffing fails to generate a click under certain conditions. r=smaug
2014-01-16 15:52:27 +01:00
Cameron McCormack
7e8cb6aa8a
Bug 960312 - Rename TEXT_IS_IN_SINGLE_CHAR_MI to NS_FRAME_IS_IN_SINGLE_CHAR_MI to make it clear it's global. r=roc
2014-01-16 16:10:09 +11:00
Cameron McCormack
8342768703
Backout rev 994659cbc145 (bug 960312) for various test failures.
2014-01-16 14:45:01 +11:00
Cameron McCormack
74b5546df5
Bug 960312 - Move TEXT_IS_IN_SINGLE_CHAR_MI to a class specific frame state bit value. r=roc
2014-01-16 13:55:19 +11:00
Robert O'Callahan
35d96f3fe3
Bug 157846. Part 0.1: When reflowing a non-rootframe reflow root, preserve its used padding in case that differs from its CSS computed padding for some reason. r=mats
...
--HG--
extra : rebase_source : 15631dc5a5f40dc2d95b1eaa7698fba635763626
2014-01-15 22:47:36 +13:00
James Kitchener
dbd39cd286
Bug 442637 - Apply ssty font feature setting to appropriate MathML elements. r=roc
...
--HG--
rename : layout/generic/MathVariantTextRunFactory.cpp => layout/generic/MathMLTextRunFactory.cpp
rename : layout/generic/MathVariantTextRunFactory.h => layout/generic/MathMLTextRunFactory.h
2014-01-15 09:49:20 -05:00
Wes Kocher
4feb8dd8e3
Merge b2g-inbound to m-c
2014-01-14 15:44:06 -08:00
Ed Morley
07bc93cb43
Bug 916143 - Disable test_movement_by_words.html on Windows for intermittent failures
2014-01-14 16:38:26 +00:00
Botond Ballo
6d1f87d7a1
Bug 957835 - Move operator|(FrameChildListID, FrameChildListID) to mozilla::layout. r=mats
...
--HG--
extra : rebase_source : 25fe8f29a6c826a5181e18880c393df9930f9d5c
2014-01-02 16:28:19 -05:00
Cameron McCormack
da173575ba
Bug 959016 - Add lldb Python command handlers for debugging Gecko, starting with frametree and frametreelimited. (DONTBUILD) r=ehsan
2014-01-14 09:24:22 +11:00
Robert Longson
2880ca117f
Bug 889235 - Make text-shadow work on SVG text. r=cam
2014-01-13 12:21:42 +00:00
Robert O'Callahan
c611107fa5
Bug 917416. Force the background color of an <iframe> with a remote subdocument into its own layer. r=tnikkel
...
--HG--
extra : rebase_source : 41692d16014209430fa68973dfa0296921083aae
2014-01-10 15:59:59 +13:00
Mats Palmgren
3ff4319718
Bug 958249 - The first ::first-letter continuation should display all sides of the border, the following continuations none. r=dholbert
2014-01-12 04:05:49 +00:00
Mats Palmgren
17490e8b74
Bug 943249 - Make <[i]frame scrolling> compatible with IE/Chrome; that is scrolling="no" (and synonyms) suppress scrollbars (as before), anything else has no effect. r=bz
2014-01-12 04:05:49 +00:00
Cameron McCormack
b6432d5b09
Bug 957770 - Take SVG font size scaling into account when vertically aligning text. r=roc
2014-01-11 12:13:09 +11:00
Benoit Jacob
38c78765b2
Bug 958375 - 9/9 - NS_SIDE_TOP was inadvertently used as the (1<<NS_SIDE_TOP) bit - r=roc
2014-01-10 14:06:17 -05:00
Benoit Jacob
535a216635
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Jonathan Kew
54f21ce0a4
bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc
2014-01-10 09:42:05 +00:00
Carsten "Tomcat" Book
e30f5ec866
Backed out changeset 4b54755de2a7 (bug 955957) for Build Bustage on a CLOSED TREE
2014-01-10 09:30:28 +01:00
Jonathan Kew
4247cb99b0
bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc
2014-01-10 07:48:01 +00:00
Daniel Holbert
225d516338
(no bug) fix typo in code comment (s/it's prev continuation/its prev continuation). Comment-only, so DONTBUILD
2014-01-09 17:44:58 -08:00
Cameron McCormack
f2c3027ca6
Bug 945074 - Give continuing nsFirstLetterFrame child a style context that inherits from what the nsFirstLetterFrame inherits from. r=dbaron
2014-01-09 10:12:42 +11:00
Daniel Holbert
84bbf5a65a
Bug 956046: Allow adjacent anonymous flex items if we've reordered items with the "order" property. r=dbaron
2014-01-08 14:37:13 -08:00
Markus Stange
c1ee39df36
Bug 941887. r=roc
2014-01-08 10:30:03 +01:00
Daniel Holbert
3ea9bcc426
Bug 807565: Don't let border/padding push minimum content-box size for themed flex items below 0. r=mats
2014-01-06 19:17:26 -08:00
Daniel Holbert
57fe219e9b
Bug 893496: Avoid doing bogus infinity*0 multiplication when producing a flex weight from huge flex-shrink and 0 flex-basis. r=mats
2014-01-05 20:18:12 -08:00
Mats Palmgren
1a854bc937
Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc
2014-01-05 23:31:14 +00:00
Ehsan Akhgari
ac73237d97
Merge m-c into inbound
2014-01-04 12:14:57 -05:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Robert Longson
74757f31d9
Bug 956311 - Remove nsSVGGeometryFrame. r=dholbert
2014-01-04 08:29:02 +00:00
Mats Palmgren
fa3f0fcd88
Bug 950411 - Initialize mNCAWidth to zero. r=roc
2014-01-03 21:08:50 +00:00
Mats Palmgren
843fe45a3d
Bug 949294 - Mark the delegating frame as being IN_REFLOW while reflowing abs.pos. children. r=roc
2014-01-03 21:08:50 +00:00
Timothy Nikkel
b02f4fee51
Bug 942189. Only avoid creating scroll info layers for root scroll frames in display root documents (not root content documents) because those have already had RecordFrameMetrics on them. r=roc
2014-01-03 14:48:57 -06:00
Cameron McCormack
48666bbe8b
Bug 897763 - Take into account nsChangeHint_{NeedReflow,ClearAncestorIntrinsics} never being inherited for difference calculations on certain style structs. r=dbaron
2014-01-03 13:39:54 +11:00
Robert O'Callahan
234a2eae9c
Bug 953438 - Change nsIFrame::HasTerminalNewline to HasSignificantTerminalNewline since it doesn't make sense to check for a newline that gets converted to regular whitespace. r=jfkthame
2014-01-02 16:22:12 -05:00
Daniel Holbert
740f1de274
Bug 944909, part 3: add crashtest. (test-only)
2013-12-31 08:47:49 -08:00
Daniel Holbert
d2258e012d
Bug 944909 part 2: add comment noting that assertion can be upgraded later. (comment-only)
2013-12-31 08:47:47 -08:00
Mats Palmgren
1165cdeb80
Bug 944909 part 1: On the final call to FreezeOrRestoreEachFlexibleSize, assert (and enforce) that each flex item ends up frozen. r=dholbert
2013-12-31 08:47:43 -08:00
Ms2ger
98586cdbc1
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
David Zbarsky
a574e57920
Bug 952977: Switch GetBBoxContribution to gfx::Matrix r=nical
2013-12-30 01:50:07 -05:00
Robert O'Callahan
67dd0d7a70
Bug 945203. Part 4: Add nsDisplayEventRegions and build it when painting. r=mats
...
--HG--
extra : rebase_source : 26b71b6a18681e8fc48c6082c8df6263c1bd3739
2013-12-17 00:22:11 +13:00
David Zbarsky
71ac1019d5
Bug 952977: Switch IsSVGTransformed to gfx::Matrix r=nical
2013-12-29 18:35:53 -05:00
Jonathan Kew
5b57b958d7
backout changeset 8b6f20bda157 (bug 735577 followup 1) for build failure
2013-12-29 22:48:13 +00:00
Jonathan Kew
eb1cfcc097
bug 735577 - followup 2 - additional comments describing ISize/BSize in nsHTMLReflow{Metrics,State}.h. r=roc
2013-12-29 22:04:28 +00:00
Jonathan Kew
f4958b2b4b
bug 735577 - followup 1 - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
2013-12-29 22:04:02 +00:00
Jonathan Kew
1f1bd46acb
bug 953247 - use binary search instead of linear scan to find tab-width records. r=roc
2013-12-29 11:32:21 +00:00
Jonathan Kew
3f1fa4aeb5
bug 735577 - pt 4.2 - convert width and height fields in nsHTMLReflowMetrics to logical coordinates. r=smontagu
2013-12-27 18:00:04 +00:00
Jonathan Kew
1598f60cbd
bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu
2013-12-27 17:59:52 +00:00
Jonathan Kew
9bd905dbd2
bug 735577 - pt 3.3 - provide logical-coordinate APIs in nsHTMLReflowState, parallel to the existing physical APIs. r=smontagu
2013-12-27 17:59:38 +00:00
Jonathan Kew
58325cd45d
bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu
2013-12-27 17:59:21 +00:00
Jonathan Kew
8e08dce845
bug 735577 - pt 3.1 - make width/height/offset/margin fields in nsHTMLReflowState private, and provide accessor functions. r=smontagu
2013-12-27 17:59:02 +00:00
Jonathan Kew
842a81b91f
bug 735577 - pt 2 - add GetWritingMode() method to nsIFrame. r=smontagu
2013-12-27 17:58:46 +00:00
Jonathan Kew
99941f00c3
bug 735577 - pt 1 - introduce mozilla::WritingMode and logical-coordinate Point/Size/Margin/Rect classes. r=smontagu
2013-12-27 17:58:37 +00:00