Commit Graph

44176 Commits

Author SHA1 Message Date
David Zbarsky
58a982f86b Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Seth Fowler
84f29f6166 Bug 1128229 - Add fuzzy annotations to tests that depend on imgFrame::Optimize being called on Android. r=me DONTBUILD 2015-01-31 21:41:06 -08:00
L. David Baron
958c00e0fe Bug 1106755 - Make more overflow area computation code apply only to floating ::first-letter. r=jfkthame
In inline layout there's no need to do anything with overflow areas
since RelativePositionFrames handles it.  Apparently doing some of the
work messes things up somehow, so the easy fix is to make the inline
::first-letter codepath behave more like nsInlineFrame and not do any
messing with overflow areas.  So this moves the rest of the overflow
code in nsFirstLetterFrame::Reflow into the float-only codepath.  There
don't appear to be any ordering issues with the movement, since the code
that the FinishAndStoreOverflow call is moved across deals with creating
and destroying continuations of the child.

All the added tests pass with the patch, but without the patch
overflow-inline-nooverflow.html fails.
2015-01-31 11:00:44 -08:00
L. David Baron
c64f6910f8 Bug 891347 - Make bug 385526 crashtest appropriate for use in the reftest/crashtest harness. r=mats 2015-01-31 11:00:44 -08:00
Kartikaya Gupta
5ce034230b Bug 1124452 - Make it work without containerless-root, too. r=tn
--HG--
extra : rebase_source : 487e678ef5fc1592326a72f279e7e7f9f32a3a71
2015-01-28 13:28:28 -05:00
JerryShih
551c73a023 Bug 1125030 - Handle VsyncChild shutdown in ActorDestroy(). r=bent 2015-01-29 22:19:00 +01:00
Peter Chang
8bd13fc5c7 Bug 1123179 - Bypass touchcaret visibility checking inside scrollable frame when touchcaret drag state is active, r=roc
--HG--
extra : rebase_source : 5370db85347a4ef93d6403e62cf385dc16a23b97
2015-01-28 01:32:00 +01:00
Jonathan Kew
047fd01454 Bug 1127107 - Reftests for spurious interaction between hyphenation/text-transform and line-wrap behavior. r=dholbert 2015-01-30 08:50:10 +00:00
Mason Chang
a2c0a65d52 Bug 1125999 Part 2: Compress vsync notifications in the parent process refresh driver. r=kats 2015-01-29 17:41:03 -08:00
Mason Chang
add4633ef0 Bug 1125999 Part 1 Use compress keyword for PVsync notify messages. r=bent 2015-01-29 17:41:02 -08:00
Xidorn Quan
8bd6dfc792 Bug 1111891 - Avoid fuzzy in test of bug 1087872 on Windows. r=jfkthame
--HG--
extra : source : b36fb390640d9bb85934ede4140be83cfbf98f53
2015-01-30 15:00:18 +11:00
Jonathan Watt
295a3bb098 Bug 1127507 - Get transforms on the children of SVG <mask> working. r=dholbert
--HG--
extra : rebase_source : 1569a6e4e5f72f71fb47486cdc99f9c64d15b689
2015-01-29 23:58:42 +00:00
Jim Mathies
d353a0d5c1 Bug 1095754 - Add nsPluginFrame support for e10s specific plugin configuration data. r=roc 2015-01-29 13:41:55 -06:00
Jim Mathies
7149a4e627 Bug 1095754 - Rather than apply geometry updates to plugins in the content process, collect updates and stash them in the shadow layer forwarder so that on the next composite, they update with the remote layer tree. r=roc 2015-01-29 13:41:54 -06:00
Carsten "Tomcat" Book
579ac07ed5 Merge mozilla-central to mozilla-inbound 2015-01-29 16:17:28 +01:00
Carsten "Tomcat" Book
395905d963 merge b2g-inbound to mozilla-central a=merge on a CLOSED TREE
--HG--
extra : amend_source : c732998111bf4b9ecd2158a1de5cbfaf9e93e1bc
2015-01-29 16:09:31 +01:00
Jonathan Watt
a923689db0 Bug 1127114, part 2 - Unify SVGTextFrame's NotifyBeforeSelectionBackground and NotifySelectionBackgroundPathEmitted callbacks. r=heycam 2015-01-27 16:32:24 +00:00
Jonathan Watt
de0a615af6 Bug 1127114, part 1 - Use typed rects for PaintSelectionBackground's arguments since the units are unexpected. r=heycam 2015-01-27 16:32:20 +00:00
Jonathan Watt
8cacd9681d Bug 1018324 - Remove inIFlasher. r=roc 2015-01-26 17:08:45 +00:00
Jonathan Watt
712f521262 Bug 1127138 - Remove the declarations of a couple of dead FrameLayerBuilder methods. r=mattwoodrow 2015-01-23 09:17:14 +00:00
Wes Kocher
0efb7c3677 Merge m-c to b2g-inbound a=merge 2015-01-28 18:43:47 -08:00
Kartikaya Gupta
8d93c66cb0 Bug 1116588 - Don't optimize away opacity:0 items if we're building event regions, unless the frame also has pointer-events:none. r=tn 2015-01-28 17:42:23 -05:00
John Daggett
97f2b28880 Bug 1127209 - cleanup downloadable font logging. r=m_kato 2015-01-29 16:44:59 +09:00
Jeremy Chen
fe8fc4f7aa Bug 1120358 - Part 1: Handle scroll position change that is not triggered by APZ. r=roc 2015-01-15 00:42:00 -05:00
Kartikaya Gupta
f6da43df9d Back out bug 1116588 for introducing the regression in bug 1126427. r=me 2015-01-28 08:58:47 -05:00
Carsten "Tomcat" Book
e20a4f88ee Merge mozilla-central to mozilla-inbound 2015-01-28 14:30:12 +01:00
Carsten "Tomcat" Book
8aced6dab7 merge fx-team to mozilla-central a=merge 2015-01-28 14:24:09 +01:00
Jonathan Kew
5a6184da2a Bug 1126420 - Don't assert when intrinsic size values are used for a block-size property, just pretend they're 'auto' for now. r=dbaron 2015-01-28 09:07:59 +00:00
Jonathan Kew
067cdaff46 Bug 1108177 - Reftest to check for fallback mark stacking. r=jdaggett 2015-01-28 09:03:30 +00:00
Masayuki Nakano
7a85c69f66 Bug 917322 part.16 Rename COMPOSITION_ATTR_* in EventUtils.js with new constants of nsITextInputProcessor r=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
c4758f2301 Bug 917322 part.11 Create nsITextInputProcessor and implement it as mozilla::TextInputProcessor r=smaug, sr=smaug
--HG--
rename : dom/base/CompositionStringSynthesizer.cpp => dom/base/TextInputProcessor.cpp
rename : dom/base/CompositionStringSynthesizer.h => dom/base/TextInputProcessor.h
2015-01-28 15:27:32 +09:00
Masayuki Nakano
afb256c118 Bug 917322 part.10 Remove unnecessary synthesizeComposition(compositionstart) from all tests r=smaug 2015-01-28 15:27:32 +09:00
Nicholas Nethercote
3163cfc2c1 Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.

For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.

I'll do the trickier ones in subsequent patches.

--HG--
extra : rebase_source : ab37a7a30be563861ded8631771181aacf054fd4
2015-01-22 21:06:55 -08:00
Ehsan Akhgari
cdf636c674 Bug 989012 - Part 2: Don't get stuck when seeing an image without a src or alt attribute; r=roc
We do not want to traverse inside native anonymous elements, but we
should still be able to skip over generated content, to avoid getting
stuck on such images.
2015-01-27 23:11:29 -05:00
Ehsan Akhgari
4d42b88e0b Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc
The caret movement code already handles unselectable text frames if we
happen to land in the middle of one in nsTextFrame::PeekOffsetCharacter/Word.
However, when performing frame traversal to find the next frame to jump
to, we don't remember if we skipped over an unselectable frame, which causes
us to jump one offset too much when the caret is on the boundary of
selectable and unselectable content.  The test cases demonstrate the
scenario.  Note that an <img alt=foo> is implemented by adding a
generated content to the inline frame representing it, so as far as
the caret movement code is concerned, both test cases are treated similarly.

Note that we need to do this only when moving the selection, and not
when extending it.  We are adding an aExtend argument to
nsPeekOffsetStruct's constructor in order to be able to special case
that.
2015-01-27 23:11:26 -05:00
Cameron McCormack
e12e8cdd57 Bug 621351 - Test that border widths and colors set by logical border shorthands can be transitioned. r=dbaron 2015-01-28 14:41:31 +11:00
Seth Fowler
594a776fc1 Bug 1126146 - Disable the single-color optimization in reftests. r=tn 2015-01-27 17:43:21 -08:00
David Anderson
c286b2ea59 Don't snap displayports to tile boundaries if we're not tiling. (bug 1126045 part 2, r=kats)
--HG--
extra : rebase_source : d42768d98541b26a640fdb8c44b87fcce3f61ac8
2015-01-27 16:04:49 -08:00
Daniel Holbert
978bc1c194 Bug 1126163: Adjust image-object-position-with-background-1-ref.html to crop its replaced elems with overflow:hidden div, instead of downscaling them. r=seth 2015-01-27 17:12:33 -08:00
Ehsan Akhgari
fa44e7387c Backed out 2 changesets (bug 989012) because of test failure on Linux32 opt mochitest-a11y on a CLOSED TREE
Backed out changeset 9698f6f3f72e (bug 989012)
Backed out changeset 22fb05349a10 (bug 989012)
2015-01-27 16:40:30 -05:00
Ehsan Akhgari
e8b3ff1eb5 Bug 989012 - Part 2: Don't get stuck when seeing an image without a src or alt attribute; r=roc
We do not want to traverse inside native anonymous elements, but we
should still be able to skip over generated content, to avoid getting
stuck on such images.
2015-01-27 15:35:48 -05:00
Ehsan Akhgari
084e7e0b3c Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc
The caret movement code already handles unselectable text frames if we
happen to land in the middle of one in nsTextFrame::PeekOffsetCharacter/Word.
However, when performing frame traversal to find the next frame to jump
to, we don't remember if we skipped over an unselectable frame, which causes
us to jump one offset too much when the caret is on the boundary of
selectable and unselectable content.  The test cases demonstrate the
scenario.  Note that an <img alt=foo> is implemented by adding a
generated content to the inline frame representing it, so as far as
the caret movement code is concerned, both test cases are treated similarly.

Note that we need to do this only when moving the selection, and not
when extending it.  We are adding an aExtend argument to
nsPeekOffsetStruct's constructor in order to be able to special case
that.
2015-01-27 15:35:32 -05:00
dominique vincent
d15b47438e Bug 663803 - Add hitCluster flag to detect touch in cluster links area r=smaug,kats 2014-11-24 15:33:06 +01:00
Carsten "Tomcat" Book
7516f99824 Backed out changeset bbd77af91d82 (bug 1125490) for reftests failures on a CLOSED TREE 2015-01-27 11:16:28 +01:00
Carsten "Tomcat" Book
f6670a9071 Backed out changeset b44e10f83623 (bug 1125490) 2015-01-27 11:15:04 +01:00
Seth Fowler
75230f87bb Bug 1125490 (Part 2) - Use an enumeration instead of a boolean to request discarding in nsIImageLoadingContent. r=tn 2015-01-26 22:53:21 -08:00
Seth Fowler
bec02510c0 Bug 1125490 (Part 1) - Make sure we request discarding for images in PresShell::Destroy. r=tn 2015-01-26 22:53:21 -08:00
Cameron McCormack
d502d1fa59 Bug 1126145 - Include style sheet URL and line number in StyleRule::List output. r=dbaron 2015-01-27 16:08:57 +11:00
Cameron McCormack
fb3a2a89f9 Bug 1126140 - Remove duplicated selector lists in StyleRule::List output. r=dbaron 2015-01-27 16:08:57 +11:00
Kartikaya Gupta
697928de5e Bug 1116588 - Remove an optimization codepath that prevents building event-regions correctly. r=tn 2015-01-26 09:46:33 -05:00