Commit Graph

5391 Commits

Author SHA1 Message Date
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