Masayuki Nakano
10616a1ed1
Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug
2013-10-22 22:27:35 +09:00
Masayuki Nakano
4a7e097954
Bug 602787 part.1 Don't implement PresShell::Delayed*Event class in nsPresShell.h r=smaug
2013-10-22 22:27:34 +09:00
Nicholas Cameron
dd6d5fdd9f
Bug 914847. Mini-flush for animations. r=dbaron
2013-10-22 14:14:41 +02:00
Nicholas Cameron
732d37067c
Bug 914847. Use a mini-flush instead of a full style flush. r=dbaron
2013-10-22 14:13:26 +02:00
Olli Pettay
cb249f7db1
Bug 928403 - optimize nsFrameConstructorState::ProcessFrameInsertions, r=roc
...
--HG--
rename : testing/mochitest/b2g-debug.json => testing/mochitest/b2g.json
extra : rebase_source : c45d39f4b50f248b28a6ebfb50128084bb59ebe4
2013-10-22 15:06:01 +03:00
Seth Fowler
69e91a47b3
Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert
2013-10-22 13:37:57 +02:00
John Daggett
b58fe43917
Bug 915440. Crashtest for empty font URL. r=me
2013-10-22 13:06:20 +02:00
John Daggett
4970b997ea
Bug 915440 - move null URL fix to after format hint is processed. r=dbaron
2013-10-22 13:06:20 +02:00
Markus Stange
aaf1e127bb
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
Wes Kocher
3087222a6b
Merge m-c to inbound
2013-10-10 19:09:24 -07:00
Wes Kocher
b643cbab41
Merge inbound to m-c
2013-10-10 18:59:58 -07:00
Cameron McCormack
f6c813d402
Bug 899808 - Fix matching of pseudo-elements in scoped style sheets. r=dbaron
2013-10-11 10:28:49 +11:00
Mike Hommey
6a714831b9
Bug 922460 - Kill media/webrtc/shared_libs.mk. r=ted
...
--HG--
rename : media/webrtc/shared_libs.mk => layout/media/webrtc/Makefile.in
2013-10-11 08:15:24 +09:00
Steven Michaud
1cd5baa317
Bug 925411 - Temporarily backout patch for bug 868646 for causing this bug. r=spohl
2013-10-10 16:22:02 -05:00
Kartikaya Gupta
f69138d888
Bug 923431 - Kill ScreenToScreenScale. r=botond
2013-10-10 12:21:55 -04:00
Cameron McCormack
df42984858
Bug 925218 - Include -moz-system-font as a component of the 'all' shorthand. r=dbaron
2013-10-10 12:31:21 +11:00
Cameron McCormack
63f09e6793
Bug 925193 - Offer "unset" when autocompleting properties in the style inspector. r=bzbarsky
2013-10-10 11:47:40 +11:00
Ehsan Akhgari
282051982e
Bug 924248 - Make nsIDocument.h go on a diet; r=jst
...
The nsMacShellService code is rewritten to stop using GetLoadContext
which will now only be available in libxul.
2013-10-07 22:21:07 -04:00
Daniel Holbert
f837a8ecf8
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
Benoit Girard
8add8ce2c1
Bug 918825 - Add frame duration marker. r=ehsan
...
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
André Reinald
d248f3924a
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
Tim Abraldes
541ac77ee8
bug 856977. Alert should not be possible from beforeunload. r=bbondy,bz
2013-10-08 14:00:12 -07:00
Birunthan Mohanathas
b823b8896b
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
a23cd291d5
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
8d661e8d96
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
Cameron McCormack
f602a4b1eb
Bug 842329 - Part 4: Test. r=bzbarsky
2013-10-04 04:49:20 +10:00
Cameron McCormack
cdaff94aa4
Bug 842329 - Part 3: Serialize the "all" shorthand property as the empty string unless all components are inherit/initial/unset. r=bzbarsky
2013-10-04 04:49:20 +10:00
Cameron McCormack
58b4760851
Bug 842329 - Part 2: Parse the "all" shorthand property. r=bzbarsky
2013-10-04 04:49:19 +10:00
Cameron McCormack
da4a1db7d3
Bug 842329 - Part 1: Add "all" shorthand property. r=bzbarsky
2013-10-04 04:49:19 +10:00
Cameron McCormack
f4a634e32d
Bug 921731 - Part 10: Modify existing style tests to use "unset". r=bzbarsky
2013-10-04 04:49:19 +10:00
Cameron McCormack
eac9ad85d3
Bug 921731 - Part 9: Serialize shorthands using "unset" like those containing "inherit" or "initial". r=bzbarsky
2013-10-04 04:49:19 +10:00
Cameron McCormack
548f50580d
Bug 921731 - Part 8: Support "unset" in computation of properties. r=bzbarsky
2013-10-04 04:49:18 +10:00
Cameron McCormack
f3b8113210
Bug 921731 - Part 7: Treat "unset" on inherited properties like "inherit" in nsRuleNode::HasAuthorSpecifiedRules. r=bzbarsky
2013-10-04 04:49:18 +10:00
Cameron McCormack
8058e5a031
Bug 921731 - Part 6: Treat "unset" as "inherit" when determining rule detail for inherited style structs. r=bzbarsky
2013-10-04 04:49:18 +10:00
Cameron McCormack
6699cf7840
Bug 921731 - Part 5: Support eCSSUnit_Unset in nsRuleNode.cpp's SetFactor. r=bzbarsky
2013-10-04 04:49:18 +10:00
Cameron McCormack
ae26d6be95
Bug 921731 - Part 4: Support eCSSUnit_Unset in nsRuleNode.cpp's SetDiscrete. r=bzbarsky
2013-10-04 04:49:17 +10:00
Cameron McCormack
2fb509641f
Bug 921731 - Part 3: Support eCSSUnit_Unset in nsRuleNode.cpp's SetCoord. r=bzbarsky
2013-10-04 04:49:17 +10:00
Cameron McCormack
683a8e7860
Bug 921731 - Part 2: Parse "unset" in property values whereever "inherit" and "initial" are allowed. r=bzbarsky
2013-10-04 04:49:17 +10:00
Cameron McCormack
577a801330
Bug 921731 - Part 1: Add new eCSSUnit_Unset unit for nsCSSValues. r=bzbarsky
2013-10-04 04:49:17 +10:00
Cameron McCormack
00c39ab36a
Bug 921731 - Part 0: Add "layout.css.unset-value.enabled" pref. r=bzbarsky
2013-10-04 04:48:41 +10:00
Robert O'Callahan
2d30963433
Backed out changeset 0ef00ffc6c12 for bug 923193 due to test failures:
2013-10-03 09:52:44 -04:00
Robert O'Callahan
944645a6ad
Bug 923193. Make transform-origin on SVG elements use the SVG bbox as the reference rectangle. r=heycam
...
--HG--
extra : rebase_source : 7c8d1b42a09b9389d082195edd0c683e2dc7e12e
2013-10-03 08:34:24 -04:00
Cameron McCormack
26d2825aaf
Bug 919594 - Part 3: Test.
2013-10-03 20:58:01 +10:00
Cameron McCormack
7c68f91101
Bug 919594 - Part 2: Encapsulate the computed style map and make it take disabled properties into account. r=bzbarsky
2013-10-03 20:58:01 +10:00
Cameron McCormack
422b5ef184
Bug 919594 - Part 1: Move computed style map entries to a preprocessor included file. r=bzbarsky
2013-10-03 20:58:01 +10:00
Ms2ger
ae8c899faf
Merge m-c to inbound.
2013-10-03 11:09:17 +02:00
Ms2ger
df62fb8b0f
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Ms2ger
9d5ce8dfb7
Bug 922268 - Remove empty makefiles; r=gps
2013-10-03 09:10:00 +02:00
Seth Fowler
28d13ec898
Bug 920621 (Part 2) - Tests for zoom with the svg:image element. r=dholbert
...
--HG--
rename : layout/reftests/svg/pass.svg => layout/reftests/svg/image/lime-no-dimensions.svg
2013-10-02 19:04:33 -07:00
Seth Fowler
f0a34dd261
Bug 920621 (Part 1) - Correct for full page zoom in nsSVGImageFrame. (Partial revert of bug 600207.) r=dholbert
2013-10-02 19:04:28 -07:00
Mats Palmgren
ddf811b946
Bug 922082 - Skip display:none options when searching for a match. r=bz
2013-10-02 09:56:03 +00:00
Matt Woodrow
b7e2fb90c1
Bug 916034 - remove + character from a broken rebase. r=bustage
2013-10-02 22:35:19 +13:00
Matt Woodrow
870cf524d2
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
b266c80d36
Bug 920377 part.32 Get rid of nsMouseEvent r=roc
2013-10-02 15:38:27 +09:00
Phil Ringnalda
5a81259d62
Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes
2013-10-01 22:46:48 -07:00
Daniel Holbert
c28d8443d8
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
0823bd31f1
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Masayuki Nakano
096a701901
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Benoit Girard
b73cfdb32c
Bug 918825 - Add frame duration marker. r=ehsan
2013-09-27 12:08:45 -04:00
Ehsan Akhgari
1e1f27abed
Bug 923151 - Part 2: Don't #include nsIDocument.h in mozilla/dom/Element.h; r=jst
...
--HG--
extra : rebase_source : 8c5f5429574313a1304eb2779cdb6b5702e4094d
2013-10-02 16:09:18 -04:00
Scott Johnson
5b2d29977b
Backout 6a5549d97d8d (bug 878935) for missing IID changes.
2013-10-02 11:36:44 -05:00
Daniel Holbert
08c35098b9
(no bug) fix typo in nsGfxButtonControlFrame.cpp comment: s/nsHTMLButtonFrame/nsHTMLButtonControlFrame/
...
DONTBUILD
2013-10-02 09:04:09 -07:00
Ehsan Akhgari
65f992afec
Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst
...
--HG--
extra : rebase_source : 51f56fa27604224eacc2ba384bb826c49f4f917f
2013-10-02 07:40:07 -04:00
Matt Woodrow
32e8400892
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
567884049e
Bug 916520. Rename nsClientRect(List) to mozilla::dom::DOMRect(List). r=khuey
...
--HG--
rename : content/html/content/src/nsClientRect.cpp => content/base/src/DOMRect.cpp
rename : content/html/content/src/nsClientRect.h => content/base/src/DOMRect.h
rename : dom/webidl/ClientRect.webidl => dom/webidl/DOMRect.webidl
rename : dom/webidl/ClientRectList.webidl => dom/webidl/DOMRectList.webidl
extra : rebase_source : ebe27ef21b38f7df5065f37b971508b740c8cf3c
2013-09-20 22:21:03 +12:00
Robert O'Callahan
e498319509
Bug 898444. Wrap nsDisplayScrollLayer only around the scrolled content. r=tn
...
--HG--
extra : rebase_source : 828c5e4a33a26d958117357b439955cfb8dee1dd
2013-10-01 22:29:24 -04:00
Jeff Muizelaar
55e2da1b6d
Bug 922817. Avoid unecessary PushGroups()s while painting. r=roc
...
This avoids a temporary surface when painting svg images.
--HG--
extra : rebase_source : b458c3e6daef20be14fa7d6c63be7874bc4bb850
2013-10-01 22:24:39 -04:00
Nicolas Silva
1df67b87cd
Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob
2013-10-01 17:57:50 -07:00
Jonathan Watt
dd8707fd23
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
776578873a
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
4f0b573862
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
cfed39e52c
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
18ef76b0d7
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
27c999b3b4
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
Scott Johnson
8de43774d3
Bug 878935: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats]
2013-10-01 14:52:13 -05:00
Masayuki Nakano
2e247a29a0
Bug 920377 part.28 Get rid of nsDragEvent r=roc
2013-10-01 16:23:02 +09:00
Masayuki Nakano
9c18a013ca
Bug 920377 part.26 Get rid of nsInputEvent r=roc
2013-10-01 16:23:02 +09:00
Masayuki Nakano
ad66b1daf9
Bug 920377 part.18 Get rid of nsTextRangeStyle r=roc
2013-10-01 16:22:59 +09:00
Masayuki Nakano
cb5e8fa5ed
Bug 920377 part.17 Get rid of nsKeyEvent r=roc
2013-10-01 16:22:58 +09:00
Daniel Holbert
da589c9e63
Bug 922410: Consolidate loops in MainAxisPositionTracker constructor. r=mats
2013-09-30 20:30:24 -07:00
Nicholas Nethercote
b0fbe50f2b
Bug 921923 (part 3) - Make multi-output sizeOfFoo() functions more consistent in content/, dom/ and layout/. r=till.
...
--HG--
extra : rebase_source : ac8aebe86b4b7ee5acc0f541be5645abf73b6a98
2013-09-30 16:20:23 -07:00
Cameron McCormack
98a16ed07e
Bug 921716 - Don't paint column rules when element is visibility:hidden. r=sjohnson
2013-10-01 11:30:06 +10:00
Daniel Holbert
6d3aa3f196
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
f720bbfbaa
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
fb2d179c64
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
f0bcf1241b
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Gregory Szorc
89c902c7b2
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Dan Minor
e058434d7a
Bug 921021 - Update reftest manifests for pandaboards; r=jmaher
2013-09-30 07:49:04 -04:00
Gregory Szorc
c44d9c8614
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a
Backed out changeset 77bff106b704 (bug 920223)
2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Ed Morley
5e3c678fac
Backed out changeset 8b02873ee07e (bug 920223)
2013-09-30 12:50:05 +01:00
Gregory Szorc
18c2c27094
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Gregory Szorc
47e946bebe
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Cameron McCormack
6c42f4346f
No bug - Assertion text typo fix. (DONTBUILD)
2013-09-30 17:40:12 +10:00
Cameron McCormack
464d030850
Bug 918176 - Silence uninitialized variable warning in nsRuleNode::ComputeContentData. r=dholbert
2013-09-20 11:24:04 +10:00
Cameron McCormack
a84a1648a9
Bug 921797 - Make nsCSSProps::BuildShorthandsContainingTable support -moz-appearance being a shorthand subproperty. r=bzbarsky
2013-09-30 13:23:43 +10:00
Matt Woodrow
ebc311f303
Bug 921233 - Enabled azure for main-thread drawing on OSX. r=jrmuizel
2013-09-30 12:17:35 +13:00
Cameron McCormack
ccce38c17a
No bug - White space tweak in nsCSSPropList.h. (DONTBUILD)
2013-09-29 15:45:28 +10:00
Cameron McCormack
d099ce662c
Bug 921795 - Make inDOMUtils::GetCSSValuesForProperty report "initial" not "-moz-initial". r=mina
2013-09-29 14:41:30 +10:00
Cameron McCormack
5e5991238e
No bug - Comment typo fixes in nsCSSProps.h. (DONTBUILD)
2013-09-29 11:40:07 +10:00
Andrew Quartey
1d2f65d5a1
Bug 896273 - Make HTMLSelectElement::SetOptionsSelectedByIndex take a flag argument. r=Ms2ger
2013-09-28 15:04:20 -04:00
Daniel Holbert
ff8f75654f
Bug 913759 part 2: reftests for percent-sized content in a button. r=bz
2013-09-28 10:24:01 -07:00
Daniel Holbert
e76736b865
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
Cameron McCormack
fd7ff97f2d
No bug - Fix copy/paste error in 'mix-blend-mode' comment. (DONTBUILD)
2013-09-28 18:03:31 +10:00
Daniel Holbert
af3ddebc23
(no bug) fix typo in a comment within a reftest. DONTBUILD
2013-09-27 23:49:58 -07:00
Wes Kocher
072aab0f7f
Merge fx-team to m-c
2013-09-27 20:32:24 -07:00
Kartikaya Gupta
232cdf9c5d
Bug 918682 - Fix the check for finding the root content document's root scroll frame. r=tn
2013-09-27 15:15:57 -04:00
Nathan Froyd
98723f4c48
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
Markus Stange
018eb43241
Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc
2013-09-27 17:24:32 +02:00
Ed Morley
88c9067e2b
Backed out changeset 045d5fadd2fa (bug 907463) for compilation failures
2013-09-27 11:37:18 +01:00
Nicholas Cameron
618436a090
Bug 907463. Ignore result of very big canvas reftest. r=roc
2013-09-27 21:48:41 +12:00
Daniel Holbert
d1a1998fc3
(no bug) Remove useless "color" declaration (overridden by another "color" declaration several lines below it) from vertical-centering button reftest.
2013-09-26 23:43:16 -07:00
Daniel Holbert
53aadf5e35
Bug 921174 part 5: Assert that nsHTMLButtonControlFrame has exactly one child, and it's the button-content frame. r=bz
2013-09-26 23:43:16 -07:00
Daniel Holbert
cc6f96df36
Bug 921174 part 4: Move focusPadding into ReflowButtonContents, the only place it's used now. r=bz
2013-09-26 23:43:16 -07:00
Daniel Holbert
b04cfc7307
Bug 921174 part 3: Make ReflowButtonContents() use a dedicated nsHTMLReflowMetrics instance, and give it full responsibility for populating parent's metrics. r=bz
2013-09-26 23:43:16 -07:00
Daniel Holbert
bc7d14fa1d
Bug 921174 part 2: Use a separate nsReflowStatus for button frame's reflow vs. button contents frame's reflow. r=bz
2013-09-26 23:43:16 -07:00
Daniel Holbert
696f9e163d
Bug 921174 part 1: Rename reflow state variables in nsHTMLButtonFrame, for clarity. r=bz
2013-09-26 23:43:15 -07:00
Masayuki Nakano
da7066887d
Bug 920377 part.13 Get rid of nsTouchEvent r=roc
2013-09-27 15:20:57 +09:00
Masayuki Nakano
cec4dab85f
Bug 920377 part.11 Get rid of nsScrollPortEvent r=roc
2013-09-27 15:20:56 +09:00
Masayuki Nakano
f3842530f4
Bug 920377 part.10 Get rid of nsScrollAreaEvent r=roc
2013-09-27 15:20:56 +09:00
Masayuki Nakano
6a38167904
Bug 920377 part.6 Get rid of nsTransitionEvent r=roc
2013-09-27 15:20:55 +09:00
Masayuki Nakano
6d8b269870
Bug 920377 part.5 Get rid of nsAnimationEvent r=roc
2013-09-27 15:20:54 +09:00
Ryan VanderMeulen
bf289dbdf5
Merge fx-team to m-c.
2013-09-26 21:36:35 -04:00
Blake Kaplan
13044eee98
Bug 917515 - Check for null before checking the document. r=ehsan
2013-09-26 18:42:53 +02:00
Carsten "Tomcat" Book
645d86cc99
Merge m-c to fx-team
2013-09-26 15:57:51 +02:00
Nicholas Nethercote
159167c25b
Bug 414087 (part 2) - Remove insignificant wasted space in StackBlock. r=bz.
2013-09-25 21:28:55 -07:00
Nicholas Nethercote
0f4f62f070
Bug 414087 (part 1) - Clean up the style of StackArena.{h,cpp}. r=bz.
2013-09-25 21:28:46 -07:00
Martijn Wargers
b6409bb295
Bug 917061 - Fix the last 2 crashtests that use enablePrivilege. r=dholbert
2013-09-25 20:03:38 +02:00
L. David Baron
3e3eba12f0
Followup to bug 828312 patch 9a: Mark test as fuzzy-if on Android. CLOSED TREE
2013-09-25 17:53:12 -07:00
L. David Baron
93872ab342
Followup to bug 828312 patch 9a: Mark test as fuzzy-if on Mac OS X 10.8, where the Ahem font is behaving in ways it shouldn't. CLOSED TREE
2013-09-25 15:45:24 -07:00
Ryan VanderMeulen
62eed64bbe
Bug 907908 - Mark 776265-1a.html as random-if on Android 2.2 for too many intermittent failures.
...
DONTBUILD CLOSED TREE
2013-09-25 17:02:07 -04:00
Ryan VanderMeulen
a6baf49d6e
Bug 907905 - Mark 647192-1.html as random-if on Android 2.2 for too many intermittent failures.
2013-09-25 17:01:53 -04:00
L. David Baron
38a6d76524
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
b19b847ec9
Bug 828312 patch 10: Add assertions to check that handling of nsChangeHint_ChildrenOnlyTransform doesn't need to check continuations. r=bzbarsky
...
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:08 -07:00
L. David Baron
b0e32cdf38
Bug 828312 patch 9b: Make handling of RecomputePosition hint check continuations. r=bzbarsky
...
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:08 -07:00
L. David Baron
31df6fcc33
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
L. David Baron
4e7bd63a47
Bug 828312 patch 8: Make handling of UpdateEffects hint check continuations. r=bzbarsky
...
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:07 -07:00
L. David Baron
eddf04ceed
Bug 828312 patch 7: Use more typical loop structure and don't mutate |frame| in UpdateOverflow hint handling. r=bzbarsky
2013-09-25 12:28:07 -07:00
L. David Baron
2ffabf4425
Bug 828312 patch 6: Make early transform handling check continuations. r=bzbarsky
...
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:07 -07:00
L. David Baron
7bb0d89ddf
Bug 828312 patch 5: Don't handle UpdateCursor more than once per round of style change processing, since it's global. r=bzbarsky
...
(This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings. In this case, however, the
change hint only needs to apply once, globally.)
2013-09-25 12:28:07 -07:00
L. David Baron
2c713d5f2d
Bug 898209 patch 16: Move a comment that should have been moved in patch 15. No review.
2013-09-25 12:28:07 -07:00
L. David Baron
06fe81c384
Bug 898333, patch 2: Change RestyleManager::Restyle's tree traversal to reach next-continuations (and same-display block-in-inline siblings) from their prev-continuation rather than from their parent. r=bzbarsky
...
This patch fundamentally makes three changes:
(1) Change the way RestyleSelf is used so that it is called in a loop,
over all of the same-style continuations and block-in-inline
siblings.
(I had a note here reminding myself:
TODO: Don't set hints for descendants!
but I no longer remember what it meant.)
(2) Change the traversal of children to traverse all of the children of
the items traversed in (1).
(3) When traversing children, skip children that are continuations,
since we already reached them in (1) and (2).
A later patch will change the RestyleSelf loop to copy for the later
continuations rather than repeating the work. This will mean reverting
many of the RestyleSelf changes contained here.
Some of the pieces marked temporary will be removed in bug 828312 patch
11, and the rest should hopefully be removed in bug 918064.
2013-09-25 12:28:07 -07:00
L. David Baron
d6992d5f88
Bug 898333, patch 1: Restyle the :after pseudo-element after the content children. r=bzbarsky
2013-09-25 12:28:07 -07:00
Robert Longson
6525639865
Bug 919900 - Mark reftest fuzzy on windows 7
2013-09-26 15:29:09 +01:00
Robert Longson
92809f7d98
Bug 919900 - Mark reftest fuzzy on windows 7
2013-09-26 15:22:13 +01:00
Robert Longson
878714ba07
Bug 919900 - Correct bounding box calculations for empty text elements with svg.text.css-frames.enabled. r=heycam
2013-09-26 13:42:15 +01:00
Frank Yan
ef930d6fea
Bug 880672: Add support for unprefixed cursor:grab and cursor:grabbing. r=bzbarsky sr=dbaron
2013-06-24 00:32:44 -07:00
Daniel Holbert
11e5a68823
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