Commit Graph

4651 Commits

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