Commit Graph

6536 Commits

Author SHA1 Message Date
Ethan Lin
57475eb494 Bug 1272004 - Add test case to check fallback logic between mask-mode and mask-type. r=heycam 2016-05-23 03:32:00 +02:00
Daniel Holbert
0c8b3b6bba Bug 1275093: Enable webkit prefix pref for webkit-text-stroke reftests. r=jfkthame
MozReview-Commit-ID: BlFRWTNbJtV
2016-05-23 21:42:37 -07:00
Hiroyuki Ikezoe
617fa803bb Bug 1166500 - Part 0: Test that offscreen animation optimization does not throttle visible animations. r=dbaron
* partially-out-of-view-animation.html
This test is a normal test case (i.e. a trivial one). An animation on an
element which is partially out of the view. If ofscreen optimization
is totally broken, this test will fail.

* in-visibility-hidden-animation-pseudo-element.html
This test checks animation on visible pseudo element which is attached to
invisible element is not throttled.

* in-visibility-hidden-animation.html
This test checks animation on visible element which is inherited from
invisible parent element is not throttled.
2016-05-24 12:57:42 +09:00
Phil Ringnalda
6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Daisuke Akatsuka
d4d3ef1214 Bug 1209405 - Part 5: Add animation test that changes 'display' attribute. r=birtles
MozReview-Commit-ID: BYxlY83O83x

--HG--
extra : rebase_source : 58af9fa1f93bfc81607cc27359056a611deec053
2016-05-23 10:47:27 +09:00
Daisuke Akatsuka
761ea8c326 Bug 1209405 - Part 4: Add defs element tests. r=birtles
MozReview-Commit-ID: 2q7Zxq4marr

--HG--
extra : rebase_source : 6de4b17886ddf2f63df96714a4e8cd20faf72d89
2016-05-23 10:47:22 +09:00
Matt Woodrow
dc5be18932 Bug 881832 - Change resize-reflow-001 reftest to not have dotted borders to avoid fuzz failures. r=tnikkel 2016-05-23 09:44:51 +12:00
Jonathan Kew
1d578125d7 Bug 1274368 - Reftest for resizers on elements with vertical writing modes. r=dholbert 2016-05-22 10:39:49 +01:00
Jonathan Kew
187c53ae5c Bug 1273154 - Reftest for Mongolian shaping across NNBSP. r=jrmuizel 2016-05-21 12:29:29 +01:00
L. David Baron
aa7131a140 Back out bug 1271714 (changeset f66a5b9da35f and changeset 557c5dbd25a1) for causing unexpected assertions in Android debug crashtest and reftest.
In particular, the failures are, in crashtest 8:
  REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/generic/crashtests/details-open-overflow-auto.html | assertion count 3 is more than expected 0 assertions
in reftest 11:
  REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/bugs/301726-1.html | assertion count 8 is more than expected 0 assertions
and in reftest 22:
  REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/details-summary/overflow-auto-open-details.html | assertion count 8 is more than expected 0 assertions
  REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/details-summary/mouse-click-overflow-auto-details.html | assertion count 10 is more than expected 0 assertions

In all cases the unexpected assertion is:
  ###!!! ASSERTION: Bounds computation mismatch: 'mContainerBounds.IsEqualInterior(mAccumulatedChildBounds)', file /builds/slave/m-in-and-api-15-d-000000000000/build/src/layout/base/FrameLayerBuilder.cpp, line 4929

MozReview-Commit-ID: K6wqEQfJxNF
2016-05-21 01:34:03 -07:00
Markus Stange
a779579806 Bug 1271714 - Test.
MozReview-Commit-ID: 7dKuI80NEjr
2016-05-19 15:06:04 -04:00
Daniel Holbert
b2d8d65181 Bug 1272983 part 3: Use more forgiving padding getter in nsTreeBodyFrame.cpp, for better behavior with percent padding. r=dbaron
MozReview-Commit-ID: 10wFgGQ2Dqt
2016-05-20 15:05:35 -07:00
Daniel Holbert
4c16d721f5 Bug 1272983 part 2: Use more forgiving margin/padding getters in nsButtonFrameRenderer, for better behavior when percent or auto values are encountered. r=dbaron
MozReview-Commit-ID: 4vIehNg2vND
2016-05-20 15:05:33 -07:00
Shing Lyu
08c980d3a0 Bug 1242781 - Add 1 appunit in BRFrame::AddINlinePrefISize to match the 1 appunit added during reflow. r=dbaron
--HG--
extra : rebase_source : a8401f04f565e3e475e4a0ec19781b54ceb335c2
2016-05-08 19:41:00 -04:00
Sebastian Hengst
65ba36b925 Backed out changeset 97aef1a40d0f (bug 1273154) 2016-05-19 10:35:57 +02:00
CJKu
5e2e2b7e08 Bug 1228280 - Part 7. reftest of SVG mask and image mask interleaving;
MozReview-Commit-ID: 6Cjn84ISQi3
2016-05-19 15:44:31 +08:00
Jonathan Kew
643840276f Bug 1273154 - Reftest for Mongolian shaping across NNBSP. r=jrmuizel 2016-05-19 07:01:59 +01:00
Jonathan Kew
7060edb007 Bug 1272997 - Reftest for horizontal-only resizing of the document's root frame with vertical writing mode. r=dholbert 2016-05-18 21:07:54 +01:00
Jonathan Kew
e08d24f30d Bug 1260825 - Reftest for highlighting of text involving surrogate pairs with graphite shaping. r=jrmuizel 2016-05-18 15:22:59 +01:00
Mats Palmgren
066a6bf28d Bug 1273433 part 2 - Some basic <legend align> reftests. 2016-05-18 13:49:33 +02:00
Mats Palmgren
ab4dcaeb46 Bug 1271392 part 5 - [css-grid] Reftest tweaks. 2016-05-18 13:49:33 +02:00
Botond Ballo
11fbf22687 Bug 1272525 - Add a reftest for clipping of fixed background layers inside a BasicLayerManager. r=mstange
MozReview-Commit-ID: 1MYEvtc0mu8

--HG--
extra : source : 2fc2a95fcf7fada19dace3ad31f336ce8f14c165
extra : histedit_source : 7e3ea3585917a0445b1f6b800e81e88459b574f8
2016-05-16 16:16:24 -04:00
L. David Baron
55b6b3268e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
Carsten "Tomcat" Book
50dfc69f35 merge mozilla-inbound to mozilla-central a=merge 2016-05-13 11:59:20 +02:00
L. David Baron
d097996b85 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
Ryan VanderMeulen
e6b875b2de Bug 1252405 - Add fuzz to bg-fixed-child-mask.html for Windows e10s D2D. r=sotaro 2016-05-10 22:23:29 -04:00
Mason Chang
a708ef285b Bug 1270640 - Part 2: Reftest fuzzing for skia on OS X due to hinting changes. r=lsalzman
--HG--
extra : rebase_source : f9f041a45eb9833009ab650962cf712b3e8c238a
2016-05-09 12:38:00 -04:00
Sotaro Ikeda
9eab898cc6 Bug 1252405 - Reduce MaskLayer's memory usage r=mattwoodrow 2016-05-10 03:18:11 -07:00
Robert Longson
4236a89dfc Bug 1260032 - drop support for altGlyph as a tspan. r=cam r=peterv (DOM Peer) 2016-05-10 10:02:20 +01:00
Matt Woodrow
6811eb7ee7 Bug 1271058 - Use Layers effective opacity for determining if it is opaque. r=mstange 2016-05-10 12:42:57 +12:00
Markus Stange
e475933648 Bug 1266161 - Make DrawForcedBackgroundColor fill the entire draw region, not just the layer's visible region. r=mattwoodrow
We need to do this because the entire draw region will be added to the layer's
valid region after drawing. If there are parts in the valid region that are not
in the visible region, we still need those parts to have valid content, because
in a later frame the visible region may grow to include those parts.

MozReview-Commit-ID: 6zESYbPAmrx

--HG--
extra : rebase_source : 24078d1ff802e53a2eb8895d2c5ffd1fe9507f04
2016-05-06 13:53:56 -04:00
Astley Chen
cfc3509d01 Bug 859301 : Part 4 - add w3c-css test cases. r=dbaron
MozReview-Commit-ID: ETP2Welagwc

--HG--
extra : rebase_source : 899250d3f3904fd5f3c0cc76ecc06ed41d860e0e
2016-05-06 12:01:46 +08:00
Astley Chen
844639b0ad Bug 859301 : Part 3 - unprefix test cases. r=dbaron
MozReview-Commit-ID: 6KvILd31r9Y

--HG--
extra : rebase_source : 68c820453ca2d27fda63b645cdab65dddfa90c31
2016-05-04 13:31:24 +08:00
Ryan VanderMeulen
44fcbd8a7d Bug 1266943 - Add a bit more Windows fuzz. 2016-05-05 09:33:02 -04:00
Markus Stange
ebfab32e37 Bug 1227327 - Add tests. r=mattwoodrow
MozReview-Commit-ID: 6BIJJiCUedo

--HG--
extra : rebase_source : c33a071f4117c3e2e4b244ba9bec0c281413a70c
2016-05-04 14:11:05 -04:00
Markus Stange
cd46c2a7e9 Bug 1227327 - Use regular background image display items for painting button backgrounds. r=mattwoodrow
This has multiple benefits:
 - It makes DLBI detection of background-position changes work for buttons.
 - It makes background-attachment: fixed work for button backgrounds.
 - It allows the willPaintBorder optimization to be used for button background
   drawing, which reduces the background clip to not overlap with opaque borders.

The willPaintBorder optimization requires a change to the reftest 611574-2.html.
This reftest compares backgrounds to inset box shadows. Box shadows those don't
have a willPaintBorder optimization, so we'd get different results due to the
borders - inset box shadows will bleed through the rounded corner anti-aliasing
of the border, backgrounds won't any more. So we just turn off button borders
and cover the outer edges of the borders with an outline in that reftest.

MozReview-Commit-ID: Lvx2p5szjw7
***
Cover the antialiasing in 611574-2.html with a black outline.

MozReview-Commit-ID: IHC3B7Eq72j

--HG--
extra : rebase_source : 71ae376f482d14e55820879f28b37056e1b857bf
2016-05-04 14:12:23 -04:00
Ryan VanderMeulen
722094b7a5 Bug 1266943 - Add a bit more Linux and Windows fuzz to the 456219-1* testcases. rs=me
--HG--
extra : rebase_source : 92d07cf220eafeb44e445bf2f1b91c645858ce4c
2016-05-04 13:37:00 -04:00
Xidorn Quan
67093c6823 Bug 1268347 - Forbid break opportunities inside horizontal-in-vertical. r=jfkthame
MozReview-Commit-ID: K8ao3D0IE93

--HG--
extra : rebase_source : dbdd0ec230181468cacd6aec83dcf12275bd2815
2016-05-03 14:39:24 +10:00
Phil Ringnalda
f74761a568 Back out 6 changesets (bug 1227327) for Android reftest failures in 942672-1.html, background-position-2b.html and background-position-2c.html
CLOSED TREE

Backed out changeset c9b0ba301426 (bug 1227327)
Backed out changeset c857ad1fa01c (bug 1227327)
Backed out changeset 4ba58cd94310 (bug 1227327)
Backed out changeset 30e394faeb23 (bug 1227327)
Backed out changeset ce7fd04cc749 (bug 1227327)
Backed out changeset e0fe45294034 (bug 1227327)
2016-05-03 21:49:07 -07:00
Matt Woodrow
76c8d4c781 Bug 1269184 - Make sure we create an nsDisplayWrapList around nsDisplayPerspective items so that the z-index of the perspective frame gets taken into account. r=mstange
--HG--
extra : rebase_source : 735c30ec166eeab19e26a78864e7626c9f00790a
2016-05-04 12:56:50 +12:00
Markus Stange
286449b632 Bug 1227327 - Add tests. r=mattwoodrow
MozReview-Commit-ID: 6BIJJiCUedo

--HG--
extra : rebase_source : e2edbfd148b6a8cff33dd2067a9e3a246a66991f
2016-04-28 14:41:25 -04:00
Markus Stange
bb440eec66 Bug 1227327 - Use regular background image display items for painting button backgrounds. r=mattwoodrow
This has multiple benefits:
 - It makes DLBI detection of background-position changes work for buttons.
 - It makes background-attachment: fixed work for button backgrounds.
 - It allows the willPaintBorder optimization to be used for button background
   drawing, which reduces the background clip to not overlap with opaque borders.

The willPaintBorder optimization requires a change to the reftest 611574-2.html.
This reftest compares backgrounds to inset box shadows. Box shadows those don't
have a willPaintBorder optimization, so we'd get different results due to the
borders - inset box shadows will bleed through the rounded corner anti-aliasing
of the border, backgrounds won't any more. So we just turn off button borders
and cover the outer edges of the borders with an outline in that reftest.

MozReview-Commit-ID: Lvx2p5szjw7
***
Cover the antialiasing in 611574-2.html with a black outline.

MozReview-Commit-ID: IHC3B7Eq72j

--HG--
extra : rebase_source : fbd7d3152b819232adfc97dd9df1481a582925c5
2016-04-29 13:16:23 -04:00
Markus Stange
8ece268559 Bug 1263192 - Clip scrolled contents to the display port. r=mattwoodrow
MozReview-Commit-ID: 4Uut8OAmCAd

--HG--
extra : rebase_source : 6b32f018f671ce0028dc558fdecc43c41756e1fa
2016-05-12 18:56:24 -04:00
Brian Birtles
90fb66a530 Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug
MozReview-Commit-ID: GwLLY39l1KE

--HG--
rename : dom/animation/test/css-animations/file_keyframeeffect-getframes.html => dom/animation/test/css-animations/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-animations/test_keyframeeffect-getframes.html => dom/animation/test/css-animations/test_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/file_keyframeeffect-getframes.html => dom/animation/test/css-transitions/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/test_keyframeeffect-getframes.html => dom/animation/test/css-transitions/test_keyframeeffect-getkeyframes.html
rename : testing/web-platform/meta/web-animations/keyframe-effect/setFrames.html.ini => testing/web-platform/meta/web-animations/keyframe-effect/setKeyframes.html.ini
rename : testing/web-platform/tests/web-animations/keyframe-effect/setFrames.html => testing/web-platform/tests/web-animations/keyframe-effect/setKeyframes.html
2016-05-13 09:40:52 +09:00
Markus Stange
68f8a0a260 Bug 1271112 - Check transformed gradient end points for fixed point overflow, not the size of the gradient. r=jrmuizel
The gradient on this website had, the float values of xdim and ydim were
about 7500, which is definitely representable by 16.16 fixed point values.
But the matrix had a large (> 32000) translation on it.

MozReview-Commit-ID: 1WVhZQLF99g

--HG--
extra : rebase_source : b60c5e37f7dcb94943dadfc4ac73a58e9e18f1d9
2016-05-12 17:45:38 -04:00
CJKu
2c14cf0ee3 Bug 1269971 - Part 6. Modify reftest according to the way we generate bg-clip:text; r=jfkthame
MozReview-Commit-ID: LhvH5SS0SJY

--HG--
extra : rebase_source : f1b4f885d574e478b59d3155b34491d8a5fdf277
2016-05-13 00:09:28 +08:00
Daniel Holbert
0892fa8f5a Bug 1269174: Fix nsSVGViewBox::HasRect() to return false instead of using stale mBaseVal. r=longsonr
MozReview-Commit-ID: esNxaomT3D
2016-05-03 07:40:26 -07:00
Phil Ringnalda
5387bf0160 Back out 6 changesets (bug 1227327) for failures in est_fixed_bg_scrolling_repaints.html
Backed out changeset 529ff32ced48 (bug 1227327)
Backed out changeset b726c30c4290 (bug 1227327)
Backed out changeset 5453b1ce4e85 (bug 1227327)
Backed out changeset 462dc0904d05 (bug 1227327)
Backed out changeset 1515512d3731 (bug 1227327)
Backed out changeset 2276fc059bf7 (bug 1227327)
2016-05-02 22:23:10 -07:00
Xidorn Quan
3e68c8e1d2 Bug 1097499 followup 2 - Fix metadata of tests submitted to w3c. DONTBUILD
MozReview-Commit-ID: 3CJjby828W3

--HG--
extra : source : 8703ab2933f674756d48d05a675a24b20a787408
2016-05-03 14:43:40 +10:00
L. David Baron
b88cf97913 Bug 1187851 followup - Use versioned specification link to make CSSWG test system happy. No review.
Fixes "Needs Work" status in:
https://test.csswg.org/shepherd/testcase/::2760731a1e82/filter-containing-block-dynamic-1a/
https://test.csswg.org/shepherd/testcase/::2760731a1e82/filter-containing-block-dynamic-1b/
2016-05-02 21:33:44 -07:00