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
Daniel Holbert
cbd5c87eeb
Bug 919813 part 1: Remove never-checked return value from frame methods SetPrevInFlow, SetNextInFlow, SetPrevContinuation, SetNextContinuation. r=mats
2013-09-25 10:54:55 -07:00
Birunthan Mohanathas
b1a40a17a2
Bug 919729 - Remove unnecessary MOZILLA_INTERNAL_API checks from nsIFrame.h. r=bz
2013-09-25 09:48:20 -04:00
Birunthan Mohanathas
391c8b716a
Bug 906852 - Make layout/style/nsFontFaceLoader.* pointer notation follow layout code style. r=mats
2013-09-25 09:48:20 -04:00
Mats Palmgren
0ac2c33a9f
Bug 919318 - A few cosmetic changes after dropping the Get prefix on some methods. r=dholbert
2013-09-25 11:42:35 +00:00
Mats Palmgren
ae50ca5ce4
Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert
2013-09-25 11:42:34 +00:00
Masayuki Nakano
ee772d1cbc
Bug 912956 part.18 Remove nsGUIEvent.h r=roc
2013-09-25 20:21:22 +09:00
Masayuki Nakano
2f532b885b
Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc
2013-09-25 20:21:20 +09:00
Masayuki Nakano
38b1de7ee7
Bug 912956 part.16 mozilla/MiscEvents.h should be included directly r=roc
2013-09-25 20:21:20 +09:00
Masayuki Nakano
18aa9b09b2
Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc
2013-09-25 20:21:19 +09:00
Masayuki Nakano
715f30b959
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
Masayuki Nakano
a362049807
Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc
2013-09-25 20:21:16 +09:00
Cameron McCormack
9b8ec41c8b
Bug 916704 - Always initialize SVGTextContentPaint::Paint and check SetupCairoState return value in nsSVGTextFrame2::PaintSVG. r=longsonr
2013-09-25 17:18:41 +10:00
Daniel Holbert
e999460fd0
Bug 919871: Make .cpp files in layout/generic #include their corresponding .h file first. r=mats
2013-09-24 18:43:43 -07:00
Phil Ringnalda
a56199700e
Merge m-c to a CLOSED TREE m-i
2013-09-24 21:22:56 -07:00
Wes Kocher
07d04fc163
Merge b2g-i to m-c
2013-09-24 19:58:09 -07:00
Michael Wu
76f255f022
Bug 919845 - Really make Fira Sans the default font, r=jfkthame
2013-09-24 10:57:25 -07:00
Benoit Jacob
0f90257361
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Jonathan Watt
f407fab903
Bug 919263 - Remove bogus assertion from nsRangeFrame::AttributeChanged. r=dholbert
...
--HG--
extra : rebase_source : a713be35993eb58e44e2bb4f506587831986c57e
2013-09-24 21:29:31 +01:00
Jonathan Watt
a4bbce1e0f
Bug 920158 - Make nsCSSFrameConstructor::ConstructFrameFromItemInternal handle frames that should suppress floating of descendants. r=bz
...
--HG--
extra : rebase_source : 3f0b806dad1c1381bd30bd25e943866415e226f2
2013-09-24 21:29:29 +01:00
Jonathan Watt
602832e7f6
Bug 920154 - Rename nsIContent's SetNativeAnonymous method to SetIsNativeAnonymousRoot to be clear that it should only be called for the root native anonymous element. r=bz
...
--HG--
extra : rebase_source : 9be498a3ae51a4a4587c8035cb7bc58002b3a268
2013-09-24 21:29:27 +01:00
Jonathan Watt
8ee1e8e7cf
Bug 920146 - Rename NODE_IS_ANONYMOUS to NODE_IS_ANONYMOUS_ROOT to avoid misinterpretation and for symmetry with NODE_IS_NATIVE_ANONYMOUS_ROOT. r=bz
...
--HG--
extra : rebase_source : ea8c2377f1f85248239a3f6b0f6f64bfe40e44ea
2013-09-24 20:28:32 +01:00
Ryan VanderMeulen
ddd5c1bb75
Backed out changeset dec7ac293e74 (bug 782546) for breaking the test it was trying to annotate.
2013-09-24 13:45:59 -04:00
Randell Jesup
d187db8b95
Bug 917491: Guarantee cleanup of AsyncLatencyLogger on xpcom-shutdown r=bsmedberg
2013-09-24 22:10:24 -04:00
Ehsan Akhgari
9890a8c148
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Ryan VanderMeulen
f77362bbb1
Merge inbound to m-c.
2013-09-23 17:01:29 -04:00
Martin Stransky
4a7567357a
Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt
2013-09-23 09:21:35 -04:00
Ryan VanderMeulen
d17cc33501
Bug 782546 - Mark test_transformed_scrolling_repaints_3.html as random on Linux 64.
2013-09-24 11:56:29 -04:00
Masayuki Nakano
224a14c928
Bug 912956 part.12 All event utils (macros and inline methods) should be methods of mozilla::WidgetEvent r=roc
2013-09-24 19:04:16 +09:00
Masayuki Nakano
0b6d808310
Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
...
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Jeff Muizelaar
035e883752
Bug 916535. Avoid using repeating gradients for tiling when it won't work. r=roc
...
Avoiding normalization introduced in bug 895135 caused gradientStart/Stop to
not correspond to the firstStop and lastStop. This can cause us to incorrectly
decide to use the repeat fast path. This patch switches takes us back to the
same condition as we had before the regression.
--HG--
extra : rebase_source : f335e1db9166213115354eb14dbe90b09127a68b
2013-09-24 00:04:36 -04:00
Daniel Holbert
39c340ae62
(no bug) Replace two c-style casts in nsFrame.cpp with const_cast<>. (no review; trivial/non-functional)
2013-09-23 21:04:08 -07:00
Makoto Kato
41da4e36b5
Backout changeset 28aab9d91f12 (Bug 916071)
2013-09-24 12:55:46 +09:00
Makoto Kato
24d417be72
Bug 916071 - Detect RemoteFX on reftest. r=vlad
2013-09-24 10:20:39 +09:00
Ehsan Akhgari
830d4e9911
Bug 919326 - Minimize the #includes in layout/ IDL files; r=roc
...
--HG--
extra : rebase_source : ec8cdff9466ff75463841818537ecead2cb57e62
2013-09-22 19:24:27 -04:00
Phil Ringnalda
6444cc88b4
Backed out 6 changesets (bug 881804) for frequent Android reftest and jsreftest timeouts
...
Backed out changeset 61972f55702b (bug 881804)
Backed out changeset 0a24b77d4ffb (bug 881804)
Backed out changeset 9fbcf4c3ab2b (bug 881804)
Backed out changeset 2d35068ec2f5 (bug 881804)
Backed out changeset 757790e5cd9f (bug 881804)
Backed out changeset d8a172fa4b20 (bug 881804)
2013-09-21 17:59:14 -07:00
Timothy Nikkel
3d5bc6688c
Bug 919129. Fix nsLayoutUtils::UpdateImageVisibilityForFrame so that it doesn't expand the image rect so much by replacing it with the scroll port rect. r=matspal
2013-09-21 16:20:22 -05:00
Nicholas Hurley
d66aed1f86
Bug 881804 (part 4) - Plumb layout into predictive network actions. r=bz
2013-09-20 15:24:07 -07:00
Daniel Holbert
57bae80d73
Bug 918519 part 2: Replace GetMainComponent/GetCrossComponent invocations with macros to avoid unnecessarily constructing nsSize() on-the-fly. r=mats
2013-09-20 13:26:52 -07:00
Daniel Holbert
dfd15fcdd9
Bug 918519 part 1: Add macros GET_MAIN_COMPONENT and GET_FLEX_COMPONENT to nsFlexContainerFrame.cpp, and use them to implement existing utility methods. r=mats
2013-09-20 13:26:52 -07:00
Martijn Wargers
ec23e641fa
Bug 917056 - Make zoomed-svg-with-viewBox-01.svg use reftest-zoom. r=longsonr
2013-09-18 01:05:03 +02:00
Matt Woodrow
bec09ce09b
Bug 907926 - Try avoid having multiple path objects around since this is slow with DrawTargetCairo. r=Bas
2013-09-19 17:23:30 +12:00
Honza Bambas
da53acf440
Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin
2013-09-20 11:11:25 +02:00
Robert O'Callahan
c2f9462ad3
Bug 913438. Remove mAnchor check since it doesn't help correct inconsistency between ImageLayer snapping and regular snapped image drawing, and can hurt performance. r=tnikkel
...
--HG--
extra : rebase_source : 5f62e052d20a9acb0a428b988e2d9b16c7b19dbc
2013-09-09 17:08:41 -07:00
Phil Ringnalda
59e3df3c1e
Backed out 2 changesets (bug 918176) for assertions
...
CLOSED TREE
Backed out changeset 9d5728797e77
Backed out changeset 1a895d95c88b (bug 918176)
2013-09-19 19:56:02 -07:00
Cameron McCormack
4245a25bb3
Fix assertion text typo; no bug. rs=dholbert
2013-09-20 11:24:04 +10:00
Cameron McCormack
1c1fbf5ef6
Bug 918176 - Silence uninitialized variable warning in nsRuleNode::ComputeContentData. r=dholbert
2013-09-20 11:24:04 +10:00
Wes Kocher
b03b0b7668
Backed out 5 changesets (bug 907926, bug 911393, bug 917703) due to OSX reftest bustage during an unrelated CLOSED TREE
...
Backed out changeset 94a6733b01dc (bug 907926)
Backed out changeset 44108fb6f7cc (bug 917703)
Backed out changeset f2dd2a27af69 (bug 911393)
Backed out changeset fdb0d1053128 (bug 907926)
Backed out changeset b3616b786e8f (bug 907926)
2013-09-19 17:56:18 -07:00
Matt Woodrow
989c6f730f
Bug 907926 - Try avoid having multiple path objects around since this is slow with DrawTargetCairo. r=Bas
2013-09-19 17:23:30 +12:00
Rik Cabanier
8614b1d5ca
Bug 917943 - Fix color-burn and color-dodge blend modes for Direct2D. r=Bas
2013-09-19 14:48:30 -04:00
Ehsan Akhgari
36f0a2afa0
Bug 886781 follow-up: Disable the test properly, we can't return from the global scope
...
Landed on a CLOSED TREE
2013-09-19 11:49:04 -04:00
Ryan VanderMeulen
9c958fd45f
Backed out changeset 98271bb483eb (bug 914607) for crashtest/reftest crashes.
...
CLOSED TREE
2013-09-19 11:27:50 -04:00
Ed Morley
68a437c70a
Bug 907903 - Mark 759036-2.html as random-if on Android 2.2 for too many intermittent failures
2013-09-19 15:11:03 +01:00
Ed Morley
775690787d
Bug 907899 - Mark 759036-1.html as random-if on Android 2.2 for too many intermittent failures
2013-09-19 15:09:59 +01:00
Ed Morley
e945175b55
Bug 886781 - Disable test_movement_by_characters.html on Windows 8 for too many intermittent failures
...
--HG--
extra : rebase_source : 608a5680e1e7bcd9ab87b732b0366512abbc1529
2013-09-19 14:25:23 +01:00
Benoit Jacob
43fcdc2ede
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-19 09:54:42 -04:00
Dan Minor
da2b9304d4
Bug 907351 - Android pandaboard reftests run significantly slower; r=gbrown
2013-09-19 09:12:48 -04:00
Martin Stransky
a2a96d9b69
Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt
2013-09-19 09:10:04 -04:00
Birunthan Mohanathas
2b61a1f0c4
Bug 264517 - Move the _LAYOUT variant of COMPUTED_STYLE_MAP_ENTRY into a property bit. r=dbaron
2013-09-23 09:28:55 -04:00
Ehsan Akhgari
39c223b372
Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc
2013-09-23 07:55:35 -04:00
Ehsan Akhgari
5dc78a019a
Bug 919355 - Part 1: Don't #include nsDeviceContext.h in nsPresContext.h; r=roc
2013-09-23 07:52:25 -04:00
Ed Morley
fcecbde3ce
Bug 917817 - Make several more python test harness failure modes TBPL parsable; r=jmaher
2013-09-19 13:20:17 +01:00
Phil Ringnalda
059782fbe5
Merge m-c to m-i
2013-09-18 23:28:41 -07:00
Phil Ringnalda
fbd6eb9d18
Backed out 10 changesets (bug 907926, bug 911393, bug 740200, bug 917703) for b2g build bustage
...
CLOSED TREE
Backed out changeset ae02054863f7 (bug 907926)
Backed out changeset 8fcdbbc2dac2 (bug 917703)
Backed out changeset aa253a1fd7e5 (bug 911393)
Backed out changeset ec63e6d6d874 (bug 907926)
Backed out changeset 0042a2722aab (bug 907926)
Backed out changeset dc8bddfca5f1 (bug 740200)
Backed out changeset 439ff7e64d35 (bug 740200)
Backed out changeset d871c0d61510 (bug 740200)
Backed out changeset 3b248c5a0dc2 (bug 740200)
Backed out changeset 3466e81d3a41 (bug 740200)
2013-09-18 23:08:41 -07:00
Wes Kocher
0d414f78a1
Merge inbound to m-c
2013-09-18 16:48:24 -07:00