Commit Graph

4520 Commits

Author SHA1 Message Date
Mihaela Velimiroviciu
1d73211714 Bug 959973 - Add tests for using variables in external style sheets. r=heycam,ted 2014-03-05 12:29:44 +11:00
Daniel Schattenkirchner
70a03075f7 Bug 921761 - margin-collapsing test suite, wave 8; dynamic and additional cases for margins of a BFC; Multi-column margins; margins given in percent and em; r=dholbert
--HG--
rename : layout/reftests/margin-collapsing/block-abs-pos-1.html => layout/reftests/margin-collapsing/block-abs-pos-1-dyn.html
rename : layout/reftests/margin-collapsing/block-abs-pos-2.html => layout/reftests/margin-collapsing/block-abs-pos-2-dyn.html
rename : layout/reftests/margin-collapsing/block-float-1a.html => layout/reftests/margin-collapsing/block-float-1a-dyn.html
rename : layout/reftests/margin-collapsing/block-float-1b.html => layout/reftests/margin-collapsing/block-float-1b-dyn.html
rename : layout/reftests/margin-collapsing/block-float-2a.html => layout/reftests/margin-collapsing/block-float-2a-dyn.html
rename : layout/reftests/margin-collapsing/block-float-2b.html => layout/reftests/margin-collapsing/block-float-2b-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-1a.html => layout/reftests/margin-collapsing/block-no-content-1a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-1b.html => layout/reftests/margin-collapsing/block-no-content-1b-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-1c.html => layout/reftests/margin-collapsing/block-no-content-1c-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2a.html => layout/reftests/margin-collapsing/block-no-content-2a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2b.html => layout/reftests/margin-collapsing/block-no-content-2b-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2c.html => layout/reftests/margin-collapsing/block-no-content-2c-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2d.html => layout/reftests/margin-collapsing/block-no-content-2d-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-3.html => layout/reftests/margin-collapsing/block-no-content-3a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-3.html => layout/reftests/margin-collapsing/block-no-content-3a.html
rename : layout/reftests/margin-collapsing/block-no-content-4.html => layout/reftests/margin-collapsing/block-no-content-4a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-4.html => layout/reftests/margin-collapsing/block-no-content-4a.html
rename : layout/reftests/margin-collapsing/block-overflow-1.html => layout/reftests/margin-collapsing/block-overflow-1-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-2.html => layout/reftests/margin-collapsing/block-overflow-2-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-3.html => layout/reftests/margin-collapsing/block-overflow-3-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-4.html => layout/reftests/margin-collapsing/block-overflow-4-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5a.html => layout/reftests/margin-collapsing/block-overflow-5a-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5b.html => layout/reftests/margin-collapsing/block-overflow-5b-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5c.html => layout/reftests/margin-collapsing/block-overflow-5c-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5d.html => layout/reftests/margin-collapsing/block-overflow-5d-dyn.html
rename : layout/reftests/margin-collapsing/block-percent-1.html => layout/reftests/margin-collapsing/block-percent-1-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-child-1.html => layout/reftests/margin-collapsing/fieldset-child-1-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-1a.html => layout/reftests/margin-collapsing/fieldset-sibling-1a-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-1b.html => layout/reftests/margin-collapsing/fieldset-sibling-1b-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-1c.html => layout/reftests/margin-collapsing/fieldset-sibling-1c-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-2a.html => layout/reftests/margin-collapsing/fieldset-sibling-2a-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-2b.html => layout/reftests/margin-collapsing/fieldset-sibling-2b-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-2c.html => layout/reftests/margin-collapsing/fieldset-sibling-2c-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-child-1.html => layout/reftests/margin-collapsing/inline-block-child-1-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-child-2.html => layout/reftests/margin-collapsing/inline-block-child-2-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-1a.html => layout/reftests/margin-collapsing/inline-block-sibling-1a-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-1b.html => layout/reftests/margin-collapsing/inline-block-sibling-1b-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-1c.html => layout/reftests/margin-collapsing/inline-block-sibling-1c-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-2.html => layout/reftests/margin-collapsing/inline-block-sibling-2-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-1a.html => layout/reftests/margin-collapsing/table-caption-1a-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-1b.html => layout/reftests/margin-collapsing/table-caption-1b-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-2a.html => layout/reftests/margin-collapsing/table-caption-2a-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-2b.html => layout/reftests/margin-collapsing/table-caption-2b-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-2c.html => layout/reftests/margin-collapsing/table-caption-2c-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-bottom-1.html => layout/reftests/margin-collapsing/table-caption-bottom-1-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-bottom-2.html => layout/reftests/margin-collapsing/table-caption-bottom-2-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-top-1.html => layout/reftests/margin-collapsing/table-caption-top-1-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-top-2.html => layout/reftests/margin-collapsing/table-caption-top-2-dyn.html
2014-03-04 14:09:37 -08:00
Geoff Brown
c374245688 Bug 936226 - Update test manifests for Android x86 2014-03-04 17:02:04 -07:00
Seth Fowler
750ecf0bd4 Bug 63895 (Part 3) - Add tests for positioned internal table objects serving as absolute containing blocks. r=dbaron 2014-03-03 19:40:31 -08:00
James Kitchener
c0293f8c6b Bug 975935 - Import rowlines/columnlines tests from MathJax. r=fredw 2014-03-03 10:37:24 -05:00
Ehsan Akhgari
52816268c3 Bug 977418 - Special case opacity:0.99 to treat it as opacity:1 for display purposes; r=roc
This helps avoid significant costs in our graphics code when websites
use opacity:0.99 as a hint for creating a stacking context only.
2014-03-03 09:42:16 -05:00
Jonathan Kew
6f211c72ed bug 978313 - fix up existing reftests affected by improved joiner handling. r=jdaggett 2014-03-03 08:02:43 +00:00
Jonathan Kew
1b2eff125b bug 978313 - reftest for initial ZWJ disrupting Arabic joining. r=jdaggett 2014-03-03 08:02:26 +00:00
Arnaud Bienner
3aa4fb9a2f Bug 977029 - when color value changes, refresh color control frame instead of (wrongly) changing value attribute. r=bz 2014-02-28 20:52:42 +01:00
Wes Kocher
b158b5183e Backed out changeset c14980a16210 (bug 948265) so it can address review comments first, despite the CLOSED TREE 2014-02-28 14:48:31 -08:00
Max Vujovic
60efc69207 Bug 948265 - Remove deprecated filterRes attribute from SVG filters. r=roc 2014-02-28 16:40:14 -05:00
Max Vujovic
0247a302ba Bug 948265 - Connect the filter graphs of chained SVG filters. r=roc 2014-02-28 16:40:00 -05:00
Matt Woodrow
b1bccac3ee Bug 971720 - Add tests. r=roc 2014-03-01 08:52:57 +13:00
Matt Woodrow
722fc7c37a Bug 976877 - Don't build optimized layers (color/image) inside inactive layer trees. r=roc 2014-03-01 08:49:58 +13:00
Horia Iosif Olaru
82c5205c1a Bug 976533 - Add a reftest. r=roc 2014-02-28 09:11:37 -05:00
L. David Baron
08850b2f0f Bug 968555 patch 2 (tests): Test that 'backface-visibility' does not cause creation of a stacking context. r=mattwoodrow 2014-02-27 21:49:00 -08:00
Horia Iosif Olaru
a1363f590b Bug 952051 - Add reftests. r=roc
* Add a reftest for checking that blending takes place between a blended child element that is clipped by a rounded rect and its parent element (which has overflow hidden, and rounded corners).
* Add a reftest to check the behavior described in bug 947121 no longer reproduces.
2014-02-27 11:56:48 -05:00
L. David Baron
d04a0ecef6 Bug 976364: Make 'perspective' create a stacking context. r=mattwoodrow
While it seems a little silly since 'perspective' doesn't require
atomicity (rather, it adds an additional transformation to any 3-D
descendants, which already require atomicity), the spec requires it, and
it matches WebKit.
2014-02-26 13:36:36 -08:00
Ted Mielczarek
afe4d2bb46 Bug 975455 - Move more Mochitests to manifests. r=jmaher 2014-02-20 10:14:52 -05:00
Horia Iosif Olaru
60f93a1095 Bug 970348 - Add background-blend-mode reftests corresponding to the csswg test plan. r=roc, r=heycam
* 5.3.1: Blending between the background layers and the background color for an element with background-blend-mode. Most of section 5.3.1 is covered by other tests. Add the missing tests of the 5.3.1 section of the test plan.
- Test 9: SVG image and background color (SVG as data:uri)
- Test 10: Animated gif image and background color
- Test 12: background-blend-mode on element with 3D transform

* 5.3.2: Background layers do not blend with content outside the background (or behind the element).
- Implementation of tests 2 and 3. Test 1 is already covered by background-blending-isolation.html.

* 5.3.6: background-blend-mode for an element with background-position

* 5.3.7: background-blend-mode for an element with background-size

* 5.3.8: background-blend-mode for an element with background-repeat

* 5.3.9: background-blend-mode for an element with background-clip

* 5.3.10: background-blend-mode for an element with background-origin

* 5.3.11: background-blend-mode for an element with background-attachement

* Add extra tests for the background-blend-mode CSS property: Add some invalid values to the background-blend-mode property definition so that it can benefit from existing invalid property tests.
2014-02-25 08:40:54 -05:00
Jeff Muizelaar
a8a32a3bfd Bug 974160. Robustify reftest. r=cam
This currently seems to fail on b2g aws. I assume because the timeout fires
before the function can run and we end up with two exclamation marks.

--HG--
extra : rebase_source : 7a4d5371c893b4f714df12deca664703a4bc94ac
2014-02-21 13:27:49 -05:00
Mats Palmgren
2cc0d8660c Bug 966992 - overflow-clip-box:content-box tests. 2014-02-22 01:18:24 +00:00
Mats Palmgren
48ecc0938d Bug 965237 - Make overflow-clip-box:content-box be the default for <input type=text/password/number> and <textarea>. r=roc 2014-02-22 01:18:24 +00:00
Anuj Agarwal
25236fc5ed Bug 963453 - Add more tests for menclose. r=fredw 2014-02-21 08:33:54 -05:00
Wes Kocher
3caf9fa516 Backed out 3 changesets (bug 63895) for debug crashtest failures on a CLOSED TREE
Backed out changeset 02e057fea56c (bug 63895)
Backed out changeset 80bd36a3d4f1 (bug 63895)
Backed out changeset 6609365ee797 (bug 63895)
2014-02-19 17:35:03 -08:00
Seth Fowler
93ab5bb7cc Bug 63895 (Part 3) - Add tests for positioned internal table objects serving as absolute containing blocks. r=dbaron 2014-02-19 16:03:35 -08:00
Ehsan Akhgari
8577cd5685 Backed out 5 changesets (bug 966992, bug 965237) because of a PGO only build failure on Linux, landed on a CLOSED TREE
Backed out changeset f11cad93ceee (bug 966992)
Backed out changeset c84d530c9a51 (bug 965237)
Backed out changeset 740b13866bac (bug 966992)
Backed out changeset 8c3420cc77d8 (bug 966992)
Backed out changeset 7ddfc587edda (bug 966992)
2014-02-19 13:28:33 -05:00
Mats Palmgren
2e9c02b047 Bug 966992 - overflow-clip-box:content-box tests. 2014-02-19 14:14:53 +00:00
Mats Palmgren
577be9658b Bug 965237 - Make overflow-clip-box:content-box be the default for <input type=text/password/number> and <textarea>. r=roc 2014-02-19 14:14:53 +00:00
George Wright
b9c988b36c Bug 910754 - Mark linear-gradient-1a and linear-gradient-1b as fails-if with Skia 2013-12-19 23:18:59 -05:00
George Wright
a523e57437 Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright
c32d29cc70 Bug 910754 - Mark linear-gradient-1a and linear-gradient-1b as fails-if with Skia r=snorp 2013-12-19 23:18:59 -05:00
Jonathan Watt
c3528016ca Bug 970257 - Make <input type=number> handle auto width properly. r=dholbert 2014-02-12 02:54:14 +00:00
Jonathan Watt
2e8e4d644d Bug 951310 - Make <input type=number correctly handle CSS min-height and max-height. r=dholbert 2014-02-05 00:42:57 +00:00
Ryan VanderMeulen
45ab8bdb7a Backed out changeset 94e20568f4e8 (bug 791480) because the patch that led to the new annotation was backed out. 2014-02-18 07:58:59 -05:00
L. David Baron
4b8673b86f Update test failure annotation for bug 791480, now that we're running tests on Windows NT 6.2 as well. 2014-02-17 21:48:40 -08:00
L. David Baron
c4fe333a4e Bug 434102 followup: Mark reftest as failing on Mac. 2014-02-17 21:32:42 -08:00
L. David Baron
a33fb40552 Bug 434102: Make outlines behave reasonably on XUL tree pseudo-elements again. r=roc
This was a regression from bug 133165 which I noticed while working on
bug 480888, but wished to fix in a separate patch (despite that it would
have been slightly easier to fix it in the same patch).
2014-02-17 20:07:46 -08:00
L. David Baron
1b977c9838 Bug 480888 patch 5: Add tests that should catch the regression across platforms that was previously caught only by a reftest on Android.
The outline-overflow-inline-block-* tests fail, as expected, with the
aOverflowOverride parameter to UnionBorderBoxes always changed to null.
Note that the outline-overflow-inline-block-* tests depend on the fix
for bug 709014.
2014-02-17 20:07:46 -08:00
L. David Baron
51c52a48cc Bug 709014 patch 1: Honor margin-left and margin-right on elements in inline layout that have 0 width and/or height (commonly, inline-blocks). r=roc
Prior to this patch, we failed to honor:
 * margin-left on elements in inline layout with 0 width and 0 height
 * margin-right on elements in inline layout with 0 width
I think that was because the code in CanPlaceFrame to discard both
margins when the width was 0 was running after the left-margin was
applied, unless the later code in PlaceFrame (checking both width 0 and
height 0) un-applied that left margin.

The assertion count change in test_value_computation.html is due to 2
additional "bad width" assertions (I presume from honoring large
margins that were previously ignored).

The change to 538935-1-ref.html is to match an improvement in rendering
of the margins in the test, where both sides of the margin are now
honored.

The change to layout/reftests/text-overflow/marker-basic-ref.html is to
keep the reference (which uses margins) rendering the same way following
the changes to margin handling.

The new behavior (in the reftests added in layout/reftests/inline/)
matches at least Chromium; I didn't check any other browsers.
2014-02-17 20:07:45 -08:00
Timothy Nikkel
a9488c3f89 Bug 966510. Display ports on scrollable elements won't work on Android until APZC is used there, so skip this reftesting using that there. 2014-02-17 18:46:57 -06:00
Timothy Nikkel
8d5599d538 Bug 966510. Add reftest. 2014-02-17 15:10:02 -06:00
L. David Baron
a25879617f Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-16 16:05:10 -08:00
Daniel Holbert
22e80f628c Bug 969460 part 3: regression tests for "display:flex" on root node. r=bz 2014-02-15 10:43:11 -08:00
Robert Longson
23dc88b424 Bug 971285 - Fix intermittent failure in smil/anim-path-d-01.svg. r=dholbert 2014-02-15 14:08:54 +00:00
L. David Baron
137229c984 Back out changeset dd1f8adbfecc (bug 480888 patch 4) for failing reftests 402338-1.html and 412352-2.html on Android and B2G only. 2014-02-14 23:45:31 -08:00
L. David Baron
64fce4b117 Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-14 21:29:13 -08:00
Mats Palmgren
c7e7ec8219 Bug 971933 - Calculate the desired height for the FieldSetFrame correctly. r=roc 2014-02-15 02:00:09 +00:00
Mats Palmgren
5fda835e57 Bug 971655 - The inner (-moz-fieldset-content) frame have the correct padding area and is the abs.pos. containing block so don't use the outer FieldSetFrame. r=roc 2014-02-15 02:00:08 +00:00
Anuj Agarwal
3a44242bf7 Bug 970977 - Create reftests for bug 477915. r=fredw 2014-02-11 13:41:32 -05:00