Commit Graph

29459 Commits

Author SHA1 Message Date
Ting-Yu Lin
8909749c2d Bug 1246064 - Support long press to show AccessibleCaret on empty input for Fennec. r=roc 2016-02-08 16:08:46 +08:00
Ting-Yu Lin
2ce8199467 Bug 1246477 - Fix carets not updated by scroll events in LongTapState. r=roc
This is a regression by "Bug 1121468 - Go to NoActionState after
receiving release on LongTapState."

When receiving a scroll event in LongTapState, i.e. apz starts, we
should call OnScrollStart() and move to the ScrollState.
2016-02-08 16:08:45 +08:00
Ting-Yu Lin
e7b4bc2880 Bug 1225752 - Localize the description of default summary. r=bz 2016-02-04 01:48:00 +08:00
John Daggett
fcbf58d3da Bug 1244017 - disable system font cascade reftests. r=m_kato 2016-02-08 15:26:50 +09:00
John Daggett
64aa7e1b50 Bug 1188802 - only rebuild local webfont rules when needed. r=heycam 2016-02-08 10:11:39 +09:00
L. David Baron
922e4a4bdc Bug 1245075 patch 2 - Fix EffectSet::GetEffectSet(nsIFrame*) and EffectCompositor::GetAnimationElementAndPseudoForFrame to only return effects when the frame is the style frame for its content. r=birtles
This means that we won't associate animations with additional frames.
In this case, this fixes associating off-main-thread animations with a
table outer frame, when they should have been associated only with the
table frame.

Locally, the test fails without the patch (with opacity in the test
being 0.36 instead of the expected 0.6), and passes with the patch.
(Opacity 0.36 gives a color of rgb(163,163,255), whereas 0.6 gives
rgb(102,102,255).)
2016-02-07 08:43:49 -08:00
L. David Baron
d8390b05ee Bug 1245075 patch 1 - Remove assertion, since it can fire during frame destruction. r=dholbert
Without this patch, patch 2 will cause assertions since
nsFrame::DestroyFrom calls nsFrame::HasCSSAnimations (at a time when the
child frame has been destroyed), which calls into the code modified in
patch 2 to call GetStyleFrame.
2016-02-07 08:43:48 -08:00
Matt Woodrow
75ec74040d Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc 2016-02-07 23:51:11 +13:00
Phil Ringnalda
daa23fd8e4 Back out e751d638ab4b (bug 1229317) for reftest "Assertion failure: oldState < kReadMax" and crashes
CLOSED TREE
2016-02-05 22:42:55 -08:00
Matt Woodrow
bc381f4e58 Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc 2016-02-06 17:57:34 +13:00
Thinker K.F. Li
9d3f4e1028 Bug 1243282 - Wrap items having clips with a separator. r=mattwoodrow 2016-02-06 17:55:59 +13:00
Karl Dubost
1e779aafad Bug 812899 part 3 - Make vertical 'auto' margins on absolutely positioned elements always center, even when the margins are negative. r=dbaron 2015-12-03 14:24:00 +09:00
Boris Zbarsky
195442c101 Bug 812899 part 2. Change the centering code in nsImageDocument to only try vertically centering via auto margins when we're not overflowing in the vertical direction, because if we _are_ overflowing that should cut off part of the image per spec. r=khuey 2016-02-05 23:31:19 -05:00
Christoph Kerschbaumer
2bd637546d Bug 1245681 - Fix addOverrideStyleSheet. r=bz
CLOSED TREE
2016-02-05 11:07:04 -08:00
Wes Kocher
4079ab2d73 Backed out 2 changesets (bug 1245681) for android mochitest-14 failures in test_css_chrome_load_access.html CLOSED TREE
Backed out changeset 82803bc92f37 (bug 1245681)
Backed out changeset b71df90db19e (bug 1245681)
2016-02-05 15:16:36 -08:00
Kartikaya Gupta
00d4cabd4e Bug 1104356 - Add a reftest. r=kip 2016-02-05 17:09:37 -05:00
Kartikaya Gupta
e39216926c Bug 1104356 - When doing a smooth scroll on a non-APZ'd scrollframe, fall back to the main thread machinery. r=kip 2016-02-05 17:09:30 -05:00
Christoph Kerschbaumer
2df11468d6 Bug 1245681 - Fix addOverrideStyleSheet. r=bz 2016-02-05 11:07:04 -08:00
Wes Kocher
512286ad03 Backed out changeset 4fa1296bd773 (bug 1104916) for win debug m(oth) permafails CLOSED TREE 2016-02-05 11:42:55 -08:00
Phil Ringnalda
b35dce3e2b Back out d1779fe421c3 (bug 1034290) for UnicodeDecodeErrors in things run by the reftest harness
CLOSED TREE
2016-02-05 08:18:47 -08:00
Mike Taylor
d9c2c58aec Bug 1245997. Remove -webkit-mask-mode alias. r=dholbert
This has not yet been implemented in WebKit, hence there shouldn't
be any legacy compat concerns.
2016-02-05 09:27:45 -06:00
Carsten "Tomcat" Book
b1c7f97353 Backed out changeset a6bc2efcdf26 (bug 1212333) for bustage 2016-02-05 16:09:28 +01:00
Eddy Bruel
bc23789770 Bug 1212333 - WorkerDebuggerManager should live on the main thread;r=khuey 2016-02-04 22:04:25 +01:00
Andrew Halberstadt
83198945f1 Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.
2015-10-29 15:01:44 -04:00
Geoff Brown
293dce6192 Bug 1245884 - Skip some layout/reftests/css-grid reftests on Android Debug only, for being too slow; r=me 2016-02-05 07:04:27 -07:00
Jamie Nicol
56e070e354 Bug 1241917 - Restrict subframe's displayport base to root composition bounds. r=tn
Previously displayport bases were computed as the intersection of the
scrollport with the dirtyrect. However the dirtyrect covers what is
rendered, and with displayports what we render can be much larger than
what is visible. With displayport bases intended to represent what was
visible, this was a problem. By restricting them to the root composition
size this makes them more closely match what is visible. To do this more
properly we'd want to intersect the dirtyrect with the scroll clip of
every ancestor scroll frame, not just the root composition bounds.
2016-02-04 17:53:56 +00:00
Brendan Dahl
79e271901d Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-04 13:34:00 +01:00
Carsten "Tomcat" Book
2a00c628b2 Backed out changeset 2257088c6b04 (bug 1188802) 2016-02-05 11:19:11 +01:00
John Daggett
ae14fdcda2 Bug 1188802 - only rebuild local webfont rules when needed. r=heycam 2016-02-05 16:46:27 +09:00
Geoff Brown
18b93fe51d Bug 1245634 - Skip layout/generic/crashtests/730559.html on Android Debug only, for being too slow; r=me 2016-02-04 07:37:20 -07:00
William Chen
23a07b65e7 Bug 1245242 - Normalize to unit vector for DOMMatrix.rotateAxisAngleSelf. r=roc 2016-02-04 00:30:00 -08:00
Bob Owen
fdbee7016b Bug 1245246: Add null check for mDocViewerPrint in nsPrintEngine::FirePrintingErrorEvent. r=roc 2016-02-04 08:03:52 +00:00
Ting-Yu Lin
6f377eae5e Bug 591737 - Add pref for details and summary elements. r=bz 2016-01-20 23:20:43 +08:00
Ting-Yu Lin
53d8aa8466 Bug 591737 - Add reftest for mouse click on summary. r=bz 2016-01-20 23:20:42 +08:00
Ting-Yu Lin
ff7ce82e2d Bug 591737 - Avoid dispatch mouse double click to content not in doc. r=smaug
When double-clicking on a default anonymous <summary> element, the first
eMouseClick will make the summary element being removed from the
document. This generates an assert in
PresShell::HandleEventWithTarget().

To prevent this assert, ensure the mouseContent is in document before
dispatching the eMouseDoubleClick event.

Since GetCrossShadowCurrentDoc() was deprecated, replace it with
GetComposedDoc().
2016-01-20 23:20:42 +08:00
Ting-Yu Lin
83158b9e2b Bug 591737 - Add crashtest for details and summary. r=bz 2016-01-20 23:20:42 +08:00
Ting-Yu Lin
6d9d4d4b18 Bug 591737 - Add reftests for details and summary. r=bz 2016-01-20 23:20:41 +08:00
Ting-Yu Lin
0d567179f1 Bug 591737 - Provide a default summary element by DetailsFrame. r=bz
If a <details> lacks a direct <summary> child, we need to construct a
default one.
2016-01-20 23:20:41 +08:00
Ting-Yu Lin
cccd994b1c Bug 591737 - Construct details and summary in nsCSSFrameConstructor. r=bz 2016-02-02 17:39:49 +08:00
Ting-Yu Lin
e93b94e072 Bug 591737 - Add SummaryFrame. r=bz 2016-02-02 17:39:06 +08:00
Ting-Yu Lin
7371372968 Bug 591737 - Add DetailsFrame. r=bz 2016-01-20 23:20:41 +08:00
CJKu
3a3f810dc5 Bug 1244628: compare nsStyleImageLayers::mAttachmentCount in nsStyleImageLayers::CalcDifference. r=dbaron. 2016-02-04 14:11:35 +08:00
CJKu
e2ea36b523 Bug 1244598 - Move resource files of w3c-css/masking into ./support subdir. r=dbaron 2016-02-04 13:58:44 +08:00
Daniel Holbert
c45cc2c94b Bug 1241021 part 4: Extend mochitest test_initial_storage.html to test that uppercase Webkit DOM accessors for css properties are functional. r=bz 2016-02-03 20:17:48 -08:00
Daniel Holbert
41f56b637a Bug 1241021 part 3: Refactor CSS mochitest test_initial_storage.html to perform its DOM accessor consistency-checks via a helper-function. r=bz 2016-02-03 20:17:46 -08:00
Kartikaya Gupta
1545f231f6 Bug 990916 - On displayport expiry, trigger another round of expiry up the ancestor chain. r=tnikkel 2016-02-03 19:13:35 -05:00
Kartikaya Gupta
8fcf9bbec2 Bug 990916 - When setting a displayport, schedule a timer to remove it as well. r=tnikkel 2016-02-03 19:13:35 -05:00
Kartikaya Gupta
805de86e6a Bug 990916 - Track if a scrollframe is a scroll parent for something else. r=tnikkel 2016-02-03 19:13:35 -05:00
Kartikaya Gupta
0933773da2 Bug 990916 - Disable synth mousemove events during pointer event testing, since the test doesn't expect them and fails. r=smaug 2016-02-03 19:13:34 -05:00
L. David Baron
e6833df38e Bug 823483 patch 6 - Tests r=dholbert
Our behavior on these tests is reasonably close to matching Chromium
thanks to the combination of patches 1, 3, and 4, and 5.
2016-02-04 09:43:03 +11:00