Commit Graph

4841 Commits

Author SHA1 Message Date
Daniel Holbert
72c1fdc5a8 Bug 885424 part 3: Rename flexContainerMainSize to contentBoxMainSize, for clarity, and mark that & 'frameMainSize' as const. r=dbaron 2013-07-09 14:38:59 -07:00
Daniel Holbert
c77530ad52 Bug 885424 part 2: Perform flexbox main-axis alignment separately from cross-size determination, to more closely match the ordering of steps in flexbox spec. r=dbaron 2013-07-09 14:38:59 -07:00
Daniel Holbert
2a0690a89e Bug 885424 part 1: Set aStatus at the very beginning of flexbox reflow, and call NS_FRAME_SET_TRUNCATION at the very end. r=dbaron 2013-07-09 14:38:59 -07:00
Daniel Holbert
36aaafb064 Bug 885424 part 0: Shift declarion of 'frameCrossSize' down to where it's actually used. r=dbaron 2013-07-09 14:38:59 -07:00
Scott Johnson
59c0b63570 Bug 861184: Pull code providing binary search for valid column height into its own method. [r=roc] 2013-07-09 15:24:27 -05:00
Benoit Girard
123c3a85d6 Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats 2013-07-02 11:16:05 -04:00
Ryan VanderMeulen
e39cea1d90 Bug 891347 - Skip 385526.html on B2G due to frequent timeouts. 2013-07-09 16:02:04 -04:00
Joey Armstrong
a6b9800cfb bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Simon Montagu
74ecd8892c Use GetFrameBaseLevel to drill down to the first leaf frame instead of just looking at the first child when getting the line direction. Bug 889742, r=roc 2013-07-04 10:13:52 +03:00
Robert Longson
5d44648cb3 Bug 889329 - Implement deselectAll(). r=cam,sr=roc 2013-07-03 08:41:53 +01:00
Joey Armstrong
b931149ad7 bug 870407: move CMMSRCS to mozbuild (file batch #3). r=mshal 2013-07-02 17:09:08 -04:00
Jim Mathies
7a5fb0d2a7 Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange 2013-07-02 05:02:21 -05:00
Phil Ringnalda
2f47f82f77 Backed out changeset 77bd60758c53 (bug 879565) for still asserting, just not quite as much 2013-07-01 21:43:49 -07:00
Jim Mathies
f49be481e5 Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. (Debug osx assertions fixed.) r=mstange 2013-07-01 21:42:00 -05:00
Jim Mathies
4f19f4c50a Backed out changeset c2299dce9dbd (bug 879565) due to debug assertions. 2013-07-01 19:28:44 -05:00
Jim Mathies
d8e913c96a Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange 2013-07-01 16:53:17 -05:00
Ryan VanderMeulen
ecb96b9bb2 Backed out changeset 1f6132caf111 (bug 879565) for warnings-as-errors bustage.
CLOSED TREE
2013-07-01 14:50:25 -04:00
Jim Mathies
a1c6f99757 Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange 2013-07-01 13:29:24 -05:00
Ryan VanderMeulen
1a472aefb6 Merge inbound and m-c. 2013-07-01 08:12:24 -04:00
Ms2ger
9a38df8e56 Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc 2013-07-01 09:14:36 +02:00
Catalin Iacob
ff12d6de33 Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn. 2013-06-30 18:26:39 +02:00
Blake Kaplan
4f72049bc8 Bug 653881 - Bump the assertion count for 382745-1.xhtml. r=bz
--HG--
extra : rebase_source : e645bf99e368d97aca200c0db4c302a87abf3b1f
2013-06-28 18:48:12 -07:00
Justin Lebar
6c46d0633d Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Daniel Holbert
d717f69bc0 Bug 886313: Make DisplayLine generate display items in a temporary collection, so we can apply text-overflow clipping without affecting earlier lines. r=roc 2013-06-28 00:22:57 -07:00
Seth Fowler
1697ccd608 Bug 695763. Part 7. Invalidate img's if they are not decoded and we are asked to do a sync decode. r=matt.woodrow 2013-06-26 11:43:27 -05:00
Michael Harrison
04aac710fc Bug 534409 - Fix incorrect sizing of the <audio> element when it has a non-auto width or height. r=doublec 2013-06-25 18:00:04 -04:00
Catalin Iacob
4f03e5bb1a Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Seth Fowler
0a654b9497 Bug 695763. Part 2. Invalidate list style images if they are not decoded and we are asked to do a sync decode. r=roc 2013-06-22 11:30:57 -05:00
Daniel Holbert
821e839253 (no bug) Improve/correct some comments in nsFlexContainerFrame::Reflow. comment-only, DONTBUILD 2013-06-20 12:05:35 -07:00
Arnaud Sourioux
187cea8753 Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz 2013-06-18 17:25:50 -04:00
Daniel Holbert
604c0352a7 Bug 884564 followup: fix end-of-line whitespace in nsBlockFrame::CreateContinuationFor. (whitespace-only, DONTBUILD) 2013-06-18 23:23:45 -07:00
Daniel Holbert
9c3f45687f Bug 884576: Make some nsBlockFrame helper-methods (ReflowPushedFloats, PrepareResizeReflow, & SplitLine) infallible. r=bz 2013-06-18 23:09:22 -07:00
Daniel Holbert
6ad6366c8d Bug 884564: Make CreateContinuationFor() infallible and directly return its outparam. r=bz 2013-06-18 23:09:20 -07:00
Robert O'Callahan
04c0595c8f Bug 880854. Part 1: Make nsIFrame::DumpFrameTree virtual and take no parameter, to be easier to call from buggy debuggers like gdb. r=mats
--HG--
extra : rebase_source : 0986652eb1d9710ceeba8cda4ac3d1273532929d
2013-06-18 23:39:58 +12:00
Ehsan Akhgari
891ead97b0 Backed out changeset 57624f26be8f (bug 702080) on the suspicion of causing a b2g mochitest-3 failure, since it touches code near remote browser stuff
Landed on a CLOSED TREE
2013-06-18 23:52:07 -04:00
Arnaud Sourioux
84af79928e Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz 2013-06-18 17:25:50 -04:00
Robert O'Callahan
8b77b266e2 Bug 875060. Make display:-moz-stack/-moz-inline-stack elements which are overflow:hidden clip all their descendants, including those for which it is not the containing block. r=mats 2013-06-17 17:16:27 +12:00
Robert O'Callahan
5b98f9c1a4 Bug 876092. Copy the DisplayItemClip into OutOfFlowDisplayData instead of storing a pointer. r=mats 2013-06-18 21:15:39 +12:00
Robert O'Callahan
133d433fda Bug 876092. Part 1. Don't let effects of MarkFramesForDisplayList carry over between pages. r=mats 2013-06-18 21:15:37 +12:00
Trevor Saunders
9ee7f78167 bug 852129 - use HyperTextAccessible for invalid img r=surkov, bz
If the img is not valid then its children will be rendered, and the
sensible way to handle that is by giving the img a HyperTextAccessible
instead of an ImageAccessible.  Since the accessible name of such an img
should be the value of the alt attribute we add similar logic as
ImageAccessible::NativeName() to HyperTextAccessible::NativeName()
conditioned on the tag being img.
2013-06-12 05:13:34 -04:00
Martin Stransky
f672df1462 Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt 2013-06-12 08:04:28 -04:00
Ms2ger
5c6989f531 Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz 2013-06-12 09:00:09 +02:00
Rick Eyre
0b2523d851 Bug 833283 - Add do_QueryFrame support to nsVideoFrame. r=bz
Ms2ger recommended this instead of using do_QueryInterface on
nsVideoFrame.
2013-05-27 13:34:00 -07:00
Mats Palmgren
d94d666670 Bug 863935. r=roc 2013-06-10 18:31:59 +00:00
Stephen Pohl
ceb1835b43 Bug 881022: Check that the scrollable frame is still alive after each call to UnsetOpacityOnElement for the two scrollbars to avoid crashing. r=roc 2013-06-09 20:38:45 -07:00
Karl Tomlinson
1ce654b834 b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
--HG--
extra : transplant_source : %07%FC%14%84%D6%80%BD%5C%ECe%05%0D%8F%B3%0E%8F%7B%F8%90%1E
2013-06-10 12:37:16 +12:00
Karl Tomlinson
de4783e514 b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
--HG--
extra : transplant_source : %3BkY-X%D0%60lwm%C5XN%BEo%CA%AF%0E%10%08
2013-06-10 12:37:16 +12:00
Stephen Pohl
c76ead7bd6 Bug 877097: Check that the scrollable frame is still alive after each call to SetOpacityOnElement for the two scrollbars to avoid crashing. r=roc 2013-06-08 14:05:33 -07:00
Boris Zbarsky
ea6d9a6694 Bug 879628. Don't screw up the text from earlier counters when using counters() with various list styles. r=dbaron 2013-06-07 22:45:46 -04:00
Timothy Nikkel
4ba5b4599e Bug 880508. Remove defer invalidations code because we don't invalidate during painting anymore. r=matt.woodrow 2013-06-06 23:12:10 -05:00
Karl Tomlinson
67fd03b080 backout f4add9815dd1 and db258cb900a7 because gcc 4.4 builds don't use -std=gnu++0x for decltype b=810274 2013-06-06 18:03:21 +12:00
Karl Tomlinson
4745c650c4 b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
--HG--
extra : transplant_source : %CF%FE%015%5E%E6R%F0W%EB%1EoW%A5%3B%04%D9%F4C%0A
2013-06-06 15:49:23 +12:00
Karl Tomlinson
50bbd1b1db b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
--HG--
extra : transplant_source : %22c%20R%E6%BF%C6%10%02%7C%1E%9F%CA%C7%2B%8C%98A%28%D3
2013-06-06 15:49:10 +12:00
Karl Tomlinson
80c7229552 b=810274 ensure scrolled range is non-negative even in the presence of nscoord overflow r=roc
Instead of trying to detect all integer overflow at the source, this merely
keeps the sizes non-negative.  That may not mean they are less than
nscoord_MAX.

If we give in and accept that integer arithmetic may result in the scrolled
rect being smaller than the scroll port, then we shouldn't assert.

--HG--
extra : transplant_source : RP%15%84zx%B9%E8%2C%1E%0A%AB%82%F4%9C%A2y%AD5%27
2013-06-06 15:47:39 +12:00
Scott Johnson
154db4f170 Bug 877160: Backout patch for bug 794693 due to regressions. [r=mats] 2013-06-04 10:43:08 -05:00
Ehsan Akhgari
d49b8699e3 Bug 876194 - Remove 660451-1.html because we have another copy of it in the tree (656130-2.html) 2013-06-03 21:42:23 -04:00
Daniel Holbert
033d14389c Bug 877890: In CSS flexbox and XUL box model, sort placeholders using their out-of-flow frame's order/ordinal value. r=bz 2013-05-31 22:14:03 -07:00
Scott Johnson
51f6ad7ea1 Bug 730559: Limit the number of columns during layout of column sets to prevent hang. [r=mats]
In nsRuleNode, when we parse a number of columns from a CSS style sheet, we enforce
a rule that the number of columns cannot exceed 1000. This patch simply enforces
the same rule when we decide that the column count will be generated based on
the available width (e.g. the column-count property has a value of 'auto').
2013-05-31 10:51:43 -05:00
Joe Drew
c4c196188f Bug 867770 - Add a pref as to whether we layerize animated images, disabled by default. r=mattwoodrow 2013-05-30 21:33:17 -04:00
Joe Drew
9a5d492da7 Bug 867770 - Layerize all animated images. r=mattwoodrow 2013-05-30 09:50:50 -04:00
Kartikaya Gupta
99a4283e34 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
Robert O'Callahan
0cd25518d1 Bug 872254. Clear line/row cursors when overflow areas of lines or table rows change. r=bz
--HG--
extra : rebase_source : 81c1c4269e22ffad98433669ef152002b9d63533
2013-05-30 16:44:37 +12:00
Matt Woodrow
0d5f8e14b1 Bug 869133 - Recycle the ImageLayers created by nsDisplayImage/nsDisplayBackgroundImage instead of recreating them each time. r=roc 2013-05-30 14:42:28 +12:00
Timothy Nikkel
e6710aa1e3 Bug 877458. Bullet frame should honour the sync decode images flag. r=matt.woodrow 2013-05-29 18:23:31 -05:00
Arnaud Sourioux
043b0fd84c Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert 2013-05-29 12:37:49 -07:00
Ralph Giles
92d30af9b2 Bug 875305 - Replace slow webvtt caption selectors with classes. r=bz
We set the class caption-box class on the anonymous div which
acts as the parent container for the captions overlayed on
the video frame.

caption-text isn't currently used, but will be applied to
child elements by when bug 833382 lands.
2013-05-28 13:55:00 -07:00
Daniel Holbert
b005a90064 Bug 874418: Assert that placeholders are reflowed before their out-of-flows. r=bz 2013-05-21 12:15:57 -04:00
André Reinald
fe9b343359 Bug 873012 - In case we use overlay scrollbars, and we run on system 10.8 or later, make them overlap in the bottom right corner, r=smichaud
--HG--
extra : rebase_source : 300f78c1230a6f91a102c032b026b1fe2455f634
2013-05-23 14:14:00 -07:00
Daniel Holbert
47db2ab059 Bug 876074: Soften flexbox assertion about out-of-order children, since it's not dangerous and it can be triggered by unrelated-to-flexbox tree mutations. r=bz 2013-05-28 09:39:02 -07:00
Robert O'Callahan
898e42dd83 Bug 876426. Part 1: Fire 'resizevideocontrols' event on video controls element when the element's size is changed. r=mattwoodrow 2013-05-28 17:00:59 +12:00
Ed Morley
0a9e684f5e Backed out changeset 9395a7b2e54c (bug 876426) for crashtest timeouts on a CLOSED TREE 2013-05-28 08:50:53 +01:00
Robert O'Callahan
fc5da57107 Bug 876426. Part 1: Fire 'resize' event on video controls element when the element's size is changed. r=mattwoodrow 2013-05-28 17:00:59 +12:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Stephen Pohl
0cf8e74945 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-26 15:05:10 -07:00
Stephen Pohl
2acc2dfcba Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl
e41e125889 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. 2013-05-26 14:40:16 -07:00
Phil Ringnalda
507fcf058c Merge m-c to m-i 2013-05-25 18:18:55 -07:00
Phil Ringnalda
2bf7004860 Back out 6115fce2399d (bug 756241 crash test) for making Linux debug crashtest logs exceed the maximum size
CLOSED TREE
2013-05-25 18:13:40 -07:00
Phil Ringnalda
8b13c6c7d6 Back out affd9b74be00 (bug 874418) for unexpected crashtest assertions
CLOSED TREE
2013-05-24 19:00:38 -07:00
Daniel Holbert
72db50ae49 Bug 874418: Assert that placeholders are reflowed before their out-of-flows. r=bz 2013-05-21 12:15:57 -04:00
Daniel Holbert
70bc12ba64 Bug 842065: Remove no-longer-necessary method nsIFrame::StyleDataExternal(). r=dbaron 2013-05-25 00:21:53 +08:00
Jonathan Watt
bc912d5fdf Bug 874854 - Stop calling SchedulePaint for SVG transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Timothy Nikkel
250035010c Bug 865702. Don't move the frame in FinishReflowChild if we were told not to. r=roc 2013-05-23 00:37:05 -05:00
Scott Johnson
33874f92a8 Bug 794693: Fix font inflation crash by reordering logic in nsHTMLReflowState::InitResizeFlags(). [r=mats] 2013-05-23 11:14:12 +08:00
Bobby Holley
54ef3d2952 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Mats Palmgren
a754350c56 Bug 873926 - Don't store a scroll state if we never have been scrolled or restored a previous scroll state. r=roc 2013-05-22 12:49:49 +00:00
Daniel Holbert
5707dc9c19 Bug 825810 part 2: When digging for a flex item's first non-anonymous descendant, check table caption list & column-group list. r=bz 2013-05-22 11:59:36 +08:00
Daniel Holbert
d9fc4ef605 Bug 825810 part 1: Make GetFirstNonAnonBoxDescendant() okay with receiving & returning null frame pointers. r=bz 2013-05-22 11:59:35 +08:00
Daniel Holbert
c5ae959774 Bug 864553 part 2: Minor cleanup to formerly-ifdef-MOZ_FLEXBOX code. r=dbaron 2013-05-22 11:44:52 +08:00
Daniel Holbert
cc7305fa0e Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron 2013-05-22 11:44:25 +08:00
Ryan VanderMeulen
26a69bd344 Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
CLOSED TREE
2013-05-21 10:13:25 -04:00
Olli Pettay
c1bbed37d1 Bug 865511, make sure to keep track on the right imgIRequest in ImageLoader, r=khuey
--HG--
extra : rebase_source : 55ac3f73c0c6cb9440e662ffa34ddcd596a61627
2013-05-21 15:43:02 +03:00
Stephen Pohl
79f83908c9 Bug 869314 - Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-21 08:27:14 -04:00
Martijn Wargers
56a6342ee0 Bug 367360 - crash test 2013-05-19 18:20:21 +00:00
Martijn Wargers
0ab7877c04 Bug 368752 - crash test 2013-05-19 18:20:21 +00:00
Jesse Ruderman
b195fabd06 Bug 493649 - crash test 2013-05-19 18:20:20 +00:00
Daniel Holbert
d4368501c1 Bug 873172: When checking whether a flex item is generated content, skip past any anonymous boxes around it. r=bz
--HG--
rename : layout/reftests/flexbox/flexbox-with-pseudo-elements-1-ref.html => layout/reftests/flexbox/flexbox-with-pseudo-elements-3-ref.html
rename : layout/reftests/flexbox/flexbox-with-pseudo-elements-1.html => layout/reftests/flexbox/flexbox-with-pseudo-elements-3.html
2013-05-19 11:37:56 +08:00
Aki Helin
29be5669cb Bug 619021 - crash test 2013-05-18 18:38:34 +00:00
Jesse Ruderman
abc784380e Bug 571995 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
1da57d7a03 Bug 526217 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
ef73b53211 Bug 499138 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
9737c94dd8 Bug 496742 - crash test 2013-05-18 18:38:32 +00:00
Daniel Holbert
3d525c91d6 (no bug, comment-only) s/:before/::before/ in one comment, for consistency with rest of the comment. DONTBUILD 2013-05-16 15:02:16 -07:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Phil Ringnalda
2cef52d052 Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures 2013-05-15 20:53:30 -07:00
Edwin Flores
6dd45bbf3d Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Scott Johnson
0a7e2f0265 Bug 836565, Part 2: Perform a horizontal resize reflow instead of a full reflow when reflowing on zoom to get better performance. [r=dbaron] 2013-05-14 14:24:14 -05:00
Arnaud Sourioux
9a8c47ea32 Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Mats Palmgren
0400e0de00 Bug 756241 - crash test. 2013-05-14 10:36:51 +02:00
Jesse Ruderman
5d55c11b7d Bug 691210 - crash test 2013-05-14 10:36:51 +02:00
Martijn Wargers
83f66adf39 Bug 723108 - crash test 2013-05-14 10:36:51 +02:00
Abhishek Arya
b02d43a9f9 Bug 747688 - crash test. 2013-05-14 10:36:51 +02:00
Mats Palmgren
68b8527847 Bug 750066 crashtest. 2013-05-14 10:36:51 +02:00
Jesse Ruderman
b86e7643ff Bug 765409 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
0d4bcf20b7 Bug 765621 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
7e04962565 Bug 767765 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
9dd59c4ec5 Bug 769120 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
5a80cee053 Bug 769303 - crash tests 2013-05-14 10:36:50 +02:00
L. David Baron
1f1e3bad30 Bug 871338: Handle NS_BLOCK_LOOK_FOR_DIRTY_FRAMES lazy marking in GetMinWidth and GetPrefWidth in addition to Reflow. r=bzbarsky 2013-05-13 15:37:00 -07:00
Jesse Ruderman
908547aed5 Bug 791601 - crash test 2013-05-13 16:28:29 +02:00
Abhishek Arya
f1bf9125b1 Bug 827076 - crash test 2013-05-13 16:28:28 +02:00
Jesse Ruderman
2cb2371328 Bug 840787 - crash test 2013-05-13 16:28:28 +02:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Karl Tomlinson
6b23215177 backout bug 810274 for typeof VS compile failure 2013-05-13 13:50:42 +12:00
Karl Tomlinson
3a24a90e28 b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
--HG--
extra : transplant_source : %BE%DF%8BhHLmaB%D5%3F%DD7%AB%14%989%A0%CA%14
2013-05-02 15:04:20 +12:00
Karl Tomlinson
2e35f7fbc0 b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
--HG--
extra : transplant_source : a%E1S%03%CBB%D3%DE%DDn%96r%BC%B2%D6%7D%82%AB%EBv
2013-05-02 15:04:20 +12:00
Jesse Ruderman
39bb41d1c6 Bug 494283 - crash test 2013-05-12 23:09:31 +02:00
Martijn Wargers
c8f85c931b Bug 455407 - crash test 2013-05-12 23:09:30 +02:00
Jesse Ruderman
c80e06caa2 Bug 423098 - crash test 2013-05-12 23:09:30 +02:00
Martijn Wargers
2647049c29 Bug 420718 - crash tests 2013-05-12 23:09:30 +02:00
Martijn Wargers
de4575f796 Bug 416165 - crash tests 2013-05-12 23:09:30 +02:00
Martijn Wargers
f3b991d7d1 Bug 402872 - crash tests 2013-05-12 23:09:30 +02:00
Mats Palmgren
402c61c45f Bug 377522 - crash test 2013-05-12 23:09:29 +02:00
Martijn Wargers
57d3795d8f Bug 375831 - crash test 2013-05-12 23:09:29 +02:00
L. David Baron
9f8e9f40d7 Fix warnings-as-errors bustage from changeset 09552b219c3a (Bug 828312 patch 3). 2013-05-10 18:04:55 -07:00
L. David Baron
3f8575e3eb Bug 828312 patch 3: Wait to mark lines dirty until we're in reflow, to avoid O(N^2) behavior as a result of looking for lines. r=bzbarsky
The assertion count reduction from 12 to 8 in
layout/generic/crashtests/798020-1.html is the removal of the 4
###!!! ASSERTION: math on NS_UNCONSTRAINEDSIZE: 'NS_UNCONSTRAINEDSIZE != aState.mReflowState.mComputedBorderPadding.left && NS_UNCONSTRAINEDSIZE != aState.mReflowState.ComputedWidth()'
in nsBlockFrame::PrepareResizeReflow by avoiding calling
nsBlockFrame::PrepareResizeReflow.
2013-05-10 17:35:08 -07:00
L. David Baron
baf2225550 Bug 828312 patch 2: Make list renumbering code set NS_FRAME_HAS_DIRTY_CHILDREN correctly on intermediate blocks and inlines, and NS_FRAME_IS_DIRTY correctly on the bullets. r=bzbarsky
The change to mark NS_FRAME_IS_DIRTY on the bullets fixes a failure in
layout/reftests/bugs/418574-1.html exposed by patch 3.
2013-05-10 17:35:08 -07:00
Ed Morley
345c8d111b Merge latest green inbound changeset and mozilla-central 2013-05-10 09:13:03 +01:00
Ms2ger
c93541848e Bug 868726 - Outparamdel nsViewManager::GetDeviceContext; r=tn 2013-05-10 09:13:49 +02:00
Daniel Holbert
08dca0f21a Bug 870555 part 2: Add nsFlexContainerFrame::GetSkipSides specialization. r=mats 2013-05-09 20:10:49 -07:00
Daniel Holbert
448db15f5b Bug 870555 part 1: Add curly braces around early-return in nsBlockFrame::GetSkipSides, for clarity. r=mats 2013-05-09 20:10:47 -07:00
Mark Banner
cb92e38e0c Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Daniel Holbert
b29ad644fc Bug 870504: De-virtualize the unnecessarily virtual method nsBlockFrame::ComputeFinalSize. r=mats 2013-05-09 17:23:28 -07:00
Mats Palmgren
7ade6fec14 Bug 868906 - Make GetChildFrameContainingOffset() stable. r=roc 2013-05-07 20:48:59 +02:00
Timothy Nikkel
cffcd0ae38 Bug 868572. Move nsIScrollPositionListener file from view/ to layout/. r=mats
--HG--
rename : view/public/nsIScrollPositionListener.h => layout/generic/nsIScrollPositionListener.h
2013-05-03 17:31:08 -05:00
Daniel Holbert
be6e1d5836 Bug 855841: Remove unused constants NS_STYLE_CLEAR_BLOCK, NS_STYLE_CLEAR_COLUMN, NS_STYLE_CLEAR_PAGE. r=mats r=fantasai 2013-05-02 16:01:11 -07:00
Daniel Holbert
8618452256 Bug 867454: Treat a flex container's ::before and ::after generated content nodes as flex items. r=bz 2013-05-02 14:04:47 -07:00
Stephen Pohl
c997f428ce Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
954cd4dfaa Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
e474e01d79 Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Mats Palmgren
796a090f34 Bug 866785 - Move repeated nsIFrame::List implementations code to a new method, ListGeneric, for re-use. Cleanup and improve the code a bit. r=roc
Specifically:
* move all the frame dump methods to nsIFrame. Especially nsFrame::ListTag
  was annoying, often requiring a cast to nsFrame*.
* print common values in the same order for all types of frames
* print fluid continuations as "next-in-flow=%p" and non-fluid as
  "next-continuation=%p" (as before)
* print the style-context more compactly, e.g.
  "[sc=0x7faa6b60e0a0] pst=:first-line" becomes
  "[sc=0x7faa6b60e0a0:first-line]"
* suppress printing visual/scroll-overflow rects when they are identical
  to mRect and do the same for nsLineBox::List where it was especially
  hard to see which lines actually had real overflow
* fix a bug that printed the child list name at the far right when the
  principal list was empty (making it hard to see)
* print the address of child lists (other than the principal list) to
  help debug frame list property bugs
* s/NS_IMETHODIMP/void/
2013-04-30 20:38:52 +02:00
Masatoshi Kimura
761bf787f0 Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron 2013-04-28 19:02:35 +09:00
Takeshi Kurosawa
a71a2b0b26 Bug 338033 - No visible focus indicator on image map areas with black background r=roc 2013-04-27 17:54:36 +09:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Mats Palmgren
2aafec2e0c Bug 861643 - nsFirstLineFrame continuations should fixup its style context in Init instead of Reflow. r=bzbarsky 2013-04-26 10:49:07 +02:00
Joe Drew
e035b7c8eb Bug 832400 - Add an imgIContainer flag HIGH_QUALITY_SCALING that controls whether to use the high quality scaler, and only use it when we're drawing to a window. r=tn 2013-04-25 18:08:58 -04:00
Daniel Holbert
1ed5b0bc3f Bug 865477: Use Maybe<> instead of nsAutoPtr<> for lazily-constructed nsHTMLReflowState in nsBlockFrame::Reflow(). r=bz 2013-04-25 09:03:28 -07:00
Mats Palmgren
871e89e62a Bug 844178 - Make RecomputePosition adjust the CB size as ViewportFrame::Reflow does. r=tn 2013-04-24 18:17:55 +02:00
Scott Johnson
1912da4247 Bug 857324: Make column set reflow continue without balancing rather than restarting if computed height is exceeded. [r=mats] 2013-04-24 10:02:36 -05:00
Masayuki Nakano
3159b0c140 Bug 857820 part.4 Remove debug flag for blink r=dbaron 2013-04-24 12:07:25 +09:00
Ryan VanderMeulen
d58319d641 Backed out changeset f31e6ad99dfe (bug 857324) for Android reftest-3 failures.
CLOSED TREE
2013-04-23 21:10:48 -04:00
Scott Johnson
937d608334 Bug 857324: Make column set reflow continue without balancing rather than restarting if computed height is exceeded. [r=mats] 2013-04-23 15:46:08 -05:00
John Schoenick
04af22695a Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-23 13:21:28 -07:00
John Schoenick
f54ed67aa5 Bug 854082 - Restore SetFrame(null) call to avoid instance owners pointing to dead frames. r=bsmedberg 2013-04-23 13:21:27 -07:00
Daniel Holbert
536beeeb23 Bug 862947: Use cb height instead of width for vertical margins & padding on flex items, even when they're a reflow root (e.g. for measuring reflow states). r=mats 2013-04-23 09:01:34 -07:00
Daniel Holbert
ebc41ef9d7 Bug 864579: Drop unnecessary const-removing casts from CalcQuirkContainingBlockHeight. r=heycam 2013-04-22 19:41:19 -07:00
Cameron McCormack
18e3597f29 Bug 864289 - Rename nsLineLayout::GetLineContainer(Frame|RS) to LineContainer\1. r=dholbert 2013-04-23 11:45:26 +10:00
John Schoenick
9221431f8e Backout e3eaea876a18, 3aaf738a04d8, and 43d1b14e8920 (Bug 854082) for orange on a CLOSED TREE 2013-04-22 14:58:15 -07:00
John Schoenick
6b517509a0 Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-22 13:20:59 -07:00
John Schoenick
7604f29873 Bug 854082 - Restore SetFrame(null) call to avoid instance owners pointing to dead frames. r=bsmedberg 2013-04-22 13:20:58 -07:00
David Zbarsky
f4478a4b6b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
5de2f27c8a [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 5 r=Ms2ger 2013-04-19 18:18:32 -04:00
Robert O'Callahan
2817c39fd2 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Robert O'Callahan
037af48e84 Bug 862180. Part 1: Remove null checks on the result of nsDisplayItem::GetUnderlyingFrame(). r=mattwoodrow 2013-04-20 00:01:41 +12:00
Daniel Holbert
6623769c9c Bug 858332: Make flex items pseudo-stacking contexts, per recent spec change. r=mats 2013-04-18 09:51:18 -07:00
Karl Tomlinson
7e5e231a8e b=767710 don't let additional events with the same destination restart smooth scrolling r=mstange
--HG--
extra : transplant_source : _%BA%CE%F1A%B7%40N%14VMZ%1D%2C%98Lg%40%F7%AF
2013-04-18 12:05:10 +12:00
Karl Tomlinson
04b8f16444 b=767710 refactor AsyncScroll duration API so duration can be evaluated before resetting r=roc
--HG--
extra : transplant_source : %17Wc%17%5B%CF%A9n%C6%0BE%3Ez%21%CD%C6Q%20%10%26
2013-04-18 12:03:51 +12:00
Karl Tomlinson
5f78a0dc29 b=767710 move current motion calculation into InitSmoothScroll() r=roc
--HG--
extra : transplant_source : %E2%DCQu%13RdE%E9%3A%B3%B5L%21%8A3%3C%5D4%3F
2013-04-18 12:03:29 +12:00
Mats Palmgren
129d6df678 Bug 762332 - Make the "EnsureTextRun should have set font size inflation" assertion non-fatal for now so it doesn't block fuzzing. r=sjohnson 2013-04-17 22:16:15 +02:00
Mats Palmgren
09efee4e3f Bug 859088 - Left/Right Arrow key after selection should move to the beginning/end of selection respectively (on all platforms). r=ehsan 2013-04-17 22:16:14 +02:00
Mats Palmgren
109767f361 Bug 485149 - Using box-shadow on a <fieldset> with <legend> does not follow box shape. r=roc 2013-04-17 22:16:14 +02:00
Robert O'Callahan
3de0e9b4f7 Bug 860253. Clear clip state on children of an nsDisplayTransform because they're in a different coordinate system, and we'll clip the nsDisplayTransform itself. r=mattwoodrow
--HG--
extra : rebase_source : 731dfa20fa0fda1feb7ab582deced011ff9c25fc
2013-04-15 19:10:19 +12:00
Robert O'Callahan
5ee893ebd5 Bug 841363. Ensure padding-rect edges are included in scrollable area used to compute scrollWidth/scrollHeight for overflow:visible elements. r=matspal
--HG--
extra : rebase_source : 067c9577f797350274783d3c7cc682b5f74b998a
2013-04-09 12:05:12 +12:00
Matt Woodrow
cadfb117ea Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa 2013-04-17 14:21:06 +12:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Daniel Holbert
eef75b0252 Bug 847211: When reparenting style contexts, skip flex-item style fixup if our element is the root of an anonymous subtree. r=bz 2013-04-16 08:33:41 -07:00
Scott Johnson
08eaceb702 Bug 861182: Pull knownFeasibleHeight and knownInfeasibleHeight into ReflowConfig so they can be used outside of nsColumnSetFrame::Reflow(). [r=roc] 2013-04-16 07:52:51 -05:00
Scott Johnson
368dace6fb Bug 861181: Separate interface from implementation for nsColumnSetFrame. [r=roc] 2013-04-16 07:52:49 -05:00
Ms2ger
dbbebc6ee4 Backout changesets 3581b3d60886, cff9eab960e3, d390c8c21882 for Android foreignObject-fixedpos-01.html failures on a CLOSED TREE. 2013-04-16 11:40:41 +02:00
Cameron McCormack
79316007de Backout 64abee9b00f1 (bug 841363) for suspected test_bug375003-1.html failure. (CLOSED TREE) 2013-04-16 17:23:46 +10:00
Robert O'Callahan
5287f53d99 Bug 860253. Clear clip state on children of an nsDisplayTransform because they're in a different coordinate system, and we'll clip the nsDisplayTransform itself. r=mattwoodrow 2013-04-15 19:10:19 +12:00
Robert O'Callahan
1c8003fcdc Bug 841363. Ensure padding-rect edges are included in scrollable area used to compute scrollWidth/scrollHeight for overflow:visible elements. r=matspal 2013-04-09 12:05:12 +12:00
Chris Lord
d70ef10427 Bug 856932 - Fix fixed margins on position:fixed hierarchies. r=roc
Make sure that fixed margins aren't applied to auto-positioned frames, unless
their containing block is the primary frame of the body element.
2013-04-15 09:31:45 +01:00
Matt Woodrow
c588729b56 Bug 859526 - Null check parent frames when wrapping preserve-3d display lists. r=roc 2013-04-15 18:55:34 +12:00
Matt Woodrow
474260c7f1 Bug 857817 - Make AreLayerMarkedActive aware of preserve-3d transformed frames. r=roc 2013-04-15 18:55:29 +12:00
Masayuki Nakano
d148b78956 Bug 857820 part.1 Drop blink effect implementation r=dbaron 2013-04-14 19:11:07 +09:00
Cameron McCormack
b6ba9bcaf5 Bug 839956 - Size and position text decorations on SVG text correctly when a font size scale factor is in effect. r=roc 2013-04-13 13:16:22 +10:00
Seth Fowler
34385b573b Bug 853774 - nsBulletFrame should handle its requests more safely. r=tn
--HG--
extra : rebase_source : cdbf51bcb02cf7b072881e0bc9425fd64ebe3015
2013-04-12 10:05:57 -07:00