gecko-dev/layout/reftests/w3c-css
Daniel Holbert cde912690c Bug 1522898: Account for box-sizing (add border & padding) when setting a main-size property value override on a flex item (which it uses for aspect ratio calculations). r=mats
For elements that have box-sizing:border-box specified, the aspect ratio
calculation code subtracts out border & padding from any specified property
values.

So, when we create a fake "override" specified property value for a flex item
whose main size has been resolved, we need to add in the border and padding to
account for the fact that they're going to be subtracted out later.

Differential Revision: https://phabricator.services.mozilla.com/D17712

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001v.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007v.html
extra : moz-landing-system : lando
2019-02-04 23:06:16 +00:00
..
received Bug 1432941 - Disable multicol-inherit-003.xht on mac for frequent failures. r=jmaher 2018-10-20 08:07:00 -04:00
submitted Bug 1522898: Account for box-sizing (add border & padding) when setting a main-size property value override on a flex item (which it uses for aspect ratio calculations). r=mats 2019-02-04 23:06:16 +00:00
failures.list Bug 1493181 - Use rounding instead of ceiling when computing 'ch' width; update test expectations accordingly. r=manishearth 2018-09-22 23:26:55 +01:00
import-tests.py backout 3 patches (1ee5b2531836, cac593a84f72, 95ccdb87f63f) from bug 1392106 for not fixing font rendering problems. 2018-05-18 06:40:00 +03:00
LICENSE
README

W3C CSS Test Suite Directory
----------------------------

This directory is for tests that are sync'ed with the official
W3C CSS test suites at https://github.com/w3c/web-platform-tests/.
 
submitted/ is for tests that are to be submitted to W3C.
This directory is sync'ed automatically with the
contributors/mozilla/submitted/mozilla-central-reftests/
directory in the CSSWG repository. The master copy is Mozilla's.

received/ is for tests that are received from W3C.
This directory is sync'ed semi-automatically with the approved/
directory in the CSSWG repository. The master copy is CSSWG's.
Don't make changes here; they'll be overwritten by the next sync.

import-tests.py automatically imports a selection of CSSWG tests
from a clone of the https://github.com/w3c/web-platform-tests Git
repository.

Note that this will remove everything in the received/ directory when run,
so don't store anything in there.

failures.list is a list of reftests that fail in mozilla's
implementation of a given css module. Since the tests in are
checked-in to the mozilla tree after import, they are run in
the same manner as all other reftests in the tree. Thus, these
tests are marked as fails() when included in the reftest.list
file, so that new imports will not reawaken old oranges.

Legal Stuff
-----------
 
These files are copyright by W3C and/or the author listed in the test
file. They are available under the BSD 3-clause license; see LICENSE
or http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html