Commit Graph

14235 Commits

Author SHA1 Message Date
L. David Baron
a173cba76b Change some uses of nsChangeHint_ReflowFrame to check nsChangeHint_NeedReflow. (Bug 789592, patch 1) r=bzbarsky 2012-09-07 15:57:06 -07:00
L. David Baron
ac347fa732 Distribute the width of column-spanning cells to columns with nothing in them, like we do for final table widths. (Bug 734569) r=dholbert 2012-09-07 15:57:06 -07:00
Yu-Sian (Thomasy) Liu
3ca4f03c02 Bug 688382 - Add some logic for text-transform checking to avoid merging the first-letter text-frame with the rest. r=roc 2012-09-07 16:23:01 -04:00
William Lachance
980573bf62 Bug 723107 - Re-add mozdevice to testing/mozbase, remove duplicate files in build/mobile;r=jmaher 2012-09-07 16:00:31 -04:00
Bobby Holley
746efd4923 Bug 788914 - Remove enablePrivilege from bug 585922 tests. r=mrbkap
This test chokes on the changes in the patch for some reason. Fortunately, since
enablePrivilege now exists solely to make our tests go green, changing its semantics
and removing use of it from anywhere that goes orange is a perfectly acceptable
approach. ;-)
2012-09-07 11:28:56 -07:00
Bobby Holley
1aba2e3bc2 Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8 2012-09-07 11:28:56 -07:00
Boris Zbarsky
0afd621df9 Bug 786946. Don't propagate text-decoration to <select> by default. r=dbaron
--HG--
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-1-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-1.html
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-2-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-2.html
2012-09-07 10:51:34 -04:00
L. David Baron
aa4234d4d1 Remove ForceCompare methods from style structs. (Bug 779968, patch 7) r=bzbarsky 2012-09-07 10:13:36 -07:00
L. David Baron
4fbb3dda02 Make nsStyleContext::CalcStyleDifference force comparison based on the parent's hint instead of the style struct ForceCompare methods. (Bug 779968, patch 6, the main patch) r=bzbarsky
This propagates the non-inherited (in the nsChangeHint sense, not the
CSS inheritance sense) parts of the parent's change hint through
ReResolveStyleContext so that we can use them in
nsStyleContext::CalcDifference.  In the cases where we don't know the
parent's hint, we assume the worst, that all the non-inherited hints
were present in the parent's style change.

This should be a significant performance improvement handling simple
style changes (such as a style attribute change setting a non-inherited
property) on elements with large numbers of descendants that have data
in ForceCompare structs that can't be stored in the rule tree (for
example, margins or widths in em or rem units).
2012-09-07 10:13:36 -07:00
L. David Baron
1289ea726f Refix bug 731521 in the new setup for forcing comparison in nsStyleContext::CalcDifference, since we can no longer rely on nsStyleBorder::ForceCompare. (Bug 779968, patch 5) r=bzbarsky 2012-09-07 10:13:36 -07:00
L. David Baron
b3b996ffe4 Abstract nsChangeHint_NonInherited_Hints into a function so that it accurately reports the reflow cases to all callers. (Bug 779968, patch 4) r=bzbarsky
This is in preparation for adding an additional caller.

nsChangeHint_NonInherited_Hints will be reintroduced in patch 6, but as
the maximum set of such hints rather than the minimal set, and with the
less confusing name nsChangeHint_Hints_NotHandledForDescendants.
2012-09-07 10:13:36 -07:00
L. David Baron
1fd1c02860 Remove maxHint from nsStyleContext::CalcStyleDifference. (Bug 779968, patch 3) r=bzbarsky 2012-09-07 10:13:36 -07:00
L. David Baron
84a4d732fd Use nsStyleStruct MaxDifference methods instead of maxHint for hint handling in nsStyleContext::CalcStyleDifference. (Bug 779968, patch 2) r=bzbarsky 2012-09-07 10:13:36 -07:00
L. David Baron
ddbd47b18f Move nsStyleStruct MaxDifference methods inline, and make them available unconditionally rather than DEBUG-only. (Bug 779968, patch 1) r=bzbarsky 2012-09-07 10:13:36 -07:00
Boris Zbarsky
e39fd641bb Back out bug 786946 because it fails <select> font-inflation tests. r=bustage 2012-09-07 12:18:48 -04:00
Boris Zbarsky
878b553056 Bug 786946. Don't propagate text-decoration to <select> by default. r=dbaron
--HG--
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-1-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-1.html
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-2-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-2.html
2012-09-07 10:51:34 -04:00
Ed Morley
8cf4ffc2ea Backout 5853df66d488, e8fadd906232, d787279d282c, 8c1ed6327355, 94cfcf5da7c8, 87aa103d7e87 (bug 585922) for failures in test_bug411236.html 2012-09-07 09:15:34 +01:00
Bobby Holley
43dff80a77 Bug 788914 - Remove enablePrivilege from bug 585922 tests. r=mrbkap
This test chokes on the changes in the patch for some reason. Fortunately, since
enablePrivilege now exists solely to make our tests go green, changing its semantics
and removing use of it from anywhere that goes orange is a perfectly acceptable
approach. ;-)
2012-09-06 22:55:18 -07:00
Cameron McCormack
09aeb61301 Bug 655877 - Part 23a: Add white-space:-moz-pre-discard-newlines value with white space collapsing behavior like SVG's xml:space="preserve". r=roc,dbaron 2012-09-07 15:42:19 +10:00
Boris Zbarsky
a562efcb37 Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
L. David Baron
74f7233cd3 Remove last use of enablePrivilege in layout/style mochitests. (Bug 653461, patch 4) r=bzbarsky 2012-09-06 21:16:09 -07:00
L. David Baron
253be7632f Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc 2012-09-06 21:16:09 -07:00
Jeff Gilbert
081dc9ddc7 Bug 782860 - Mark failing WebGL reftests as failing - r=bjacob 2012-09-06 18:46:43 -07:00
Ben Turner
44596e4e30 Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 07:15:36 -07:00
Ehsan Akhgari
51966b80a6 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Ed Morley
1dda1f83c0 Merge mozilla-central to mozilla-inbound 2012-09-06 12:18:37 +01:00
Ed Morley
5dcf26da5e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-06 10:19:16 +01:00
Ms2ger
42d2e269a9 No bug - Remove useless layout/reftests/Makefile.in; r=ted 2012-09-06 09:25:05 +02:00
Ms2ger
b136c60d07 Bug 787412 - HTMLOptionElement.prototype.text should use do a deep tree traversal; r=mounir 2012-09-06 09:25:05 +02:00
Ms2ger
837acdcee8 Bug 782070 - Remove NS_NewPagePrintTimer and nsPagePrintTimer::Init; r=roc 2012-09-06 09:14:49 +02:00
Thaddee Tyl
01eb6774e4 Bug 781032 - Fix a crash in CSSParserImpl::SetDefaultNamespaceOnSelector by creating the nsCSSParser at a valid spot. r=bz 2012-09-05 19:10:55 -04:00
Andrew Quartey
1fb48c5470 Bug 688895 - Add null check for widget in nsXULPopupManager::ShowTooltipAtScreen r=tn 2012-09-05 21:36:15 -04:00
John Schoenick
f25d874531 Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
Mats Palmgren
955816d1f7 Bug 783405 - Remember the y-positions used for estimating space above and below for the dropdown. r=smaug,roc 2012-09-06 02:17:57 +02:00
Ben Turner
c9b35b8d7f Backout d8d15eedf9ec for build failures 2012-09-06 01:11:11 -07:00
Ben Turner
0b4d931151 Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 00:45:20 -07:00
Cameron McCormack
f556ba42f9 Bug 655877 - Part 46: Test fix due to subpixel AA not being used for SVG text with strokes. r=longsonr 2012-09-06 16:07:53 +10:00
Cameron McCormack
d1a73306fd Bug 788940 - Add more dilation to fallback-color-04. r=longsonr 2012-09-06 16:07:53 +10:00
L. David Baron
770897992d Remove the easy-to-remove uses of enablePrivilege in layout/base/tests/. (Bug 788603) r=roc 2012-09-05 22:43:21 -07:00
Edwin Flores
818b186df0 Bug 719286 - Tests for change in OpenType-in-SVG font format r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
4eea67267a Bug 719286 - Tests for -moz-objectValue keyword in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
108a4eb00e Bug 719286 - Tests for -moz-objectFillOpacity and -moz-objectStrokeOpacity r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
c225dd1355 Bug 719286 - Test for SVG glyph clipping r=jfkthame 2012-09-06 16:58:47 +12:00
Edwin Flores
203813b140 Bug 719286 - Tests for objectfill and objectstroke paint values r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
d7f94d2e0e Bug 719286 - Test for basic OpenType SVG functionality r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
2446d8504c Bug 719286 - Make SVG glyphs play nice with displaylist code r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
b4fd081edd Bug 719286 - Use -moz-objectValue keywords in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
ccb631db79 Bug 719286 - Add support for -moz-objectValue keyword to CSS parser for SVG glyphs r=dbaron 2012-09-06 16:58:47 +12:00
Edwin Flores
e086b38fb4 Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to SVG *-opacity fields in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
0300bf0a15 Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to CSS parser for SVG glyphs r=dbaron 2012-09-06 16:58:46 +12:00