Commit Graph

25444 Commits

Author SHA1 Message Date
John Daggett
0250d6859b Bug 1094571 - add unicode-range load tests. r=heycam 2015-03-30 10:05:32 +09:00
John Daggett
c490ab2f99 Bug 1094571 - add woff versions of markA, markB, etc. fonts. r=heycam 2015-03-30 10:05:12 +09:00
Timothy Nikkel
9803b7e5b1 Bug 1133732. Header include got missed in rebase. on CLOSED TREE 2015-03-29 18:16:43 -05:00
Timothy Nikkel
90c463cb80 Bug 1133732. Make button box frames listen for blurs so they de-activate on blur. r=smaug 2015-03-29 18:05:00 -05:00
Mats Palmgren
ee8e437fa3 Bug 1148833 part 4 - Fix indentation of some Reflow params (white-space changes only). 2015-03-29 22:38:40 +00:00
Mats Palmgren
5bd17a127b Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc 2015-03-29 22:38:40 +00:00
Mats Palmgren
2841011c3a Bug 1148833 part 2 - Makes sure gLogModule is initialized by calling GetLogModuleInfo(). r=roc 2015-03-29 22:38:40 +00:00
Mats Palmgren
c5c104d465 Bug 1148833 part 1 - Remove nsMathMLContainerFrame::WillReflow, reset the NS_MATHML_ERROR bit at the start of Reflow instead. r=roc 2015-03-29 22:38:39 +00:00
Nicolas Silva
e140a853f2 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva
eae4d10b4d Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Brian Birtles
6315d9d2bc Bug 1109390 part 18 - Rename AnimationPlayer::IsRunning to IsPlaying and reuse IsInPlay definition; r=jwatt
This patch renames the confusing IsRunning method since IsRunning() is *not*
the same as (PlayState() == AnimationPlayState::Running). It also removes
the old definition to make better re-use of PlayState() and IsInPlay().
2015-03-27 18:01:00 +09:00
Brian Birtles
41cdff5906 Bug 1109390 part 16 - Update IsCurrent to take a player parameter; r=jwatt
In preparation for introducing IsInPlay (where "in play" is a term in the Web
Animations spec), this patch aligns the existing IsCurrent with the definition
in the spec that says an animation effect is only current if it is attached
to an animation (player in our current naming) that is not finished. In order
to ensure that we need to pass the animation/player into the method.

This actually changes the behavior of IsCurrent since now we will return false
for animations that are finished. As far as I can tell, all the call sites that
are requesting current animations should only be concerned with animations that
are actually running. If not, they need to be adjusted to look for animations
that are either current or in effect.
2015-03-27 17:44:38 +09:00
Cameron McCormack
e36cb0498e Bug 1148711 - Remove nsresult return values from nsCSSParser::Parse{Property,Variable}. r=dholbert 2015-03-29 22:57:04 +11:00
Markus Stange
67dd0e7419 Bug 1146626 - Refresh the reftest snapshot after adjusting the async scroll offsets. r=roc 2015-03-25 22:35:57 -04:00
Markus Stange
93fe05e2e2 Remove workaround for bug 748219, which seems to have been fixed in the meantime. 2015-03-23 02:17:37 -04:00
Markus Stange
deb5d18e1f Bug 1039926 - Add a test for not invalidating stuff inside mask layers. 2015-03-28 21:14:10 -04:00
Mats Palmgren
e57b30ccac Bug 1144905 - Clean up SortByZOrder code and comments since it now assumes the list is already in content document order. r=roc 2015-03-28 20:50:35 +00:00
Daniel Holbert
76d166599c Bug 1148588 part 2: Annotate a few more intermittent object-fit-*-svg embed/object tests as skip-if(B2G). 2015-03-28 07:38:28 -07:00
Xidorn Quan
6a789d6fe4 Bug 1144607 followup - Fix submitted reftest for string value of list-style-type. DONTBUILD 2015-03-28 17:19:51 +11:00
Seth Fowler
4b808baa62 Bug 1068881 - Inflate the dest rect to at least one device pixel when computing the optimal image size for drawing. r=roc 2015-03-27 20:07:31 -07:00
Wes Kocher
7549c12aa0 Merge m-c to inbound a=merge 2015-03-27 17:31:19 -07:00
Wes Kocher
ab449aca37 Merge b2g-inbound to m-c a=merge 2015-03-27 17:11:19 -07:00
Jorg K
30a668694f Bug 756984 - Collapse the selection on the last text node on the line, skipping br and inline frames when clicking past the end of line; r=roc,ehsan 2015-03-27 20:04:29 -04:00
Wes Kocher
dc968c65b7 Merge fx-team to m-c a=merge 2015-03-27 16:52:38 -07:00
Ryan VanderMeulen
dbc2e6caa3 Merge m-c to b2g-inbound. a=merge 2015-03-27 12:20:00 -04:00
Ryan VanderMeulen
ca58b815ec Merge m-c to fx-team. a=merge 2015-03-27 12:21:41 -04:00
Cameron McCormack
2649322d92 Back out 346bbcaeff38 (bug 1076803) for still failing intermittently. 2015-03-27 22:30:17 +11:00
Cameron McCormack
1366fc2485 Bug 1145506 - Make FontFace constructor fail on invalid src strings but otherwise create user font entries immediately. r=jdaggett 2015-03-27 21:13:21 +11:00
Cameron McCormack
8c4d516d80 Bug 1079292 - Re-enable TEST 18 in test_font_loading_api.html; no review. 2015-03-27 21:05:22 +11:00
Cameron McCormack
54f2cbaea6 Bug 1145937 - Don't set FontFaceSet status to Loaded between a font download completion and the document reflow. r=jdaggett 2015-03-27 21:05:22 +11:00
Cameron McCormack
2d72d42a60 Bug 1144977 - Part 2: Tests. r=jdaggett 2015-03-27 21:05:22 +11:00
Cameron McCormack
286cfffcba Bug 1144977 - Part 1: Don't include FontFace objects in more than one loadingdone/loadingerror event. r=jdaggett 2015-03-27 21:05:22 +11:00
Brian Birtles
48876aabca Bug 1109390 part 12 - Update IsPaused to handle pause-pending players as well; r=jwatt
IsPaused is used in nsAnimationManager to detect if a newly created animation
should be paused. It is also used inside AnimationPlayer::IsRunning which is
used to determine what animations to send to the compositor (we don't send
paused animations to the compositor). In all these cases we want to treat paused
animations and pause-pending animations alike.

This patch updates IsPaused to include also pause-pending animations. At the
same time it renames IsPaused to IsPausedOrPausing to reflect the change in
behavior.

This patch also adjusts a few nearby one-line functions to put the opening brace
on a new line since apparently this is what the coding style says to do.
2015-03-27 15:56:45 +09:00
Brian Birtles
f49ade3807 Bug 1109390 part 7 - Rename PendingPlayerTracker's Start* methods to Trigger*; r=jwatt
These methods will soon be used to start animations that are waiting to start
and also to finish pausing animations that are waiting to pause. As a result
we rename them to TriggerXXX since that's a bit more generic.

There are still references to StartXXX within PendingPlayerTracker. These will
be updated in a subsequent patch once we have the appropriate methods available
on AnimationPlayer to call.
2015-03-27 15:56:45 +09:00
Timothy Nikkel
9675ec7b95 Bug 1130400. Add test. 2015-03-27 01:52:39 -05:00
Geoff Brown
cf739e07e8 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Wes Kocher
dd8a8fcae7 Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Mike Hommey
6ee628d425 Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Xidorn Quan
c5d84bb571 Bug 1144607 part 3 - Reftests for string value on list-style-type. r=dbaron 2015-03-27 09:48:10 +11:00
Xidorn Quan
e1ea8c6288 Bug 1144607 part 2 - Support string value for list-style-tyle. r=dbaron 2015-03-27 09:48:10 +11:00
Xidorn Quan
5ff9ef3b1e Bug 1144607 part 1 - Remove CounterStyleManager::BuildCounterStyle for anonymous counter styles. r=dbaron 2015-03-27 09:48:10 +11:00
Cameron McCormack
5c3e7f784f Bug 1120300 - Export WritingModes.h as mozilla/WritingModes.h. r=jfkthame 2015-03-26 18:29:31 +11:00
Seth Fowler
45dfda8bce Backed out changeset c035d63ade9d (bug 1068881) 2015-03-26 15:45:00 -07:00
Jeremy Chen
a9bfb0107b Bug 1140625 - Part 5: Move Flush_Layout to the right place in SelectionCarets::UpdateSelectionCarets. r=roc 2015-03-24 03:34:00 -04:00
Jeremy Chen
981eff6474 Bug 1140625 - Part 4: Fix scroll_selection_into_view test to make its function remain. r=roc 2015-03-24 01:21:00 -04:00
Martijn Wargers
404a79b2da Bug 1145553 - Remove remaining usage of enablePrivilege in crashtests; r=jmaher 2015-03-20 14:29:19 +01:00
Morris Tseng
2b87005c88 Bug 1140625 - Recursive call GetFrameForNodeOffset if text node has no frame. r=roc 2015-03-19 02:47:00 -04:00
Jeremy Chen
f046b1e05c Bug 1140625 - Part 1: Add recursive call in GetFrameForNodeOffset. r=roc 2015-03-24 01:15:00 -04:00
Jonathan Kew
81803533f4 Bug 1133945 - Reftest for vertical-align with dominant centered baseline. r=smontagu 2015-03-26 12:35:15 +00:00
Jonathan Kew
343494dea5 Bug 1133945 - Fix behavior of vertical-align with a specified length, relative to dominant centered baseline in vertical mode. r=smontagu 2015-03-26 12:34:57 +00:00