Matt Woodrow
1d675c61d6
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
5a3b322459
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
49d4c24594
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Kyle Huey
42a911c533
Bug 793554: Devirtualize mozilla::css::Loader::[AddRef|Release] r=dbaron
2012-09-24 07:29:24 -07:00
Zack Weinberg
852269eeb1
Diagnostic instrumentation for bug 536603.
2012-09-23 11:18:10 -04:00
Robert O'Callahan
fc3689264b
Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
...
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
Ehsan Akhgari
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Ehsan Akhgari
c147ce1e22
Bug 788275 - Part 0: Make nsCORSListenerProxy's constructor not cause the object to be destroyed before it is constructed; r=bzbarsky
...
That is always a nice property to have!
2012-09-18 22:16:23 -04:00
L. David Baron
7ac7df5687
Fix assertion failure causing orange. (Bug 774169)
2012-09-18 12:51:47 -07:00
L. David Baron
2e0fbb1b1f
Bug 774169, patch 4: Revert bug 719054 for prefixed -moz-transform but leave it for unprefixed transform. r=bzbarsky
2012-09-18 11:37:14 -07:00
L. David Baron
233751c6ae
Bug 774169, patch 3: Treat -moz-transform as a shorthand rather than an alias so the parsing function can know whether it is parsing a prefixed transform. r=bzbarsky
2012-09-18 11:37:14 -07:00
L. David Baron
cfc2ee3220
Bug 774169, patch 2: Add property_database.js entries for property aliases. r=bzbarsky
...
This adds entries for property aliases as though they are shorthands.
This fits with the CSS working group's recent resolution to describe
aliases as shorthands, recorded in
http://lists.w3.org/Archives/Public/www-style/2012Aug/0770.html .
The property_database.js entries themselves are copied from the
non-alias entries for the properties, with these changes:
(1) The property name is changed to the prefixed form
(2) The domProp entry is changed to the prefixed form
(3) Adding alias_for entries for each property.
(4) When type is CSS_TYPE_LONGHAND in the target of the alias, type for
the alias is CSS_TYPE_SHORTHAND_AND_LONGHAND and a subproperties
entry is added with the target of the alias.
There are also some indentation fixes to the copied entries in
property_database.js (made before they were copied, and thus affecting
the original as well).
2012-09-18 11:37:14 -07:00
L. David Baron
2dd8e1ccad
Bug 774169, patch 1: Make the property_database.js-based tests call getComputedStyle() for all properties that are expected to have longhand behavior. r=bzbarsky
...
This currently only affects the testing of overflow, but it will also
affect -moz-transform (and any other aliases implemented the same way)
after the later patches in this bug.
This special-cases text-decoration because text-decoration: inherit causes
the color to inherit in a way that we can't serialize the result (since
it's no longer "foreground"). (This isn't great; we might want to
consider fixing it somehow.)
2012-09-18 11:37:14 -07:00
L. David Baron
d9211fb04f
Remove aPresContext parameter to nsStyleContext constructor and document parameters to constructor. (Bug 791416) r=bzbarsky
2012-09-18 11:37:13 -07:00
David Zbarsky
153247a129
Fix typo in comment, no bug, r=me
2012-09-18 14:01:03 -04:00
Anthony Ricaud
b60b2ae375
Bug 570326 - Add support for background-size in background shorthand property. r=dbaron
2012-09-16 20:20:15 -04:00
L. David Baron
0ed8ec207f
Add more profile labels for the separate parts of restyle processing. (Bug 790379) rs=cjones
2012-09-14 14:12:34 -07:00
Arnaud Sourioux
b20a9a4654
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
Chris Lord
bb16d413e7
Bug 786502 - Separate background layers into separate items. r=roc
...
Separate out background layers into separate display-list items, so that
backgrounds that are a mix of fixed and non-fixed layers will be treated
individually.
2012-09-13 11:34:23 +01:00
Daniel Holbert
c08f60c758
Bug 666041 patch 4.5: Add support for custom flex container sizes to test_flexbox_layout.html, and give it some testcases that exercise our float-accumulation-error-handling code. r=dbaron (DONTBUILD because this test is currently disabled on trunk)
2012-09-11 18:07:49 -07:00
Mats Palmgren
b602620a6a
Bug 788836 - Simplify @-keyword parsing by letting ParseAtKeyword deal with everthing after the @. Make it pass the first char to GatherIdent so that it returns false for a bad escape sequence at the start. r=dbaron
2012-09-12 00:20:52 +02:00
Boris Zbarsky
2268aac36b
Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv
2012-09-11 20:08:24 +01:00
Gabor Krizsanits
0156aa35d9
Bug 737003 - Offer a way to apply user agent stylesheet on a given document; r=bz
2012-09-11 13:51:10 +02:00
Daniel Holbert
f8dfa24152
Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg
2012-09-09 16:29:12 -07:00
Chris Pearce
7c07555810
Bug 779286 - Allow document.documentElement to still be scrollable when made fullscreen. r=roc
2012-09-10 10:10:00 +12:00
L. David Baron
74b4279416
Rename nsChangeHint_ReflowFrame to nsChangeHint_AllReflowHints to make it clearer that it's the one that contains multiple bits. (Bug 789592, patch 2) r=bzbarsky
2012-09-07 15:57:06 -07:00
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
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
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
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
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
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
Edwin Flores
cac293e907
Bug 719286 - Add support for objectfill and objectstroke values to CSS parser r=dbaron
2012-09-06 16:58:46 +12:00
Edwin Flores
120eb58f93
Bug 719286 - Add -moz-is-glyph media feature for setting default values for SVG glyphs in the browser SVG style sheet r=dbaron
2012-09-06 16:58:44 +12: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
John Schoenick
f25d874531
Backout a6f040934c99 (Bug 548133) for reftest orange
2012-09-05 14:58:17 -07:00
John Schoenick
58eddd29c3
Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh
2012-09-05 14:02:06 -07:00
Chris Pearce
6490193b29
Bug 788387 - Add -moz-box-sizing:border-box to :-moz-full-screen. r=roc
2012-09-05 15:54:11 +12:00
Daniel Holbert
16ff96590f
Bug 763689 patch 3: Support min-height:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:11 -07:00
Daniel Holbert
b0926860ac
Bug 763689 patch 2: Support min-width:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:10 -07:00
Aryeh Gregor
5cb11391e0
Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz
2012-08-07 17:58:47 +03:00