From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- layout/reftests/xul/accesskey-ref.xhtml | 23 +++++ layout/reftests/xul/accesskey.xhtml | 43 ++++++++++ layout/reftests/xul/blank-window.xhtml | 5 ++ layout/reftests/xul/colors-16x8-noSize.svg | 11 +++ layout/reftests/xul/colors-16x8-parDefault.svg | 18 ++++ layout/reftests/xul/colors-16x8.png | Bin 0 -> 93 bytes layout/reftests/xul/colors-16x8.svg | 14 +++ layout/reftests/xul/colors-8x16-noSize.svg | 11 +++ layout/reftests/xul/colors-8x16-parDefault.svg | 18 ++++ layout/reftests/xul/colors-8x16.png | Bin 0 -> 92 bytes layout/reftests/xul/colors-8x16.svg | 14 +++ layout/reftests/xul/css-flex-1-ref.html | 18 ++++ layout/reftests/xul/css-flex-1.xhtml | 27 ++++++ .../xul/css-grid-with-xul-item-1-ref.xhtml | 40 +++++++++ layout/reftests/xul/css-grid-with-xul-item-1.xhtml | 53 ++++++++++++ .../reftests/xul/generate-object-fit-xul-tests.sh | 94 ++++++++++++++++++++ .../xul/generate-object-position-xul-tests.sh | 68 +++++++++++++++ layout/reftests/xul/green-ref.xhtml | 3 + .../xul/image-appearance-dynamic-ref.xhtml | 16 ++++ layout/reftests/xul/image-appearance-dynamic.xhtml | 24 ++++++ .../xul/inactive-fixed-bg-bug1205630-ref.html | 44 ++++++++++ .../xul/inactive-fixed-bg-bug1205630.xhtml | 36 ++++++++ .../xul/inactive-fixed-bg-bug1272525-ref.html | 44 ++++++++++ .../xul/inactive-fixed-bg-bug1272525.xhtml | 36 ++++++++ layout/reftests/xul/mac-tab-toolbar-ref.xhtml | 18 ++++ layout/reftests/xul/mac-tab-toolbar.xhtml | 43 ++++++++++ layout/reftests/xul/menuitem-key-ref.xhtml | 20 +++++ layout/reftests/xul/menuitem-key.xhtml | 47 ++++++++++ .../reftests/xul/menulist-shrinkwrap-1-ref.xhtml | 10 +++ layout/reftests/xul/menulist-shrinkwrap-1.xhtml | 10 +++ .../reftests/xul/menulist-shrinkwrap-2-ref.xhtml | 25 ++++++ layout/reftests/xul/menulist-shrinkwrap-2.xhtml | 25 ++++++ .../xul/object-fit-contain-png-001-ref.html | 77 +++++++++++++++++ .../reftests/xul/object-fit-contain-png-001.xhtml | 70 +++++++++++++++ .../xul/object-fit-contain-png-002-ref.html | 77 +++++++++++++++++ .../reftests/xul/object-fit-contain-png-002.xhtml | 70 +++++++++++++++ .../xul/object-fit-contain-svg-001-ref.html | 76 +++++++++++++++++ .../reftests/xul/object-fit-contain-svg-001.xhtml | 69 +++++++++++++++ .../xul/object-fit-contain-svg-002-ref.html | 76 +++++++++++++++++ .../reftests/xul/object-fit-contain-svg-002.xhtml | 69 +++++++++++++++ .../xul/object-fit-contain-svg-003-ref.html | 76 +++++++++++++++++ .../reftests/xul/object-fit-contain-svg-003.xhtml | 69 +++++++++++++++ .../xul/object-fit-contain-svg-004-ref.html | 76 +++++++++++++++++ .../reftests/xul/object-fit-contain-svg-004.xhtml | 69 +++++++++++++++ .../xul/object-fit-contain-svg-005-ref.html | 76 +++++++++++++++++ .../reftests/xul/object-fit-contain-svg-005.xhtml | 69 +++++++++++++++ .../xul/object-fit-contain-svg-006-ref.html | 76 +++++++++++++++++ .../reftests/xul/object-fit-contain-svg-006.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-cover-png-001-ref.html | 77 +++++++++++++++++ layout/reftests/xul/object-fit-cover-png-001.xhtml | 70 +++++++++++++++ .../reftests/xul/object-fit-cover-png-002-ref.html | 77 +++++++++++++++++ layout/reftests/xul/object-fit-cover-png-002.xhtml | 70 +++++++++++++++ .../reftests/xul/object-fit-cover-svg-001-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-cover-svg-001.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-cover-svg-002-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-cover-svg-002.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-cover-svg-003-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-cover-svg-003.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-cover-svg-004-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-cover-svg-004.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-cover-svg-005-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-cover-svg-005.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-cover-svg-006-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-cover-svg-006.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-fill-png-001-ref.html | 77 +++++++++++++++++ layout/reftests/xul/object-fit-fill-png-001.xhtml | 70 +++++++++++++++ .../reftests/xul/object-fit-fill-png-002-ref.html | 77 +++++++++++++++++ layout/reftests/xul/object-fit-fill-png-002.xhtml | 70 +++++++++++++++ .../reftests/xul/object-fit-fill-svg-001-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-fill-svg-001.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-fill-svg-002-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-fill-svg-002.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-fill-svg-003-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-fill-svg-003.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-fill-svg-004-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-fill-svg-004.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-fill-svg-005-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-fill-svg-005.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-fill-svg-006-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-fill-svg-006.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-none-png-001-ref.html | 77 +++++++++++++++++ layout/reftests/xul/object-fit-none-png-001.xhtml | 70 +++++++++++++++ .../reftests/xul/object-fit-none-png-002-ref.html | 77 +++++++++++++++++ layout/reftests/xul/object-fit-none-png-002.xhtml | 70 +++++++++++++++ .../reftests/xul/object-fit-none-svg-001-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-none-svg-001.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-none-svg-002-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-none-svg-002.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-none-svg-003-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-none-svg-003.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-none-svg-004-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-none-svg-004.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-none-svg-005-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-none-svg-005.xhtml | 69 +++++++++++++++ .../reftests/xul/object-fit-none-svg-006-ref.html | 76 +++++++++++++++++ layout/reftests/xul/object-fit-none-svg-006.xhtml | 69 +++++++++++++++ .../xul/object-fit-scale-down-png-001-ref.html | 78 +++++++++++++++++ .../xul/object-fit-scale-down-png-001.xhtml | 70 +++++++++++++++ .../xul/object-fit-scale-down-png-002-ref.html | 78 +++++++++++++++++ .../xul/object-fit-scale-down-png-002.xhtml | 70 +++++++++++++++ .../xul/object-fit-scale-down-svg-001-ref.html | 77 +++++++++++++++++ .../xul/object-fit-scale-down-svg-001.xhtml | 69 +++++++++++++++ .../xul/object-fit-scale-down-svg-002-ref.html | 77 +++++++++++++++++ .../xul/object-fit-scale-down-svg-002.xhtml | 69 +++++++++++++++ .../xul/object-fit-scale-down-svg-003-ref.html | 77 +++++++++++++++++ .../xul/object-fit-scale-down-svg-003.xhtml | 69 +++++++++++++++ .../xul/object-fit-scale-down-svg-004-ref.html | 77 +++++++++++++++++ .../xul/object-fit-scale-down-svg-004.xhtml | 69 +++++++++++++++ .../xul/object-fit-scale-down-svg-005-ref.html | 77 +++++++++++++++++ .../xul/object-fit-scale-down-svg-005.xhtml | 69 +++++++++++++++ .../xul/object-fit-scale-down-svg-006-ref.html | 77 +++++++++++++++++ .../xul/object-fit-scale-down-svg-006.xhtml | 69 +++++++++++++++ .../reftests/xul/object-position-png-001-ref.html | 42 +++++++++ layout/reftests/xul/object-position-png-001.xhtml | 36 ++++++++ .../reftests/xul/object-position-png-002-ref.html | 42 +++++++++ layout/reftests/xul/object-position-png-002.xhtml | 36 ++++++++ layout/reftests/xul/reftest.list | 95 +++++++++++++++++++++ .../reftests/xul/resizer-bottomend-flipped.xhtml | 10 +++ layout/reftests/xul/resizer-bottomend-rtl.xhtml | 10 +++ layout/reftests/xul/resizer-bottomend.xhtml | 10 +++ layout/reftests/xul/resizer-bottomleft-rtl.xhtml | 10 +++ layout/reftests/xul/resizer-bottomleft.xhtml | 10 +++ layout/reftests/xul/resizer-bottomright-rtl.xhtml | 10 +++ layout/reftests/xul/resizer-bottomright.xhtml | 10 +++ layout/reftests/xul/resizer-bottomstart-rtl.xhtml | 10 +++ layout/reftests/xul/resizer-bottomstart.xhtml | 10 +++ layout/reftests/xul/resizer-left.xhtml | 10 +++ layout/reftests/xul/text-crop-ref.xhtml | 35 ++++++++ layout/reftests/xul/text-crop.xhtml | 34 ++++++++ layout/reftests/xul/text-small-caps-1-ref.xhtml | 8 ++ layout/reftests/xul/text-small-caps-1.xhtml | 8 ++ layout/reftests/xul/textbox-overflow-1-ref.xhtml | 10 +++ layout/reftests/xul/textbox-overflow-1.xhtml | 10 +++ .../reftests/xul/tree-row-outline-1-notref.xhtml | 20 +++++ layout/reftests/xul/tree-row-outline-1-ref.xhtml | 30 +++++++ layout/reftests/xul/tree-row-outline-1.xhtml | 31 +++++++ layout/reftests/xul/treecell-image-svg-1-ref.xhtml | 17 ++++ layout/reftests/xul/treecell-image-svg-1a.xhtml | 17 ++++ layout/reftests/xul/treecell-image-svg-1b.xhtml | 17 ++++ .../xul/treechildren-padding-percent-1-ref.xhtml | 19 +++++ .../xul/treechildren-padding-percent-1.xhtml | 19 +++++ layout/reftests/xul/treetwisty-context-paint.svg | 4 + .../reftests/xul/treetwisty-no-context-paint.svg | 4 + .../treetwisty-svg-context-paint-1-not-ref.xhtml | 37 ++++++++ .../xul/treetwisty-svg-context-paint-1-ref.xhtml | 42 +++++++++ .../xul/treetwisty-svg-context-paint-1.xhtml | 47 ++++++++++ 146 files changed, 7446 insertions(+) create mode 100644 layout/reftests/xul/accesskey-ref.xhtml create mode 100644 layout/reftests/xul/accesskey.xhtml create mode 100644 layout/reftests/xul/blank-window.xhtml create mode 100644 layout/reftests/xul/colors-16x8-noSize.svg create mode 100644 layout/reftests/xul/colors-16x8-parDefault.svg create mode 100644 layout/reftests/xul/colors-16x8.png create mode 100644 layout/reftests/xul/colors-16x8.svg create mode 100644 layout/reftests/xul/colors-8x16-noSize.svg create mode 100644 layout/reftests/xul/colors-8x16-parDefault.svg create mode 100644 layout/reftests/xul/colors-8x16.png create mode 100644 layout/reftests/xul/colors-8x16.svg create mode 100644 layout/reftests/xul/css-flex-1-ref.html create mode 100644 layout/reftests/xul/css-flex-1.xhtml create mode 100644 layout/reftests/xul/css-grid-with-xul-item-1-ref.xhtml create mode 100644 layout/reftests/xul/css-grid-with-xul-item-1.xhtml create mode 100644 layout/reftests/xul/generate-object-fit-xul-tests.sh create mode 100644 layout/reftests/xul/generate-object-position-xul-tests.sh create mode 100644 layout/reftests/xul/green-ref.xhtml create mode 100644 layout/reftests/xul/image-appearance-dynamic-ref.xhtml create mode 100644 layout/reftests/xul/image-appearance-dynamic.xhtml create mode 100644 layout/reftests/xul/inactive-fixed-bg-bug1205630-ref.html create mode 100644 layout/reftests/xul/inactive-fixed-bg-bug1205630.xhtml create mode 100644 layout/reftests/xul/inactive-fixed-bg-bug1272525-ref.html create mode 100644 layout/reftests/xul/inactive-fixed-bg-bug1272525.xhtml create mode 100644 layout/reftests/xul/mac-tab-toolbar-ref.xhtml create mode 100644 layout/reftests/xul/mac-tab-toolbar.xhtml create mode 100644 layout/reftests/xul/menuitem-key-ref.xhtml create mode 100644 layout/reftests/xul/menuitem-key.xhtml create mode 100644 layout/reftests/xul/menulist-shrinkwrap-1-ref.xhtml create mode 100644 layout/reftests/xul/menulist-shrinkwrap-1.xhtml create mode 100644 layout/reftests/xul/menulist-shrinkwrap-2-ref.xhtml create mode 100644 layout/reftests/xul/menulist-shrinkwrap-2.xhtml create mode 100644 layout/reftests/xul/object-fit-contain-png-001-ref.html create mode 100644 layout/reftests/xul/object-fit-contain-png-001.xhtml create mode 100644 layout/reftests/xul/object-fit-contain-png-002-ref.html create mode 100644 layout/reftests/xul/object-fit-contain-png-002.xhtml create mode 100644 layout/reftests/xul/object-fit-contain-svg-001-ref.html create mode 100644 layout/reftests/xul/object-fit-contain-svg-001.xhtml create mode 100644 layout/reftests/xul/object-fit-contain-svg-002-ref.html create mode 100644 layout/reftests/xul/object-fit-contain-svg-002.xhtml create mode 100644 layout/reftests/xul/object-fit-contain-svg-003-ref.html create mode 100644 layout/reftests/xul/object-fit-contain-svg-003.xhtml create mode 100644 layout/reftests/xul/object-fit-contain-svg-004-ref.html create mode 100644 layout/reftests/xul/object-fit-contain-svg-004.xhtml create mode 100644 layout/reftests/xul/object-fit-contain-svg-005-ref.html create mode 100644 layout/reftests/xul/object-fit-contain-svg-005.xhtml create mode 100644 layout/reftests/xul/object-fit-contain-svg-006-ref.html create mode 100644 layout/reftests/xul/object-fit-contain-svg-006.xhtml create mode 100644 layout/reftests/xul/object-fit-cover-png-001-ref.html create mode 100644 layout/reftests/xul/object-fit-cover-png-001.xhtml create mode 100644 layout/reftests/xul/object-fit-cover-png-002-ref.html create mode 100644 layout/reftests/xul/object-fit-cover-png-002.xhtml create mode 100644 layout/reftests/xul/object-fit-cover-svg-001-ref.html create mode 100644 layout/reftests/xul/object-fit-cover-svg-001.xhtml create mode 100644 layout/reftests/xul/object-fit-cover-svg-002-ref.html create mode 100644 layout/reftests/xul/object-fit-cover-svg-002.xhtml create mode 100644 layout/reftests/xul/object-fit-cover-svg-003-ref.html create mode 100644 layout/reftests/xul/object-fit-cover-svg-003.xhtml create mode 100644 layout/reftests/xul/object-fit-cover-svg-004-ref.html create mode 100644 layout/reftests/xul/object-fit-cover-svg-004.xhtml create mode 100644 layout/reftests/xul/object-fit-cover-svg-005-ref.html create mode 100644 layout/reftests/xul/object-fit-cover-svg-005.xhtml create mode 100644 layout/reftests/xul/object-fit-cover-svg-006-ref.html create mode 100644 layout/reftests/xul/object-fit-cover-svg-006.xhtml create mode 100644 layout/reftests/xul/object-fit-fill-png-001-ref.html create mode 100644 layout/reftests/xul/object-fit-fill-png-001.xhtml create mode 100644 layout/reftests/xul/object-fit-fill-png-002-ref.html create mode 100644 layout/reftests/xul/object-fit-fill-png-002.xhtml create mode 100644 layout/reftests/xul/object-fit-fill-svg-001-ref.html create mode 100644 layout/reftests/xul/object-fit-fill-svg-001.xhtml create mode 100644 layout/reftests/xul/object-fit-fill-svg-002-ref.html create mode 100644 layout/reftests/xul/object-fit-fill-svg-002.xhtml create mode 100644 layout/reftests/xul/object-fit-fill-svg-003-ref.html create mode 100644 layout/reftests/xul/object-fit-fill-svg-003.xhtml create mode 100644 layout/reftests/xul/object-fit-fill-svg-004-ref.html create mode 100644 layout/reftests/xul/object-fit-fill-svg-004.xhtml create mode 100644 layout/reftests/xul/object-fit-fill-svg-005-ref.html create mode 100644 layout/reftests/xul/object-fit-fill-svg-005.xhtml create mode 100644 layout/reftests/xul/object-fit-fill-svg-006-ref.html create mode 100644 layout/reftests/xul/object-fit-fill-svg-006.xhtml create mode 100644 layout/reftests/xul/object-fit-none-png-001-ref.html create mode 100644 layout/reftests/xul/object-fit-none-png-001.xhtml create mode 100644 layout/reftests/xul/object-fit-none-png-002-ref.html create mode 100644 layout/reftests/xul/object-fit-none-png-002.xhtml create mode 100644 layout/reftests/xul/object-fit-none-svg-001-ref.html create mode 100644 layout/reftests/xul/object-fit-none-svg-001.xhtml create mode 100644 layout/reftests/xul/object-fit-none-svg-002-ref.html create mode 100644 layout/reftests/xul/object-fit-none-svg-002.xhtml create mode 100644 layout/reftests/xul/object-fit-none-svg-003-ref.html create mode 100644 layout/reftests/xul/object-fit-none-svg-003.xhtml create mode 100644 layout/reftests/xul/object-fit-none-svg-004-ref.html create mode 100644 layout/reftests/xul/object-fit-none-svg-004.xhtml create mode 100644 layout/reftests/xul/object-fit-none-svg-005-ref.html create mode 100644 layout/reftests/xul/object-fit-none-svg-005.xhtml create mode 100644 layout/reftests/xul/object-fit-none-svg-006-ref.html create mode 100644 layout/reftests/xul/object-fit-none-svg-006.xhtml create mode 100644 layout/reftests/xul/object-fit-scale-down-png-001-ref.html create mode 100644 layout/reftests/xul/object-fit-scale-down-png-001.xhtml create mode 100644 layout/reftests/xul/object-fit-scale-down-png-002-ref.html create mode 100644 layout/reftests/xul/object-fit-scale-down-png-002.xhtml create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-001-ref.html create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-001.xhtml create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-002-ref.html create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-002.xhtml create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-003-ref.html create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-003.xhtml create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-004-ref.html create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-004.xhtml create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-005-ref.html create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-005.xhtml create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-006-ref.html create mode 100644 layout/reftests/xul/object-fit-scale-down-svg-006.xhtml create mode 100644 layout/reftests/xul/object-position-png-001-ref.html create mode 100644 layout/reftests/xul/object-position-png-001.xhtml create mode 100644 layout/reftests/xul/object-position-png-002-ref.html create mode 100644 layout/reftests/xul/object-position-png-002.xhtml create mode 100644 layout/reftests/xul/reftest.list create mode 100644 layout/reftests/xul/resizer-bottomend-flipped.xhtml create mode 100644 layout/reftests/xul/resizer-bottomend-rtl.xhtml create mode 100644 layout/reftests/xul/resizer-bottomend.xhtml create mode 100644 layout/reftests/xul/resizer-bottomleft-rtl.xhtml create mode 100644 layout/reftests/xul/resizer-bottomleft.xhtml create mode 100644 layout/reftests/xul/resizer-bottomright-rtl.xhtml create mode 100644 layout/reftests/xul/resizer-bottomright.xhtml create mode 100644 layout/reftests/xul/resizer-bottomstart-rtl.xhtml create mode 100644 layout/reftests/xul/resizer-bottomstart.xhtml create mode 100644 layout/reftests/xul/resizer-left.xhtml create mode 100644 layout/reftests/xul/text-crop-ref.xhtml create mode 100644 layout/reftests/xul/text-crop.xhtml create mode 100644 layout/reftests/xul/text-small-caps-1-ref.xhtml create mode 100644 layout/reftests/xul/text-small-caps-1.xhtml create mode 100644 layout/reftests/xul/textbox-overflow-1-ref.xhtml create mode 100644 layout/reftests/xul/textbox-overflow-1.xhtml create mode 100644 layout/reftests/xul/tree-row-outline-1-notref.xhtml create mode 100644 layout/reftests/xul/tree-row-outline-1-ref.xhtml create mode 100644 layout/reftests/xul/tree-row-outline-1.xhtml create mode 100644 layout/reftests/xul/treecell-image-svg-1-ref.xhtml create mode 100644 layout/reftests/xul/treecell-image-svg-1a.xhtml create mode 100644 layout/reftests/xul/treecell-image-svg-1b.xhtml create mode 100644 layout/reftests/xul/treechildren-padding-percent-1-ref.xhtml create mode 100644 layout/reftests/xul/treechildren-padding-percent-1.xhtml create mode 100644 layout/reftests/xul/treetwisty-context-paint.svg create mode 100644 layout/reftests/xul/treetwisty-no-context-paint.svg create mode 100644 layout/reftests/xul/treetwisty-svg-context-paint-1-not-ref.xhtml create mode 100644 layout/reftests/xul/treetwisty-svg-context-paint-1-ref.xhtml create mode 100644 layout/reftests/xul/treetwisty-svg-context-paint-1.xhtml (limited to 'layout/reftests/xul') diff --git a/layout/reftests/xul/accesskey-ref.xhtml b/layout/reftests/xul/accesskey-ref.xhtml new file mode 100644 index 0000000000..5b89fa7f1d --- /dev/null +++ b/layout/reftests/xul/accesskey-ref.xhtml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/xul/accesskey.xhtml b/layout/reftests/xul/accesskey.xhtml new file mode 100644 index 0000000000..27cb2d465a --- /dev/null +++ b/layout/reftests/xul/accesskey.xhtml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/xul/blank-window.xhtml b/layout/reftests/xul/blank-window.xhtml new file mode 100644 index 0000000000..ad5e963b79 --- /dev/null +++ b/layout/reftests/xul/blank-window.xhtml @@ -0,0 +1,5 @@ + + + + diff --git a/layout/reftests/xul/colors-16x8-noSize.svg b/layout/reftests/xul/colors-16x8-noSize.svg new file mode 100644 index 0000000000..db715d875e --- /dev/null +++ b/layout/reftests/xul/colors-16x8-noSize.svg @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/xul/colors-16x8-parDefault.svg b/layout/reftests/xul/colors-16x8-parDefault.svg new file mode 100644 index 0000000000..1b0bca0737 --- /dev/null +++ b/layout/reftests/xul/colors-16x8-parDefault.svg @@ -0,0 +1,18 @@ + + + + + + + + diff --git a/layout/reftests/xul/colors-16x8.png b/layout/reftests/xul/colors-16x8.png new file mode 100644 index 0000000000..bd23845871 Binary files /dev/null and b/layout/reftests/xul/colors-16x8.png differ diff --git a/layout/reftests/xul/colors-16x8.svg b/layout/reftests/xul/colors-16x8.svg new file mode 100644 index 0000000000..08e3659402 --- /dev/null +++ b/layout/reftests/xul/colors-16x8.svg @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/layout/reftests/xul/colors-8x16-noSize.svg b/layout/reftests/xul/colors-8x16-noSize.svg new file mode 100644 index 0000000000..e741537b93 --- /dev/null +++ b/layout/reftests/xul/colors-8x16-noSize.svg @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/xul/colors-8x16-parDefault.svg b/layout/reftests/xul/colors-8x16-parDefault.svg new file mode 100644 index 0000000000..ec8c59dcbd --- /dev/null +++ b/layout/reftests/xul/colors-8x16-parDefault.svg @@ -0,0 +1,18 @@ + + + + + + + + diff --git a/layout/reftests/xul/colors-8x16.png b/layout/reftests/xul/colors-8x16.png new file mode 100644 index 0000000000..596fdb389d Binary files /dev/null and b/layout/reftests/xul/colors-8x16.png differ diff --git a/layout/reftests/xul/colors-8x16.svg b/layout/reftests/xul/colors-8x16.svg new file mode 100644 index 0000000000..c336e3af1b --- /dev/null +++ b/layout/reftests/xul/colors-8x16.svg @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/layout/reftests/xul/css-flex-1-ref.html b/layout/reftests/xul/css-flex-1-ref.html new file mode 100644 index 0000000000..a47eb8e9cf --- /dev/null +++ b/layout/reftests/xul/css-flex-1-ref.html @@ -0,0 +1,18 @@ + + + + + + +
+ + diff --git a/layout/reftests/xul/css-flex-1.xhtml b/layout/reftests/xul/css-flex-1.xhtml new file mode 100644 index 0000000000..0622e11222 --- /dev/null +++ b/layout/reftests/xul/css-flex-1.xhtml @@ -0,0 +1,27 @@ + + + + + + + + diff --git a/layout/reftests/xul/css-grid-with-xul-item-1-ref.xhtml b/layout/reftests/xul/css-grid-with-xul-item-1-ref.xhtml new file mode 100644 index 0000000000..4af706bacc --- /dev/null +++ b/layout/reftests/xul/css-grid-with-xul-item-1-ref.xhtml @@ -0,0 +1,40 @@ + + + + + .container { + border: 1px solid purple; + } + + * { margin: 0 } + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/xul/css-grid-with-xul-item-1.xhtml b/layout/reftests/xul/css-grid-with-xul-item-1.xhtml new file mode 100644 index 0000000000..cf89d8ac41 --- /dev/null +++ b/layout/reftests/xul/css-grid-with-xul-item-1.xhtml @@ -0,0 +1,53 @@ + + + + + + .container { + display: grid; + border: 1px solid purple; + } + + * { margin: 0 } + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/xul/generate-object-fit-xul-tests.sh b/layout/reftests/xul/generate-object-fit-xul-tests.sh new file mode 100644 index 0000000000..624b2e73ef --- /dev/null +++ b/layout/reftests/xul/generate-object-fit-xul-tests.sh @@ -0,0 +1,94 @@ +#!/bin/bash +# +# Any copyright is dedicated to the Public Domain. +# http://creativecommons.org/publicdomain/zero/1.0/ +# +# Script to generate XUL reftest files, from corresponding reftest +# files that use . +# +# This script expects to be run from this working directory: +# mozilla-central/layout/reftests/w3c-css/submitted/images3 + +XUL_REFTEST_PATH="../../../xul" + +imageFileArr=("colors-16x8.png" "colors-8x16.png" + "colors-16x8.svg" "colors-8x16.svg" + "colors-16x8-noSize.svg" "colors-8x16-noSize.svg" + "colors-16x8-parDefault.svg" "colors-8x16-parDefault.svg") +numImageFiles=${#imageFileArr[@]} + +# Copy image files +for ((i = 0; i < $numImageFiles; i++)); do + imageFileName=${imageFileArr[$i]} + imageDest=$XUL_REFTEST_PATH/$imageFileName + + echo "Copying $imageDest." + hg cp support/$imageFileName $imageDest +done + +# Add comment to reftest.list in dest directory: +reftestListFileName="$XUL_REFTEST_PATH/reftest.list" +echo " +# Tests for XUL with 'object-fit' & 'object-position': +# These tests should be very similar to tests in our w3c-css/submitted/images3 +# reftest directory. They live here because they use XUL, and it +# wouldn't be fair of us to make a W3C testsuite implicitly depend on XUL."\ + >> $reftestListFileName + +# Loop across all object-fit tests that use ("i" suffix): +for origTestName in object-fit*i.html; do + newTestName=$(echo $origTestName | + sed "s/i.html/.xul/") + + # Find the corresponding reference case: + referenceName=$(echo $origTestName | + sed "s/i.html/-ref.html/") + + # Generate reference file (dropping "support" subdir from image paths): + echo "Copying $referenceName to $XUL_REFTEST_PATH." + newReferenceFullPath=$XUL_REFTEST_PATH/$referenceName + hg cp $referenceName $newReferenceFullPath + sed -i "s,support/,," $newReferenceFullPath + + # Generate testcase + # (converting