Commit Graph

17159 Commits

Author SHA1 Message Date
Joe Drew
c1f4978ba3 Bug 878062 - Don't call TryOptimizeToImageLayer if we are definitely not going to optimize to an image layer, since it uses lots of memory. r=mattwoodrow 2013-06-03 10:57:06 -04:00
Cameron McCormack
b63bd9c849 Bug 876831 - Only reflow nsSVGTextFrame2's anonymous block frame under ReflowSVG. r=bzbarsky,longsonr f=jwatt 2013-06-04 00:15:29 +10:00
Cameron McCormack
ba14fda171 Bug 873806 - Part 2: Make descendants of non-display nsSVGForeignObjectFrame also non-display. r=longsonr 2013-06-04 00:15:29 +10:00
Cameron McCormack
202592f20d Bug 873806 - Part 1: Ensure non-display SVG text frames get reflowed. r=longsonr f=jwatt
--HG--
rename : layout/reftests/svg/text/clipPath-content.svg => layout/reftests/svg/text/clipPath-content-2.svg
rename : layout/reftests/svg/text/mask-content.svg => layout/reftests/svg/text/mask-content-2.svg
2013-06-04 00:15:29 +10:00
Kartikaya Gupta
7a734ca654 Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa 2013-06-03 09:58:34 -04:00
Kartikaya Gupta
87e727d3cd Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa 2013-06-03 09:58:07 -04:00
Kartikaya Gupta
ad6e359f34 Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
e1db212150 Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Ed Morley
4178093f34 Bug 774689 - Mark 632781-verybig.html random-if on WinXP for too many intermittent failures DONTBUILD 2013-06-03 14:04:15 +01:00
Michael Harrison
947ff9b473 Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz 2013-06-03 08:49:38 -04:00
Ed Morley
1cb82a079c Bug 774689 - Mark 632781-verybig.html fails-if on WinXP for too many intermittent failures 2013-06-03 12:56:00 +01:00
David Zbarsky
a6b5f8508d Bug 788549: Fix matrix animations (patch hunk got lost in rebasing) r=dbaron 2013-06-02 13:35:17 -07:00
Ms2ger
8ecf333ae2 Merge m-c to m-i. 2013-06-02 17:38:01 +02:00
Cameron McCormack
2926cba94f Comment tweak for clarity; no bug. (DONTBUILD) 2013-06-02 21:47:48 +10:00
Cameron McCormack
81e1952079 Bug 877942 - Don't rely on timeouts in multiple-x-percentages-3.html. r=longsonr 2013-06-02 21:33:11 +10:00
Cameron McCormack
83e3514acf Backed out changeset 8bfd675518e9 for incorrect bug number. 2013-06-02 21:32:16 +10:00
Cameron McCormack
f3501aafdf Bug 873806 - Don't rely on timeouts in multiple-x-percentages-3.html. r=longsonr 2013-06-02 21:28:00 +10:00
Tim Taubert
a3515f5036 Bug 453650 - implement reflow observers for docShells; r=bz 2013-06-01 12:00:12 +02:00
Daniel Holbert
7fa825824f Bug 878205: Remove unused & no-longer-needed perl script 'gbdate.pl' from layout/build. r=mats DONTBUILD because NPOTB 2013-05-31 13:20:44 -07:00
Olli Pettay
630763ccc4 Bug 877671 - crash in nsEventListenerManager::RemoveEventListener, r=jst
--HG--
extra : rebase_source : ee7f4547e0b9b26e8dc577d7a530491c2004876c
2013-05-31 14:05:23 +03:00
David Zbarsky
33132a9bdb Bug 788549 Part 9: matrix() animations interpret arguments in wrong order r=dbaron 2013-05-31 11:06:56 -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
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
Joe Drew
a7e0d442e8 Bug 867770 - Test to make sure that animated images are layerized correctly when the pref is enabled. r=mattwoodrow 2013-05-30 21:33:17 -04: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
David Zbarsky
07bd637224 Bug 788549 Part 6: Remove a redundant if check r=dbaron 2013-05-30 17:45:17 -07:00
Avi Halachmi
8690f6200c Bug 856427: Add vsync support at the refresh driver (Windows DWM). r=vlad 2013-05-29 13:31:16 +03:00
Simon Sapin
36da360d2c Bug 875287 - font-family: Do not require whitespace between unquoted idents. r=dbaron
When 'font-family' is secified with unquoted identifiers rather than a quoted string, a single space should be inserted between identifier tokens, even if they are separated by a comment rather than a whitespace token.
2013-05-30 08:10:02 -04:00
Cameron McCormack
2326c16589 Bug 877575 - Don't force mPositions to be recomputed inside nsSVGTextFrame2::ReflowSVG. r=jwatt 2013-05-30 18:34:59 +10:00
Jonathan Watt
56c99c99f4 Bug 827915 - Get rid of SVG's own invalidation mechanisms and rely on DLBI instead. r=dholbert 2013-05-30 09:28:13 +01:00
L. David Baron
b31121a2a1 Bug 234485: Map xml:lang attribute into style so that it's used for font selection and hyphenation. r=bzbarsky
The code in nsHTMLStyleSheet implements LangRule to map xml:lang into
style and the code to manage its uniqueness.

The change to nsGenericHTMLElement fixes the mapping of the HTML lang
attribute to do cascading the way all other rule mapping does so that
the cascading works correctly.

The tests test that the correct style language is used for hyphenation
by copying over a set of hyphenation reftests that check its basic
response to languages.  There are no specific tests for font selection,
but font selection is known to use the same language data from style.

I verified manually (see other attachments to bug) that the rule
uniqueness is being managed correctly.

--HG--
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
rename : layout/reftests/text/auto-hyphenation-10.html => layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
rename : layout/reftests/text/auto-hyphenation-1a.html => layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
rename : layout/reftests/text/auto-hyphenation-2.html => layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
rename : layout/reftests/text/auto-hyphenation-3.html => layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
rename : layout/reftests/text/auto-hyphenation-5.html => layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
rename : layout/reftests/text/auto-hyphenation-6.html => layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
rename : layout/reftests/text/auto-hyphenation-7.html => layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
rename : layout/reftests/text/auto-hyphenation-8.html => layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
rename : layout/reftests/text/auto-hyphenation-9.html => layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
2013-05-30 16:00:20 +08:00
Cameron McCormack
c18b9f7a1a Bug 877035 - Remove nsSVGTextFrame2::UpdateGlyphPositioning's aForceGlobalTransform argument and look at mGetCanvasTMForFlag instead. r=longsonr 2013-05-30 17:53:07 +10:00
Cameron McCormack
fcf5c02af5 Bug 877029 - Add a crashtest for calling nsSVGMarkerFrame::GetCanvasTM() inappropriately. r=longsonr 2013-05-30 17:48:15 +10: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
d9dcc3425f Bug 877516 - Add MOZ_DUMP_INVALIDATION to enable invalidation logging. r=roc 2013-05-30 14:43:43 +12:00
Matt Woodrow
237b50e71a Bug 877516 - Extend MOZ_REFTEST_VERBOSE to also send log messages synchronously. r=roc 2013-05-30 14:43:01 +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
Cameron McCormack
a46f56dda8 Bug 876323 - Avoid recomputing mPositions when COORD_CONTEXT_CHANGED unless percentages were used. r=jwatt 2013-05-30 10:44:55 +10:00
David Zbarsky
cab7c337c7 Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc 2013-05-29 17:38:27 -07:00
Cosmin Clapon
71f548c423 Bug 764996 - Reftests. r=karlt 2013-05-29 19:26:41 -04:00
Cosmin Clapon
f079a61774 Bug 764996 - Determine directionality. r=karlt 2013-05-29 19:26:40 -04:00
Cosmin Clapon
15d861e7f3 Bug 764996 - Dir attribute mapping. r=karlt 2013-05-29 19:26:40 -04: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
Ehsan Akhgari
6c61de1ac0 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Boris Zbarsky
1c76a8045c Bug 876725. Make use of IDL default string values in CSSStyleDeclaration to simplify the code. r=smaug 2013-05-29 16:15:50 -04:00
Arnaud Sourioux
8795dbd54b Bug 875367 followup: Manually annotate ScrollSelectionIntoView and RepaintSelection in nsPresShell.h as MOZ_OVERRIDE. r=dholbert 2013-05-29 12:37:50 -07: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
Chris Lord
2905deaf71 Bug 803299 - Even more fuzzing for 24bpp/Android. r=blassey CLOSED TREE
Add some extra fuzzing that I think got lost in a rebase to silence some
intermittent failures.
2013-05-29 18:18:06 +01:00