From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/css/css-shapes/META.yml | 5 + .../shape-image-threshold-interpolation.html | 87 +++ .../animation/shape-margin-composition.html | 65 ++ .../animation/shape-margin-interpolation.html | 87 +++ .../animation/shape-outside-composition.html | 189 +++++ .../animation/shape-outside-interpolation.html | 137 ++++ .../basic-shape-circle-ellipse-serialization.html | 76 ++ .../css/css-shapes/basic-shape-interpolation.html | 62 ++ .../tests/css/css-shapes/inheritance.html | 23 + .../parsing/shape-image-threshold-computed.html | 25 + .../parsing/shape-image-threshold-invalid.html | 19 + .../parsing/shape-image-threshold-valid.html | 24 + .../css-shapes/parsing/shape-margin-computed.html | 25 + .../css-shapes/parsing/shape-margin-invalid.html | 19 + .../css/css-shapes/parsing/shape-margin-valid.html | 21 + .../css-shapes/parsing/shape-outside-computed.html | 36 + .../parsing/shape-outside-invalid-position.html | 29 + .../css-shapes/parsing/shape-outside-invalid.html | 56 ++ .../parsing/shape-outside-valid-position.html | 36 + .../css-shapes/parsing/shape-outside-valid.html | 71 ++ .../css/css-shapes/shape-outside-invalid-001.html | 35 + .../shape-outside-invalid-circle-000.html | 34 + .../shape-outside-invalid-circle-001.html | 46 ++ .../shape-outside-invalid-circle-002.html | 36 + .../shape-outside-invalid-circle-003.html | 36 + .../shape-outside-invalid-ellipse-001.html | 35 + .../shape-outside-invalid-ellipse-002.html | 34 + .../shape-outside-invalid-ellipse-003.html | 34 + .../shape-outside-invalid-ellipse-004.html | 35 + .../shape-outside-invalid-ellipse-005.html | 35 + .../shape-outside-invalid-ellipse-006.html | 35 + .../shape-outside-invalid-inset-001.html | 35 + .../shape-outside-invalid-inset-002.html | 35 + .../shape-outside-invalid-inset-003.html | 34 + .../shape-outside-invalid-inset-004.html | 34 + .../assorted/float-retry-push-circle.html | 34 + .../assorted/float-retry-push-image.html | 53 ++ .../assorted/float-retry-push-inset.html | 34 + .../assorted/float-retry-push-polygon.html | 33 + .../shape-outside/assorted/float-should-push.html | 77 ++ .../assorted/reference/float-retry-push-ref.html | 22 + .../assorted/reference/float-should-push-ref.html | 72 ++ .../shape-outside-formatting-context-ref.html | 26 + ...shape-outside-formatting-context.tentative.html | 31 + .../shape-outside-border-box-001-ref.html | 62 ++ .../shape-outside-border-box-002-ref.html | 63 ++ ...e-outside-border-box-border-radius-001-ref.html | 53 ++ ...e-outside-border-box-border-radius-002-ref.html | 43 ++ ...e-outside-border-box-border-radius-003-ref.html | 54 ++ ...e-outside-border-box-border-radius-004-ref.html | 44 ++ ...e-outside-border-box-border-radius-005-ref.html | 54 ++ ...e-outside-border-box-border-radius-006-ref.html | 55 ++ ...e-outside-border-box-border-radius-007-ref.html | 54 ++ ...e-outside-border-box-border-radius-008-ref.html | 55 ++ ...e-outside-border-box-border-radius-009-ref.html | 54 ++ ...e-outside-border-box-border-radius-010-ref.html | 55 ++ ...e-outside-border-box-border-radius-011-ref.html | 54 ++ ...e-outside-border-box-border-radius-012-ref.html | 55 ++ .../reference/shape-outside-box-001-ref.html | 39 + .../reference/shape-outside-box-005-ref.html | 39 + .../shape-outside-content-box-001-ref.html | 62 ++ .../shape-outside-content-box-002-ref.html | 63 ++ ...-outside-content-box-border-radius-001-ref.html | 53 ++ ...-outside-content-box-border-radius-002-ref.html | 54 ++ .../shape-outside-margin-box-001-ref.html | 54 ++ .../shape-outside-margin-box-002-ref.html | 55 ++ ...e-outside-margin-box-border-radius-001-ref.html | 46 ++ ...e-outside-margin-box-border-radius-002-ref.html | 44 ++ ...e-outside-margin-box-border-radius-003-ref.html | 47 ++ ...e-outside-margin-box-border-radius-004-ref.html | 52 ++ ...e-outside-margin-box-border-radius-005-ref.html | 46 ++ ...e-outside-margin-box-border-radius-006-ref.html | 46 ++ ...e-outside-margin-box-border-radius-007-ref.html | 54 ++ ...e-outside-margin-box-border-radius-008-ref.html | 54 ++ .../shape-outside-padding-box-001-ref.html | 62 ++ .../shape-outside-padding-box-002-ref.html | 63 ++ .../shape-outside-padding-box-003-ref.html | 11 + ...-outside-padding-box-border-radius-001-ref.html | 53 ++ ...-outside-padding-box-border-radius-002-ref.html | 54 ++ .../shape-box/shape-outside-border-box-001.html | 65 ++ .../shape-box/shape-outside-border-box-002.html | 66 ++ .../shape-box/shape-outside-border-box-003.html | 54 ++ ...shape-outside-border-box-border-radius-001.html | 55 ++ ...shape-outside-border-box-border-radius-002.html | 46 ++ ...shape-outside-border-box-border-radius-003.html | 56 ++ ...shape-outside-border-box-border-radius-004.html | 47 ++ ...shape-outside-border-box-border-radius-005.html | 56 ++ ...shape-outside-border-box-border-radius-006.html | 57 ++ ...shape-outside-border-box-border-radius-007.html | 56 ++ ...shape-outside-border-box-border-radius-008.html | 57 ++ ...shape-outside-border-box-border-radius-009.html | 56 ++ ...shape-outside-border-box-border-radius-010.html | 57 ++ ...shape-outside-border-box-border-radius-011.html | 56 ++ ...shape-outside-border-box-border-radius-012.html | 57 ++ .../shape-box/shape-outside-box-002.html | 70 ++ .../shape-box/shape-outside-box-003.html | 70 ++ .../shape-box/shape-outside-box-004.html | 70 ++ .../shape-box/shape-outside-box-006.html | 71 ++ .../shape-box/shape-outside-box-007.html | 71 ++ .../shape-box/shape-outside-box-008.html | 71 ++ .../shape-box/shape-outside-box-009.html | 72 ++ .../shape-box/shape-outside-content-box-001.html | 65 ++ .../shape-box/shape-outside-content-box-002.html | 65 ++ .../shape-box/shape-outside-content-box-003.html | 56 ++ ...hape-outside-content-box-border-radius-001.html | 55 ++ ...hape-outside-content-box-border-radius-002.html | 56 ++ .../shape-box/shape-outside-margin-box-001.html | 57 ++ .../shape-box/shape-outside-margin-box-002.html | 58 ++ ...shape-outside-margin-box-border-radius-001.html | 48 ++ ...shape-outside-margin-box-border-radius-002.html | 46 ++ ...shape-outside-margin-box-border-radius-003.html | 49 ++ ...shape-outside-margin-box-border-radius-004.html | 54 ++ ...shape-outside-margin-box-border-radius-005.html | 48 ++ ...shape-outside-margin-box-border-radius-006.html | 48 ++ ...shape-outside-margin-box-border-radius-007.html | 56 ++ ...shape-outside-margin-box-border-radius-008.html | 56 ++ .../shape-box/shape-outside-padding-box-001.html | 65 ++ .../shape-box/shape-outside-padding-box-002.html | 65 ++ .../shape-box/shape-outside-padding-box-003.html | 58 ++ ...hape-outside-padding-box-border-radius-001.html | 55 ++ ...hape-outside-padding-box-border-radius-002.html | 56 ++ .../shape-outside-linear-gradient-001-ref.html | 36 + .../shape-outside-linear-gradient-002-ref.html | 36 + .../shape-outside-linear-gradient-004-ref.html | 37 + .../shape-outside-linear-gradient-001.html | 44 ++ .../shape-outside-linear-gradient-002.html | 45 ++ .../shape-outside-linear-gradient-003.html | 47 ++ .../shape-outside-linear-gradient-004.html | 65 ++ .../shape-outside-linear-gradient-005.html | 59 ++ .../shape-outside-linear-gradient-006.html | 59 ++ .../shape-outside-linear-gradient-007.html | 59 ++ .../shape-outside-linear-gradient-008.html | 59 ++ .../shape-outside-linear-gradient-009.html | 60 ++ .../shape-outside-linear-gradient-010.html | 60 ++ .../shape-outside-linear-gradient-011.html | 62 ++ .../shape-outside-linear-gradient-012.html | 62 ++ .../shape-outside-linear-gradient-013.html | 62 ++ .../shape-outside-linear-gradient-014.html | 62 ++ .../shape-outside-linear-gradient-015.html | 63 ++ .../shape-outside-linear-gradient-016.html | 63 ++ .../shape-outside-radial-gradient-001.html | 71 ++ .../shape-outside-radial-gradient-002.html | 74 ++ .../shape-outside-radial-gradient-003.html | 76 ++ .../shape-outside-radial-gradient-004.html | 75 ++ .../shape-image/reference/shape-image-000-ref.html | 32 + .../shape-image/reference/shape-image-001-ref.html | 32 + .../shape-image/reference/shape-image-002-ref.html | 21 + .../shape-image/reference/shape-image-006-ref.html | 44 ++ .../shape-image/reference/shape-image-007-ref.html | 42 + .../shape-image/reference/shape-image-008-ref.html | 48 ++ .../shape-image/reference/shape-image-012-ref.html | 34 + .../shape-image/reference/shape-image-013-ref.html | 32 + .../shape-image/reference/shape-image-018-ref.html | 29 + .../shape-image/reference/shape-image-019-ref.html | 34 + .../shape-image/reference/shape-image-020-ref.html | 34 + .../shape-image/reference/shape-image-021-ref.html | 32 + .../shape-image/reference/shape-image-022-ref.html | 32 + .../shape-image/reference/shape-image-023-ref.html | 34 + .../shape-image/reference/shape-image-024-ref.html | 42 + .../shape-image/reference/shape-image-025-ref.html | 35 + .../shape-outside/shape-image/shape-image-000.html | 39 + .../shape-outside/shape-image/shape-image-001.html | 54 ++ .../shape-outside/shape-image/shape-image-002.html | 40 + .../shape-outside/shape-image/shape-image-003.html | 41 + .../shape-outside/shape-image/shape-image-004.html | 41 + .../shape-outside/shape-image/shape-image-005.html | 41 + .../shape-outside/shape-image/shape-image-006.html | 65 ++ .../shape-outside/shape-image/shape-image-007.html | 65 ++ .../shape-outside/shape-image/shape-image-008.html | 70 ++ .../shape-outside/shape-image/shape-image-009.html | 79 ++ .../shape-outside/shape-image/shape-image-010.html | 79 ++ .../shape-outside/shape-image/shape-image-011.html | 79 ++ .../shape-outside/shape-image/shape-image-012.html | 46 ++ .../shape-outside/shape-image/shape-image-013.html | 42 + .../shape-outside/shape-image/shape-image-014.html | 44 ++ .../shape-outside/shape-image/shape-image-015.html | 41 + .../shape-outside/shape-image/shape-image-016.html | 41 + .../shape-outside/shape-image/shape-image-017.html | 41 + .../shape-outside/shape-image/shape-image-018.html | 48 ++ .../shape-outside/shape-image/shape-image-019.html | 54 ++ .../shape-outside/shape-image/shape-image-020.html | 53 ++ .../shape-outside/shape-image/shape-image-021.html | 49 ++ .../shape-outside/shape-image/shape-image-022.html | 49 ++ .../shape-outside/shape-image/shape-image-023.html | 54 ++ .../shape-outside/shape-image/shape-image-024.html | 67 ++ .../shape-outside/shape-image/shape-image-025.html | 63 ++ .../shape-outside/shape-image/shape-image-026.html | 70 ++ .../shape-outside/shape-image/shape-image-027.html | 70 ++ .../shape-outside/shape-image/shape-image-028.html | 40 + .../shape-outside/shape-image/support/animated.gif | Bin 0 -> 867 bytes .../shape-image/support/left-half-rectangle-20.png | Bin 0 -> 2959 bytes .../shape-image/support/left-half-rectangle-20.svg | 3 + .../shape-image/support/left-half-rectangle-50.png | Bin 0 -> 17836 bytes .../shape-image/support/left-half-rectangle-50.svg | 3 + .../shape-image/support/left-half-rectangle-70.png | Bin 0 -> 17836 bytes .../shape-image/support/left-half-rectangle-70.svg | 3 + .../shape-image/support/left-half-rectangle.jpg | Bin 0 -> 13177 bytes .../shape-image/support/left-half-rectangle.png | Bin 0 -> 17835 bytes .../shape-image/support/left-half-rectangle.svg | 3 + .../support/right-half-rectangle-20.png | Bin 0 -> 18308 bytes .../support/right-half-rectangle-50.png | Bin 0 -> 2952 bytes .../support/right-half-rectangle-70.png | Bin 0 -> 17396 bytes .../support/right-half-rectangle-70.svg | 3 + .../shape-image/support/right-half-rectangle.gif | Bin 0 -> 320 bytes .../shape-image/support/right-half-rectangle.jpg | Bin 0 -> 19820 bytes .../shape-image/support/right-half-rectangle.png | Bin 0 -> 17395 bytes .../shape-image/support/right-half-rectangle.svg | 3 + .../reference/shape-outside-circle-013-ref.html | 39 + .../reference/shape-outside-circle-023-ref.html | 39 + .../reference/shape-outside-circle-030-ref.html | 70 ++ .../reference/shape-outside-circle-032-ref.html | 51 ++ .../reference/shape-outside-circle-033-ref.html | 52 ++ .../reference/shape-outside-circle-034-ref.html | 52 ++ .../reference/shape-outside-circle-035-ref.html | 53 ++ .../reference/shape-outside-circle-036-ref.html | 45 ++ .../reference/shape-outside-circle-041-ref.html | 45 ++ .../reference/shape-outside-circle-042-ref.html | 46 ++ .../reference/shape-outside-circle-047-ref.html | 46 ++ .../reference/shape-outside-circle-048-ref.html | 54 ++ .../reference/shape-outside-circle-049-ref.html | 55 ++ .../reference/shape-outside-circle-050-ref.html | 54 ++ .../reference/shape-outside-circle-051-ref.html | 54 ++ .../reference/shape-outside-circle-052-ref.html | 54 ++ .../reference/shape-outside-circle-053-ref.html | 55 ++ .../reference/shape-outside-circle-054-ref.html | 54 ++ .../reference/shape-outside-circle-055-ref.html | 55 ++ .../reference/shape-outside-circle-056-ref.html | 39 + .../circle/shape-outside-circle-013.html | 71 ++ .../circle/shape-outside-circle-014.html | 71 ++ .../circle/shape-outside-circle-015.html | 72 ++ .../circle/shape-outside-circle-016.html | 72 ++ .../circle/shape-outside-circle-017.html | 71 ++ .../circle/shape-outside-circle-018.html | 71 ++ .../circle/shape-outside-circle-019.html | 73 ++ .../circle/shape-outside-circle-020.html | 73 ++ .../circle/shape-outside-circle-021.html | 74 ++ .../circle/shape-outside-circle-022.html | 73 ++ .../circle/shape-outside-circle-024.html | 74 ++ .../circle/shape-outside-circle-025.html | 73 ++ .../circle/shape-outside-circle-026.html | 73 ++ .../circle/shape-outside-circle-027.html | 74 ++ .../circle/shape-outside-circle-028.html | 75 ++ .../circle/shape-outside-circle-029.html | 74 ++ .../circle/shape-outside-circle-030.html | 60 ++ .../circle/shape-outside-circle-031.html | 60 ++ .../circle/shape-outside-circle-032.html | 53 ++ .../circle/shape-outside-circle-033.html | 54 ++ .../circle/shape-outside-circle-034.html | 54 ++ .../circle/shape-outside-circle-035.html | 55 ++ .../circle/shape-outside-circle-036.html | 47 ++ .../circle/shape-outside-circle-037.html | 48 ++ .../circle/shape-outside-circle-038.html | 47 ++ .../circle/shape-outside-circle-041.html | 47 ++ .../circle/shape-outside-circle-042.html | 48 ++ .../circle/shape-outside-circle-043.html | 49 ++ .../circle/shape-outside-circle-044.html | 48 ++ .../circle/shape-outside-circle-047.html | 48 ++ .../circle/shape-outside-circle-048.html | 55 ++ .../circle/shape-outside-circle-049.html | 56 ++ .../circle/shape-outside-circle-050.html | 55 ++ .../circle/shape-outside-circle-051.html | 56 ++ .../circle/shape-outside-circle-052.html | 55 ++ .../circle/shape-outside-circle-053.html | 56 ++ .../circle/shape-outside-circle-054.html | 55 ++ .../circle/shape-outside-circle-055.html | 56 ++ .../circle/shape-outside-circle-056.html | 83 ++ ...hape-outside-circle-integer-overflow-crash.html | 17 + .../reference/shape-outside-ellipse-013-ref.html | 39 + .../reference/shape-outside-ellipse-021-ref.html | 39 + .../reference/shape-outside-ellipse-030-ref.html | 66 ++ .../reference/shape-outside-ellipse-032-ref.html | 49 ++ .../reference/shape-outside-ellipse-033-ref.html | 52 ++ .../reference/shape-outside-ellipse-034-ref.html | 49 ++ .../reference/shape-outside-ellipse-035-ref.html | 53 ++ .../reference/shape-outside-ellipse-036-ref.html | 44 ++ .../reference/shape-outside-ellipse-037-ref.html | 44 ++ .../reference/shape-outside-ellipse-038-ref.html | 45 ++ .../reference/shape-outside-ellipse-039-ref.html | 44 ++ .../reference/shape-outside-ellipse-040-ref.html | 44 ++ .../reference/shape-outside-ellipse-042-ref.html | 45 ++ .../reference/shape-outside-ellipse-044-ref.html | 44 ++ .../reference/shape-outside-ellipse-045-ref.html | 45 ++ .../reference/shape-outside-ellipse-046-ref.html | 46 ++ .../reference/shape-outside-ellipse-047-ref.html | 47 ++ .../reference/shape-outside-ellipse-048-ref.html | 46 ++ .../reference/shape-outside-ellipse-049-ref.html | 47 ++ .../reference/shape-outside-ellipse-050-ref.html | 46 ++ .../reference/shape-outside-ellipse-051-ref.html | 47 ++ .../reference/shape-outside-ellipse-052-ref.html | 39 + .../ellipse/shape-outside-ellipse-013.html | 68 ++ .../ellipse/shape-outside-ellipse-014.html | 71 ++ .../ellipse/shape-outside-ellipse-015.html | 73 ++ .../ellipse/shape-outside-ellipse-016.html | 71 ++ .../ellipse/shape-outside-ellipse-017.html | 75 ++ .../ellipse/shape-outside-ellipse-018.html | 71 ++ .../ellipse/shape-outside-ellipse-019.html | 74 ++ .../ellipse/shape-outside-ellipse-020.html | 73 ++ .../ellipse/shape-outside-ellipse-021.html | 75 ++ .../ellipse/shape-outside-ellipse-022.html | 74 ++ .../ellipse/shape-outside-ellipse-023.html | 74 ++ .../ellipse/shape-outside-ellipse-024.html | 74 ++ .../ellipse/shape-outside-ellipse-025.html | 75 ++ .../ellipse/shape-outside-ellipse-030.html | 56 ++ .../ellipse/shape-outside-ellipse-031.html | 56 ++ .../ellipse/shape-outside-ellipse-032.html | 51 ++ .../ellipse/shape-outside-ellipse-033.html | 54 ++ .../ellipse/shape-outside-ellipse-034.html | 52 ++ .../ellipse/shape-outside-ellipse-035.html | 55 ++ .../ellipse/shape-outside-ellipse-036.html | 46 ++ .../ellipse/shape-outside-ellipse-037.html | 46 ++ .../ellipse/shape-outside-ellipse-038.html | 47 ++ .../ellipse/shape-outside-ellipse-039.html | 47 ++ .../ellipse/shape-outside-ellipse-040.html | 46 ++ .../ellipse/shape-outside-ellipse-041.html | 46 ++ .../ellipse/shape-outside-ellipse-042.html | 47 ++ .../ellipse/shape-outside-ellipse-043.html | 47 ++ .../ellipse/shape-outside-ellipse-044.html | 46 ++ .../ellipse/shape-outside-ellipse-045.html | 47 ++ .../ellipse/shape-outside-ellipse-046.html | 47 ++ .../ellipse/shape-outside-ellipse-047.html | 48 ++ .../ellipse/shape-outside-ellipse-048.html | 47 ++ .../ellipse/shape-outside-ellipse-049.html | 48 ++ .../ellipse/shape-outside-ellipse-050.html | 47 ++ .../ellipse/shape-outside-ellipse-051.html | 48 ++ .../ellipse/shape-outside-ellipse-052.html | 81 ++ ...ape-outside-ellipse-integer-overflow-crash.html | 13 + .../reference/shape-outside-inset-010-ref.html | 19 + .../reference/shape-outside-inset-016-ref.html | 48 ++ .../reference/shape-outside-inset-017-ref.html | 49 ++ .../reference/shape-outside-inset-020-ref.html | 51 ++ .../reference/shape-outside-inset-021-ref.html | 52 ++ .../reference/shape-outside-inset-022-ref.html | 51 ++ .../reference/shape-outside-inset-023-ref.html | 52 ++ .../reference/shape-outside-inset-024-ref.html | 51 ++ .../reference/shape-outside-inset-025-ref.html | 52 ++ .../reference/shape-outside-inset-026-ref.html | 51 ++ .../reference/shape-outside-inset-027-ref.html | 52 ++ .../inset/shape-outside-inset-010.html | 52 ++ .../inset/shape-outside-inset-011.html | 54 ++ .../inset/shape-outside-inset-012.html | 58 ++ .../inset/shape-outside-inset-013.html | 58 ++ .../inset/shape-outside-inset-014.html | 58 ++ .../inset/shape-outside-inset-015.html | 58 ++ .../inset/shape-outside-inset-016.html | 50 ++ .../inset/shape-outside-inset-017.html | 51 ++ .../inset/shape-outside-inset-020.html | 53 ++ .../inset/shape-outside-inset-021.html | 54 ++ .../inset/shape-outside-inset-022.html | 53 ++ .../inset/shape-outside-inset-023.html | 54 ++ .../inset/shape-outside-inset-024.html | 53 ++ .../inset/shape-outside-inset-025.html | 54 ++ .../inset/shape-outside-inset-026.html | 53 ++ .../inset/shape-outside-inset-027.html | 54 ++ .../inset/shape-outside-inset-028.html | 56 ++ .../inset/shape-outside-inset-029.html | 56 ++ .../inset/shape-outside-inset-030.html | 68 ++ .../inset/shape-outside-inset-031.html | 60 ++ .../inset/shape-outside-inset-refcrash.html | 19 + .../reference/shape-outside-polygon-007-ref.html | 24 + .../reference/shape-outside-polygon-010-ref.html | 24 + .../reference/shape-outside-polygon-017-ref.html | 46 ++ .../reference/shape-outside-polygon-018-ref.html | 51 ++ .../reference/shape-outside-polygon-019-ref.html | 51 ++ .../reference/shape-outside-polygon-020-ref.html | 51 ++ .../reference/shape-outside-polygon-021-ref.html | 52 ++ .../reference/shape-outside-polygon-022-ref.html | 51 ++ .../reference/shape-outside-polygon-023-ref.html | 52 ++ .../reference/shape-outside-polygon-024-ref.html | 51 ++ .../reference/shape-outside-polygon-025-ref.html | 52 ++ .../reference/shape-outside-polygon-032-ref.html | 24 + .../polygon/shape-outside-polygon-007.html | 66 ++ .../polygon/shape-outside-polygon-008.html | 66 ++ .../polygon/shape-outside-polygon-009.html | 70 ++ .../polygon/shape-outside-polygon-010.html | 71 ++ .../polygon/shape-outside-polygon-011.html | 71 ++ .../polygon/shape-outside-polygon-012.html | 76 ++ .../polygon/shape-outside-polygon-013.html | 76 ++ .../polygon/shape-outside-polygon-014.html | 76 ++ .../polygon/shape-outside-polygon-015.html | 75 ++ .../polygon/shape-outside-polygon-016.html | 61 ++ .../polygon/shape-outside-polygon-017.html | 83 ++ .../polygon/shape-outside-polygon-018.html | 53 ++ .../polygon/shape-outside-polygon-019.html | 54 ++ .../polygon/shape-outside-polygon-020.html | 53 ++ .../polygon/shape-outside-polygon-021.html | 54 ++ .../polygon/shape-outside-polygon-022.html | 53 ++ .../polygon/shape-outside-polygon-023.html | 54 ++ .../polygon/shape-outside-polygon-024.html | 53 ++ .../polygon/shape-outside-polygon-025.html | 54 ++ .../polygon/shape-outside-polygon-032.html | 91 +++ .../polygon/shape-outside-polygon-crash.html | 20 + .../supported-shapes/support/rounded-rectangle.js | 73 ++ .../supported-shapes/support/subpixel-utils.js | 26 + .../supported-shapes/support/test-utils.js | 27 + .../values/shape-image-threshold-000.html | 52 ++ .../values/shape-image-threshold-001.html | 41 + .../values/shape-image-threshold-002.html | 30 + .../values/shape-image-threshold-003.html | 57 ++ .../shape-outside/values/shape-margin-000.html | 36 + .../shape-outside/values/shape-margin-001.html | 43 ++ .../shape-outside/values/shape-margin-002.html | 46 ++ .../shape-outside/values/shape-margin-003.html | 34 + .../shape-outside/values/shape-margin-004.html | 30 + .../shape-outside/values/shape-margin-005.html | 59 ++ .../values/shape-outside-box-000.html | 48 ++ .../values/shape-outside-circle-000.html | 54 ++ .../values/shape-outside-circle-001.html | 24 + .../values/shape-outside-circle-002.html | 31 + .../values/shape-outside-circle-003.html | 29 + .../values/shape-outside-circle-004.html | 34 + .../values/shape-outside-circle-005.html | 31 + .../values/shape-outside-circle-006.html | 75 ++ .../values/shape-outside-circle-007.html | 42 + .../values/shape-outside-circle-008.html | 50 ++ .../values/shape-outside-circle-009.html | 124 +++ .../values/shape-outside-circle-010.html | 35 + .../values/shape-outside-circle-011.html | 38 + .../values/shape-outside-computed-shape-000.html | 57 ++ .../values/shape-outside-computed-shape-001.html | 47 ++ .../values/shape-outside-ellipse-000.html | 52 ++ .../values/shape-outside-ellipse-001.html | 24 + .../values/shape-outside-ellipse-002.html | 31 + .../values/shape-outside-ellipse-003.html | 29 + .../values/shape-outside-ellipse-004.html | 34 + .../values/shape-outside-ellipse-005.html | 32 + .../values/shape-outside-ellipse-006.html | 96 +++ .../values/shape-outside-ellipse-007.html | 44 ++ .../values/shape-outside-ellipse-008.html | 50 ++ .../values/shape-outside-ellipse-009.html | 124 +++ .../values/shape-outside-ellipse-010.html | 54 ++ .../values/shape-outside-ellipse-011.html | 52 ++ .../values/shape-outside-inset-000.html | 76 ++ .../values/shape-outside-inset-001.html | 26 + .../values/shape-outside-inset-0010.html | 20 + .../values/shape-outside-inset-002.html | 32 + .../values/shape-outside-inset-003.html | 36 + .../values/shape-outside-inset-004.html | 59 ++ .../values/shape-outside-inset-005.html | 42 + .../values/shape-outside-inset-006.html | 82 ++ .../values/shape-outside-inset-007.html | 48 ++ .../values/shape-outside-inset-008.html | 46 ++ .../values/shape-outside-inset-009.html | 56 ++ .../values/shape-outside-polygon-000.html | 52 ++ .../values/shape-outside-polygon-001.html | 40 + .../values/shape-outside-polygon-002.html | 46 ++ .../values/shape-outside-polygon-003.html | 42 + .../values/shape-outside-polygon-004.html | 46 ++ .../values/shape-outside-polygon-005.html | 58 ++ .../values/shape-outside-polygon-006.html | 52 ++ .../values/shape-outside-shape-arguments-000.html | 72 ++ .../values/shape-outside-shape-arguments-001.html | 42 + .../values/shape-outside-shape-box-pair-000.html | 68 ++ .../values/shape-outside-shape-inherit-000.html | 35 + .../values/shape-outside-shape-initial-000.html | 27 + .../values/shape-outside-shape-none-000.html | 27 + .../values/shape-outside-shape-notation-000.html | 40 + .../shape-outside/values/support/parsing-utils.js | 845 +++++++++++++++++++++ .../reference/shape-outside-001-ref.html | 85 +++ .../reference/shape-outside-004-ref.html | 45 ++ .../reference/shape-outside-006-ref.html | 57 ++ .../reference/shape-outside-007-ref.html | 73 ++ .../reference/shape-outside-008-ref.html | 89 +++ .../spec-examples/shape-outside-001.html | 101 +++ .../spec-examples/shape-outside-002.html | 101 +++ .../spec-examples/shape-outside-003.html | 101 +++ .../spec-examples/shape-outside-004.html | 77 ++ .../spec-examples/shape-outside-005.html | 77 ++ .../spec-examples/shape-outside-006.html | 91 +++ .../spec-examples/shape-outside-007.html | 102 +++ .../spec-examples/shape-outside-008.html | 121 +++ .../spec-examples/shape-outside-010.html | 59 ++ .../spec-examples/shape-outside-011.html | 58 ++ .../spec-examples/shape-outside-012.html | 61 ++ .../spec-examples/shape-outside-013.html | 71 ++ .../spec-examples/shape-outside-014.html | 73 ++ .../spec-examples/shape-outside-015.html | 60 ++ .../spec-examples/shape-outside-016.html | 60 ++ .../spec-examples/shape-outside-017.html | 59 ++ .../spec-examples/shape-outside-018.html | 66 ++ .../spec-examples/shape-outside-019.html | 70 ++ .../spec-examples/support/circle-no-shadow.png | Bin 0 -> 6295 bytes .../spec-examples/support/circle-shadow.png | Bin 0 -> 17571 bytes .../spec-examples/support/rounded-triangle.svg | 6 + .../spec-examples/support/spec-example-utils.js | 16 + .../tests/css/css-shapes/support/1x1-green.png | Bin 0 -> 135 bytes .../tests/css/css-shapes/support/1x1-lime.png | Bin 0 -> 135 bytes .../tests/css/css-shapes/support/1x1-maroon.png | Bin 0 -> 109 bytes .../tests/css/css-shapes/support/1x1-navy.png | Bin 0 -> 109 bytes .../tests/css/css-shapes/support/1x1-red.png | Bin 0 -> 135 bytes .../tests/css/css-shapes/support/1x1-white.png | Bin 0 -> 109 bytes .../tests/css/css-shapes/support/60x60-gg-rr.png | Bin 0 -> 224 bytes .../tests/css/css-shapes/support/60x60-green.png | Bin 0 -> 218 bytes .../tests/css/css-shapes/support/README | 28 + .../tests/css/css-shapes/support/a-green.css | 1 + .../tests/css/css-shapes/support/b-green.css | 1 + .../tests/css/css-shapes/support/c-red.css | 1 + .../tests/css/css-shapes/support/cat.png | Bin 0 -> 1883 bytes .../css/css-shapes/support/pattern-grg-rgr-grg.png | Bin 0 -> 222 bytes .../css/css-shapes/support/pattern-grg-rrg-rgg.png | Bin 0 -> 231 bytes .../css/css-shapes/support/pattern-rgr-grg-rgr.png | Bin 0 -> 223 bytes .../tests/css/css-shapes/support/pattern-tr.png | Bin 0 -> 137 bytes .../tests/css/css-shapes/support/square-purple.png | Bin 0 -> 92 bytes .../tests/css/css-shapes/support/square-teal.png | Bin 0 -> 92 bytes .../tests/css/css-shapes/support/square-white.png | Bin 0 -> 78 bytes .../tests/css/css-shapes/support/swatch-blue.png | Bin 0 -> 84 bytes .../tests/css/css-shapes/support/swatch-green.png | Bin 0 -> 84 bytes .../tests/css/css-shapes/support/swatch-lime.png | Bin 0 -> 84 bytes .../tests/css/css-shapes/support/swatch-orange.png | Bin 0 -> 84 bytes .../tests/css/css-shapes/support/swatch-red.png | Bin 0 -> 84 bytes .../tests/css/css-shapes/support/swatch-white.png | Bin 0 -> 85 bytes .../tests/css/css-shapes/support/swatch-yellow.png | Bin 0 -> 84 bytes .../tests/css/css-shapes/support/test-bl.png | Bin 0 -> 1368 bytes .../tests/css/css-shapes/support/test-br.png | Bin 0 -> 1045 bytes .../tests/css/css-shapes/support/test-outer.png | Bin 0 -> 2412 bytes .../tests/css/css-shapes/support/test-tl.png | Bin 0 -> 1025 bytes .../tests/css/css-shapes/support/test-tr.png | Bin 0 -> 1235 bytes .../tests/css/css-shapes/test-plan/index.html | 446 +++++++++++ 517 files changed, 25994 insertions(+) create mode 100644 testing/web-platform/tests/css/css-shapes/META.yml create mode 100644 testing/web-platform/tests/css/css-shapes/animation/shape-image-threshold-interpolation.html create mode 100644 testing/web-platform/tests/css/css-shapes/animation/shape-margin-composition.html create mode 100644 testing/web-platform/tests/css/css-shapes/animation/shape-margin-interpolation.html create mode 100644 testing/web-platform/tests/css/css-shapes/animation/shape-outside-composition.html create mode 100644 testing/web-platform/tests/css/css-shapes/animation/shape-outside-interpolation.html create mode 100644 testing/web-platform/tests/css/css-shapes/basic-shape-circle-ellipse-serialization.html create mode 100644 testing/web-platform/tests/css/css-shapes/basic-shape-interpolation.html create mode 100644 testing/web-platform/tests/css/css-shapes/inheritance.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-computed.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-invalid.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-valid.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-margin-computed.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-margin-invalid.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-margin-valid.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-outside-computed.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-outside-invalid-position.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-outside-invalid.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-outside-valid-position.html create mode 100644 testing/web-platform/tests/css/css-shapes/parsing/shape-outside-valid.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-circle.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-image.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-inset.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-polygon.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-should-push.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/assorted/reference/float-retry-push-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/assorted/reference/float-should-push-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/formatting-context/reference/shape-outside-formatting-context-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/formatting-context/shape-outside-formatting-context.tentative.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-002-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-002-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-003-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-004-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-005-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-006-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-007-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-008-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-009-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-010-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-011-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-012-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-box-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-box-005-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-002-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-border-radius-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-border-radius-002-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-002-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-002-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-003-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-004-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-005-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-006-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-007-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-008-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-002-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-003-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-border-radius-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-border-radius-002-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-007.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-008.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-009.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-010.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-011.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-012.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-007.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-008.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-009.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-border-radius-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-border-radius-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-007.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-008.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-border-radius-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-border-radius-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-002-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-004-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-007.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-008.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-009.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-010.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-011.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-012.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-013.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-014.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-015.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-016.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-000-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-002-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-006-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-007-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-008-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-012-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-013-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-018-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-019-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-020-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-021-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-022-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-023-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-024-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-025-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-007.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-008.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-009.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-010.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-011.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-012.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-013.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-014.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-015.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-016.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-017.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-018.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-019.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-020.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-021.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-022.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-023.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-024.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-025.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-026.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-027.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-028.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/animated.gif create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-20.png create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-20.svg create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-50.png create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-50.svg create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-70.png create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-70.svg create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.jpg create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.png create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.svg create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-20.png create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-50.png create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-70.png create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-70.svg create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.gif create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.jpg create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.png create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.svg create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-013-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-023-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-030-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-032-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-033-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-034-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-035-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-036-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-041-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-042-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-047-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-048-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-049-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-050-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-051-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-052-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-053-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-054-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-055-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-056-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-013.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-014.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-015.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-016.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-017.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-018.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-019.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-020.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-021.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-022.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-024.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-025.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-026.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-027.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-028.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-029.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-030.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-031.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-032.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-033.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-034.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-035.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-036.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-037.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-038.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-041.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-042.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-043.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-044.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-047.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-048.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-049.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-050.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-051.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-052.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-053.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-054.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-055.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-056.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-integer-overflow-crash.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-013-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-021-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-030-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-032-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-033-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-034-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-035-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-036-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-037-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-038-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-039-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-040-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-042-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-044-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-045-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-046-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-047-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-048-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-049-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-050-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-051-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-052-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-013.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-014.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-016.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-018.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-019.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-020.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-021.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-022.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-023.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-024.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-025.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-030.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-031.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-032.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-033.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-034.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-035.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-036.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-037.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-038.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-039.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-040.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-041.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-042.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-043.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-044.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-045.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-046.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-047.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-048.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-049.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-050.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-051.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-052.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-integer-overflow-crash.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-010-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-016-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-017-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-020-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-021-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-022-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-023-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-024-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-025-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-026-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-027-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-010.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-011.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-012.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-013.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-014.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-015.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-016.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-017.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-020.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-021.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-022.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-023.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-024.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-025.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-026.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-027.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-028.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-030.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-031.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-refcrash.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-007-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-010-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-017-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-018-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-019-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-020-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-021-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-022-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-023-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-024-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-025-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-032-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-007.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-008.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-009.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-010.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-011.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-012.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-013.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-014.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-015.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-016.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-017.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-018.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-019.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-020.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-021.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-022.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-023.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-024.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-025.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-032.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-crash.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/rounded-rectangle.js create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/subpixel-utils.js create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/test-utils.js create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-box-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-007.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-008.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-009.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-010.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-011.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-computed-shape-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-computed-shape-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-007.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-008.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-009.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-010.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-011.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-0010.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-007.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-008.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-009.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-arguments-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-arguments-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-box-pair-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-inherit-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-initial-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-none-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-notation-000.html create mode 100644 testing/web-platform/tests/css/css-shapes/shape-outside/values/support/parsing-utils.js create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-001-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-004-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-006-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-007-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-008-ref.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-001.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-002.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-003.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-004.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-005.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-006.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-007.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-008.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-010.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-011.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-012.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-013.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-014.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-015.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-016.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-017.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-018.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-019.html create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/support/circle-no-shadow.png create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/support/circle-shadow.png create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/support/rounded-triangle.svg create mode 100644 testing/web-platform/tests/css/css-shapes/spec-examples/support/spec-example-utils.js create mode 100644 testing/web-platform/tests/css/css-shapes/support/1x1-green.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/1x1-lime.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/1x1-maroon.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/1x1-navy.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/1x1-red.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/1x1-white.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/60x60-gg-rr.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/60x60-green.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/README create mode 100644 testing/web-platform/tests/css/css-shapes/support/a-green.css create mode 100644 testing/web-platform/tests/css/css-shapes/support/b-green.css create mode 100644 testing/web-platform/tests/css/css-shapes/support/c-red.css create mode 100644 testing/web-platform/tests/css/css-shapes/support/cat.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/pattern-grg-rgr-grg.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/pattern-grg-rrg-rgg.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/pattern-rgr-grg-rgr.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/pattern-tr.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/square-purple.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/square-teal.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/square-white.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/swatch-blue.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/swatch-green.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/swatch-lime.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/swatch-orange.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/swatch-red.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/swatch-white.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/swatch-yellow.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/test-bl.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/test-br.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/test-outer.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/test-tl.png create mode 100644 testing/web-platform/tests/css/css-shapes/support/test-tr.png create mode 100644 testing/web-platform/tests/css/css-shapes/test-plan/index.html (limited to 'testing/web-platform/tests/css/css-shapes') diff --git a/testing/web-platform/tests/css/css-shapes/META.yml b/testing/web-platform/tests/css/css-shapes/META.yml new file mode 100644 index 0000000000..2e433aa66f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/META.yml @@ -0,0 +1,5 @@ +spec: https://drafts.csswg.org/css-shapes/ +suggested_reviewers: + - kojiishi + - plinss + - astearns diff --git a/testing/web-platform/tests/css/css-shapes/animation/shape-image-threshold-interpolation.html b/testing/web-platform/tests/css/css-shapes/animation/shape-image-threshold-interpolation.html new file mode 100644 index 0000000000..edac744592 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/animation/shape-image-threshold-interpolation.html @@ -0,0 +1,87 @@ + + +shape-image-threshold interpolation + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/animation/shape-margin-composition.html b/testing/web-platform/tests/css/css-shapes/animation/shape-margin-composition.html new file mode 100644 index 0000000000..395bad063f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/animation/shape-margin-composition.html @@ -0,0 +1,65 @@ + + +shape-margin composition + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/animation/shape-margin-interpolation.html b/testing/web-platform/tests/css/css-shapes/animation/shape-margin-interpolation.html new file mode 100644 index 0000000000..48b3d0c460 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/animation/shape-margin-interpolation.html @@ -0,0 +1,87 @@ + + +shape-margin interpolation + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/animation/shape-outside-composition.html b/testing/web-platform/tests/css/css-shapes/animation/shape-outside-composition.html new file mode 100644 index 0000000000..0115148ec1 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/animation/shape-outside-composition.html @@ -0,0 +1,189 @@ + + +shape-outside composition + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/animation/shape-outside-interpolation.html b/testing/web-platform/tests/css/css-shapes/animation/shape-outside-interpolation.html new file mode 100644 index 0000000000..3380acdba0 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/animation/shape-outside-interpolation.html @@ -0,0 +1,137 @@ + + +shape-outside interpolation + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/basic-shape-circle-ellipse-serialization.html b/testing/web-platform/tests/css/css-shapes/basic-shape-circle-ellipse-serialization.html new file mode 100644 index 0000000000..5e4842d234 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/basic-shape-circle-ellipse-serialization.html @@ -0,0 +1,76 @@ + + +Serialization of basic shapes + + + + diff --git a/testing/web-platform/tests/css/css-shapes/basic-shape-interpolation.html b/testing/web-platform/tests/css/css-shapes/basic-shape-interpolation.html new file mode 100644 index 0000000000..beea230697 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/basic-shape-interpolation.html @@ -0,0 +1,62 @@ + + + +Tests for the output of the interpolation of basic-shapes + + + + +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/inheritance.html b/testing/web-platform/tests/css/css-shapes/inheritance.html new file mode 100644 index 0000000000..490775dd8c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/inheritance.html @@ -0,0 +1,23 @@ + + + + +Inheritance of CSS Shapes properties + + + + + + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-computed.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-computed.html new file mode 100644 index 0000000000..81bc0ccb84 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-computed.html @@ -0,0 +1,25 @@ + + + + +CSS Shapes Module Level 1: getComputedStyle().shapeImageThreshold + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-invalid.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-invalid.html new file mode 100644 index 0000000000..c0cac033fb --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-invalid.html @@ -0,0 +1,19 @@ + + + + +CSS Shapes Module Level 1: parsing shape-image-threshold with invalid values + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-valid.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-valid.html new file mode 100644 index 0000000000..4ed1fb9fba --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-image-threshold-valid.html @@ -0,0 +1,24 @@ + + + + +CSS Shapes Module Level 1: parsing shape-image-threshold with valid values + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-margin-computed.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-margin-computed.html new file mode 100644 index 0000000000..123145cbc4 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-margin-computed.html @@ -0,0 +1,25 @@ + + + + +CSS Shapes Module Level 1: getComputedStyle().shapeMargin + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-margin-invalid.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-margin-invalid.html new file mode 100644 index 0000000000..2255982ef9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-margin-invalid.html @@ -0,0 +1,19 @@ + + + + +CSS Shapes Module Level 1: parsing shape-margin with invalid values + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-margin-valid.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-margin-valid.html new file mode 100644 index 0000000000..e4a3a89108 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-margin-valid.html @@ -0,0 +1,21 @@ + + + + +CSS Shapes Module Level 1: parsing shape-margin with valid values + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-computed.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-computed.html new file mode 100644 index 0000000000..19d69ee738 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-computed.html @@ -0,0 +1,36 @@ + + + + +CSS Shapes Module Level 1: getComputedStyle().shapeOutside + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-invalid-position.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-invalid-position.html new file mode 100644 index 0000000000..e61c7071f9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-invalid-position.html @@ -0,0 +1,29 @@ + + + + +CSS Shapes Module Level 1: parsing shape-outside with invalid position values + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-invalid.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-invalid.html new file mode 100644 index 0000000000..5fe89a605e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-invalid.html @@ -0,0 +1,56 @@ + + + + +CSS Shapes Module Level 1: parsing shape-outside with invalid values + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-valid-position.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-valid-position.html new file mode 100644 index 0000000000..cd13c25ba3 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-valid-position.html @@ -0,0 +1,36 @@ + + + + +CSS Shapes Module Level 1: parsing shape-outside with valid position values + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-valid.html b/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-valid.html new file mode 100644 index 0000000000..c48974406b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/parsing/shape-outside-valid.html @@ -0,0 +1,71 @@ + + + + +CSS Shapes Module Level 1: parsing shape-outside with valid values + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-001.html new file mode 100644 index 0000000000..167a9163c2 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-001.html @@ -0,0 +1,35 @@ + + + + + + + CSS Shapes Test - shape-outside invalid shape + + + + + + + + + + +
+ +
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-000.html new file mode 100644 index 0000000000..317553bad7 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-000.html @@ -0,0 +1,34 @@ + + + + CSS Shapes Tests: Circle - invalid 2 args + + + + + + + + + + +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-001.html new file mode 100644 index 0000000000..7c8852e031 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-001.html @@ -0,0 +1,46 @@ + + + + CSS Shapes Tests: Circle - invalid r values + + + + + + + + + + +
+ +
+
+
+ + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-002.html new file mode 100644 index 0000000000..0cec392d3a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-002.html @@ -0,0 +1,36 @@ + + + + + + + CSS Shapes Test - Circle - invalid cy value + + + + + + + + + + + +
+ +
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-003.html new file mode 100644 index 0000000000..e8ccf76274 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-circle-003.html @@ -0,0 +1,36 @@ + + + + + + + CSS Shapes Test: Circle - invalid cx value + + + + + + + + + + + +
+ +
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-001.html new file mode 100644 index 0000000000..2db9f8b31e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-001.html @@ -0,0 +1,35 @@ + + + + + + + CSS Shapes Test: Ellipse - invalid 2 arg + + + + + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-002.html new file mode 100644 index 0000000000..4d87920ade --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-002.html @@ -0,0 +1,34 @@ + + + + + + + CSS Shapes Test: Ellipse - invalid ry value + + + + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-003.html new file mode 100644 index 0000000000..e59c81d3d9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-003.html @@ -0,0 +1,34 @@ + + + + + + + CSS Shapes Test: Ellipse - invalid rx value + + + + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-004.html new file mode 100644 index 0000000000..66c434921d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-004.html @@ -0,0 +1,35 @@ + + + + + + + CSS Shapes Test - Ellipse - invalid 1 arg + + + + + + + + + + +
+ +
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-005.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-005.html new file mode 100644 index 0000000000..e7dfd4d5f9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-005.html @@ -0,0 +1,35 @@ + + + + + + + CSS Shapes Test - Ellipse - invalid cy value + + + + + + + + + + +
+ +
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-006.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-006.html new file mode 100644 index 0000000000..c77505945d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-ellipse-006.html @@ -0,0 +1,35 @@ + + + + + + + CSS Shapes Test - Ellipse - invalid cx value + + + + + + + + + + +
+ +
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-001.html new file mode 100644 index 0000000000..2a61e1777d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-001.html @@ -0,0 +1,35 @@ + + + + + + + CSS Shapes Test: Inset Rectangles - invalid top arg + + + + + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-002.html new file mode 100644 index 0000000000..42537b1afc --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-002.html @@ -0,0 +1,35 @@ + + + + + + + CSS Shapes Test: Inset Rectangles - invalid right arg + + + + + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-003.html new file mode 100644 index 0000000000..8cac1bfb79 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-003.html @@ -0,0 +1,34 @@ + + + + + + + CSS Shapes Test: Inset Rectangles - invalid bottom arg + + + + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-004.html new file mode 100644 index 0000000000..823c4a5ae3 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside-invalid-inset-004.html @@ -0,0 +1,34 @@ + + + + + + + CSS Shapes Test: Inset Rectangles - invalid left param + + + + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-circle.html b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-circle.html new file mode 100644 index 0000000000..fe0b82ab6f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-circle.html @@ -0,0 +1,34 @@ + + +Retry inline floats until they fit -- circle + + + + + + + +
+
+ +
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-image.html b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-image.html new file mode 100644 index 0000000000..aed064d9c8 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-image.html @@ -0,0 +1,53 @@ + + +Retry inline floats until they fit -- image + + + + + + + +
+
+ +
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-inset.html b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-inset.html new file mode 100644 index 0000000000..ba339e6d6c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-inset.html @@ -0,0 +1,34 @@ + + +Retry inline floats until they fit -- inset + + + + + + + +
+
+ +
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-polygon.html b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-polygon.html new file mode 100644 index 0000000000..9fc0330630 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-retry-push-polygon.html @@ -0,0 +1,33 @@ + + +Retry inline floats until they fit -- polygon + + + + + + + +
+
+ +
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-should-push.html b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-should-push.html new file mode 100644 index 0000000000..4901b8b5c7 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/float-should-push.html @@ -0,0 +1,77 @@ + + +Ensure shape-outside floats that don't cover their margin-rect affect layout properly + + + + + + + + +

All light blue bars should be pushed below the square floats, regardless of how those floats are defined.

+ +
+
inset(1px) at top
+ +
+ +
+ +
+
polygon
+ +
+ +
+ +
+
image
+ +
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/reference/float-retry-push-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/reference/float-retry-push-ref.html new file mode 100644 index 0000000000..2b0fabbda7 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/reference/float-retry-push-ref.html @@ -0,0 +1,22 @@ + + +Reference for retrying floats and pushing them partway down the float area + + + + +
+ +
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/reference/float-should-push-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/reference/float-should-push-ref.html new file mode 100644 index 0000000000..6a349fd359 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/assorted/reference/float-should-push-ref.html @@ -0,0 +1,72 @@ + + +Reference: Ensure shape-outside floats that don't cover their margin-rect affect layout properly + + + + + +

All light blue bars should be pushed below the square floats, regardless of how those floats are defined.

+ +
+
inset(1px) at top
+ +
+ +
+ +
+
polygon
+ +
+ +
+ +
+
image
+ +
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/formatting-context/reference/shape-outside-formatting-context-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/formatting-context/reference/shape-outside-formatting-context-ref.html new file mode 100644 index 0000000000..2fd6df9819 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/formatting-context/reference/shape-outside-formatting-context-ref.html @@ -0,0 +1,26 @@ + + +
+
+
+
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/formatting-context/shape-outside-formatting-context.tentative.html b/testing/web-platform/tests/css/css-shapes/shape-outside/formatting-context/shape-outside-formatting-context.tentative.html new file mode 100644 index 0000000000..cfb5d46a0d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/formatting-context/shape-outside-formatting-context.tentative.html @@ -0,0 +1,31 @@ + + + + + + +
+
+
+
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-001-ref.html new file mode 100644 index 0000000000..ea248f1457 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-001-ref.html @@ -0,0 +1,62 @@ + + + + + + CSS Shape Test: float left, border-box reference + + + + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-002-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-002-ref.html new file mode 100644 index 0000000000..f7137463d5 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-002-ref.html @@ -0,0 +1,63 @@ + + + + + + CSS Shape Test: float right, border-box reference + + + + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-001-ref.html new file mode 100644 index 0000000000..d6d061dc1b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-001-ref.html @@ -0,0 +1,53 @@ + + + + + + CSS Shape Test: float left, border-box, border-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-002-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-002-ref.html new file mode 100644 index 0000000000..f66a499116 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-002-ref.html @@ -0,0 +1,43 @@ + + + + + + CSS Shape Test: float left, border-box, border-radius, no margin reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-003-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-003-ref.html new file mode 100644 index 0000000000..4639acc920 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-003-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: float right, border-box, border-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-004-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-004-ref.html new file mode 100644 index 0000000000..bb9bdcb82d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-004-ref.html @@ -0,0 +1,44 @@ + + + + + + CSS Shape Test: float right, border-box, border-radius, no margin reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-005-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-005-ref.html new file mode 100644 index 0000000000..f0e0305caa --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-005-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: vertical-rl, float left, border-box, border-bottom-right-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-006-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-006-ref.html new file mode 100644 index 0000000000..3f6cf9762f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-006-ref.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: vertical-rl, float right, border-box, border-top-right-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-007-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-007-ref.html new file mode 100644 index 0000000000..0d137557c3 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-007-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: vertical-lr, float left, border-box, border-bottom-right-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-008-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-008-ref.html new file mode 100644 index 0000000000..964b38949a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-008-ref.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: vertical-lr, float right, border-box, border-top-right-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-009-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-009-ref.html new file mode 100644 index 0000000000..1fd0a1d9b2 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-009-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: sideways-rl, float left, border-box, border-bottom-right-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-010-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-010-ref.html new file mode 100644 index 0000000000..c96d926d62 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-010-ref.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: sideways-rl, float right, border-box, border-top-right-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-011-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-011-ref.html new file mode 100644 index 0000000000..667cdf9b94 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-011-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: sideways-lr, float left, border-box, border-top-right-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-012-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-012-ref.html new file mode 100644 index 0000000000..683c4590ec --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-border-box-border-radius-012-ref.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: sideways-lr, float left, border-box, border-bottom-right-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-box-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-box-001-ref.html new file mode 100644 index 0000000000..628cf3d588 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-box-001-ref.html @@ -0,0 +1,39 @@ + + + + CSS Reference File + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-box-005-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-box-005-ref.html new file mode 100644 index 0000000000..092840901f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-box-005-ref.html @@ -0,0 +1,39 @@ + + + + CSS Reference File + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-001-ref.html new file mode 100644 index 0000000000..53c10c892f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-001-ref.html @@ -0,0 +1,62 @@ + + + + + + CSS Shape Test: float left, content-box reference + + + + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-002-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-002-ref.html new file mode 100644 index 0000000000..aa9c34ce92 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-002-ref.html @@ -0,0 +1,63 @@ + + + + + + CSS Shape Test: float right, content-box reference + + + + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-border-radius-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-border-radius-001-ref.html new file mode 100644 index 0000000000..0c77300522 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-border-radius-001-ref.html @@ -0,0 +1,53 @@ + + + + + + CSS Shape Test: float left, content-box, border-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-border-radius-002-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-border-radius-002-ref.html new file mode 100644 index 0000000000..c3dc6de8d1 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-content-box-border-radius-002-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: float right, content-box, border-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-001-ref.html new file mode 100644 index 0000000000..55c7960876 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-001-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: float left, margin-box reference + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-002-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-002-ref.html new file mode 100644 index 0000000000..3806e09993 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-002-ref.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: float right, margin-box reference + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-001-ref.html new file mode 100644 index 0000000000..8b7e2955f6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-001-ref.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float left, margin-box, border-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-002-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-002-ref.html new file mode 100644 index 0000000000..d24afcd711 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-002-ref.html @@ -0,0 +1,44 @@ + + + + + + CSS Shape Test: float left, margin-box, border-radius reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-003-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-003-ref.html new file mode 100644 index 0000000000..aa74b16469 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-003-ref.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: float right, margin-box, border-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-004-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-004-ref.html new file mode 100644 index 0000000000..a96f6c30de --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-004-ref.html @@ -0,0 +1,52 @@ + + + + + + CSS Shape Test: float right, margin-box, border-radius reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-005-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-005-ref.html new file mode 100644 index 0000000000..73e4e91096 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-005-ref.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float left, margin-box, border-top-right-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-006-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-006-ref.html new file mode 100644 index 0000000000..16ed0e5578 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-006-ref.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float left, margin-box, border-bottom-right-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-007-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-007-ref.html new file mode 100644 index 0000000000..2c6cc1db9d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-007-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: float left in rtl container, margin-box, border-top-right-radius reference + + + + + + +
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-008-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-008-ref.html new file mode 100644 index 0000000000..7cf8fafc93 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-margin-box-border-radius-008-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: float right in ltr container, margin-box, border-top-left-radius reference + + + + +
+ +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-001-ref.html new file mode 100644 index 0000000000..0aa6993e37 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-001-ref.html @@ -0,0 +1,62 @@ + + + + + + CSS Shape Test: float left, padding-box reference + + + + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-002-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-002-ref.html new file mode 100644 index 0000000000..8459758e50 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-002-ref.html @@ -0,0 +1,63 @@ + + + + + + CSS Shape Test: float right, padding-box reference + + + + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-003-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-003-ref.html new file mode 100644 index 0000000000..a5cb5e82a5 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-003-ref.html @@ -0,0 +1,11 @@ + + +

The test passes if there is a green square and no red.

+
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-border-radius-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-border-radius-001-ref.html new file mode 100644 index 0000000000..88abbd73f4 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-border-radius-001-ref.html @@ -0,0 +1,53 @@ + + + + + + CSS Shape Test: float left, padding-box, border-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-border-radius-002-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-border-radius-002-ref.html new file mode 100644 index 0000000000..b15f4e275b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-padding-box-border-radius-002-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: float right, padding-box, border-radius reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-001.html new file mode 100644 index 0000000000..9bcadb121d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-001.html @@ -0,0 +1,65 @@ + + + + + + CSS Shape Test: float left, border-box + + + + + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-002.html new file mode 100644 index 0000000000..de942dc69d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-002.html @@ -0,0 +1,66 @@ + + + + + + CSS Shape Test: float right, border-box + + + + + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-003.html new file mode 100644 index 0000000000..fd97e01202 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-003.html @@ -0,0 +1,54 @@ + +CSS Test: right float, shape-outside:border-box and shape-margin + + + + + + + + + +

The test passes if there is a green square and no red.

+
+
+
+ XXXXXXXXXX XXXXX XXXX XXX XXX XXX XXX XXXX XXXXX XXXXXXXXXX +
+
+
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-001.html new file mode 100644 index 0000000000..863e3c000d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-001.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: float left, border-box, border-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-002.html new file mode 100644 index 0000000000..5b2837187e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-002.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float left, border-box, border-radius, no margin + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-003.html new file mode 100644 index 0000000000..ff0960fc19 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-003.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: float right, border-box, border-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-004.html new file mode 100644 index 0000000000..0a7dee8caa --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-004.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: float right, border-box, border-radius, no margin + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-005.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-005.html new file mode 100644 index 0000000000..8bd2113921 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-005.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: vertical-rl, float left, border-box, border-bottom-right-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-006.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-006.html new file mode 100644 index 0000000000..4afe1d42c1 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-006.html @@ -0,0 +1,57 @@ + + + + + + CSS Shape Test: vertical-rl, float right, border-box, border-top-right-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-007.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-007.html new file mode 100644 index 0000000000..4a55ad0364 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-007.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: vertical-lr, float left, border-box, border-bottom-right-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-008.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-008.html new file mode 100644 index 0000000000..de0c5d5dce --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-008.html @@ -0,0 +1,57 @@ + + + + + + CSS Shape Test: vertical-lr, float right, border-box, border-top-right-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-009.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-009.html new file mode 100644 index 0000000000..27119bf33a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-009.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: sideways-rl, float left, border-box, border-bottom-right-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-010.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-010.html new file mode 100644 index 0000000000..dcb60fc495 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-010.html @@ -0,0 +1,57 @@ + + + + + + CSS Shape Test: sideways-rl, float right, border-box, border-top-right-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-011.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-011.html new file mode 100644 index 0000000000..c604857c9b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-011.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: sideways-lr, float left, border-box, border-top-right-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-012.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-012.html new file mode 100644 index 0000000000..70b16559a9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-border-box-border-radius-012.html @@ -0,0 +1,57 @@ + + + + + + CSS Shape Test: sideways-lr, float right, border-box, border-bottom-right-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-002.html new file mode 100644 index 0000000000..76a9bbb152 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-002.html @@ -0,0 +1,70 @@ + + + + CSS Test: left float, shape-outside: content-box + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-003.html new file mode 100644 index 0000000000..c58152efb7 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-003.html @@ -0,0 +1,70 @@ + + + + CSS Test: left float, shape-outside: border-box + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-004.html new file mode 100644 index 0000000000..dd2030d9cf --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-004.html @@ -0,0 +1,70 @@ + + + + CSS Test: left float, shape-outside: padding-box + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-006.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-006.html new file mode 100644 index 0000000000..9465b5197e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-006.html @@ -0,0 +1,71 @@ + + + + CSS Test: right float, shape-outside: content-box + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-007.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-007.html new file mode 100644 index 0000000000..cc88efaf04 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-007.html @@ -0,0 +1,71 @@ + + + + CSS Test: right float, shape-outside: border-box + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-008.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-008.html new file mode 100644 index 0000000000..3b3e58f0dd --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-008.html @@ -0,0 +1,71 @@ + + + + CSS Test: right float, shape-outside: padding-box + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-009.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-009.html new file mode 100644 index 0000000000..3216a76155 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-box-009.html @@ -0,0 +1,72 @@ + + + + CSS Test: right float, shape-outside: border-box + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-001.html new file mode 100644 index 0000000000..a6558ae41b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-001.html @@ -0,0 +1,65 @@ + + + + + + CSS Shape Test: float left, content-box + + + + + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-002.html new file mode 100644 index 0000000000..f20457781e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-002.html @@ -0,0 +1,65 @@ + + + + + CSS Shape Test: float right, content-box + + + + + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-003.html new file mode 100644 index 0000000000..5ad0463bef --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-003.html @@ -0,0 +1,56 @@ + +CSS Test: right float, shape-outside:content-box and shape-margin + + + + + + + + + +

The test passes if there is a green square and no red.

+
+
+
+ XXXXXXXXXX XXXXX XXXX XXX XXX XXX XXX XXXX XXXXX XXXXXXXXXX +
+
+
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-border-radius-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-border-radius-001.html new file mode 100644 index 0000000000..90bc2d3a57 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-border-radius-001.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: float left, content-box, border-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-border-radius-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-border-radius-002.html new file mode 100644 index 0000000000..aeae55ca23 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-content-box-border-radius-002.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: float right, content-box, border-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-001.html new file mode 100644 index 0000000000..b8977a92a6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-001.html @@ -0,0 +1,57 @@ + + + + + + CSS Shape Test: float left, margin-box + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-002.html new file mode 100644 index 0000000000..09d4e57aca --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-002.html @@ -0,0 +1,58 @@ + + + + + + CSS Shape Test: float right, margin-box + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-001.html new file mode 100644 index 0000000000..c2a21fc520 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-001.html @@ -0,0 +1,48 @@ + + + + + + CSS Shape Test: float left, margin-box, border-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-002.html new file mode 100644 index 0000000000..96b162e904 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-002.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float left, margin-box, border-radius + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-003.html new file mode 100644 index 0000000000..f1b7f550fb --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-003.html @@ -0,0 +1,49 @@ + + + + + + CSS Shape Test: float right, margin-box, border-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-004.html new file mode 100644 index 0000000000..26f000fc9a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-004.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: float right, margin-box, border-radius + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-005.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-005.html new file mode 100644 index 0000000000..39d2a87e9d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-005.html @@ -0,0 +1,48 @@ + + + + + + CSS Shape Test: float left, margin-box, border-top-right-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-006.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-006.html new file mode 100644 index 0000000000..8cce6f1831 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-006.html @@ -0,0 +1,48 @@ + + + + + + CSS Shape Test: float left, margin-box, border-bottom-right-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-007.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-007.html new file mode 100644 index 0000000000..61143a8fe5 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-007.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: float left in rtl container, margin-box, border-top-right-radius + + + + + + + + + +
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-008.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-008.html new file mode 100644 index 0000000000..ddae6453d3 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-008.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: float right in ltr container, margin-box, border-top-left-radius + + + + + + + +
+ +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-001.html new file mode 100644 index 0000000000..0eee6fb41e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-001.html @@ -0,0 +1,65 @@ + + + + + + CSS Shape Test: float left, padding-box + + + + + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-002.html new file mode 100644 index 0000000000..eb298dee2b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-002.html @@ -0,0 +1,65 @@ + + + + + CSS Shape Test: float right, padding-box + + + + + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-003.html new file mode 100644 index 0000000000..d816be13e4 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-003.html @@ -0,0 +1,58 @@ + +CSS Test: right float, shape-outside:padding-box and shape-margin + + + + + + + + + +

The test passes if there is a green square and no red.

+
+
+
+ XXXXXXXXXX XXXXX XXXX XXX XXX XXX XXX XXXX XXXXX XXXXXXXXXX +
+
+
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-border-radius-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-border-radius-001.html new file mode 100644 index 0000000000..8b775c1526 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-border-radius-001.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: float left, padding-box, border-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-border-radius-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-border-radius-002.html new file mode 100644 index 0000000000..ba603db912 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/shape-outside-padding-box-border-radius-002.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: float right, padding-box, border-radius + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-001-ref.html new file mode 100644 index 0000000000..cbde336e9b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-001-ref.html @@ -0,0 +1,36 @@ + + + + CSS Reference File + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ xx xx xx xx +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-002-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-002-ref.html new file mode 100644 index 0000000000..d6a65180fd --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-002-ref.html @@ -0,0 +1,36 @@ + + + + CSS Reference File + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ xx xx xx xx +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-004-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-004-ref.html new file mode 100644 index 0000000000..7a02119981 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-004-ref.html @@ -0,0 +1,37 @@ + + + + CSS Reference File + + + + +

+ The test passes if there are four green squares alternating left and right. There + should be no red. +

+
+

+

+

+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-001.html new file mode 100644 index 0000000000..91550fefc7 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-001.html @@ -0,0 +1,44 @@ + + + + CSS Test: Left float with linear gradient + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ xx xx xx xx +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-002.html new file mode 100644 index 0000000000..c956d7b583 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-002.html @@ -0,0 +1,45 @@ + + + + CSS Test: Right float with linear gradient + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ xx xx xx xx +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-003.html new file mode 100644 index 0000000000..3062aaed95 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-003.html @@ -0,0 +1,47 @@ + + + + CSS Test: Right float with linear gradient + + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ xx xx xx xx +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-004.html new file mode 100644 index 0000000000..80048a1465 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-004.html @@ -0,0 +1,65 @@ + + + + CSS Test: Shape outside and repeating linear gradient + + + + + + + + +

+ The test passes if there are four green squares alternating left and right. There + should be no red. +

+
+
+

+

+

+
+
+
+

+

+

+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-005.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-005.html new file mode 100644 index 0000000000..6d0fc21361 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-005.html @@ -0,0 +1,59 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-rl + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-006.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-006.html new file mode 100644 index 0000000000..68243e0ab8 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-006.html @@ -0,0 +1,59 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-lr + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-007.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-007.html new file mode 100644 index 0000000000..4ef0b6b5df --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-007.html @@ -0,0 +1,59 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: sideways-rl + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-008.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-008.html new file mode 100644 index 0000000000..11ae7faa36 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-008.html @@ -0,0 +1,59 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: sideways-lr + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-009.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-009.html new file mode 100644 index 0000000000..50c80d0ac7 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-009.html @@ -0,0 +1,60 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-rl and text-orientation: sideways + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-010.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-010.html new file mode 100644 index 0000000000..1e245cb285 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-010.html @@ -0,0 +1,60 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-lr and text-orientation: sideways + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-011.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-011.html new file mode 100644 index 0000000000..756b58eaa0 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-011.html @@ -0,0 +1,62 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-rl + + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-012.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-012.html new file mode 100644 index 0000000000..5a78d1c3ea --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-012.html @@ -0,0 +1,62 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-lr + + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-013.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-013.html new file mode 100644 index 0000000000..9ecf76d70b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-013.html @@ -0,0 +1,62 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: sideways-rl + + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-014.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-014.html new file mode 100644 index 0000000000..624884e390 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-014.html @@ -0,0 +1,62 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: sideways-lr + + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-015.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-015.html new file mode 100644 index 0000000000..182c5843d8 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-015.html @@ -0,0 +1,63 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-rl and text-orientation: sideways + + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-016.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-016.html new file mode 100644 index 0000000000..c1098f0a22 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-016.html @@ -0,0 +1,63 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-lr and text-orientation: sideways + + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-001.html new file mode 100644 index 0000000000..25c465dd3a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-001.html @@ -0,0 +1,71 @@ + + + + CSS Test: Left float with radial gradient + + + + + + + + + + + + + + +

+ The test passes if you see green boxes following the contour of a circle. There should be no red. +

+
+ x
+
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-002.html new file mode 100644 index 0000000000..3a30e67864 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-002.html @@ -0,0 +1,74 @@ + + + + CSS Test: Left float with radial gradient and percentage shape margin + + + + + + + + + + + + + + + +

+ The test passes if you see green boxes following the contour of a circle. There should be no red. +

+
+ x
+
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-003.html new file mode 100644 index 0000000000..2e52163bf2 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-003.html @@ -0,0 +1,76 @@ + + + + CSS Test: Left float with radial gradient shape, shape margin, and shape-image-threshold + + + + + + + + + + + + + + + + +

+ The test passes if you see green boxes following the contour of a circle. There should be no red. +

+
+ x
+
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-004.html new file mode 100644 index 0000000000..5224b23cae --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-004.html @@ -0,0 +1,75 @@ + + + + CSS Test: Left float with radial gradient shape, shape margin, and shape-image-threshold + + + + + + + + + + + + + + + +

+ The test passes if you see green boxes following the contour of a circle. There should be no red. +

+
+ x
+
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+ x
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-000-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-000-ref.html new file mode 100644 index 0000000000..a5752dc1be --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-000-ref.html @@ -0,0 +1,32 @@ + + + + CSS Reference File + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-001-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-001-ref.html new file mode 100644 index 0000000000..70e3286f3d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-001-ref.html @@ -0,0 +1,32 @@ + + + + CSS Reference File + + + + +

+ The test passes if you see a green rectangle, a black rectangle, and a green rectangle next to each other. There should be no red. +

+
+ +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-002-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-002-ref.html new file mode 100644 index 0000000000..6386fb3d1f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-002-ref.html @@ -0,0 +1,21 @@ + + + + CSS Reference File + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-006-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-006-ref.html new file mode 100644 index 0000000000..9ef7a4a077 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-006-ref.html @@ -0,0 +1,44 @@ + + + + CSS Reference File + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+ +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-007-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-007-ref.html new file mode 100644 index 0000000000..80e47e4150 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-007-ref.html @@ -0,0 +1,42 @@ + + + + CSS Reference File + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-008-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-008-ref.html new file mode 100644 index 0000000000..fbe9caf9ee --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-008-ref.html @@ -0,0 +1,48 @@ + + + + CSS Reference File + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+ +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-012-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-012-ref.html new file mode 100644 index 0000000000..3c5cdf9e9a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-012-ref.html @@ -0,0 +1,34 @@ + + + + CSS Reference File + + + + + +

+ The test passes if there's a green square with an image at top right with vertical white and green stripes. + There should be no red. +

+
+ + XXXXX XXXXX XXXXX XXXXX XXXXX + XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-013-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-013-ref.html new file mode 100644 index 0000000000..872cbf1e93 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-013-ref.html @@ -0,0 +1,32 @@ + + + + CSS Reference File + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+
+ +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-018-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-018-ref.html new file mode 100644 index 0000000000..98c00d3b67 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-018-ref.html @@ -0,0 +1,29 @@ + + + + CSS Reference File + + + + + +

The test passes if no red is visible.

+
+ + X
X
X
X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-019-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-019-ref.html new file mode 100644 index 0000000000..089a3a2a37 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-019-ref.html @@ -0,0 +1,34 @@ + + + + CSS Reference File + + + + + +

The two green squares should appear 10 pixels to the left of and 10 pixels below the blue square, respectively. The test passes if no red is visible.

+
+ + X
X +
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-020-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-020-ref.html new file mode 100644 index 0000000000..b199b6e398 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-020-ref.html @@ -0,0 +1,34 @@ + + + + CSS Reference File + + + + + +

The two green squares should appear 10 pixels to the left of and 10 pixels below the blue square, respectively. The test passes if no red is visible.

+
+ + X
X +
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-021-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-021-ref.html new file mode 100644 index 0000000000..826f5275d9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-021-ref.html @@ -0,0 +1,32 @@ + + + + CSS Reference File + + + + + +

The test passes if no red is visible.

+
+ + X
X
X
X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-022-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-022-ref.html new file mode 100644 index 0000000000..999773bd0a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-022-ref.html @@ -0,0 +1,32 @@ + + + + CSS Reference File + + + + + +

The test passes if no red is visible.

+
+ + X
X
X
X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-023-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-023-ref.html new file mode 100644 index 0000000000..b199b6e398 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-023-ref.html @@ -0,0 +1,34 @@ + + + + CSS Reference File + + + + + +

The two green squares should appear 10 pixels to the left of and 10 pixels below the blue square, respectively. The test passes if no red is visible.

+
+ + X
X +
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-024-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-024-ref.html new file mode 100644 index 0000000000..f326e851b8 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-024-ref.html @@ -0,0 +1,42 @@ + + + + CSS Reference File + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-025-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-025-ref.html new file mode 100644 index 0000000000..0060369e95 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-025-ref.html @@ -0,0 +1,35 @@ + + + + CSS Reference File + + + + +

+ The test passes if there are two identical green rectangles on either side of the blue line. + There should be no red. +

+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-000.html new file mode 100644 index 0000000000..0671a06e4d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-000.html @@ -0,0 +1,39 @@ + + + + CSS Test: Image shape on a left float + + + + + + + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ + X + X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-001.html new file mode 100644 index 0000000000..d66925da6c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-001.html @@ -0,0 +1,54 @@ + + + + CSS Test: Image shape on a left float + + + + + + + + + + +

+ The test passes if you see a green rectangle, a black rectangle, and a green rectangle next to each other. There should be no red. +

+
+
+
+ +
+ X + X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-002.html new file mode 100644 index 0000000000..b7e4578afa --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-002.html @@ -0,0 +1,40 @@ + + + + CSS Test: Image shape on a left float + + + + + + + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ + X + X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-003.html new file mode 100644 index 0000000000..5994a79282 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-003.html @@ -0,0 +1,41 @@ + + + + CSS Test: Image shape on a left float + + + + + + + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ + X + X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-004.html new file mode 100644 index 0000000000..117f3a8e2c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-004.html @@ -0,0 +1,41 @@ + + + + CSS Test: Image shape on a left float + + + + + + + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ + X + X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-005.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-005.html new file mode 100644 index 0000000000..d15cbf4157 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-005.html @@ -0,0 +1,41 @@ + + + + CSS Test: Image shape on a left float + + + + + + + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ + X + X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-006.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-006.html new file mode 100644 index 0000000000..1a9fe77176 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-006.html @@ -0,0 +1,65 @@ + + + + CSS Test: left float, url(png), real image + shape-margin (px) + + + + + + + + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+ + X
X +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-007.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-007.html new file mode 100644 index 0000000000..351aa02416 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-007.html @@ -0,0 +1,65 @@ + + + + CSS Test: left float, url(svg), real image + shape-margin (px) + + + + + + + + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+ + X
X +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-008.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-008.html new file mode 100644 index 0000000000..64ea7ef342 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-008.html @@ -0,0 +1,70 @@ + + + + CSS Test: left float, url(jpg), data uri + shape-margin (%) + + + + + + + + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+ + X
X +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-009.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-009.html new file mode 100644 index 0000000000..c7978bbabc --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-009.html @@ -0,0 +1,79 @@ + + + + CSS Test: left float, url(png), real image 70% + shape-image-threshold + shape-margin (px) + + + + + + + + + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+ +
+
+
+ X
X +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-010.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-010.html new file mode 100644 index 0000000000..07acd2a420 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-010.html @@ -0,0 +1,79 @@ + + + + CSS Test: left float, url(png), data uri + shape-image-threshold + shape-margin (%) + + + + + + + + + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+ +
+
+
+ X
X +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-011.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-011.html new file mode 100644 index 0000000000..a1286f07bc --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-011.html @@ -0,0 +1,79 @@ + + + + CSS Test: left float, url(svg), real image + shape-image-threshold + shape-margin (px) + + + + + + + + + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+ +
+
+
+ X
X +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-012.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-012.html new file mode 100644 index 0000000000..5ec28f5a7a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-012.html @@ -0,0 +1,46 @@ + + + + CSS Test: Wrapping content around right floating actual jpg image + + + + + + + + + + +

+ The test passes if there's a green square with an image at top right with vertical white and green stripes. + There should be no red. +

+
+ + XXXXX XXXXX XXXXX XXXXX XXXXX + XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-013.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-013.html new file mode 100644 index 0000000000..c487d63138 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-013.html @@ -0,0 +1,42 @@ + + + + CSS Test: Wrapping content around shape given by a right floating png + + + + + + + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ + X X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-014.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-014.html new file mode 100644 index 0000000000..1a8bf75f16 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-014.html @@ -0,0 +1,44 @@ + + + + CSS Test: Wrapping content around shape given by a right floating svg file + + + + + + + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ + X + X +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-015.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-015.html new file mode 100644 index 0000000000..3d2c1ec6a3 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-015.html @@ -0,0 +1,41 @@ + + + + CSS Test: Image shape on a right float + + + + + + + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ + X + X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-016.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-016.html new file mode 100644 index 0000000000..d0eed8d173 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-016.html @@ -0,0 +1,41 @@ + + + + CSS Test: Image shape on a right float + + + + + + + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ + X + X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-017.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-017.html new file mode 100644 index 0000000000..d5afb242db --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-017.html @@ -0,0 +1,41 @@ + + + + CSS Test: Image shape on a right float + + + + + + + + + + +

+ The test passes if you see a solid green square. There should be no red. +

+
+ + X + X +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-018.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-018.html new file mode 100644 index 0000000000..d94a2a9d92 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-018.html @@ -0,0 +1,48 @@ + + + + CSS Test: right float, url(jpg), real image + shape-margin (%) + + + + + + + + + + +

The test passes if no red is visible.

+
+ + X
X
X
X +
+ X
X
X
X +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-019.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-019.html new file mode 100644 index 0000000000..14c3fb2a5f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-019.html @@ -0,0 +1,54 @@ + + + + CSS Test: right float, url(png), data uri + shape-margin (px) + + + + + + + + + + +

The two green squares should appear 10 pixels to the left of and 10 pixels below the blue square, respectively. The test passes if no red is visible.

+
+ + X
X +
+ X
X +
+
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-020.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-020.html new file mode 100644 index 0000000000..aa3c5cc3aa --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-020.html @@ -0,0 +1,53 @@ + + + + CSS Test: right float, url(svg), data uri + shape-margin (%) + + + + + + + + + + +

The two green squares should appear 10 pixels to the left of and 10 pixels below the blue square, respectively. The test passes if no red is visible.

+
+ + X
X +
+ X
X +
+
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-021.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-021.html new file mode 100644 index 0000000000..8671fa1c61 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-021.html @@ -0,0 +1,49 @@ + + + + CSS Test: right float, url(png), real image + shape-image-threshold + shape-margin (%) + + + + + + + + + + +

The test passes if no red is visible.

+
+ + X
X
X
X +
+ X
X
X
X +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-022.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-022.html new file mode 100644 index 0000000000..8e567b1708 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-022.html @@ -0,0 +1,49 @@ + + + + CSS Test: right float, url(gif), real image + shape-image-threshold + shape-margin (px) + + + + + + + + + + +

The test passes if no red is visible.

+
+ + X
X
X
X +
+ X
X
X
X +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-023.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-023.html new file mode 100644 index 0000000000..73e6322c8f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-023.html @@ -0,0 +1,54 @@ + + + + CSS Test: right float, url(svg), data uri + shape-image-threshold + shape-margin (%) + + + + + + + + + + +

The two green squares should appear 10 pixels to the left of and 10 pixels below the blue square, respectively. The test passes if no red is visible.

+
+ + X
X +
+ X
X +
+
+ + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-024.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-024.html new file mode 100644 index 0000000000..3ca0ba912b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-024.html @@ -0,0 +1,67 @@ + + + + CSS Test: shape-outside from img element with different size than the image file + + + + + + + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+ + X
X +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-025.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-025.html new file mode 100644 index 0000000000..f202ffb2e7 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-025.html @@ -0,0 +1,63 @@ + + + + CSS Test: shape-outside from first frame of animated gif + + + + + + + + + + +

+ The test passes if there are two identical green rectangles on either side of the blue line. + There should be no red. +

+
+ + X
X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-026.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-026.html new file mode 100644 index 0000000000..74f5f34411 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-026.html @@ -0,0 +1,70 @@ + + + + CSS Test: left float, url(png), real offset image + shape-margin (px) + + + + + + + + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+ + X
X +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-027.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-027.html new file mode 100644 index 0000000000..112d7b9763 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-027.html @@ -0,0 +1,70 @@ + + + + CSS Test: left float, url(png), real negative offset image + shape-margin (px) + + + + + + + + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+
+ X
X +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-028.html b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-028.html new file mode 100644 index 0000000000..f9dc89d0e3 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-028.html @@ -0,0 +1,40 @@ + +'shape-outside' layout is updated after the image has been loaded + + + + +

+ Verify that an image valued shape-outside layout is updated after the image has + been loaded. This test checks that the left edge of the "Hello World" text span + is defined by the 200px wide float before shape-outside image has been loaded and + by the 100px wide image segment after it has been loaded. +

+
+ Hello World +
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/animated.gif b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/animated.gif new file mode 100644 index 0000000000..9e424df7cd Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/animated.gif differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-20.png b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-20.png new file mode 100644 index 0000000000..4d5dd8928a Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-20.png differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-20.svg b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-20.svg new file mode 100644 index 0000000000..f221a3d39b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-20.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-50.png b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-50.png new file mode 100644 index 0000000000..c64fd71dc1 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-50.png differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-50.svg b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-50.svg new file mode 100644 index 0000000000..d0109053eb --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-50.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-70.png b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-70.png new file mode 100644 index 0000000000..39f44b5d36 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-70.png differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-70.svg b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-70.svg new file mode 100644 index 0000000000..7286ce06ce --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle-70.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.jpg b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.jpg new file mode 100644 index 0000000000..1291251d0f Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.jpg differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.png b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.png new file mode 100644 index 0000000000..74a8eb47c5 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.png differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.svg b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.svg new file mode 100644 index 0000000000..cbd135b5e6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/left-half-rectangle.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-20.png b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-20.png new file mode 100644 index 0000000000..1ca67bd0b3 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-20.png differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-50.png b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-50.png new file mode 100644 index 0000000000..68bf7d03f2 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-50.png differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-70.png b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-70.png new file mode 100644 index 0000000000..0df4e24d4d Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-70.png differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-70.svg b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-70.svg new file mode 100644 index 0000000000..2e2db1a878 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle-70.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.gif b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.gif new file mode 100644 index 0000000000..8c3a4147cb Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.gif differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.jpg b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.jpg new file mode 100644 index 0000000000..a074d70186 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.jpg differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.png b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.png new file mode 100644 index 0000000000..ff944b7bdf Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.png differ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.svg b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.svg new file mode 100644 index 0000000000..bb06f34d5a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/right-half-rectangle.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-013-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-013-ref.html new file mode 100644 index 0000000000..f4f21058a6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-013-ref.html @@ -0,0 +1,39 @@ + + + + CSS Reference File + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-023-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-023-ref.html new file mode 100644 index 0000000000..835f29265f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-023-ref.html @@ -0,0 +1,39 @@ + + + + CSS Reference File + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-030-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-030-ref.html new file mode 100644 index 0000000000..dabff6348b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-030-ref.html @@ -0,0 +1,70 @@ + + + + CSS Reference File + + + + + +

The test passes if all of the squares are green. There should be no red.

+
+ X
+
+ + X
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+ X +
+ + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-032-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-032-ref.html new file mode 100644 index 0000000000..e6b0fe1db8 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-032-ref.html @@ -0,0 +1,51 @@ + + + + + + CSS Shape Test: float left, circle(50% at left top) reference + + + + +
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-033-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-033-ref.html new file mode 100644 index 0000000000..3814e2eebd --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-033-ref.html @@ -0,0 +1,52 @@ + + + + + + CSS Shape Test: float left, circle(50% at right bottom) reference + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-034-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-034-ref.html new file mode 100644 index 0000000000..5cf26ced59 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-034-ref.html @@ -0,0 +1,52 @@ + + + + + + CSS Shape Test: float right, circle(50% at right top) reference + + + + +
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-035-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-035-ref.html new file mode 100644 index 0000000000..7fcd50eff0 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-035-ref.html @@ -0,0 +1,53 @@ + + + + + + CSS Shape Test: float left, circle(50% at left bottom) reference + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-036-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-036-ref.html new file mode 100644 index 0000000000..a731f206a2 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-036-ref.html @@ -0,0 +1,45 @@ + + + + + + CSS Shape Test: float left, circle() reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-041-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-041-ref.html new file mode 100644 index 0000000000..fbf2516bbd --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-041-ref.html @@ -0,0 +1,45 @@ + + + + + + CSS Shape Test: float left, circle(100%) reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-042-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-042-ref.html new file mode 100644 index 0000000000..c7a49302ca --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-042-ref.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float right, circle() reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-047-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-047-ref.html new file mode 100644 index 0000000000..a518cfd361 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-047-ref.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float right, circle(100%) reference + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-048-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-048-ref.html new file mode 100644 index 0000000000..12ed0a1f52 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-048-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: vertical-rl, float left, circle(50% at left 40px top 40px) reference + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-049-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-049-ref.html new file mode 100644 index 0000000000..8da6325564 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-049-ref.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: vertical-rl, float right, circle(50% at left 40px bottom 40px) reference + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-050-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-050-ref.html new file mode 100644 index 0000000000..0991b5961f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-050-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: vertical-lr, float left, circle(50% at right 40px top 40px) reference + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-051-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-051-ref.html new file mode 100644 index 0000000000..5178b55964 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-051-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: vertical-lr, float right, circle(50% at right 40px bottom 40px) reference + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-052-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-052-ref.html new file mode 100644 index 0000000000..12376fbc7a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-052-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: sideways-lr, float left, circle(50% at right 40px bottom 40px) reference + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-053-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-053-ref.html new file mode 100644 index 0000000000..281bd8834e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-053-ref.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: sideways-lr, float right, circle(50% at right 40px top 40px) reference + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-054-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-054-ref.html new file mode 100644 index 0000000000..4f1cdae15f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-054-ref.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: horizontal-tb, float left, circle(50% at left 40px bottom 40px) reference + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-055-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-055-ref.html new file mode 100644 index 0000000000..97fc1e9fc8 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-055-ref.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: horizontal-tb, float right, circle(50% at right 40px bottom 40px) reference + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-056-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-056-ref.html new file mode 100644 index 0000000000..519d33864d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/reference/shape-outside-circle-056-ref.html @@ -0,0 +1,39 @@ + + + + CSS Reference File + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-013.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-013.html new file mode 100644 index 0000000000..e15f053de9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-013.html @@ -0,0 +1,71 @@ + + + + CSS Test: left float, circle + margin-box + position (px) + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-014.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-014.html new file mode 100644 index 0000000000..e4e3372e31 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-014.html @@ -0,0 +1,71 @@ + + + + CSS Test: left float, circle + content-box + radius and position in % units + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-015.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-015.html new file mode 100644 index 0000000000..b6d93677c4 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-015.html @@ -0,0 +1,72 @@ + + + + CSS Test: left float, circle + closest-side + padding-box + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-016.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-016.html new file mode 100644 index 0000000000..28dfca6699 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-016.html @@ -0,0 +1,72 @@ + + + + CSS Test: left float, circle + farthest-side + border-box + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-017.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-017.html new file mode 100644 index 0000000000..48b0d18015 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-017.html @@ -0,0 +1,71 @@ + + + + CSS Test: left float, circle + shape-margin in px + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-018.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-018.html new file mode 100644 index 0000000000..cfbab52e8d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-018.html @@ -0,0 +1,71 @@ + + + + CSS Test: left float, circle + shape-margin in % units + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-019.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-019.html new file mode 100644 index 0000000000..024273b701 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-019.html @@ -0,0 +1,73 @@ + + + + CSS Test: left float, circle at top left + margin-box + shape-margin + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-020.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-020.html new file mode 100644 index 0000000000..060501fdf9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-020.html @@ -0,0 +1,73 @@ + + + + CSS Test: left float, circle at % + border-box + shape-margin + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-021.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-021.html new file mode 100644 index 0000000000..fa6a5f8a7f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-021.html @@ -0,0 +1,74 @@ + + + + CSS Test: left float, circle + farthest-side + padding-box + shape-margin + + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-022.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-022.html new file mode 100644 index 0000000000..fb0e14bf9f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-022.html @@ -0,0 +1,73 @@ + + + + CSS Test: left float, circle at bottom right + content-box + shape-margin + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-024.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-024.html new file mode 100644 index 0000000000..97763adf01 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-024.html @@ -0,0 +1,74 @@ + + + + CSS Test: right float, circle radius in % units + shape-margin + border-box + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-025.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-025.html new file mode 100644 index 0000000000..233ea98210 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-025.html @@ -0,0 +1,73 @@ + + + + CSS Test: right float, circle + shape-margin + padding-box + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-026.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-026.html new file mode 100644 index 0000000000..600150b251 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-026.html @@ -0,0 +1,73 @@ + + + + CSS Test: right float, circle + shape-margin + content-box + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-027.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-027.html new file mode 100644 index 0000000000..ecfb9b7f34 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-027.html @@ -0,0 +1,74 @@ + + + + CSS Test: right float, circle with radius in % units + shape-margin + margin-box + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-028.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-028.html new file mode 100644 index 0000000000..673d084c8d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-028.html @@ -0,0 +1,75 @@ + + + + CSS Test: right float, circle(closest-side) at position % + shape-margin + border-box + + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-029.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-029.html new file mode 100644 index 0000000000..229ee76a12 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-029.html @@ -0,0 +1,74 @@ + + + + CSS Test: right float, circle at center right + shape-margin + padding-box + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-030.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-030.html new file mode 100644 index 0000000000..e9085aefac --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-030.html @@ -0,0 +1,60 @@ + + + + CSS Test: left float, circle radius in px units + + + + + + + + + + +

The test passes if all of the squares are green. There should be no red.

+
+ X
+
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+ X +
+ + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-031.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-031.html new file mode 100644 index 0000000000..340fef6400 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-031.html @@ -0,0 +1,60 @@ + + + + CSS Test: left float, circle radius in % units + + + + + + + + + + +

The test passes if all of the squares are green. There should be no red.

+
+ X
+
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+ X +
+ + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-032.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-032.html new file mode 100644 index 0000000000..74e6fff2e5 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-032.html @@ -0,0 +1,53 @@ + + + + + + CSS Shape Test: float left, circle(50% at left top) + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-033.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-033.html new file mode 100644 index 0000000000..5e02e1674f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-033.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: float left, circle(50% at right bottom) + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-034.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-034.html new file mode 100644 index 0000000000..60fac07dd5 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-034.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: float right, circle(50% at right top) + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-035.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-035.html new file mode 100644 index 0000000000..ed9229416b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-035.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: float right, circle(50% at left bottom) + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-036.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-036.html new file mode 100644 index 0000000000..62e334079d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-036.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: float left, circle() + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-037.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-037.html new file mode 100644 index 0000000000..53d8a5a779 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-037.html @@ -0,0 +1,48 @@ + + + + + + CSS Shape Test: float left, circle(closest-side at center) border-box + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-038.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-038.html new file mode 100644 index 0000000000..0c4adbf5e6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-038.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: float left, circle(farthest-side at center) + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-041.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-041.html new file mode 100644 index 0000000000..faeb4cd3c0 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-041.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: float left, circle(100%) + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-042.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-042.html new file mode 100644 index 0000000000..4c0625acf6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-042.html @@ -0,0 +1,48 @@ + + + + + + CSS Shape Test: float right, circle() + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-043.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-043.html new file mode 100644 index 0000000000..06960c092c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-043.html @@ -0,0 +1,49 @@ + + + + + + CSS Shape Test: float right, circle(closest-side at center) border-box + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-044.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-044.html new file mode 100644 index 0000000000..918c178cb0 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-044.html @@ -0,0 +1,48 @@ + + + + + + CSS Shape Test: float right, circle(farthest-side at center) + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-047.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-047.html new file mode 100644 index 0000000000..8dbc475804 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-047.html @@ -0,0 +1,48 @@ + + + + + + CSS Shape Test: float right, circle(100%) + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-048.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-048.html new file mode 100644 index 0000000000..38f5dd395c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-048.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: vertical-rl, float left, circle(50% at left 40px top 40px) + + + + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-049.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-049.html new file mode 100644 index 0000000000..d9c5c9ff85 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-049.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: vertical-rl, float right, circle(50% at left 40px bottom 40px) + + + + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-050.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-050.html new file mode 100644 index 0000000000..22e85d5492 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-050.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: vertical-lr, float left, circle(50% at right 40px top 40px) + + + + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-051.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-051.html new file mode 100644 index 0000000000..ebb46d5a26 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-051.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: vertical-lr, float right, circle(50% at right 40px bottom 40px) + + + + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-052.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-052.html new file mode 100644 index 0000000000..d8c462a563 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-052.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: sideways-lr, float left, circle(50% at right 40px bottom 40px) + + + + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-053.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-053.html new file mode 100644 index 0000000000..4ee2f880fa --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-053.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: sideways-lr, float right, circle(50% at right 40px top 40px) + + + + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-054.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-054.html new file mode 100644 index 0000000000..5894a800ee --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-054.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: horizontal-tb, float left, circle(50% at left 40px bottom 40px) + + + + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-055.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-055.html new file mode 100644 index 0000000000..6e159ecd2d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-055.html @@ -0,0 +1,56 @@ + + + + + + CSS Shape Test: horizontal-tb, float right, circle(50% at right 40px bottom 40px) + + + + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-056.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-056.html new file mode 100644 index 0000000000..f708d1f628 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-056.html @@ -0,0 +1,83 @@ + + + + CSS Test: left float, offset circle at top left + margin-box + shape-margin + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-integer-overflow-crash.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-integer-overflow-crash.html new file mode 100644 index 0000000000..890bb38fc9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-integer-overflow-crash.html @@ -0,0 +1,17 @@ + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-013-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-013-ref.html new file mode 100644 index 0000000000..f4f21058a6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-013-ref.html @@ -0,0 +1,39 @@ + + + + CSS Reference File + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-021-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-021-ref.html new file mode 100644 index 0000000000..835f29265f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-021-ref.html @@ -0,0 +1,39 @@ + + + + CSS Reference File + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-030-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-030-ref.html new file mode 100644 index 0000000000..875252ac87 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-030-ref.html @@ -0,0 +1,66 @@ + + + + CSS Reference File + + + + + +

The test passes if all of the squares are green. There should be no red.

+
+ X
+
+ + X
+ X
+ X
+ X
+ X +
+ + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-032-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-032-ref.html new file mode 100644 index 0000000000..41399373d8 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-032-ref.html @@ -0,0 +1,49 @@ + + + + + + CSS Shape Test: float left, ellipse(40px 60px at left top) + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-033-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-033-ref.html new file mode 100644 index 0000000000..6ed9f09562 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-033-ref.html @@ -0,0 +1,52 @@ + + + + + + CSS Shape Test: float left, ellipse(40px 60px at right bottom) + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-034-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-034-ref.html new file mode 100644 index 0000000000..c981e07108 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-034-ref.html @@ -0,0 +1,49 @@ + + + + + + CSS Shape Test: float right, ellipse(40px 60px at right top) + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-035-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-035-ref.html new file mode 100644 index 0000000000..c9d4bbb6b5 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-035-ref.html @@ -0,0 +1,53 @@ + + + + + + CSS Shape Test: float left, ellipse(40px 60px at left bottom) + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-036-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-036-ref.html new file mode 100644 index 0000000000..ddbb79eaa2 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-036-ref.html @@ -0,0 +1,44 @@ + + + + + + CSS Shape Test: float left, ellipse() reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-037-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-037-ref.html new file mode 100644 index 0000000000..6dbe9ec777 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-037-ref.html @@ -0,0 +1,44 @@ + + + + + + CSS Shape Test: float left, ellipse(closest-side farthest-side at left 40px top 60px) border-box reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-038-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-038-ref.html new file mode 100644 index 0000000000..851d16ffab --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-038-ref.html @@ -0,0 +1,45 @@ + + + + + + CSS Shape Test: float right, ellipse() reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-039-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-039-ref.html new file mode 100644 index 0000000000..b7d4e5d975 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-039-ref.html @@ -0,0 +1,44 @@ + + + + + + CSS Shape Test: float right, ellipse(closest-side farthest-side at right 40px top 60px) border-box reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-040-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-040-ref.html new file mode 100644 index 0000000000..c39885e056 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-040-ref.html @@ -0,0 +1,44 @@ + + + + + + CSS Shape Test: float left, ellipse(0% 0%) reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-042-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-042-ref.html new file mode 100644 index 0000000000..26c36948a7 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-042-ref.html @@ -0,0 +1,45 @@ + + + + + + CSS Shape Test: float right, ellipse(0% 0%) reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-044-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-044-ref.html new file mode 100644 index 0000000000..5fd0f7141c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-044-ref.html @@ -0,0 +1,44 @@ + + + + + + CSS Shape Test: float left, ellipse(100% 100%) reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-045-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-045-ref.html new file mode 100644 index 0000000000..c33c34d3cc --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-045-ref.html @@ -0,0 +1,45 @@ + + + + + + CSS Shape Test: float right, ellipse(100% 100%) reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-046-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-046-ref.html new file mode 100644 index 0000000000..ec88f678a9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-046-ref.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: vertical-rl, float left, ellipse(farthest-side closest-side at top 40px right 60px) border-box reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-047-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-047-ref.html new file mode 100644 index 0000000000..cf340ee39d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-047-ref.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: vertical-rl, float right, ellipse(farthest-side closest-side at top 40px right 60px) border-box reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-048-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-048-ref.html new file mode 100644 index 0000000000..9e73dd550b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-048-ref.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: vertical-lr, float left, ellipse(farthest-side closest-side at top 40px left 60px) border-box reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-049-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-049-ref.html new file mode 100644 index 0000000000..e021c6d688 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-049-ref.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: vertical-lr, float right, ellipse(farthest-side closest-side at top 40px left 60px) border-box reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-050-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-050-ref.html new file mode 100644 index 0000000000..aab9ddde03 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-050-ref.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: sideways-lr, float left, ellipse(farthest-side closest-side at top 40px left 60px) border-box reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-051-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-051-ref.html new file mode 100644 index 0000000000..7e0ef64635 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-051-ref.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: sideways-lr, float right, ellipse(farthest-side closest-side at top 40px left 60px) border-box reference + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-052-ref.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-052-ref.html new file mode 100644 index 0000000000..519d33864d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-052-ref.html @@ -0,0 +1,39 @@ + + + + CSS Reference File + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-013.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-013.html new file mode 100644 index 0000000000..8a1ce105d3 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-013.html @@ -0,0 +1,68 @@ + + + + CSS Test: left float, ellipse radii and position in px + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-014.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-014.html new file mode 100644 index 0000000000..098423a3eb --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-014.html @@ -0,0 +1,71 @@ + + + + CSS Test: left float, ellipse radii and position in % units + content-box + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html new file mode 100644 index 0000000000..965b064a3c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html @@ -0,0 +1,73 @@ + + + + CSS Test: left float, ellipse + closest-side + padding-box + + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-016.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-016.html new file mode 100644 index 0000000000..eb3b093dca --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-016.html @@ -0,0 +1,71 @@ + + + + CSS Test: left float, ellipse radii in % units + padding-box + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html new file mode 100644 index 0000000000..37539192e9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html @@ -0,0 +1,75 @@ + + + + CSS Test: left float, ellipse(farthest-side) + shape-margin + content-box + + + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-018.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-018.html new file mode 100644 index 0000000000..91c8883934 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-018.html @@ -0,0 +1,71 @@ + + + + CSS Test: left float, ellipse + shape-margin in % units + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-019.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-019.html new file mode 100644 index 0000000000..64983c3a97 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-019.html @@ -0,0 +1,74 @@ + + + + CSS Test: left float, ellipse radii in % units + padding-box + shape-margin + + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-020.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-020.html new file mode 100644 index 0000000000..be77835dd9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-020.html @@ -0,0 +1,73 @@ + + + + CSS Test: left float, ellipse radii in % units + margin-box + shape-margin + + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-021.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-021.html new file mode 100644 index 0000000000..3f0179cf8a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-021.html @@ -0,0 +1,75 @@ + + + + CSS Test: right float, ellipse (closest-side px) + shape-margin + padding box + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-022.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-022.html new file mode 100644 index 0000000000..8fd70e4e5f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-022.html @@ -0,0 +1,74 @@ + + + + CSS Test: right float, ellipse(closest-side px) + shape-margin + content-box + + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-023.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-023.html new file mode 100644 index 0000000000..0210eaccdc --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-023.html @@ -0,0 +1,74 @@ + + + + CSS Test: right float, ellipse + shape-margin + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-024.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-024.html new file mode 100644 index 0000000000..3ec930dbd6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-024.html @@ -0,0 +1,74 @@ + + + + CSS Test: right float, ellipse at position (%) + shape-margin (%) + border-box + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-025.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-025.html new file mode 100644 index 0000000000..81878a5f31 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-025.html @@ -0,0 +1,75 @@ + + + + CSS Test: right float, ellipse radii in % at center right + shape-margin + padding-box + + + + + + + + + + + + +

The test passes if there is a green square to the left of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-030.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-030.html new file mode 100644 index 0000000000..50b213b95e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-030.html @@ -0,0 +1,56 @@ + + + + CSS Test: left float, ellipse radii in px + + + + + + + + + + +

The test passes if all of the squares are green. There should be no red.

+
+ X
+
+ X
+ X
+ X
+ X
+ X +
+ + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-031.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-031.html new file mode 100644 index 0000000000..195ab52e6e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-031.html @@ -0,0 +1,56 @@ + + + + CSS Test: left float, ellipse radii in % units + + + + + + + + + + +

The test passes if all of the squares are green. There should be no red.

+
+ X
+
+ X
+ X
+ X
+ X
+ X +
+ + + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-032.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-032.html new file mode 100644 index 0000000000..22f4a87052 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-032.html @@ -0,0 +1,51 @@ + + + + + + CSS Shape Test: float left, ellipse(40px 60px at left top) + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-033.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-033.html new file mode 100644 index 0000000000..50b2f44487 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-033.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: float left, ellipse(40px 60px at right bottom) + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-034.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-034.html new file mode 100644 index 0000000000..bedebc9ca3 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-034.html @@ -0,0 +1,52 @@ + + + + + + CSS Shape Test: float right, ellipse(40px 60px at right top) + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-035.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-035.html new file mode 100644 index 0000000000..ac56061455 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-035.html @@ -0,0 +1,55 @@ + + + + + + CSS Shape Test: float right, ellipse(40px 60px at left bottom) + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-036.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-036.html new file mode 100644 index 0000000000..11d0b39f74 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-036.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float left, ellipse() + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-037.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-037.html new file mode 100644 index 0000000000..6cb2fb2b6b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-037.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float left, ellipse(closest-side farthest-side at left 40px top 60px) border-box + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-038.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-038.html new file mode 100644 index 0000000000..40d43c7e06 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-038.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: float right, ellipse() + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-039.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-039.html new file mode 100644 index 0000000000..852631b3e2 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-039.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: float right, ellipse(closest-side farthest-side at right 40px top 60px) border-box + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-040.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-040.html new file mode 100644 index 0000000000..f650fa1eb4 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-040.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float left, ellipse(0% 0%) + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-041.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-041.html new file mode 100644 index 0000000000..8929a7eb26 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-041.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float left, ellipse(closest-side closest-side at top left) + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-042.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-042.html new file mode 100644 index 0000000000..e534eb2c77 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-042.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: float right, ellipse(0% 0%) + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-043.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-043.html new file mode 100644 index 0000000000..ede60f8585 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-043.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: float right, ellipse(closest-side closest-side at top right) + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-044.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-044.html new file mode 100644 index 0000000000..2d93a65d70 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-044.html @@ -0,0 +1,46 @@ + + + + + + CSS Shape Test: float left, ellipse(100% 100%) + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-045.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-045.html new file mode 100644 index 0000000000..99b5faf7f7 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-045.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: float right, ellipse(100% 100%) + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-046.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-046.html new file mode 100644 index 0000000000..f8ff1ae641 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-046.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: vertical-rl, float left, ellipse(closest-side farthest-side at top 40px right 60px) border-box + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-047.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-047.html new file mode 100644 index 0000000000..3a019cf68d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-047.html @@ -0,0 +1,48 @@ + + + + + + CSS Shape Test: vertical-rl, float right, ellipse(closest-side farthest-side at top 40px right 60px) border-box + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-048.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-048.html new file mode 100644 index 0000000000..5a6cc90e25 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-048.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: vertical-lr, float left, ellipse(closest-side farthest-side at top 40px left 60px) border-box + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-049.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-049.html new file mode 100644 index 0000000000..bdb98d9c8e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-049.html @@ -0,0 +1,48 @@ + + + + + + CSS Shape Test: vertical-lr, float right, ellipse(closest-side farthest-side at top 40px left 60px) border-box + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-050.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-050.html new file mode 100644 index 0000000000..18890072a7 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-050.html @@ -0,0 +1,47 @@ + + + + + + CSS Shape Test: sideways-lr, float left, ellipse(closest-side farthest-side at top 40px left 60px) border-box + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-051.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-051.html new file mode 100644 index 0000000000..764406a0bb --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-051.html @@ -0,0 +1,48 @@ + + + + + + CSS Shape Test: sideways-lr, float right, ellipse(closest-side farthest-side at top 40px left 60px) border-box + + + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-052.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-052.html new file mode 100644 index 0000000000..25f89533de --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-052.html @@ -0,0 +1,81 @@ + + + + CSS Test: left float, offset ellipse + shape-margin in % units + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-integer-overflow-crash.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-integer-overflow-crash.html new file mode 100644 index 0000000000..bd892c2cf4 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-integer-overflow-crash.html @@ -0,0 +1,13 @@ + + + + + + +
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-017.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-017.html new file mode 100644 index 0000000000..0d1f9d398e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-017.html @@ -0,0 +1,83 @@ + + + + CSS Test: right float, polygon + shape-margin beyond margin box + + + + + + + + + + + + +

The test passes if there there are two green squares between the blue lines. There should be no red.

+
+
+
+ X +
+
+ X +
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-018.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-018.html new file mode 100644 index 0000000000..832f9606ce --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-018.html @@ -0,0 +1,53 @@ + + + + + + CSS Shape Test: horizontal-tb, float left, polygon(60px 20px, 100px 60px, 20px 60px, 60px 100px) border-box + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-019.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-019.html new file mode 100644 index 0000000000..62e2f0ad91 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-019.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: horizontal-tb, float right, polygon(60px 20px, 100px 60px, 20px 60px, 60px 100px) border-box + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-020.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-020.html new file mode 100644 index 0000000000..4c5ef55391 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-020.html @@ -0,0 +1,53 @@ + + + + + + CSS Shape Test: vertical-rl, float left, polygon(60px 20px, 100px 60px, 20px 60px, 60px 100px) border-box + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-021.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-021.html new file mode 100644 index 0000000000..321214b159 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-021.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: vertical-rl, float right, polygon(60px 20px, 100px 60px, 20px 60px, 60px 100px) border-box + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-022.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-022.html new file mode 100644 index 0000000000..896e74bf82 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-022.html @@ -0,0 +1,53 @@ + + + + + + CSS Shape Test: vertical-lr, float left, polygon(60px 20px, 100px 60px, 20px 60px, 60px 100px) border-box + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-023.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-023.html new file mode 100644 index 0000000000..56f1481105 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-023.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: vertical-lr, float right, polygon(60px 20px, 100px 60px, 20px 60px, 60px 100px) border-box + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-024.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-024.html new file mode 100644 index 0000000000..9e794492fe --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-024.html @@ -0,0 +1,53 @@ + + + + + + CSS Shape Test: sideways-lr, float left, polygon(60px 20px, 100px 60px, 20px 60px, 60px 100px) border-box + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-025.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-025.html new file mode 100644 index 0000000000..5e158f925a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-025.html @@ -0,0 +1,54 @@ + + + + + + CSS Shape Test: sideways-lr, float right, polygon(60px 20px, 100px 60px, 20px 60px, 60px 100px) border-box + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-032.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-032.html new file mode 100644 index 0000000000..fc1e2edac6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-032.html @@ -0,0 +1,91 @@ + + + + CSS Test: right float, offset polygon + margin-box + shape-margin + + + + + + + + + + + + +

The test passes if there is green square and no red.

+
+
+
+ XXXXXXXXXXXX XXX XXX XXX XXX XXXXXXX XXXXXX XXXXXX XXXXXX XXXXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXX +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-crash.html b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-crash.html new file mode 100644 index 0000000000..de10bf8b74 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-crash.html @@ -0,0 +1,20 @@ + + + + + +
+x +
+
+ y +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/rounded-rectangle.js b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/rounded-rectangle.js new file mode 100644 index 0000000000..3e624322a4 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/rounded-rectangle.js @@ -0,0 +1,73 @@ +function ellipseXIntercept(yi, rx, ry) +{ + return rx * Math.sqrt(1 - (yi * yi) / (ry * ry)); +} + +function scanConvertRoundedRectangleOutside(r, height, lineHeight, corner) +{ + var intervals = []; + var upperCorner = true; + var lowerCorner = true; + + if (corner == "upper") + lowerCorner = false; + else if (corner == "lower") + upperCorner = false; + + for (var y = 0; y < height; y += lineHeight) { + if (y + lineHeight <= r.y || y >= r.y + r.height) + continue; + + if (upperCorner && (y + lineHeight < r.y + r.ry)) { + // within the upper rounded corner part of the rectangle + var dx = ellipseXIntercept(y + lineHeight - r.y - r.ry, r.rx, r.ry); + intervals.push( { y: y, left: r.x + r.rx - dx, right: r.x + r.width - r.rx + dx} ); + } + else if (lowerCorner && (y > r.y + r.height - r.ry)) { + // within the lower rounded corner part of the rectangle + var dx = ellipseXIntercept(y - (r.y + r.height - r.ry), r.rx, r.ry); + intervals.push( { y: y, left: r.x + r.rx - dx, right: r.x + r.width - r.rx + dx} ); + } + else // within the rectangle's vertical edges + intervals.push( {y: y, left: r.x, right: r.x + r.width} ); + } + + return intervals; +} + +function genLeftRoundedRectFloatShapeOutsideRefTest(args) +{ + var leftRoundedRect = args.roundedRect; + var leftRoundedRectIntervals = scanConvertRoundedRectangleOutside(leftRoundedRect, args.containerHeight, args.lineHeight, args.corner); + var leftFloatDivs = leftRoundedRectIntervals.map(function(interval) { + var width = SubPixelLayout.snapToLayoutUnit(interval.right); + var cls = "left-" + args.floatElementClassSuffix; + return '
'; + }); + document.getElementById("left-" + args.insertElementIdSuffix).insertAdjacentHTML('afterend', leftFloatDivs.join("\n")); + return leftFloatDivs; +} + +function getRoundedRectLeftEdge(args) +{ + var leftRoundedRect = args.roundedRect; + var leftRoundedRectIntervals = scanConvertRoundedRectangleOutside(leftRoundedRect, args.containerHeight, args.lineHeight, args.corner); + var leftSidePoints = leftRoundedRectIntervals.map(function(interval) { + var width = SubPixelLayout.snapToLayoutUnit(interval.right); + return width; + }); + return leftSidePoints; +} + +function genRightRoundedRectFloatShapeOutsideRefTest(args) +{ + var rightRoundedRect = Object.create(args.roundedRect); + rightRoundedRect.x = args.containerWidth - args.roundedRect.width; + var rightRoundedRectIntervals = scanConvertRoundedRectangleOutside(rightRoundedRect, args.containerHeight, args.lineHeight, args.corner); + var rightFloatDivs = rightRoundedRectIntervals.map(function(interval) { + var width = args.containerWidth - SubPixelLayout.snapToLayoutUnit(interval.left); + var cls = "right-" + args.floatElementClassSuffix; + return '
'; + }); + document.getElementById("right-" + args.insertElementIdSuffix).insertAdjacentHTML('afterend', rightFloatDivs.join("\n")); +} diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/subpixel-utils.js b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/subpixel-utils.js new file mode 100644 index 0000000000..50bf0989f1 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/subpixel-utils.js @@ -0,0 +1,26 @@ +var SubPixelLayout = (function() { + var enabled = undefined; + + function isEnabled() + { + if (enabled === undefined) { + var elem = document.createElement('div'); + elem.style.setProperty('width', '4.5px'); + document.body.appendChild(elem); + var bounds = elem.getBoundingClientRect(); + enabled = (bounds.width != Math.floor(bounds.width)); + document.body.removeChild(elem); + } + return enabled; + } + + return { + isEnabled: isEnabled, + snapToLayoutUnit: function(f) { + return isEnabled() ? Math.floor(f * 64) / 64 : Math.floor(f); // as in LayoutUnit(f).toFloat() + }, + ceilSnapToLayoutUnit: function(f) { + return isEnabled() ? Math.ceil(f * 64) / 64 : Math.ceil(f); // see ceiledLayoutUnit(), LayoutUnit.h + } + } +}()); \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/test-utils.js b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/test-utils.js new file mode 100644 index 0000000000..906fe65608 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/support/test-utils.js @@ -0,0 +1,27 @@ +function verifyTextPoints(shape, numLines, tolerance, side) { + var passed = true; + if (tolerance === undefined) + tolerance = 0.5; + if (side === undefined) + side = "left"; + + if (side === "right") + shape.roundedRect.x = shape.containerWidth - (shape.roundedRect.x + shape.roundedRect.width); + + var expected = getRoundedRectLeftEdge(shape); + + for(var i = 0; i < numLines; i++) { + var line = document.getElementById('test'+i); + var actual = line.getBoundingClientRect().left; + if (side === "right") + actual = shape.containerWidth - (actual + line.getBoundingClientRect().width); + + if( Math.abs( (actual - expected[i])) > tolerance ){ + line.style.setProperty('color', 'red'); + console.log('diff: ' + Math.abs(actual - expected[i])); + passed = false; + } + } + + return passed; +} diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-000.html new file mode 100644 index 0000000000..e7a84d60a5 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-000.html @@ -0,0 +1,52 @@ + + + + Shape Image Threshold - Valid values + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-001.html new file mode 100644 index 0000000000..0fc8c7c43a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-001.html @@ -0,0 +1,41 @@ + + + + Shape Image Threshold - calc() values + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-002.html new file mode 100644 index 0000000000..f992e429f0 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-002.html @@ -0,0 +1,30 @@ + + + + Shape Image Threshold - Invalid values + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-003.html new file mode 100644 index 0000000000..135ce5d028 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-image-threshold-003.html @@ -0,0 +1,57 @@ + + + + Shape Image Threshold Inherit + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-000.html new file mode 100644 index 0000000000..d6ae34976f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-000.html @@ -0,0 +1,36 @@ + + + + Shape Margin Valid Values - Length or Percentage + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-001.html new file mode 100644 index 0000000000..205241bbfd --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-001.html @@ -0,0 +1,43 @@ + + + + Shape Margin Valid Values - Length Units + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-002.html new file mode 100644 index 0000000000..18532ca173 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-002.html @@ -0,0 +1,46 @@ + + + + Shape Margin Valid Values - Decimal, Positive/Negative lengths + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-003.html new file mode 100644 index 0000000000..8c3336e27e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-003.html @@ -0,0 +1,34 @@ + + + + Shape Margin Valid Values - calc() values + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-004.html new file mode 100644 index 0000000000..f87adb4b33 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-004.html @@ -0,0 +1,30 @@ + + + + Shape Margin Invalid Values + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-005.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-005.html new file mode 100644 index 0000000000..d39111115c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-margin-005.html @@ -0,0 +1,59 @@ + + + + Shape Margin - inherit + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-box-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-box-000.html new file mode 100644 index 0000000000..f5b2ec7e89 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-box-000.html @@ -0,0 +1,48 @@ + + + + Shape Outside Box Valid Values + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-000.html new file mode 100644 index 0000000000..a13570c1ff --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-000.html @@ -0,0 +1,54 @@ + + + + Shape Outside Circle Valid Formats + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-001.html new file mode 100644 index 0000000000..da0be6904e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-001.html @@ -0,0 +1,24 @@ + + + + Shape Outside Circle Valid Radii + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-002.html new file mode 100644 index 0000000000..3569dd8b81 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-002.html @@ -0,0 +1,31 @@ + + + + Shape Outside Circle Valid Positions + + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-003.html new file mode 100644 index 0000000000..8364e5d39c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-003.html @@ -0,0 +1,29 @@ + + + + Shape Outside Circle Invalid Position Argument Lists + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-004.html new file mode 100644 index 0000000000..c28172c333 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-004.html @@ -0,0 +1,34 @@ + + + + Shape Outside Circle - Position Length Units + + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-005.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-005.html new file mode 100644 index 0000000000..55a7f07acf --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-005.html @@ -0,0 +1,31 @@ + + + + Shape Outside Circle Valid Radii - length units + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-006.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-006.html new file mode 100644 index 0000000000..2fe988d626 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-006.html @@ -0,0 +1,75 @@ + + + + Shape Outside Circle Radii - positive/negative, decimal/non-decimal + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-007.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-007.html new file mode 100644 index 0000000000..b3f8fadaa2 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-007.html @@ -0,0 +1,42 @@ + + + + Shape Outside Circle Radii - invalid args + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-008.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-008.html new file mode 100644 index 0000000000..64aa9c3599 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-008.html @@ -0,0 +1,50 @@ + + + + Shape Outside Circle Invalid Position Argument Values + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-009.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-009.html new file mode 100644 index 0000000000..1aebc3cf09 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-009.html @@ -0,0 +1,124 @@ + + + + Shape Outside Circle Position Arguments - positive/negative, decimal/non-decimal + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-010.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-010.html new file mode 100644 index 0000000000..6d6c11a707 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-010.html @@ -0,0 +1,35 @@ + + + + Shape Outside Circle args - calc() values + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-011.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-011.html new file mode 100644 index 0000000000..cca245e411 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-circle-011.html @@ -0,0 +1,38 @@ + + + + Shape Outside Circle position args - calc() values + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-computed-shape-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-computed-shape-000.html new file mode 100644 index 0000000000..26cae2e806 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-computed-shape-000.html @@ -0,0 +1,57 @@ + + + + Shape Outside Basic Shape Computed Font Relative Lengths + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-computed-shape-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-computed-shape-001.html new file mode 100644 index 0000000000..97d16b9dbd --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-computed-shape-001.html @@ -0,0 +1,47 @@ + + + + Shape Outside Basic Shape Computed Percentage Lengths + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-000.html new file mode 100644 index 0000000000..532f794448 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-000.html @@ -0,0 +1,52 @@ + + + + Shape Outside Ellipse Valid Formats + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-001.html new file mode 100644 index 0000000000..dfefbbb5c5 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-001.html @@ -0,0 +1,24 @@ + + + + Shape Outside Ellipse Valid Radii + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-002.html new file mode 100644 index 0000000000..07e1859e6d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-002.html @@ -0,0 +1,31 @@ + + + + Shape Outside Ellipse Valid Positions + + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-003.html new file mode 100644 index 0000000000..c39e683510 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-003.html @@ -0,0 +1,29 @@ + + + + Shape Outside Ellipse Invalid Position Argument Lists + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-004.html new file mode 100644 index 0000000000..9456bec3d8 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-004.html @@ -0,0 +1,34 @@ + + + + Shape Outside Ellipse - Position Length Units + + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-005.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-005.html new file mode 100644 index 0000000000..5c90827d2d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-005.html @@ -0,0 +1,32 @@ + + + + Shape Outside Ellipse Valid Radii - length units + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-006.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-006.html new file mode 100644 index 0000000000..4bd75a445a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-006.html @@ -0,0 +1,96 @@ + + + + Shape Outside Ellipse Radii - positive/negative, decimal/non-decimal + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-007.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-007.html new file mode 100644 index 0000000000..e18e32e7c6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-007.html @@ -0,0 +1,44 @@ + + + + Shape Outside Ellipse Radii - invalid args + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-008.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-008.html new file mode 100644 index 0000000000..35f454bd21 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-008.html @@ -0,0 +1,50 @@ + + + + Shape Outside Ellipse Invalid Position Argument Values + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-009.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-009.html new file mode 100644 index 0000000000..36db61825b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-009.html @@ -0,0 +1,124 @@ + + + + Shape Outside Ellipse Position Arguments - positive/negative, decimal/non-decimal + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-010.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-010.html new file mode 100644 index 0000000000..07cd1e593b --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-010.html @@ -0,0 +1,54 @@ + + + + Shape Outside Ellipse args - calc() values + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-011.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-011.html new file mode 100644 index 0000000000..acbbf2474f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-ellipse-011.html @@ -0,0 +1,52 @@ + + + + Shape Outside Ellipse position args - calc() values + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-000.html new file mode 100644 index 0000000000..bb6d8ea278 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-000.html @@ -0,0 +1,76 @@ + + + + Shape Outside Inset Valid Formats + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-001.html new file mode 100644 index 0000000000..c3b274d974 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-001.html @@ -0,0 +1,26 @@ + + + + Shape Outside Inset Valid Insets + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-0010.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-0010.html new file mode 100644 index 0000000000..b82abea82a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-0010.html @@ -0,0 +1,20 @@ + + + + + +

Test passes if there is a filled green square.

+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-002.html new file mode 100644 index 0000000000..295db30617 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-002.html @@ -0,0 +1,32 @@ + + + + Shape Outside Inset Valid Rounds + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-003.html new file mode 100644 index 0000000000..abb9972d05 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-003.html @@ -0,0 +1,36 @@ + + + + Shape Outside Inset Valid Round Length Units + + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-004.html new file mode 100644 index 0000000000..08c83c55fa --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-004.html @@ -0,0 +1,59 @@ + + + + Shape Outside Inset - positive/negative, decimal/non-decimal args + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-005.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-005.html new file mode 100644 index 0000000000..ac38b0d9d2 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-005.html @@ -0,0 +1,42 @@ + + + + Shape Outside Inset - Invalid args + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-006.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-006.html new file mode 100644 index 0000000000..3a8f8aaf21 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-006.html @@ -0,0 +1,82 @@ + + + + Shape Outside Inset Radial Args - positive/negative, decimal/non-decimal + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-007.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-007.html new file mode 100644 index 0000000000..83655bf001 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-007.html @@ -0,0 +1,48 @@ + + + + Shape Outside Inset Radial Args - Invalid + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-008.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-008.html new file mode 100644 index 0000000000..c53949d1e8 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-008.html @@ -0,0 +1,46 @@ + + + + Shape Outside Inset Args - calc() values + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-009.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-009.html new file mode 100644 index 0000000000..a826a8700e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-inset-009.html @@ -0,0 +1,56 @@ + + + + Shape Outside Inset round args - calc() values + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-000.html new file mode 100644 index 0000000000..d4e9ca30fc --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-000.html @@ -0,0 +1,52 @@ + + + + Shape Outside Polygon Valid Formats + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-001.html new file mode 100644 index 0000000000..242d56187a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-001.html @@ -0,0 +1,40 @@ + + + + Shape Outside Polygon Valid Fill-Rules + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-002.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-002.html new file mode 100644 index 0000000000..cb78c28a56 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-002.html @@ -0,0 +1,46 @@ + + + + Shape Outside Polygon Valid Points + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-003.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-003.html new file mode 100644 index 0000000000..a9344bda0d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-003.html @@ -0,0 +1,42 @@ + + + + Shape Outside Polygon Invalid Points + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-004.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-004.html new file mode 100644 index 0000000000..5edde7dfad --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-004.html @@ -0,0 +1,46 @@ + + + + Shape Outside Polygon - Argument Length Units + + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-005.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-005.html new file mode 100644 index 0000000000..cde27d5d32 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-005.html @@ -0,0 +1,58 @@ + + + + Shape Outside Polygon Valid Points + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-006.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-006.html new file mode 100644 index 0000000000..9912f39bb9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-polygon-006.html @@ -0,0 +1,52 @@ + + + + Shape Outside Polygon args - calc() values + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-arguments-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-arguments-000.html new file mode 100644 index 0000000000..2c2c959c8c --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-arguments-000.html @@ -0,0 +1,72 @@ + + + + Shape Outside Basic Shape Arguments + + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-arguments-001.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-arguments-001.html new file mode 100644 index 0000000000..04fac808c3 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-arguments-001.html @@ -0,0 +1,42 @@ + + + + Shape Outside Shape Number Values + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-box-pair-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-box-pair-000.html new file mode 100644 index 0000000000..1b6e9b2398 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-box-pair-000.html @@ -0,0 +1,68 @@ + + + + Shape Outside Box Shape and Box Valid Values + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-inherit-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-inherit-000.html new file mode 100644 index 0000000000..8929911809 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-inherit-000.html @@ -0,0 +1,35 @@ + + + + Shape Outside Box Inherit Value + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-initial-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-initial-000.html new file mode 100644 index 0000000000..b2ab33542e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-initial-000.html @@ -0,0 +1,27 @@ + + + + Shape Outside Box Initial Value + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-none-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-none-000.html new file mode 100644 index 0000000000..de14375177 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-none-000.html @@ -0,0 +1,27 @@ + + + + Shape Outside - none + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-notation-000.html b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-notation-000.html new file mode 100644 index 0000000000..e2a1f251bc --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/shape-outside-shape-notation-000.html @@ -0,0 +1,40 @@ + + + + Shape Outside Valid Basic Shape Functional Notation + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/shape-outside/values/support/parsing-utils.js b/testing/web-platform/tests/css/css-shapes/shape-outside/values/support/parsing-utils.js new file mode 100644 index 0000000000..b7c637746e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/shape-outside/values/support/parsing-utils.js @@ -0,0 +1,845 @@ +var ParsingUtils = (function() { +function testInlineStyle(value, expected) { + var div = document.createElement('div'); + div.style.setProperty('shape-outside', value); + var actual = div.style.getPropertyValue('shape-outside'); + assert_equals(actual, expected); +} + +function testComputedStyle(value, expected) { + var div = document.createElement('div'); + div.style.setProperty('shape-outside', value); + document.body.appendChild(div); + var style = getComputedStyle(div); + var actual = style.getPropertyValue('shape-outside'); + actual = roundResultStr(actual); + document.body.removeChild(div); + + // Some of the tests in this suite have either/or expected results + // so this check allows for testing that at least one of them passes. + // Description of the 2 expecteds is below near calcTestValues. + if(Object.prototype.toString.call( expected ) === '[object Array]' && expected.length == 2) { + assert_in_array(actual, expected); + } else { + assert_equals(actual, typeof expected !== 'undefined' ? expected : value); + } +} + +function testShapeMarginInlineStyle(value, expected) { + var div = document.createElement('div'); + div.style.setProperty('shape-outside', "border-box inset(10px)"); + div.style.setProperty('shape-margin', value); + var actual = div.style.getPropertyValue('shape-margin'); + actual = roundResultStr(actual); + expected = roundResultStr(expected); + assert_equals(actual, expected); +} + +function testShapeMarginComputedStyle(value, expected) { + + var outerDiv = document.createElement('div'); + outerDiv.style.setProperty('width', '100px'); + + var innerDiv = document.createElement('div'); + innerDiv.style.setProperty('shape-outside', "border-box inset(10px)"); + innerDiv.style.setProperty('shape-margin', value); + + outerDiv.appendChild(innerDiv); + document.body.appendChild(outerDiv); + + var style = getComputedStyle(innerDiv); + var actual = style.getPropertyValue('shape-margin'); + + assert_not_equals(actual, null); + if(actual.indexOf('calc') == -1 ) + actual = roundResultStr(actual); + document.body.removeChild(outerDiv); + + // See comment above about multiple expected results + if(Object.prototype.toString.call( expected ) === '[object Array]' && expected.length == 2) { + assert_in_array(actual, expected); + } else { + assert_equals(actual, !expected ? '0px' : expected); + } +} + +function testShapeThresholdInlineStyle(value, expected) { + var div = document.createElement('div'); + div.style.setProperty('shape-outside', 'url(someimage.png)'); + div.style.setProperty('shape-image-threshold', value); + var actual = div.style.getPropertyValue('shape-image-threshold'); + assert_equals(actual, expected); +} + +function testShapeThresholdComputedStyle(value, expected) { + + var div = document.createElement('div'); + div.style.setProperty('shape-outside', 'url(someimage.png)'); + div.style.setProperty('shape-image-threshold', value); + document.body.appendChild(div); + + var style = getComputedStyle(div); + var actual = style.getPropertyValue('shape-image-threshold'); + + assert_not_equals(actual, null); + if(actual.indexOf('calc') == -1 ) + actual = roundResultStr(actual); + document.body.removeChild(div); + + // See comment above about multiple expected results + if(Object.prototype.toString.call( expected ) === '[object Array]' && expected.length == 2) { + assert_in_array(actual, expected); + } else { + assert_equals(actual, !expected ? '0' : expected); + } +} + +// Builds an array of test cases to send to testharness.js where one test case is: [name, actual, expected] +// These test cases will verify results from testInlineStyle() or testComputedStyle() +function buildTestCases(testCases, testType) { + var results = []; + + // If test_type isn't specified, test inline style + var type = typeof testType == 'undefined' ? 'invalid': testType; + + testCases.forEach(function(test) { + oneTestCase = []; + + // name - annotated by type (inline vs. computed) + if ( test.hasOwnProperty('name') ) { + oneTestCase.push(test['name'] +' - '+ type); + } else { + // If test_name isn't specified, use the actual + oneTestCase.push(test['actual'] +' - '+ type); + } + + // actual + oneTestCase.push(test['actual']) + + // expected + if( type.indexOf('invalid') != -1 ){ + oneTestCase.push("") + } else if( type == 'inline' ) { + oneTestCase.push(test['expected_inline']); + } else if( type == 'computed' ){ + oneTestCase.push( convertToPx(test['expected_computed']) ); + } + results.push(oneTestCase); + }); + return results; +} + + +function buildPositionTests(shape, valid, type, units) { + var results = new Array(); + var convert = type.indexOf('computed') != -1 ? true : false; + + if(Object.prototype.toString.call( units ) === '[object Array]') { + units.forEach(function(unit) { + positionTests = buildPositionTests(shape, valid, type, unit); + results = results.concat(positionTests); + }); + } else { + if (valid) { + validPositions.forEach(function(test) { + var testCase = [], testName, actual, expected; + // skip if this isn't explicitly testing length units + if( !(type.indexOf('lengthUnit') != -1 && test[0].indexOf("u1") == -1)) { + // actual + actual = shape + '(at ' + setUnit(test[0], false, units) +')'; + + // expected + // if(convert && shape == 'circle') + // expected = shape + '(at ' + setUnit(test[1], convert, units) +')'; + // else if(convert && shape == 'ellipse') + // expected = shape + '(at ' + setUnit(test[1], convert, units) +')'; + // else + expected = shape + '(at ' + setUnit(test[1], convert, units) +')'; + + // name + if (type == 'lengthUnit + inline') + testName = 'test unit (inline): ' + units +' - '+ actual; + else if (type == 'lengthUnit + computed') + testName = 'test unit (computed): ' + units +' - '+ actual; + else + testName = (actual + ' serializes as ' + expected +' - '+ type); + + testCase.push(testName) + testCase.push(actual); + testCase.push(expected); + results.push(testCase); + } + }); + } else { + invalidPositions.forEach(function(test) { + var testValue = shape + '(at ' + setUnit(test, false, units) +')'; + testCase = new Array(); + testCase.push(testValue + ' is invalid'); + testCase.push(testValue); + testCase.push(""); + results.push(testCase); + }); + } + } + return unique(results); +} + +function buildRadiiTests(shape, type, units) { + var results = new Array(); + var testUnits = typeof units == 'undefined' ? 'px': units; + var convert = type.indexOf('computed') != -1 ? true : false; + + if(Object.prototype.toString.call( testUnits ) === '[object Array]') { + testUnits.forEach(function(unit) { + radiiTests = buildRadiiTests(shape, type, unit); + results = results.concat(radiiTests); + }); + } else { + var validRadii = shape == 'circle' ? validCircleRadii : validEllipseRadii; + validRadii.forEach(function(test) { + var testCase = [], name, actual, expected; + + // skip if this isn't explicitly testing length units + if( !(type.indexOf('lengthUnit') != -1 && test[0].indexOf("u1") == -1) ) { + actual = shape + '(' + setUnit(test[0], false, testUnits) +')'; + // name + if (type.indexOf('lengthUnit') != -1) { + name = 'test unit: ' + units +' - '+ actual; + if(type.indexOf('computed') != -1) + name = name + ' - computed'; + else + name = name + ' - inline'; + } + else + name = actual +' - '+ type; + + testCase.push(name); + + // actual + testCase.push(actual); + + // expected + if(type.indexOf('computed') != -1 && test.length == 3) { + expected = shape + '(' + setUnit(test[2], convert, testUnits) +')'; + } else { + expected = shape + '(' + setUnit(test[1], convert, testUnits) +')'; + } + testCase.push(expected); + results.push(testCase); + } + }); + } + return unique(results); +} + +function buildInsetTests(unit1, unit2, type) { + var results = new Array(); + var convert = type == 'computed' ? true : false; + + if(Object.prototype.toString.call( unit1 ) === '[object Array]') { + unit1.forEach(function(unit) { + insetTests = buildInsetTests(unit, unit2, type); + results = results.concat(insetTests); + }); + } else { + validInsets.forEach(function(test) { + var testCase = [], name, actual, expected; + + name = setUnit(test[0], false, unit1, unit2) +' - '+ type; + actual = 'inset(' + setUnit(test[1], convert, unit1, unit2) +')'; + expected = actual; + + testCase.push(name); + testCase.push(actual); + testCase.push(expected); + + results.push(testCase); + }); + } + return unique(results); +} + +function buildPolygonTests(unitSet, type) { + var results = new Array(); + var convert = type == 'computed' ? true : false; + + unitSet.forEach(function(set) { + validPolygons.forEach(function(test) { + var testCase = []; + // name + testCase.push(setUnit(test[0], false, set[0], set[1], set[2]) +' - '+ type); + // actual + testCase.push('polygon(' + setUnit(test[1], false, set[0], set[1], set[2]) +')'); + // expected + testCase.push('polygon(' + setUnit(test[1], convert, set[0], set[1], set[2]) +')'); + results.push(testCase); + }); + }); + return unique(results); +} + +function buildCalcTests(testCases, type) { + var results = new Array(); + testCases.forEach(function(test){ + var testCase = []; + if(type == 'computed') { + testCase.push(test[0] + ' - computed style'); + testCase.push(test[0]); + testCase.push(test[2]); + } + else { + testCase.push(test[0] + ' - inline style'); + testCase.push(test[0]); + testCase.push(test[1]); + } + testCase.push(type); + results.push(testCase) + }); + return unique(results); +} + +function unique(tests) { + var list = tests.concat(); + for(var i = 0; i< list.length; ++i) { + for(var j = i+1; j < list.length; ++j) { + if(list[i][0] === list[j][0]) + list.splice(j--, 1); + } + } + return list; +} + +function setUnit(str, convert, unit1, unit2, unit3) { + var retStr = str; + if(typeof unit1 !== 'undefined') { + retStr = retStr.replace(new RegExp('u1', 'g'), unit1); + } + if(typeof unit2 !== 'undefined') { + retStr = retStr.replace(new RegExp("u2", 'g'), unit2); + } + if(typeof unit3 !== 'undefined') { + retStr = retStr.replace(new RegExp("u3", 'g'), unit3); + } + retStr = convert ? convertToPx(retStr) : retStr; + return retStr; +} + +function roundCssNumber(n) { + // See https://drafts.csswg.org/cssom/#serializing-css-values for numbers. + return parseFloat(n.toPrecision(6)); +} + +function convertToPx(origValue) { + + var valuesToConvert = origValue.match(/[0-9]+(\.[0-9]+)?([a-z]{2,4}|%|)/g); + if(!valuesToConvert) + return origValue; + + var retStr = origValue; + for(var i = 0; i < valuesToConvert.length; i++) { + var unit = (valuesToConvert[i].match(/[a-z]{2,4}|%/) || '').toString(); + var numberStr = valuesToConvert[i].match(/[0-9]+(\.[0-9]+)?/)[0]; + + var number = parseFloat(numberStr); + var convertedUnit = 'px'; + if( typeof number !== 'NaN' ) + { + if (unit == 'in') { + number = (96 * number); + } else if (unit == 'cm') { + number = (37.795275591 * number); + } else if (unit == 'mm') { + number = (3.779527559 * number); + } else if (unit == 'pt') { + number = (1.333333333333 * number); + } else if (unit == 'pc') { + number = (16 * number); + } else if (unit == 'em') { + number = (16 * number); + } else if (unit == 'ex') { + number = (12.8 * number); + } else if (unit == 'ch') { + number = (16 * number); + } else if (unit == 'rem') { + number = (16 * number); + } else if (unit == 'vw') { + number = ((.01 * window.innerWidth) * number); + } else if (unit == 'vh') { + number = ((.01 * window.innerHeight) * number); + } else if (unit == 'vmin') { + number = Math.min( (.01 * window.innerWidth), (.01 * window.innerHeight) ) * number; + } else if (unit == 'vmax') { + number = Math.max( (.01 * window.innerWidth), (.01 * window.innerHeight) ) * number; + } + else { + convertedUnit = unit; + } + number = roundCssNumber(number); + var find = valuesToConvert[i]; + var replace = number.toString() + convertedUnit; + retStr = retStr.replace(valuesToConvert[i], number.toString() + convertedUnit); + } + } + return retStr.replace(',,', ','); +} + +function roundResultStr(str) { + if(Object.prototype.toString.call( str ) !== '[object String]') + return str; + + var numbersToRound = str.match(/[0-9]+\.[0-9]+/g); + if(!numbersToRound) + return str; + + var retStr = str; + for(var i = 0; i < numbersToRound.length; i++) { + num = parseFloat(numbersToRound[i]); + if( !isNaN(num) ) { + roundedNum = roundCssNumber(num); + retStr = retStr.replace(numbersToRound[i].toString(), roundedNum.toString()); + } + } + + return retStr; +} + +function generateInsetRoundCases(units, testType) { + var convert = testType.indexOf('computed') != -1 ? true : false; + var testUnit = units; + var sizes = [ + '10' + units, + '20' + units, + '30' + units, + '40' + units + ]; + + function insetRound(value) { + return 'inset(10' +testUnit+ ' round ' + value + ')'; + } + + function serializedInsetRound(lhsValues, rhsValues, convert) { + var retStr = ''; + if(!rhsValues) + retStr = 'inset(10' +testUnit+ ' round ' + lhsValues +')'; + else + retStr = 'inset(10' +testUnit+ ' round ' + lhsValues +' / '+ rhsValues +')'; + + if(convert) + return convertToPx(retStr); + + return retStr; + } + + var results = [], left, lhs, right, rhs; + for (left = 1; left <= 4; left++) { + lhs = sizes.slice(0, left).join(' '); + results.push([insetRound(lhs) +' - '+ testType, insetRound(lhs), serializedInsetRound(lhs, null, convert)]); + for (right = 1; right <= 4; right++) { + rhs = sizes.slice(0, right).join(' '); + if(lhs == rhs) + results.push([insetRound(lhs + ' / ' + rhs) +' - '+ testType, insetRound(lhs + ' / ' + rhs), serializedInsetRound(lhs, null, convert)]); + else + results.push([insetRound(lhs + ' / ' + rhs) +' - '+ testType, insetRound(lhs + ' / ' + rhs), serializedInsetRound(lhs, rhs, convert)]); + } + } + return results; +} + +function each(object, func) { + for (var prop in object) { + if (object.hasOwnProperty(prop)) { + func(prop, object[prop]); + } + } +} + +/// For saving and restoring font properties +var savedFontValues = { }; + +function setupFonts() { + var fontProperties = { + 'font-family': 'Ahem', + 'font-size': '16px', + 'line-height': '1' + }; + savedFontValues = { }; + each(fontProperties, function (key, value) { + savedFontValues[key] = document.body.style.getPropertyValue(key); + document.body.style.setProperty(key, value); + }); +} + +function restoreFonts() { + each(savedFontValues, function (key, value) { + if (value) { + document.body.style.setProperty(key, value); + } + else { + document.body.style.removeProperty(key); + } + }); + savedFontValues = { }; +} + +var validUnits = [ + "cm","mm","in","pt","pc", // Absolute length units (omitting px b/c we default to that in all tests) + "em","ex","ch","rem", // Font relative length units + "vw","vh","vmin","vmax" // Viewport percentage units + ] + +/// [actual, expected] +var validPositions = [ + +/// [ percent ], [ length ], [ percent | percent ], [ percent | length ], [ length | percent ], [ length | length ] + ["50%", "50% 50%"], + ["50u1", "50u1 50%"], + ["50% 50%", "50% 50%"], + ["50% 50u1", "50% 50u1"], + ["50u1 50%", "50u1 50%"], + ["50u1 50u1", "50u1 50u1"], + +///// [ keyword ], [ keyword keyword ] x 5 keywords + ["left", "0% 50%"], + ["top", "50% 0%"], + ["right", "100% 50%"], + ["bottom", "50% 100%"], + ["center", "50% 50%"], + + ["left top", "0% 0%"], + ["left bottom", "0% 100%"], + ["left center", "0% 50%"], + + ["top left", "0% 0%"], + ["top right", "100% 0%"], + ["top center", "50% 0%"], + + ["right top", "100% 0%"], + ["right bottom", "100% 100%"], + ["right center", "100% 50%"], + + ["bottom left", "0% 100%"], + ["bottom right", "100% 100%"], + ["bottom center", "50% 100%"], + + ["center top", "50% 0%"], + ["center left", "0% 50%"], + ["center right", "100% 50%"], + ["center bottom", "50% 100%"], + ["center center", "50% 50%"], + +////// [ keyword | percent ], [ keyword | length ], [ percent | keyword ], [ length | keyword ] x 5 keywords + ["left 50%", "0% 50%"], + ["left 50u1", "0% 50u1"], + + ["50% top", "50% 0%"], + ["50u1 top", "50u1 0%"], + + ["right 80%", "100% 80%"], + ["right 80u1", "100% 80u1"], + + ["70% bottom", "70% 100%"], + ["70u1 bottom", "70u1 100%"], + + ["center 60%", "50% 60%"], + ["center 60u1", "50% 60u1"], + ["60% center", "60% 50%"], + ["60u1 center", "60u1 50%"], + +////// [ keyword percent | keyword percent], [ keyword percent | keyword length], +////// [ keyword length | keyword length], [ keyword length | keyword percent] x 5 keywords + ["left 50% top 50%", "50% 50%"], + ["left 50% top 50u1", "50% 50u1"], + ["left 50% bottom 70%", "50% 30%"], + ["left 50% bottom 70u1", "left 50% bottom 70u1"], + ["left 50u1 top 50%", "50u1 50%"], + ["left 50u1 top 50u1", "50u1 50u1"], + ["left 50u1 bottom 70%", "50u1 30%"], + ["left 50u1 bottom 70u1", "left 50u1 bottom 70u1"], + + ["top 50% left 50%", "50% 50%"], + ["top 50% left 50u1", "50u1 50%"], + ["top 50% right 80%", "20% 50%"], + ["top 50% right 80u1", "right 80u1 top 50%"], + ["top 50u1 left 50%", "50% 50u1"], + ["top 50u1 left 50u1", "50u1 50u1"], + ["top 50u1 right 80%", "20% 50u1"], + ["top 50u1 right 80u1", "right 80u1 top 50u1"], + + ["bottom 70% left 50%", "50% 30%"], + ["bottom 70% left 50u1", "50u1 30%"], + ["bottom 70% right 80%", "20% 30%"], + ["bottom 70% right 80u1", "right 80u1 top 30%"], + ["bottom 70u1 left 50%", "left 50% bottom 70u1"], + ["bottom 70u1 left 50u1", "left 50u1 bottom 70u1"], + ["bottom 70u1 right 80%", "left 20% bottom 70u1"], + ["bottom 70u1 right 80u1", "right 80u1 bottom 70u1"], + + ["right 80% top 50%", "20% 50%"], + ["right 80% top 50u1", "20% 50u1"], + ["right 80% bottom 70%", "20% 30%"], + ["right 80% bottom 70u1", "left 20% bottom 70u1"], + ["right 80u1 top 50%", "right 80u1 top 50%"], + ["right 80u1 top 50u1", "right 80u1 top 50u1"], + ["right 80u1 bottom 70%", "right 80u1 top 30%"], + ["right 80u1 bottom 70u1", "right 80u1 bottom 70u1"], +]; + +var invalidPositions = [ +////// [ keyword | percent ], [ keyword | length ], [ percent | keyword ], [ length | keyword ] x 5 keywords + "50% left", + "50px left", + "top 50%", + "80% right", + "80px right", + "bottom 70%", + "bottom 70px", + +////// [ keyword | keyword percent ], [ keyword | keyword length ] x 5 keywords + "center center 60%", + "center center 60px", + + "left center 60%", + "left center 60px", + "left right 80%", + "left right 80px", + "left left 50%", + "left left 50px", + + "top center 60%", + "top center 60px", + "top bottom 80%", + "top bottom 80px", + "top top 50%", + "top top 50px", + + "bottom center 60%", + "bottom center 60px", + "bottom top 50%", + "bottom top 50px", + "bottom bottom 50%", + "bottom bottom 50px", + + "right center 60%", + "right center 60px", + "right left 50%", + "right left 50px", + "right right 70%", + "right right 70px", + +////// [ keyword percent | keyword], [ keyword length | keyword ] x 5 keywords + "center 60% top", + "center 60px top", + "center 60% bottom", + "center 60px bottom", + "center 60% left", + "center 60px left", + "center 60% right", + "center 60px right", + "center 60% center", + "center 60px center", + + "left 50% right", + "left 50px right", + "left 50% left", + "left 50px left", + + "top 50% bottom", + "top 50px bottom", + "top 50% top", + "top 50px top", + + "bottom 70% top", + "bottom 70px top", + "bottom 70% bottom", + "bottom 70px bottom", + + "right 80% left", + "right 80px left", + +////// [ keyword percent | keyword percent], [ keyword percent | keyword length], +////// [ keyword length | keyword length], [ keyword length | keyword percent] x 5 keywords + "center 60% top 50%", + "center 60% top 50px", + "center 60% bottom 70%", + "center 60% bottom 70px", + "center 60% left 50%", + "center 60% left 50px", + "center 60% right 70%", + "center 60% right 70px", + "center 60% center 65%", + "center 60% center 65px", + "center 60px top 50%", + "center 60px top 50px", + "center 60px bottom 70%", + "center 60px bottom 70px", + "center 60px left 50%", + "center 60px left 50px", + "center 60px right 70%", + "center 60px right 70px", + "center 60px center 65%", + "center 60px center 65px", + + "left 50% center 60%", + "left 50% center 60px", + "left 50% right 80%", + "left 50% right 80px", + "left 50% left 50%", + "left 50% left 50px", + "left 50px center 60%", + "left 50px center 60px", + "left 50px right 80%", + "left 50px right 80px", + "left 50px left 50%", + "left 50px left 50px", + + "top 50% center 60%", + "top 50% center 60px", + "top 50% bottom 50%", + "top 50% bottom 50px", + "top 50% top 50%", + "top 50% top 50px", + "top 50px center 60%", + "top 50px center 60px", + "top 50px bottom 70%", + "top 50px bottom 70px", + "top 50px top 50%", + "top 50px top 50px", + + "bottom 70% center 60%", + "bottom 70% center 60px", + "bottom 70% top 50%", + "bottom 70% top 50px", + "bottom 70% bottom 50%", + "bottom 70% bottom 50px", + "bottom 70px center 60%", + "bottom 70px center 60px", + "bottom 70px top 50%", + "bottom 70px top 50px", + "bottom 70px bottom 50%", + "bottom 70px bottom 50px", + + "right 80% center 60%", + "right 80% center 60px", + "right 80% left 50%", + "right 80% left 50px", + "right 80% right 85%", + "right 80% right 85px", + "right 80px center 60%", + "right 80px center 60px", + "right 80px left 50%", + "right 80px left 50px", + "right 80px right 85%", + "right 80px right 85px" +]; + +// valid radii values for circle + ellipse +// [value, expected_inline, [expected_computed?]] +var validCircleRadii = [ + ['', 'at 50% 50%', 'at 50% 50%'], + ['50u1', '50u1 at 50% 50%'], + ['50%', '50% at 50% 50%'], + ['closest-side', 'at 50% 50%'], + ['farthest-side', 'farthest-side at 50% 50%'] +] +var validEllipseRadii = [ + ['', 'at 50% 50%', 'at 50% 50%'], + ['50u1 100u1', '50u1 100u1 at 50% 50%'], + ['100u1 100px', '100u1 100px at 50% 50%'], + ['25% 50%', '25% 50% at 50% 50%'], + ['50u1 25%', '50u1 25% at 50% 50%'], + ['25% 50u1', '25% 50u1 at 50% 50%'], + ['25% closest-side', '25% closest-side at 50% 50%'], + ['25u1 closest-side', '25u1 closest-side at 50% 50%'], + ['closest-side 75%', 'closest-side 75% at 50% 50%'], + ['closest-side 75u1', 'closest-side 75u1 at 50% 50%'], + ['25% farthest-side', '25% farthest-side at 50% 50%'], + ['25u1 farthest-side', '25u1 farthest-side at 50% 50%'], + ['farthest-side 75%', 'farthest-side 75% at 50% 50%'], + ['farthest-side 75u1', 'farthest-side 75u1 at 50% 50%'], + ['closest-side closest-side', 'at 50% 50%'], + ['farthest-side farthest-side', 'farthest-side farthest-side at 50% 50%'], + ['closest-side farthest-side', 'closest-side farthest-side at 50% 50%'], + ['farthest-side closest-side', 'farthest-side closest-side at 50% 50%'] +] + +var validInsets = [ + ["One arg - u1", "10u1"], + ["One arg - u2", "10u2"], + ["Two args - u1 u1", "10u1 20u1"], + ["Two args - u1 u2", "10u1 20u2"], + ["Two args - u2 u1", "10u2 20u1"], + ["Two args - u2 u2", "10u2 20u2"], + ["Three args - u1 u1 u1", "10u1 20u1 30u1"], + ["Three args - u1 u1 u2", "10u1 20u1 30u2"], + ["Three args - u1 u2 u1", "10u1 20u2 30u1"], + ["Three args - u1 u2 u2 ", "10u1 20u2 30u2"], + ["Three args - u2 u1 u1", "10u2 20u1 30u1"], + ["Three args - u2 u1 u2 ", "10u2 20u1 30u2"], + ["Three args - u2 u2 u1 ", "10u2 20u2 30u1"], + ["Three args - u2 u2 u2 ","10u2 20u2 30u2"], + ["Four args - u1 u1 u1 u1", "10u1 20u1 30u1 40u1"], + ["Four args - u1 u1 u1 u2", "10u1 20u1 30u1 40u2"], + ["Four args - u1 u1 u2 u1", "10u1 20u1 30u2 40u1"], + ["Four args - u1 u1 u2 u2", "10u1 20u1 30u2 40u2"], + ["Four args - u1 u2 u1 u1", "10u1 20u2 30u1 40u1"], + ["Four args - u1 u2 u1 u2", "10u1 20u2 30u1 40u2"], + ["Four args - u1 u2 u2 u1", "10u1 20u2 30u2 40u1"], + ["Four args - u1 u2 u2 u2", "10u1 20u2 30u2 40u2"], + ["Four args - u2 u1 u1 u1", "10u2 20u1 30u1 40u1"], + ["Four args - u2 u1 u1 u2", "10u2 20u1 30u1 40u2"], + ["Four args - u2 u1 u2 u1", "10u2 20u1 30u2 40u1"], + ["Four args - u2 u1 u2 u2", "10u2 20u1 30u2 40u2"], + ["Four args - u2 u2 u1 u1", "10u2 20u2 30u1 40u1"], + ["Four args - u2 u2 u1 u2", "10u2 20u2 30u1 40u2"], + ["Four args - u2 u2 u2 u1", "10u2 20u2 30u2 40u1"], + ["Four args - u2 u2 u2 u2", "10u2 20u2 30u2 40u2"] +] + +var validPolygons = [ + ["One vertex - u1 u1", "10u1 20u1"], + ["One vertex - u1 u2", "10u1 20u2"], + ["Two vertices - u1 u1, u1 u1", "10u1 20u1, 30u1 40u1"], + ["Two vertices - u1 u1, u2 u2", "10u1 20u1, 30u2 40u2"], + ["Two vertices - u2 u2, u1 u1", "10u2 20u2, 30u1 40u1"], + ["Two vertices - u1 u2, u2 u1", "10u1 20u2, 30u2 40u1"], + ["Three vertices - u1 u1, u1 u1, u1 u1", "10u1 20u1, 30u1 40u1, 50u1 60u1"], + ["Three vertices - u2 u2, u2 u2, u2 u2", "10u2 20u2, 30u2 40u2, 50u2 60u2"], + ["Three vertices - u3 u3, u3 u3, u3 u3", "10u3 20u3, 30u3 40u3, 50u3 60u3"], + ["Three vertices - u1 u1, u2 u2, u3 u3", "10u1 20u1, 30u2 40u2, 50u3 60u3"], + ["Three vertices - u3 u3, u1, u1, u2 u2", "10u3 20u3, 30u1 40u1, 50u2 60u2"], +] + +// [test value, expected property value, expected computed style] +// See https://github.com/w3c/csswg-drafts/issues/4399#issuecomment-556160413 +// for the latest resolution to this respect. +var calcTestValues = [ + ["calc(10in)", "calc(960px)", "960px"], + ["calc(10in + 20px)", "calc(980px)", "980px"], + ["calc(30%)", "calc(30%)", "30%"], + ["calc(100%/4)", "calc(25%)", "25%"], + ["calc(25%*3)", "calc(75%)", "75%"], + ["calc(25%*3 - 10in)", "calc(75% - 960px)", "calc(75% - 960px)"], + ["calc((12.5%*6 + 10in) / 4)", "calc(18.75% + 240px)", "calc(18.75% + 240px)"] +] + +return { + testInlineStyle: testInlineStyle, + testComputedStyle: testComputedStyle, + testShapeMarginInlineStyle: testShapeMarginInlineStyle, + testShapeMarginComputedStyle: testShapeMarginComputedStyle, + testShapeThresholdInlineStyle: testShapeThresholdInlineStyle, + testShapeThresholdComputedStyle: testShapeThresholdComputedStyle, + buildTestCases: buildTestCases, + buildRadiiTests: buildRadiiTests, + buildPositionTests: buildPositionTests, + buildInsetTests: buildInsetTests, + buildPolygonTests: buildPolygonTests, + generateInsetRoundCases: generateInsetRoundCases, + buildCalcTests: buildCalcTests, + validUnits: validUnits, + calcTestValues: calcTestValues, + roundResultStr: roundResultStr, + setupFonts: setupFonts, + restoreFonts: restoreFonts, +} +})(); diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-001-ref.html b/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-001-ref.html new file mode 100644 index 0000000000..573e74cc87 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-001-ref.html @@ -0,0 +1,85 @@ + + + + CSS Reference File + + + + + +

+ The test passes if the green shape does not intersect either of the triangles and + there is one green horizontal bar beneath the triangles. There should be no red. +

+
+
+ XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXX +
+
+ XXXXXXXXX XXXXXXX +
+
+ XXXXX XXX +
+
+ X +
+
+
+ XXXXXXXXXXXXXXXXX +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-004-ref.html b/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-004-ref.html new file mode 100644 index 0000000000..4653e0d690 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-004-ref.html @@ -0,0 +1,45 @@ + + + + CSS Reference File + + + + + +

+ The test passes if there are two columns of six green horizontal bars of the same + size inside the square and two columns of six matching green bars outside and to the + right of the square. There should be no red. +

+
+ XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX +
+
+ + + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-006-ref.html b/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-006-ref.html new file mode 100644 index 0000000000..50f604e865 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-006-ref.html @@ -0,0 +1,57 @@ + + + +CSS Reference File + + + + +

+ The test passes if all there are three green horizontal bars to the right of the + triangle that are all inside the rectangle and there should be no green to the left + of the triangle. There should be no red. +

+
+
+
+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-007-ref.html b/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-007-ref.html new file mode 100644 index 0000000000..8f4c8015e8 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-007-ref.html @@ -0,0 +1,73 @@ + + + +CSS Reference File + + + + + +

+ The test passes if one green bar is inside the top rectangle, three green bars + are in the bottom rectangle, and none intersect the triangle. There should be no red. +

+
+
+
+
+
+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-008-ref.html b/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-008-ref.html new file mode 100644 index 0000000000..cfa7932325 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/reference/shape-outside-008-ref.html @@ -0,0 +1,89 @@ + + + +CSS Reference File + + + + +

+ The test passes if one green bar is inside the top rectangle, four green bars + are in the bottom rectangle, and none intersect the triangles. There should be no + red. +

+
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-001.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-001.html new file mode 100644 index 0000000000..57944883b6 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-001.html @@ -0,0 +1,101 @@ + + + + CSS Test: Left and right float with shape-outside + + + + + + + + + + + + +

+ The test passes if the green shape does not intersect either of the triangles and + there is one green horizontal bar beneath the triangles. There should be no red. +

+
+
+
+ XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXX + XXXXXXXXXXX XXXXXXXXX XXXXXXX XXXXX XXX X + XXXXXXXXXXXXXXXXX +
+
+
XXXXXXXXXXXXXXXXX
+
XXXXXXXXXXXXXXX
+
XXXXXXXXXXXXX
+
XXXXXXXXXXX
+
XXXXXXXXX
+
XXXXXXX
+
XXXXX
+
XXX
+
X
+
XXXXXXXXXXXXXXXXX
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-002.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-002.html new file mode 100644 index 0000000000..927eaf7f52 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-002.html @@ -0,0 +1,101 @@ + + + + CSS Test: Left and right float with shape-outside with clipped left float + + + + + + + + + + + + +

+ The test passes if the green shape does not intersect either of the triangles and + there is one green horizontal bar beneath the triangles. There should be no red. +

+
+
+
+ XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXX + XXXXXXXXXXX XXXXXXXXX XXXXXXX XXXXX XXX X + XXXXXXXXXXXXXXXXX +
+
+
XXXXXXXXXXXXXXXXX
+
XXXXXXXXXXXXXXX
+
XXXXXXXXXXXXX
+
XXXXXXXXXXX
+
XXXXXXXXX
+
XXXXXXX
+
XXXXX
+
XXX
+
X
+
XXXXXXXXXXXXXXXXX
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-003.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-003.html new file mode 100644 index 0000000000..33045f309f --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-003.html @@ -0,0 +1,101 @@ + + + + CSS Test: Left and right float with shape-outside with clipped right float + + + + + + + + + + + + +

+ The test passes if the green shape does not intersect either of the triangles and + there is one green horizontal bar beneath the triangles. There should be no red. +

+
+
+
+ XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXX + XXXXXXXXXXX XXXXXXXXX XXXXXXX XXXXX XXX X + XXXXXXXXXXXXXXXXX +
+
+
XXXXXXXXXXXXXXXXX
+
XXXXXXXXXXXXXXX
+
XXXXXXXXXXXXX
+
XXXXXXXXXXX
+
XXXXXXXXX
+
XXXXXXX
+
XXXXX
+
XXX
+
X
+
XXXXXXXXXXXXXXXXX
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-004.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-004.html new file mode 100644 index 0000000000..b2f6d8da3d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-004.html @@ -0,0 +1,77 @@ + + + + CSS Test: inset with no extent and inline content - inset(50% 50% 50% 50%) + + + + + + + + + + + + +

+ The test passes if there are two columns of six green horizontal bars of the same + size inside the square and two columns of six matching green bars outside and to the + right of the square. There should be no red. +

+
+
+ XXXX XXXX + XXXX XXXX + XXXX XXXX + XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX +
+
+ XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-005.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-005.html new file mode 100644 index 0000000000..7b9aedb83e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-005.html @@ -0,0 +1,77 @@ + + + + CSS Test: inset with no extent and inline content - inset(150% 150% 0% 0%) + + + + + + + + + + + + +

+ The test passes if there are two columns of six green horizontal bars of the same + size inside the square and two columns of six matching green bars outside and to the + right of the square. There should be no red. +

+
+
+ XXXX XXXX + XXXX XXXX + XXXX XXXX + XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX +
+
+ XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX + XXXX XXXX XXXX XXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-006.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-006.html new file mode 100644 index 0000000000..671c098604 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-006.html @@ -0,0 +1,91 @@ + + + + CSS Test: shape-outside with open areas on both the left & right of + the float area + + + + + + + + + + + + +

+ The test passes if all there are three green horizontal bars to the right of the + triangle that are all inside the rectangle and there should be no green to the left + of the triangle. There should be no red. +

+
+
+ XXXXXXXX XXXXXXX XXXXXX +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-007.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-007.html new file mode 100644 index 0000000000..0db826f58e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-007.html @@ -0,0 +1,102 @@ + + + + CSS Test: Shape smaller than float content area - 1 float + + + + + + + + + + + + +

+ The test passes if one green bar is inside the top rectangle, three green bars + are in the bottom rectangle, and none intersect the triangle. There should be no red. +

+
+
+ XXXXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXX +
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-008.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-008.html new file mode 100644 index 0000000000..744022801a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-008.html @@ -0,0 +1,121 @@ + + + + CSS Test: Shape smaller than float content area - 2 floats + + + + + + + + + + + + +

+ The test passes if one green bar is inside the top rectangle, four green bars + are in the bottom rectangle, and none intersect the triangles. There should be no + red. +

+
+
+ XXXXXXXXXXXXXXXXX +
+ XXXXXXXXXXXXXXXXX + XXXXXXXXXXXXXXX + XXXXXXXXX + XXXXXXX +
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-010.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-010.html new file mode 100644 index 0000000000..4f6a4f732d --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-010.html @@ -0,0 +1,59 @@ + + + + CSS Test: Shape from image - url(), alpha channel, opacity 0 + + + + + + + + + + + + + + + +

+ The test passes if the short green horizontal bars are the right of the circle, + the long green bar is beneath the circle, and no bars intersect the circle. There + should be no red. +

+
+ + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXXXXXXXXXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-011.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-011.html new file mode 100644 index 0000000000..5f63c12cd9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-011.html @@ -0,0 +1,58 @@ + + + + CSS Test: Shape from image - url(), alpha channel, opacity > 0 + + + + + + + + + + + + + + + +

+ The test passes if the green horizontal bars are to the right of the circle, + and no bars intersect the circle's shadow. There should be no red. +

+
+ + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-012.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-012.html new file mode 100644 index 0000000000..129412f1f5 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-012.html @@ -0,0 +1,61 @@ + + + + CSS Test: Shape from image - shape-image-threshold - 0.9 + + + + + + + + + + + + + + + + +

+ The test passes if the short green horizontal bars are the right of the circle, all + intersect the shadow, none intersect the circle and the long green bar is beneath the + circle. There should be no red. +

+
+ + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXXXXXXXXXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-013.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-013.html new file mode 100644 index 0000000000..329f033a4a --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-013.html @@ -0,0 +1,71 @@ + + + + CSS Test: Shape from image - shape-margin + + + + + + + + + + + + + + + +

+ The test passes if the short green horizontal bars are the right of the circle, + the long green bar is beneath the circle, and no bars intersect the circle. There + should be no red. +

+
+ +
+ XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXXXXXXXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-014.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-014.html new file mode 100644 index 0000000000..682ac0986e --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-014.html @@ -0,0 +1,73 @@ + + + + CSS Test: Shape from box value - margin-box + + + + + + + + + + + + + + + +

+ The test passes if the short green horizontal bars are the right of the shape, + the long green bar is beneath it, and no bars intersect it. There should be no red. +

+
+
+
+ XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXXXXXXXXXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-015.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-015.html new file mode 100644 index 0000000000..23b6b4e348 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-015.html @@ -0,0 +1,60 @@ + + + + CSS Test: Shape from box value - border-box + + + + + + + + + + + + + + + +

+ The test passes if the short green horizontal bars are the right of the shape, + the long green bar is beneath it, and no bars intersect it. There should be no red. +

+
+
+ XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXXXXXXXXXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-016.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-016.html new file mode 100644 index 0000000000..a7c4d591bc --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-016.html @@ -0,0 +1,60 @@ + + + + CSS Test: Shape from box value - padding-box + + + + + + + + + + + + + + + +

+ The test passes if the short green horizontal bars are the right of the shape, + the long green bar is beneath it, and no bars intersect it. There should be no red. +

+
+
+ XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXXXXXXXXXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-017.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-017.html new file mode 100644 index 0000000000..2e9c193044 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-017.html @@ -0,0 +1,59 @@ + + + + CSS Test: Shape from box value - content-box + + + + + + + + + + + + + + + +

+ The test passes if the short green horizontal bars are the right of the shape, + the long green bar is beneath it, and no bars intersect it. There should be no red. +

+
+
+ XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXXXXXXXXXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-018.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-018.html new file mode 100644 index 0000000000..6c285e07f9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-018.html @@ -0,0 +1,66 @@ + + + + CSS Test: shape-margin offset from a polygonal shape-outside + + + + + + + + + + + + + + + +

+ The test passes if the longest green horizontal bar is beneath the triangle and the + rest of them are to its right and none intersect it. There should be no red. +

+
+
+ + XXXXXXXXXX + XXXXXXXX + XXXXXX + XXXX + XXX + XXXXXXXXXXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-019.html b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-019.html new file mode 100644 index 0000000000..22828e3984 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/shape-outside-019.html @@ -0,0 +1,70 @@ + + + + CSS Test: Shape from image - alpha channel, opacity > 0 + shape-margin + + + + + + + + + + + + + + + +

+ The test passes if the short green horizontal bars are the right of the black edge + of circle, the long green bar is beneath it, and no bars intersect the black. + There should be no red. +

+
+ +
+ XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXX + XXXXXXXXXXXXXXX +
+
+ + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/support/circle-no-shadow.png b/testing/web-platform/tests/css/css-shapes/spec-examples/support/circle-no-shadow.png new file mode 100644 index 0000000000..4ce5ca02fe Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/spec-examples/support/circle-no-shadow.png differ diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/support/circle-shadow.png b/testing/web-platform/tests/css/css-shapes/spec-examples/support/circle-shadow.png new file mode 100644 index 0000000000..ec881dec4d Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/spec-examples/support/circle-shadow.png differ diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/support/rounded-triangle.svg b/testing/web-platform/tests/css/css-shapes/spec-examples/support/rounded-triangle.svg new file mode 100644 index 0000000000..68d87d11d0 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/support/rounded-triangle.svg @@ -0,0 +1,6 @@ + + + + + diff --git a/testing/web-platform/tests/css/css-shapes/spec-examples/support/spec-example-utils.js b/testing/web-platform/tests/css/css-shapes/spec-examples/support/spec-example-utils.js new file mode 100644 index 0000000000..6939b753aa --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/spec-examples/support/spec-example-utils.js @@ -0,0 +1,16 @@ +function approxShapeTest(testId, linePrefix, epsilon, lineOffsets) { + var isPositioned = { 'relative': true, 'fixed': true, 'absolute': true, 'sticky': true }, + testDiv = document.getElementById(testId), + testOffset = isPositioned[getComputedStyle(testDiv).position] ? 0 : testDiv.offsetLeft, + firstLine = document.getElementById(linePrefix + '0'); + + function runTest() { + assert_not_equals(firstLine.offsetLeft, testOffset, "Shape layout should have happened already."); + + for (var i = 0; i < lineOffsets.length; i++) { + var line = document.getElementById(linePrefix + i); + assert_approx_equals(line.offsetLeft, lineOffsets[i] + testOffset, epsilon, 'Line ' + i + ' is positioned properly'); + } + } + runTest(); +} diff --git a/testing/web-platform/tests/css/css-shapes/support/1x1-green.png b/testing/web-platform/tests/css/css-shapes/support/1x1-green.png new file mode 100644 index 0000000000..b98ca0ba0a Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/1x1-green.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/1x1-lime.png b/testing/web-platform/tests/css/css-shapes/support/1x1-lime.png new file mode 100644 index 0000000000..cb397fb090 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/1x1-lime.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/1x1-maroon.png b/testing/web-platform/tests/css/css-shapes/support/1x1-maroon.png new file mode 100644 index 0000000000..3f86b07219 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/1x1-maroon.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/1x1-navy.png b/testing/web-platform/tests/css/css-shapes/support/1x1-navy.png new file mode 100644 index 0000000000..9b9a03955b Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/1x1-navy.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/1x1-red.png b/testing/web-platform/tests/css/css-shapes/support/1x1-red.png new file mode 100644 index 0000000000..6bd73ac101 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/1x1-red.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/1x1-white.png b/testing/web-platform/tests/css/css-shapes/support/1x1-white.png new file mode 100644 index 0000000000..dd43faec54 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/1x1-white.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/60x60-gg-rr.png b/testing/web-platform/tests/css/css-shapes/support/60x60-gg-rr.png new file mode 100644 index 0000000000..84f5b2a4f1 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/60x60-gg-rr.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/60x60-green.png b/testing/web-platform/tests/css/css-shapes/support/60x60-green.png new file mode 100644 index 0000000000..b3c8cf3eb4 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/60x60-green.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/README b/testing/web-platform/tests/css/css-shapes/support/README new file mode 100644 index 0000000000..2e5f2ad073 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/support/README @@ -0,0 +1,28 @@ +CSS Global Support Directory +============================ + +This directory contains common support files (such as images and external +style sheets). These are sync'ed into the support directories of all our +test suites. If you have test-suite-specific support files, please add +them to the appropriate test-suite-specific support/ directory. + +If you add to a support/ directory, please run the tools/supportprop.py +script from the top of the repository to cascade support files into the +lower-level support directories. + +Description of the Common Support File Collection +------------------------------------------------- + +The 1x1-* images are all exactly one pixel. + +The swatch-* images all use 15x15 cells. + +The square-* images all use 15x15 cells with one pixel borders. + +The pattern-* images use cells of various sizes: + + pattern-grg-rgr-grg.png 20x20 + pattern-rgr-grg-rgr.png 20x20 + pattern-tr.png 15x15 + pattern-grg-rrg-rgg.png 15x15 + diff --git a/testing/web-platform/tests/css/css-shapes/support/a-green.css b/testing/web-platform/tests/css/css-shapes/support/a-green.css new file mode 100644 index 0000000000..b0dbb071d5 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/support/a-green.css @@ -0,0 +1 @@ +.a { color: green; } diff --git a/testing/web-platform/tests/css/css-shapes/support/b-green.css b/testing/web-platform/tests/css/css-shapes/support/b-green.css new file mode 100644 index 0000000000..a0473f5ca2 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/support/b-green.css @@ -0,0 +1 @@ +.b { color: green; } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/support/c-red.css b/testing/web-platform/tests/css/css-shapes/support/c-red.css new file mode 100644 index 0000000000..d4ba5c64e9 --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/support/c-red.css @@ -0,0 +1 @@ +.c { color: red; } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-shapes/support/cat.png b/testing/web-platform/tests/css/css-shapes/support/cat.png new file mode 100644 index 0000000000..85dd732481 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/cat.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/pattern-grg-rgr-grg.png b/testing/web-platform/tests/css/css-shapes/support/pattern-grg-rgr-grg.png new file mode 100644 index 0000000000..9b88fbd811 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/pattern-grg-rgr-grg.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/pattern-grg-rrg-rgg.png b/testing/web-platform/tests/css/css-shapes/support/pattern-grg-rrg-rgg.png new file mode 100644 index 0000000000..fcf4f3fd7d Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/pattern-grg-rrg-rgg.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/pattern-rgr-grg-rgr.png b/testing/web-platform/tests/css/css-shapes/support/pattern-rgr-grg-rgr.png new file mode 100644 index 0000000000..d454e3a630 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/pattern-rgr-grg-rgr.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/pattern-tr.png b/testing/web-platform/tests/css/css-shapes/support/pattern-tr.png new file mode 100644 index 0000000000..8b4b25364e Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/pattern-tr.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/square-purple.png b/testing/web-platform/tests/css/css-shapes/support/square-purple.png new file mode 100644 index 0000000000..0f522d7872 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/square-purple.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/square-teal.png b/testing/web-platform/tests/css/css-shapes/support/square-teal.png new file mode 100644 index 0000000000..e567f51b91 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/square-teal.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/square-white.png b/testing/web-platform/tests/css/css-shapes/support/square-white.png new file mode 100644 index 0000000000..5853cbb238 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/square-white.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/swatch-blue.png b/testing/web-platform/tests/css/css-shapes/support/swatch-blue.png new file mode 100644 index 0000000000..bf2759634d Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/swatch-blue.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/swatch-green.png b/testing/web-platform/tests/css/css-shapes/support/swatch-green.png new file mode 100644 index 0000000000..0aa79b0c86 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/swatch-green.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/swatch-lime.png b/testing/web-platform/tests/css/css-shapes/support/swatch-lime.png new file mode 100644 index 0000000000..55fd7fdaed Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/swatch-lime.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/swatch-orange.png b/testing/web-platform/tests/css/css-shapes/support/swatch-orange.png new file mode 100644 index 0000000000..d3cd498b52 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/swatch-orange.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/swatch-red.png b/testing/web-platform/tests/css/css-shapes/support/swatch-red.png new file mode 100644 index 0000000000..1caf25c992 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/swatch-red.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/swatch-white.png b/testing/web-platform/tests/css/css-shapes/support/swatch-white.png new file mode 100644 index 0000000000..1a7d4323d7 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/swatch-white.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/swatch-yellow.png b/testing/web-platform/tests/css/css-shapes/support/swatch-yellow.png new file mode 100644 index 0000000000..1591aa0e2e Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/swatch-yellow.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/test-bl.png b/testing/web-platform/tests/css/css-shapes/support/test-bl.png new file mode 100644 index 0000000000..904e24e996 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/test-bl.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/test-br.png b/testing/web-platform/tests/css/css-shapes/support/test-br.png new file mode 100644 index 0000000000..f413ff5c1a Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/test-br.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/test-outer.png b/testing/web-platform/tests/css/css-shapes/support/test-outer.png new file mode 100644 index 0000000000..82eeace7fc Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/test-outer.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/test-tl.png b/testing/web-platform/tests/css/css-shapes/support/test-tl.png new file mode 100644 index 0000000000..f6ac0ef7e8 Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/test-tl.png differ diff --git a/testing/web-platform/tests/css/css-shapes/support/test-tr.png b/testing/web-platform/tests/css/css-shapes/support/test-tr.png new file mode 100644 index 0000000000..59843ae54b Binary files /dev/null and b/testing/web-platform/tests/css/css-shapes/support/test-tr.png differ diff --git a/testing/web-platform/tests/css/css-shapes/test-plan/index.html b/testing/web-platform/tests/css/css-shapes/test-plan/index.html new file mode 100644 index 0000000000..ed3590ceef --- /dev/null +++ b/testing/web-platform/tests/css/css-shapes/test-plan/index.html @@ -0,0 +1,446 @@ + + + + CSS Shapes Level 1 Test Plan + + + + + + + +
+

+ This document is intended to be used as a guideline for the testing + activities related to the CSS Shapes Level 1 spec [[!css-shapes-1]]. Its main + goal is to provide an overview of the general testing areas, possible + caveats and testing aspects not immediately apparent from the spec. + Also, it provides a means of tracking the progress of the CSS Shapes + spec testing. +

+

+ This document is not meant to replace the spec in determining the + normative and non-normative assertions to be tested, but rather + complement it. +

+
+ +
+

Goals

+

+ To ensure a comprehensive test suite with useful, high quality tests, a + number of goals are proposed. They range from process goals (how to + conduct testing) to implementation goals (how to write good tests). +

+
+

Enabling easy test contribution

+

+ An important vector in successfully testing CSS Shapes is to + enable easy test contributions, both from W3C partners and from + non-W3C members that wish to contribute. This is achieved by clearly + marking and explaining the areas that need testing, linking to existing + tests, and general testing progress. +

+
+
+

Providing guidance on testing

+

+ In order to increase the quality of the test contributions, this + document offers a set of guidelines for conducting testing (see + ) and a testing progress + tracker to increase the surface coverage of tests (see + ). +

+
+
+

Creating automation-friendly tests

+

+ In terms of actual tests produced for the CSS Shapes specification, the main goal + is to ensure that most tests are automatable (i.e. they're either + reftests or use testharness.js). Even where manual tests + are absolutely necessary they should be written so that they can be + easily automated – as there are ongoing efforts to make + WebDriver [[webdriver]] automated tests a first class citizen in W3C + testing. This means that even if a manual test requires user + interaction, the validation or PASS/FAIL conditions should still be + clear enough as to allow automatic validation if said interaction is + later automated. +

+
+
+
+

Approach

+

+ Since the CSS Shapes Level 1 spec introduces only three new CSS properties, + the approach is to deep dive into every aspect of the spec as much as possible. + + Tests will be created for the testing areas listed in . +

+
+
+

Testing areas

+
+

Explicit testing areas

+

+ These are testing areas normatively defined by the spec. They cover + things explicitly or implicitly defined in the CSS Shapes spec. + Please note that while detailed, this list is not necessarily + exhaustive and normative behaviors may not be contained in it. + When in doubt, consult the CSS Shapes spec or ask a question on the + mailing + list. +

+

+

+

Proper parsing of the CSS properties and values according to the spec

+

+ Note: For all of the tests below, where length parameters are tested, + the supported <length> + units defined in the CSS Values & Units [[!CSS3VAL]] specification, but not all permutations will not be + tested. Instead, a sampling of these units will be used across the parsing and layout tests. +

+
    +
  • + shape-outside +
      +
    • none
    • +
    • + <basic-shape> +
        +
      • + inset() +
          +
        • 0-4 arguments
        • +
        • length units
        • +
        • percentages
        • +
        • positive/negative lengths
        • +
        • decimal/non-decimal lengths
        • +
        • calc() lengths
        • +
        • no unit or %
        • +
        • commas / no commas
        • +
        • invalid arg values
        • +
        • round keyword +
            +
          • <border-radius> +
              +
            • 0-8 arguments
            • +
            • position of '/'
            • +
            • length units
            • +
            • percentages
            • +
            • positive/negative lengths
            • +
            • decimal/non-decimal lengths
            • +
            • calc() lengths
            • +
            • no unit or %
            • +
            • commas / no commas
            • +
            • invalid values
            • +
            +
          • +
          +
        • +
        +
      • +
      • circle() +
          +
        • <shape-radius> +
            +
          • 0-1 args (valid), 2 args (invalid)
          • +
          • length units
          • +
          • percentages
          • +
          • positive/negative lengths
          • +
          • decimal/non-decimal lengths
          • +
          • calc() lengths
          • +
          • no unit or %
          • +
          • commas / no commas
          • +
          • invalid arg values
          • +
          • closest-side, farthest-side keywords
          • +
          +
        • +
        • at keyword +
            +
          • <position> +
              +
            • 0-4 arguments
            • +
            • length units
            • +
            • percentages
            • +
            • positive/negative lengths
            • +
            • decimal/non-decimal lengths
            • +
            • calc() lengths
            • +
            • no unit or %
            • +
            • commas / no commas
            • +
            • invalid values
            • +
            • top, left, bottom, right keywords
            • +
            +
          • +
          +
        • +
        +
      • +
      • ellipse() +
          +
        • <shape-radius> +
            +
          • 0-2 args (valid), 3 args (invalid)
          • +
          • Plus all of the same shape-radius tests listed above for circle()
          • +
          +
        • +
        • Plus all of the at <position> tests listed above for circle()
        • +
        +
      • +
      • polygon() +
      • <shape-arg>'s +
          +
        • 1-6 vertices (valid), 0 vertices (invalid)
        • +
        • length units
        • +
        • percentages
        • +
        • positive/negative lengths
        • +
        • decimal/non-decimal lengths
        • +
        • calc() lengths
        • +
        • no unit or %
        • +
        • commas / no commas
        • +
        • invalid arg values
        • +
        +
      • <fill-rule> +
          +
        • not specified (default: nonzero)
        • +
        • nonzero
        • +
        • evenodd
        • +
        • invalid values
        • +
        +
      • + +
      +
    • +
    • <box> +
        +
      • margin-box
      • +
      • border-box
      • +
      • padding-box
      • +
      • content-box
      • +
      +
    • +
    • <basic-shape> + <box> +
        +
      • A sampling of the tests above combined together to test basic-shape with shape-box
      • +
      +
    • +
    • <image>
    • +
    +
  • +
  • shape-margin +
      +
    • length units
    • +
    • percentages
    • +
    • positive/negative lengths
    • +
    • decimal/non-decimal lengths
    • +
    • calc() lengths
    • +
    • no unit or %
    • +
    • invalid values
    • +
    +
  • +
  • shape-image-threshold +
      +
    • decimal - 0-5 places
    • +
    • no decimal
    • +
    • percentage (invalid)
    • +
    • positive/negative values
    • +
    • decimal/non-decimal lengths
    • +
    • calc() lengths
    • +
    • + / - signs
    • +
    • invalid values
    • +
    +
  • +
+
+
+

Proper serialization of the CSS properties and values according to the spec

+
    +
  • <position> values in circle and ellipse serialize to 2- and 4-value forms +
      +
    • top, left, bottom, right serialize to percentages
    • +
    • omitting radii omits radii from serialization
    • +
    +
  • +
  • inset serialized shape-args omit args when possible
  • +
  • <round> values in inset serialize to as few as possible
  • +
  • unspecified <fill-rule> serializes nonzero
  • +
  • 0% is preferred over zero length
  • +
  • calc() is avoided
  • +
+
+
+

Proper computed values of the CSS properties and values according to the spec

+
    +
  • lengths compute to px
  • +
  • percentages keep %
  • +
  • calc() preserved
  • +
+
+
+

Proper rendering & layout of text around shapes according to the spec

+
    +
  • Basic Shapes +
      +
    • inset +
        +
      • square corners
      • +
      • rounded corners
      • +
      • rounded corners to make circles & ellipses
      • +
      +
    • +
    • circle, ellipse +
        +
      • explicit/implicit radii
      • +
      • explicit/implicit position
      • +
      • closest-side / farthest-side
      • +
      +
    • +
    • polygon +
        +
      • relative/absolute units
      • +
      • fill-rule: evenodd/nonzero
      • +
      +
    • +
    • float left / right
    • +
    • shape-margin
    • +
    • shape-box +
        +
      • unspecified
      • +
      • specified: +
          +
        • margin-box
        • +
        • border-box
        • +
        • padding-box
        • +
        • content-box
        • +
        +
      • +
      +
    • +
    +
  • +
  • Shapes from Box Values +
      +
    • margin-box, border-box, padding-box, content-box
    • +
    • all, top, left, bottom, right, top-left, top-bottom, top-right, left-right, left-bottom, right-bottom
    • +
    • float left / right
    • +
    • border-radius
    • +
    +
  • +
  • Shapes from Images +
      +
    • url +
        +
      • png, svg, gif, jpeg
      • +
      • transparency/no transparency
      • +
      +
    • +
    • image-list +
        +
      • png, svg, gif, jpeg
      • +
      • transparency/no transparency
      • +
      +
    • +
    • gradient +
        +
      • linear
      • +
      • radial
      • +
      • repeating
      • +
      +
    • +
    • float left / right
    • +
    • shape-margin
    • +
    • shape-image-threshold
    • +
    +
  • +
  • Float Tests +
      +
    • Float stacking
    • +
    • Line boxes affected by both float right and float left shapes at the same time
    • +
    • Empty float areas
    • +
    • Shapes that extend past the margin box edge
    • +
    +
  • +
+ +
+
+
+

Implicit testing areas

+

+ These are testing areas either normatively defined in other specs + that are explicitly referred to in the CSS Shapes spec. Additionally, the + CSS Shapes spec is explicitly referred to by other specs. Please note that + while detailed, this list is not necessarily exhaustive and normative behaviors + may not be contained in it. When in doubt, consult the CSS Regions spec or ask + a question on the mailing list. +

+

+ Below is the list of implicit testing areas: +

    +
  • CSS 2.1 [[!CSS21]]
  • +
  • CSS Box Model [[!CSS3BOX]]
  • +
  • CSS Values & Units [[!CSS3VAL]]
  • +
  • CSS Backgrounds & Borders [[!CSS3BG]]
  • +
  • HTML5 [[!HTML5]]
  • +
  • CSS Masking [[CSS-MASKING]]
  • +
  • CSS Exclusions [[CSS-EXCLUSIONS]]
  • +
+

+
+
+

Interactions with other CSS features & specifications

+

When the CSS Shapes spec has a full suite of tests covering the behaviors defined in the spec, + additional tests will be needed to assure that the implementation works properly with other + CSS features defined in other specifications. +

+

Below is a list of features that should work properly with CSS Shapes:

+
    +
  • CSS Transforms
  • +
  • CSS Transitions
  • +
  • CSS Animations
  • +
  • CSS Exclusions
  • +
  • CSS Writing Modes - when the float and container have different 'writing-mode' and 'direction' properties
  • +
+
+
+

People and responsibilities

+

+ Below is a list of people you should reach out to if you have any + questions related to this document or testing CSS Shapes in general: +

    +
  • Alan Stearns – Editor for CSS Shapes spec
  • +
  • Rebecca Hauck – Test Coordinator for CSS Regions
  • +
+

+
+
+

Test progress tracking

+

+ Currently test progress tracking is done via gitHub + milestones + and issues. + +

+
+ + -- cgit v1.2.3