Blake Kaplan
c55ad9cb94
Bug 888787 - Restore old XBL behavior when a child of the bound element didn't match any of the <children/> in the binding. r=sicking
2013-07-11 17:05:54 -04:00
Cameron McCormack
7d630509ae
Bug 893510 - Don't schedule reflow of non-display SVG text when a child text content frame was just created. r=jwatt
2013-07-15 18:15:49 +10:00
Mats Palmgren
6e1a1a8f90
Bug 883676 - Implement 'page-break-inside:avoid' also for the case where the block reflow is COMPLETE but does not fit in the available height. r=roc
2013-07-13 13:18:17 +00:00
Cameron McCormack
2b44ade39e
Bug 890783 - Reflow non-display SVG text when a child text frame is restyled. r=roc
2013-07-12 17:13:07 +10:00
Cameron McCormack
723d3df830
Bug 890782 - Part 3: Inherit NS_FRAME_IS_NONDISPLAY by default. r=jwatt
2013-07-12 17:13:07 +10:00
Cameron McCormack
4d5eacea09
Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt
2013-07-12 17:13:07 +10:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Mike Hommey
784edc021e
Bug 892401 - Remove NEW_H. r=ted
2013-07-12 09:16:41 +09:00
Daniel Holbert
48e5024923
Bug 885424 part 4: Refactor ComputeFlexContainerMainSize to have a clearer horizontal case vs. vertical case. r=dbaron
2013-07-11 16:47:03 -07:00
Ryan VanderMeulen
aaee3cf638
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ms2ger
5db9476062
Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc
2013-07-10 11:58:13 +02:00
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