Commit Graph

4627 Commits

Author SHA1 Message Date
Wes Kocher
c659ea6bce Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
c3639f1324 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
L. David Baron
74594b1040 Bug 1089417 patch 8 - Only drop MediumFeaturesChanged on the floor if we've never computed style before, rather than never computed style using this rule processor. r=heycam
This depends on patches 4 and 7.
2014-12-05 15:50:01 -08:00
L. David Baron
d04dcd8d26 Bug 1089417 patch 7 - Save the previous media query cache key on the rule processor. r=heycam
This depends on patches 5 and 6, and is needed for patch 8.
2014-12-05 15:50:00 -08:00
L. David Baron
5fe22ef268 Bug 1089417 patch 6 - Pass the previous CSS rule processor to the constructor of the new one (when we replace one with another). r=heycam
This is needed for patch 7.
2014-12-05 15:50:00 -08:00
L. David Baron
7ae577e441 Bug 1089417 patch 5 - Add method to save the current media query result cache key from a rule processor. r=heycam
This is needed for patch 7.
2014-12-05 15:50:00 -08:00
L. David Baron
e37c69028a Bug 1089417 patch 4 - Define equality operators on nsMediaQueryResultCacheKey and the types it contains. r=heycam
This is needed for the equality comparison in
nsCSSRuleProcessor::MediumFeaturesChanged in patch 8.
2014-12-05 15:50:00 -08:00
L. David Baron
994ca9e86d Bug 1089417 patch 3 - Add mochitest. r=heycam
Note that if I make the style element currently /* empty */ have a rule
in it, the test passes.

Patch 8 also makes the test pass.
2014-12-05 15:50:00 -08:00
L. David Baron
35d9fb6ba2 Bug 1089417 patch 1 - Add assertions that rule processors are valid before we access them. r=heycam
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 15:50:00 -08:00
Wes Kocher
28b56d8b93 Backed out 8 changesets (bug 1089417) for b2g bustage possibly on a CLOSED TREE
Backed out changeset bf9f31312c1a (bug 1089417)
Backed out changeset babf33f8e077 (bug 1089417)
Backed out changeset 47b4f47d2e36 (bug 1089417)
Backed out changeset 11da22489a4f (bug 1089417)
Backed out changeset a39f32b2b2de (bug 1089417)
Backed out changeset fba9c331e036 (bug 1089417)
Backed out changeset b541a037f627 (bug 1089417)
Backed out changeset fc47a51b4f96 (bug 1089417)
2014-12-05 12:45:41 -08:00
L. David Baron
37a1b2f261 Bug 1089417 patch 8 - Only drop MediumFeaturesChanged on the floor if we've never computed style before, rather than never computed style using this rule processor. r=heycam
This depends on patches 4 and 7.
2014-12-05 11:37:39 -08:00
L. David Baron
258e59b4f7 Bug 1089417 patch 7 - Save the previous media query cache key on the rule processor. r=heycam
This depends on patches 5 and 6, and is needed for patch 8.
2014-12-05 11:37:39 -08:00
L. David Baron
6cfe8a48b9 Bug 1089417 patch 6 - Pass the previous CSS rule processor to the constructor of the new one (when we replace one with another). r=heycam
This is needed for patch 7.
2014-12-05 11:37:38 -08:00
L. David Baron
54e18a032a Bug 1089417 patch 5 - Add method to save the current media query result cache key from a rule processor. r=heycam
This is needed for patch 7.
2014-12-05 11:37:38 -08:00
L. David Baron
bec2243a8d Bug 1089417 patch 4 - Define equality operators on nsMediaQueryResultCacheKey and the types it contains. r=heycam
This is needed for the equality comparison in
nsCSSRuleProcessor::MediumFeaturesChanged in patch 8.
2014-12-05 11:37:38 -08:00
L. David Baron
44b5ed6728 Bug 1089417 patch 3 - Add mochitest. r=heycam
Note that if I make the style element currently /* empty */ have a rule
in it, the test passes.

Patch 8 also makes the test pass.
2014-12-05 11:37:38 -08:00
L. David Baron
02e66dfa8a Bug 1089417 patch 1 - Add assertions that rule processors are valid before we access them. r=heycam
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 11:37:38 -08:00
Carsten "Tomcat" Book
f97c2d406b merge fx-team to mozilla-central a=merge 2014-12-05 13:02:46 +01:00
Gijs Kruitbosch
b089406711 Bug 639134 - change document color pref to tristate, r=dbaron 2014-11-27 19:06:14 +00:00
Milan Loveless
c300ef1afc Bug 1107595 - Changed spelling of behaviour to behavior in AnimationCommon.cpp; r=birtles 2014-12-04 12:37:28 -08:00
Jonathan Kew
99ce3e394c Bug 1102177 - Don't apply a fixed height to <hr> elements. r=dbaron
--HG--
rename : layout/base/crashtests/266445-1.html => layout/base/crashtests/266445-2.html
2014-12-01 20:57:28 -08:00
Boris Zbarsky
df0625421a Bug 830260 followup to address review comment. 2014-12-01 15:22:44 -05:00
Boris Zbarsky
cb114f6309 Bug 830260. Passing null as the value to CSSStyleDeclaration.setProperty should remove the property. r=heycam 2014-12-01 15:15:59 -05:00
Boris Zbarsky
a10fc15a22 Bug 1020400. Remove empty-cells quirk, since no other UA has it. r=heycam 2014-12-01 15:15:41 -05:00
Mats Palmgren
2455228c4a Bug 1102374 - Enable display:contents by default in non-release builds. r=dbaron 2014-12-01 15:55:16 +00:00
Mats Palmgren
fa685d9436 Bug 1105938 - Don't use nsCSSProps::PropHasFlags(eCSSPropertyExtra_variable, ...). r=heycam 2014-12-01 15:55:16 +00:00
Carsten "Tomcat" Book
01f4bea101 Backed out changeset 88befbeb7321 (bug 1102177) for crashtest bustage 2014-12-01 12:44:01 +01:00
Jonathan Kew
42163bd00f Bug 1102177 - Don't apply a fixed height to <hr> elements. r=dbaron 2014-12-01 09:47:34 +00:00
L. David Baron
8a68f4e46e Bug 1100773 patch 4 - Fix nonunified build bustage. 2014-11-26 23:39:43 -08:00
L. David Baron
2fbfc09f6f Bug 1102650 - Make the :-moz-dir() and :-moz-locale-dir() selectors be valid selectors (matching nothing) with arguments other than rtl and ltr, rather than invalid. r=heycam 2014-11-26 22:29:45 -08:00
L. David Baron
8c516d0dfd Bug 1100773 patch 3 - Add an aListDescendants boolean to nsStyleContext::List. r=heycam 2014-11-26 22:29:45 -08:00
L. David Baron
ac0837a339 Bug 1100773 patch 2 - Convert style rule List methods to use fprintf_stderr. r=heycam
Note that getting decent logcat output on Android and B2G requires not
splitting lines of output across multiple fprintf_stderr calls.
2014-11-26 22:29:44 -08:00
L. David Baron
15771fb627 Bug 1100773 patch 1 - Fix bracing of indent loops in style rule print functions. r=heycam 2014-11-26 22:29:44 -08:00
Xidorn Quan
6bb73d843e Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron 2014-11-26 15:53:18 +11:00
Daniel Holbert
cb3c595d42 Bug 1093316 part 2: Backout changeset af2a4fb980ad (i.e. backout bug 1032922 part 1), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec.
Landing on a CLOSED TREE with a=kwierso
2014-11-25 15:40:24 -08:00
Daniel Holbert
8b2fb3bb07 Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec. 2014-11-25 11:28:15 -08:00
Seth Fowler
04a7d19f79 Bug 1102617 - Replace imgIContainer::FrameIsOpaque with imgIContainer::IsOpaque. r=tn 2014-11-24 23:42:43 -08:00
Dirk Schulze
fb488563e8 Bug 1074528 - Implement parsing/computing of inset(). r=dbaron 2014-11-22 05:28:00 +01:00
Jesse Ruderman
c7ef084d73 Bug 559491 - crashtest. 2014-11-23 15:09:51 +00:00
Karl Tomlinson
0a52493d8d bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Mats Palmgren
a25bb0f239 Bug 907396 - Tests for CSS 'display:contents'. 2014-11-20 18:24:11 +00:00
Mats Palmgren
a589dd143f Bug 907396 - Put display:contents support behind a pref - disabled by default. r=dholbert 2014-11-20 18:24:09 +00:00
Mats Palmgren
02d2f75bc9 Bug 907396 - Flex/Grid container changes for display:contents. r=dholbert 2014-11-20 18:24:09 +00:00
Mats Palmgren
ca5235fd31 Bug 907396 - Style system support for display:contents. r=dbaron 2014-11-20 18:24:08 +00:00
Brian Birtles
a8a325e307 Bug 1104427 part 2 - Encapsulate AnimationPlayer::mStartTime; r=dholbert
Now that there is a public accessor for mStartTime, we can make it a protected
member of AnimationPlayer. The only time mStartTime is ever set is when playing
the animation so we can replace external modifications to mStartTime with calls
to Play(). This simplifies implementing deferred starting of animations
in bug 927349 by isolating the deferred playback logic to AnimationPlayer.

Note that even when we call PauseFromStyle immediately afterwards we still need
to call PlayFromStyle (or Play) first in order to resolve the time at which the
player should be paused. A newly created player doesn't have a current time so
if we were simply to call pause it wouldn't pause at the start of the animation
as we might expect. The call to Play(FromStyle) will cause the current time to
become zero and then we pause at that time.
2014-12-04 08:28:38 -08:00
David Zbarsky
7d60c708ba Bug 1085769: Merge ContentOrAncestorHasAnimation/Transition r=birtles 2014-11-19 21:48:42 -05:00
David Zbarsky
3e883018cf Bug 1085769: Merge RulesMatching, GetAnimationPlayers, and GetAnimationRule r=birtles 2014-11-19 21:48:41 -05:00
Boris Zbarsky
e13e547738 Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron 2014-10-03 14:15:25 -04:00
Sid Stamm
7840802ff5 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Sid Stamm
2189922ce8 Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz) 2014-11-18 08:46:47 -05:00