From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/css/css-ruby/META.yml | 5 + .../css/css-ruby/abs-in-ruby-base-container.html | 14 ++ .../tests/css/css-ruby/abs-in-ruby-base-ref.html | 11 ++ .../tests/css/css-ruby/abs-in-ruby-base.html | 14 ++ .../tests/css/css-ruby/abs-in-ruby-container.html | 14 ++ .../tests/css/css-ruby/block-ruby-001-ref.html | 48 ++++++ .../tests/css/css-ruby/block-ruby-001.html | 50 ++++++ .../tests/css/css-ruby/block-ruby-002-ref.html | 43 +++++ .../tests/css/css-ruby/block-ruby-002.html | 51 ++++++ .../tests/css/css-ruby/block-ruby-003-ref.html | 46 ++++++ .../tests/css/css-ruby/block-ruby-003.html | 56 +++++++ .../tests/css/css-ruby/block-ruby-004-ref.html | 49 ++++++ .../tests/css/css-ruby/block-ruby-004.html | 62 +++++++ .../tests/css/css-ruby/block-ruby-005-ref.html | 52 ++++++ .../tests/css/css-ruby/block-ruby-005.html | 62 +++++++ .../tests/css/css-ruby/br-clear-all-000.html | 52 ++++++ .../tests/css/css-ruby/br-clear-all-001.html | 51 ++++++ .../tests/css/css-ruby/br-clear-all-002.html | 53 ++++++ .../css-ruby/empty-ruby-base-container-ref.html | 5 + .../css/css-ruby/empty-ruby-base-container.html | 7 + .../css-ruby/empty-ruby-text-container-abs.html | 11 ++ .../css-ruby/empty-ruby-text-container-float.html | 11 ++ .../css-ruby/empty-ruby-text-container-ref.html | 5 + .../css/css-ruby/empty-ruby-text-container.html | 7 + .../improperly-contained-annotation-001.html | 27 +++ .../tests/css/css-ruby/inheritance.html | 22 +++ .../css/css-ruby/intra-base-white-space-001.html | 35 ++++ .../css/css-ruby/line-break-around-ruby-001.html | 36 ++++ .../tests/css/css-ruby/line-spacing.html | 153 +++++++++++++++++ .../css/css-ruby/nested-ruby-pairing-001-ref.html | 27 +++ .../css/css-ruby/nested-ruby-pairing-001.html | 29 ++++ .../css/css-ruby/parsing/ruby-align-invalid.html | 21 +++ .../css/css-ruby/parsing/ruby-align-valid.html | 20 +++ .../css/css-ruby/parsing/ruby-merge-invalid.html | 23 +++ .../css/css-ruby/parsing/ruby-merge-valid.html | 19 +++ .../css-ruby/parsing/ruby-position-invalid.html | 22 +++ .../css/css-ruby/parsing/ruby-position-valid.html | 19 +++ .../tests/css/css-ruby/rb-display-001.html | 26 +++ .../tests/css/css-ruby/rbc-rtc-basic-001.html | 42 +++++ .../improperly-contained-annotation-001-ref.html | 25 +++ .../reference/intra-base-white-space-001-ref.html | 28 ++++ .../css/css-ruby/reference/rb-display-001-ref.html | 17 ++ .../css-ruby/reference/rbc-rtc-basic-001-ref.html | 29 ++++ .../reference/ruby-annotation-pairing-001-ref.html | 36 ++++ .../tests/css/css-ruby/root-block-ruby.xhtml | 38 +++++ .../tests/css/css-ruby/root-ruby-ref.xhtml | 28 ++++ .../tests/css/css-ruby/root-ruby.xhtml | 38 +++++ .../tests/css/css-ruby/rt-display-001.html | 27 +++ .../web-platform/tests/css/css-ruby/ruby-001.xht | 60 +++++++ .../tests/css/css-ruby/ruby-align-001-ref.html | 17 ++ .../tests/css/css-ruby/ruby-align-001.html | 26 +++ .../tests/css/css-ruby/ruby-align-001a.html | 26 +++ .../tests/css/css-ruby/ruby-align-002-ref.html | 28 ++++ .../tests/css/css-ruby/ruby-align-002.html | 28 ++++ .../tests/css/css-ruby/ruby-align-002a.html | 28 ++++ .../css/css-ruby/ruby-annotation-pairing-001.html | 40 +++++ .../tests/css/css-ruby/ruby-autohide-001-ref.html | 14 ++ .../tests/css/css-ruby/ruby-autohide-001.html | 16 ++ .../tests/css/css-ruby/ruby-autohide-002-ref.html | 26 +++ .../tests/css/css-ruby/ruby-autohide-002.html | 38 +++++ .../tests/css/css-ruby/ruby-autohide-003-ref.html | 17 ++ .../tests/css/css-ruby/ruby-autohide-003.html | 19 +++ .../tests/css/css-ruby/ruby-autohide-004.html | 15 ++ .../css/css-ruby/ruby-base-container-abs.html | 11 ++ .../css/css-ruby/ruby-base-container-float.html | 11 ++ .../css/css-ruby/ruby-base-different-size-ref.html | 28 ++++ .../css/css-ruby/ruby-base-different-size.html | 26 +++ .../tests/css/css-ruby/ruby-bidi-001-ref.html | 14 ++ .../tests/css/css-ruby/ruby-bidi-001.html | 16 ++ .../tests/css/css-ruby/ruby-bidi-002-ref.html | 35 ++++ .../tests/css/css-ruby/ruby-bidi-002.html | 49 ++++++ .../tests/css/css-ruby/ruby-bidi-003-ref.html | 6 + .../tests/css/css-ruby/ruby-bidi-003.html | 8 + .../tests/css/css-ruby/ruby-bidi-004-ref.html | 22 +++ .../tests/css/css-ruby/ruby-bidi-004.html | 26 +++ .../css/css-ruby/ruby-box-generation-001-ref.html | 41 +++++ .../css/css-ruby/ruby-box-generation-001.html | 56 +++++++ .../css/css-ruby/ruby-box-generation-002-ref.html | 47 ++++++ .../css/css-ruby/ruby-box-generation-002.html | 56 +++++++ .../css/css-ruby/ruby-box-generation-003-ref.html | 43 +++++ .../css/css-ruby/ruby-box-generation-003.html | 56 +++++++ .../css/css-ruby/ruby-box-generation-004-ref.html | 47 ++++++ .../css/css-ruby/ruby-box-generation-004.html | 56 +++++++ .../css/css-ruby/ruby-box-generation-005-ref.html | 45 +++++ .../css/css-ruby/ruby-box-generation-005.html | 41 +++++ .../tests/css/css-ruby/ruby-box-model-001-ref.html | 81 +++++++++ .../tests/css/css-ruby/ruby-box-model-001.html | 94 +++++++++++ .../css-ruby/ruby-dynamic-insertion-001-ref.html | 20 +++ .../css/css-ruby/ruby-dynamic-insertion-001.html | 30 ++++ .../css-ruby/ruby-dynamic-insertion-002-ref.html | 20 +++ .../css/css-ruby/ruby-dynamic-insertion-002.html | 31 ++++ .../css-ruby/ruby-dynamic-insertion-003-ref.html | 13 ++ .../css/css-ruby/ruby-dynamic-insertion-003.html | 21 +++ .../css-ruby/ruby-dynamic-insertion-004-ref.html | 15 ++ .../css/css-ruby/ruby-dynamic-insertion-004.html | 22 +++ .../css-ruby/ruby-dynamic-insertion-005-ref.html | 13 ++ .../css/css-ruby/ruby-dynamic-insertion-005.html | 22 +++ .../css/css-ruby/ruby-dynamic-removal-001-ref.html | 19 +++ .../css/css-ruby/ruby-dynamic-removal-001.html | 34 ++++ .../css/css-ruby/ruby-dynamic-removal-002-ref.html | 13 ++ .../css/css-ruby/ruby-dynamic-removal-002.html | 21 +++ .../css/css-ruby/ruby-dynamic-removal-003-ref.html | 20 +++ .../css/css-ruby/ruby-dynamic-removal-003.html | 33 ++++ .../css/css-ruby/ruby-float-handling-001-ref.html | 19 +++ .../css/css-ruby/ruby-float-handling-001.html | 21 +++ .../css/css-ruby/ruby-inlinize-blocks-001-ref.html | 23 +++ .../css/css-ruby/ruby-inlinize-blocks-001.html | 25 +++ .../css/css-ruby/ruby-inlinize-blocks-002-ref.html | 42 +++++ .../css/css-ruby/ruby-inlinize-blocks-002.html | 44 +++++ .../css/css-ruby/ruby-inlinize-blocks-003-ref.html | 25 +++ .../css/css-ruby/ruby-inlinize-blocks-003.html | 26 +++ .../css/css-ruby/ruby-inlinize-blocks-004-ref.html | 23 +++ .../css/css-ruby/ruby-inlinize-blocks-004.html | 25 +++ .../css/css-ruby/ruby-inlinize-blocks-005-ref.html | 30 ++++ .../css/css-ruby/ruby-inlinize-blocks-005.html | 32 ++++ .../ruby-intra-level-whitespace-001-ref.html | 18 ++ .../css-ruby/ruby-intra-level-whitespace-001.html | 20 +++ .../ruby-intra-level-whitespace-002-ref.html | 24 +++ .../css-ruby/ruby-intra-level-whitespace-002.html | 31 ++++ .../ruby-intra-level-whitespace-003-ref.html | 10 ++ .../css-ruby/ruby-intra-level-whitespace-003.html | 32 ++++ .../css/css-ruby/ruby-intrinsic-isize-001-ref.html | 48 ++++++ .../css/css-ruby/ruby-intrinsic-isize-001.html | 47 ++++++ .../css/css-ruby/ruby-intrinsic-isize-002-ref.html | 28 ++++ .../css/css-ruby/ruby-intrinsic-isize-002.html | 30 ++++ .../css/css-ruby/ruby-intrinsic-isize-003-ref.html | 54 ++++++ .../css/css-ruby/ruby-intrinsic-isize-003.html | 53 ++++++ .../css/css-ruby/ruby-justification-001-ref.html | 12 ++ .../tests/css/css-ruby/ruby-justification-001.html | 15 ++ .../css/css-ruby/ruby-justification-002-ref.html | 17 ++ .../tests/css/css-ruby/ruby-justification-002.html | 23 +++ .../css-ruby/ruby-lang-specific-style-001-ref.html | 12 ++ .../css/css-ruby/ruby-lang-specific-style-001.html | 14 ++ .../css-ruby/ruby-layout-internal-boxes-ref.html | 179 ++++++++++++++++++++ .../css/css-ruby/ruby-layout-internal-boxes.html | 181 +++++++++++++++++++++ .../ruby-line-break-suppression-001-ref.html | 11 ++ .../css-ruby/ruby-line-break-suppression-001.html | 13 ++ .../ruby-line-break-suppression-002-ref.html | 13 ++ .../css-ruby/ruby-line-break-suppression-002.html | 15 ++ .../ruby-line-break-suppression-003-ref.html | 16 ++ .../css-ruby/ruby-line-break-suppression-003.html | 21 +++ .../ruby-line-break-suppression-004-ref.html | 7 + .../css-ruby/ruby-line-break-suppression-004.html | 9 + .../ruby-line-break-suppression-005-ref.html | 7 + .../css-ruby/ruby-line-break-suppression-005.html | 9 + .../css/css-ruby/ruby-line-breaking-001-ref.html | 14 ++ .../tests/css/css-ruby/ruby-line-breaking-001.html | 19 +++ .../css/css-ruby/ruby-line-breaking-002-ref.html | 11 ++ .../tests/css/css-ruby/ruby-line-breaking-002.html | 13 ++ .../css/css-ruby/ruby-line-breaking-003-ref.html | 18 ++ .../tests/css/css-ruby/ruby-line-breaking-003.html | 28 ++++ .../tests/css/css-ruby/ruby-no-transform-ref.html | 10 ++ .../tests/css/css-ruby/ruby-no-transform.html | 17 ++ .../css/css-ruby/ruby-position-alternate.html | 75 +++++++++ .../tests/css/css-ruby/ruby-position.html | 47 ++++++ .../tests/css/css-ruby/ruby-reflow-001-noruby.html | 18 ++ .../css/css-ruby/ruby-reflow-001-opaqueruby.html | 22 +++ .../css-ruby/ruby-reflow-001-transparentruby.html | 23 +++ .../tests/css/css-ruby/ruby-span-001-ref.html | 7 + .../tests/css/css-ruby/ruby-span-001.html | 9 + .../tests/css/css-ruby/ruby-text-collapse-ref.html | 21 +++ .../tests/css/css-ruby/ruby-text-collapse.html | 23 +++ .../ruby-text-combine-upright-001-ref.html | 21 +++ .../css-ruby/ruby-text-combine-upright-001a.html | 23 +++ .../css-ruby/ruby-text-combine-upright-001b.html | 23 +++ .../ruby-text-combine-upright-002-ref.html | 21 +++ .../css-ruby/ruby-text-combine-upright-002a.html | 23 +++ .../css-ruby/ruby-text-combine-upright-002b.html | 23 +++ .../css/css-ruby/ruby-whitespace-001-ref.html | 33 ++++ .../tests/css/css-ruby/ruby-whitespace-001.html | 33 ++++ .../css/css-ruby/ruby-whitespace-002-ref.html | 15 ++ .../tests/css/css-ruby/ruby-whitespace-002.html | 16 ++ .../css/css-ruby/ruby-with-floats-001-ref.html | 4 + .../tests/css/css-ruby/ruby-with-floats-001.html | 7 + .../css/css-ruby/ruby-with-floats-002-ref.html | 5 + .../tests/css/css-ruby/ruby-with-floats-002.html | 8 + .../css/css-ruby/ruby-with-floats-003-ref.html | 5 + .../tests/css/css-ruby/ruby-with-floats-003.html | 8 + .../tests/css/css-ruby/support/ruby-common.css | 18 ++ .../css/css-ruby/support/ruby-dynamic-insertion.js | 42 +++++ .../css/css-ruby/support/ruby-dynamic-removal.js | 14 ++ 181 files changed, 5247 insertions(+) create mode 100644 testing/web-platform/tests/css/css-ruby/META.yml create mode 100644 testing/web-platform/tests/css/css-ruby/abs-in-ruby-base-container.html create mode 100644 testing/web-platform/tests/css/css-ruby/abs-in-ruby-base-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/abs-in-ruby-base.html create mode 100644 testing/web-platform/tests/css/css-ruby/abs-in-ruby-container.html create mode 100644 testing/web-platform/tests/css/css-ruby/block-ruby-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/block-ruby-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/block-ruby-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/block-ruby-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/block-ruby-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/block-ruby-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/block-ruby-004-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/block-ruby-004.html create mode 100644 testing/web-platform/tests/css/css-ruby/block-ruby-005-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/block-ruby-005.html create mode 100644 testing/web-platform/tests/css/css-ruby/br-clear-all-000.html create mode 100644 testing/web-platform/tests/css/css-ruby/br-clear-all-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/br-clear-all-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/empty-ruby-base-container-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/empty-ruby-base-container.html create mode 100644 testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-abs.html create mode 100644 testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-float.html create mode 100644 testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/empty-ruby-text-container.html create mode 100644 testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/inheritance.html create mode 100644 testing/web-platform/tests/css/css-ruby/intra-base-white-space-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/line-break-around-ruby-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/line-spacing.html create mode 100644 testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/parsing/ruby-align-invalid.html create mode 100644 testing/web-platform/tests/css/css-ruby/parsing/ruby-align-valid.html create mode 100644 testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-invalid.html create mode 100644 testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-valid.html create mode 100644 testing/web-platform/tests/css/css-ruby/parsing/ruby-position-invalid.html create mode 100644 testing/web-platform/tests/css/css-ruby/parsing/ruby-position-valid.html create mode 100644 testing/web-platform/tests/css/css-ruby/rb-display-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/rbc-rtc-basic-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/reference/improperly-contained-annotation-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/reference/intra-base-white-space-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/reference/rb-display-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/reference/rbc-rtc-basic-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/reference/ruby-annotation-pairing-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/root-block-ruby.xhtml create mode 100644 testing/web-platform/tests/css/css-ruby/root-ruby-ref.xhtml create mode 100644 testing/web-platform/tests/css/css-ruby/root-ruby.xhtml create mode 100644 testing/web-platform/tests/css/css-ruby/rt-display-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-001.xht create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-align-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-align-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-align-001a.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-align-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-align-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-align-002a.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-annotation-pairing-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-autohide-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-autohide-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-autohide-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-autohide-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-autohide-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-autohide-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-autohide-004.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-base-container-abs.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-base-container-float.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-base-different-size-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-base-different-size.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-bidi-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-bidi-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-bidi-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-bidi-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-bidi-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-bidi-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-bidi-004-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-bidi-004.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-generation-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-generation-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-generation-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-generation-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-generation-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-generation-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-generation-004-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-generation-004.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-generation-005-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-generation-005.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-model-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-box-model-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-004-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-004.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-005-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-005.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-float-handling-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-float-handling-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-004-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-004.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-005-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-005.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-justification-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-justification-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-justification-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-justification-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-lang-specific-style-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-lang-specific-style-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-layout-internal-boxes-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-layout-internal-boxes.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-004-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-004.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-005-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-005.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-breaking-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-breaking-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-breaking-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-breaking-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-breaking-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-line-breaking-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-no-transform-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-no-transform.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-position-alternate.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-position.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-reflow-001-noruby.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-reflow-001-opaqueruby.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-reflow-001-transparentruby.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-span-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-span-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-text-collapse-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-text-collapse.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001a.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001b.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002a.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002b.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-whitespace-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-whitespace-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-whitespace-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-whitespace-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-with-floats-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-with-floats-001.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-with-floats-002-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-with-floats-002.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-with-floats-003-ref.html create mode 100644 testing/web-platform/tests/css/css-ruby/ruby-with-floats-003.html create mode 100644 testing/web-platform/tests/css/css-ruby/support/ruby-common.css create mode 100644 testing/web-platform/tests/css/css-ruby/support/ruby-dynamic-insertion.js create mode 100644 testing/web-platform/tests/css/css-ruby/support/ruby-dynamic-removal.js (limited to 'testing/web-platform/tests/css/css-ruby') diff --git a/testing/web-platform/tests/css/css-ruby/META.yml b/testing/web-platform/tests/css/css-ruby/META.yml new file mode 100644 index 0000000000..b0098caea1 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/META.yml @@ -0,0 +1,5 @@ +spec: https://drafts.csswg.org/css-ruby/ +suggested_reviewers: + - kojiishi + - fantasai + - upsuper diff --git a/testing/web-platform/tests/css/css-ruby/abs-in-ruby-base-container.html b/testing/web-platform/tests/css/css-ruby/abs-in-ruby-base-container.html new file mode 100644 index 0000000000..0a4ad8a24c --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/abs-in-ruby-base-container.html @@ -0,0 +1,14 @@ + + +Absolutely-positioned element in ruby base container + + + + + + + +XX diff --git a/testing/web-platform/tests/css/css-ruby/abs-in-ruby-base-ref.html b/testing/web-platform/tests/css/css-ruby/abs-in-ruby-base-ref.html new file mode 100644 index 0000000000..0c7f57b1d7 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/abs-in-ruby-base-ref.html @@ -0,0 +1,11 @@ + + +CSS Reference + + + + +XX diff --git a/testing/web-platform/tests/css/css-ruby/abs-in-ruby-base.html b/testing/web-platform/tests/css/css-ruby/abs-in-ruby-base.html new file mode 100644 index 0000000000..bff3a3b748 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/abs-in-ruby-base.html @@ -0,0 +1,14 @@ + + +Absolutely-positioned element in ruby base + + + + + + + +XX diff --git a/testing/web-platform/tests/css/css-ruby/abs-in-ruby-container.html b/testing/web-platform/tests/css/css-ruby/abs-in-ruby-container.html new file mode 100644 index 0000000000..41be48c47a --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/abs-in-ruby-container.html @@ -0,0 +1,14 @@ + + +Absolutely-positioned element in ruby container + + + + + + + +XX diff --git a/testing/web-platform/tests/css/css-ruby/block-ruby-001-ref.html b/testing/web-platform/tests/css/css-ruby/block-ruby-001-ref.html new file mode 100644 index 0000000000..076a2f01cf --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/block-ruby-001-ref.html @@ -0,0 +1,48 @@ + + + + +CSS Ruby Reference: basic 'block ruby' layout. + + +A
B +A
B +
A
B
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-ruby/block-ruby-001.html b/testing/web-platform/tests/css/css-ruby/block-ruby-001.html new file mode 100644 index 0000000000..0602116aac --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/block-ruby-001.html @@ -0,0 +1,50 @@ + + + + +CSS Ruby Test: basic 'block ruby' layout. + + + + + +AB +AB +
AB
+
+ + +
+ diff --git a/testing/web-platform/tests/css/css-ruby/block-ruby-002-ref.html b/testing/web-platform/tests/css/css-ruby/block-ruby-002-ref.html new file mode 100644 index 0000000000..a4d26153da --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/block-ruby-002-ref.html @@ -0,0 +1,43 @@ + + + + +Reference: blockification/inlinification of 'display:ruby/block ruby'. + + +A
B
+A
B
+A +
+
+B +
+ + + + + +
block ruby, block ruby, block ruby, block ruby, ruby, ruby, ruby, ruby, ruby, ruby, ruby, ruby, 
+ diff --git a/testing/web-platform/tests/css/css-ruby/block-ruby-002.html b/testing/web-platform/tests/css/css-ruby/block-ruby-002.html new file mode 100644 index 0000000000..73fbc3015b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/block-ruby-002.html @@ -0,0 +1,51 @@ + + + + +CSS Ruby Test: blockification/inlinification of 'display:ruby/block ruby'. + + + + + + +AB +AB +A + + +B + + + + + + +

+
+
diff --git a/testing/web-platform/tests/css/css-ruby/block-ruby-003-ref.html b/testing/web-platform/tests/css/css-ruby/block-ruby-003-ref.html
new file mode 100644
index 0000000000..05eb7dbb99
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/block-ruby-003-ref.html
@@ -0,0 +1,46 @@
+
+
+
+
+CSS Reference File
+
+
+
+X
+AXB
+AXB
+AXXB
+AXXB
+XXる
+XXる
+XXる
+X
+X
+XX
+
+
diff --git a/testing/web-platform/tests/css/css-ruby/block-ruby-003.html b/testing/web-platform/tests/css/css-ruby/block-ruby-003.html
new file mode 100644
index 0000000000..26b33a1f6a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/block-ruby-003.html
@@ -0,0 +1,56 @@
+
+
+
+
+CSS Ruby Test: Text node insertion in 'display:ruby/block ruby'.
+
+
+
+
+
+
+
+
+AB
+AB
+AB
+AB
+
+
+
+
+
+X
+
+
+
diff --git a/testing/web-platform/tests/css/css-ruby/block-ruby-004-ref.html b/testing/web-platform/tests/css/css-ruby/block-ruby-004-ref.html
new file mode 100644
index 0000000000..be7e89658d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/block-ruby-004-ref.html
@@ -0,0 +1,49 @@
+
+
+
+
+CSS Reference File
+
+
+
+
+X
+AB
+AXB
+AXB
+AXB
+X
+X
+X
+
+X
+X
+
+
diff --git a/testing/web-platform/tests/css/css-ruby/block-ruby-004.html b/testing/web-platform/tests/css/css-ruby/block-ruby-004.html
new file mode 100644
index 0000000000..33ab4207b1
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/block-ruby-004.html
@@ -0,0 +1,62 @@
+
+
+
+
+CSS Ruby Test: RT append in 'display:ruby/block ruby'.
+
+
+
+
+
+
+
+
+
+X
+AB
+AXB
+AXB
+AXB
+X
+X
+X
+
+X
+X
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-ruby/block-ruby-005-ref.html b/testing/web-platform/tests/css/css-ruby/block-ruby-005-ref.html
new file mode 100644
index 0000000000..06c6eccd9a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/block-ruby-005-ref.html
@@ -0,0 +1,52 @@
+
+
+
+
+CSS Reference File
+
+
+
+
zzzzzzzzzzzz
+X
zzzzzzzzzzzz
+A
zzzzzzzzzzzz
B
+AX
zzzzzzzzzzzz
B
+AX
zzzzzzzzzzzz
zzzzzzzzzzzz
B
+A
zzzzzzzzzzzz
X
zzzzzzzzzzzz
B
+X
zzzzzzzzzzzz
zzzzzzzzzzzz
+X
zzzzzzzzzzzz
zzzzzzzzzzzz
+X
zzzzzzzzzzzz
zzzzzzzzzzzz
+
zzzzzzzzzzzz
+X
zzzzzzzzzzzz
+X
zzzzzzzzzzzz
+X
zzzzzzzzzzzz
+ + diff --git a/testing/web-platform/tests/css/css-ruby/block-ruby-005.html b/testing/web-platform/tests/css/css-ruby/block-ruby-005.html new file mode 100644 index 0000000000..cf09e76833 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/block-ruby-005.html @@ -0,0 +1,62 @@ + + + + +CSS Ruby Test: DIV append in 'display:ruby/block ruby'. + + + + + + + +
zzzzzzzzzzzz
+X +AB +AXB +AXB +AXB +X +X +X + +X +X +X + + + + diff --git a/testing/web-platform/tests/css/css-ruby/br-clear-all-000.html b/testing/web-platform/tests/css/css-ruby/br-clear-all-000.html new file mode 100644 index 0000000000..91c5a0b63b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/br-clear-all-000.html @@ -0,0 +1,52 @@ + + + + + +

The yellow box should encompass its contents and also the cyan float, due to + clearance. The yellow box has bottom padding, and the blue ruby annotation box + is allowed to overflow into the padding area. In this case the blue box isn't + tall enough to even get past the float, though.

+
+
+ +
+ +
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/css-ruby/br-clear-all-001.html b/testing/web-platform/tests/css/css-ruby/br-clear-all-001.html new file mode 100644 index 0000000000..7c71eab4dd --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/br-clear-all-001.html @@ -0,0 +1,51 @@ + + + + + +

The yellow box should encompass its contents and also the cyan float, due to + clearance. The yellow box has bottom padding, and the blue ruby annotation box + is allowed to overflow into the padding area.

+
+
+ +
+ +
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/css-ruby/br-clear-all-002.html b/testing/web-platform/tests/css/css-ruby/br-clear-all-002.html new file mode 100644 index 0000000000..487fd33b5c --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/br-clear-all-002.html @@ -0,0 +1,53 @@ + + + + + +

The yellow box should encompass its contents and also the cyan float, due to + clearance. The yellow box has bottom padding, and the blue ruby annotation box + is allowed to overflow into the padding area. In this case the blue box is so + tall it will use the entire padding area, and also stretch the yellow box + somewhat.

+
+
+ +
+ +
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/css-ruby/empty-ruby-base-container-ref.html b/testing/web-platform/tests/css/css-ruby/empty-ruby-base-container-ref.html new file mode 100644 index 0000000000..e6119468c5 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/empty-ruby-base-container-ref.html @@ -0,0 +1,5 @@ + + +CSS Reference File + +
a bc
diff --git a/testing/web-platform/tests/css/css-ruby/empty-ruby-base-container.html b/testing/web-platform/tests/css/css-ruby/empty-ruby-base-container.html new file mode 100644 index 0000000000..4d86e07985 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/empty-ruby-base-container.html @@ -0,0 +1,7 @@ + + +Empty ruby base container + + + +
abc
diff --git a/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-abs.html b/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-abs.html new file mode 100644 index 0000000000..025859ea74 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-abs.html @@ -0,0 +1,11 @@ + + +Empty ruby text container + + + + + +
ab cd
diff --git a/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-float.html b/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-float.html new file mode 100644 index 0000000000..88bcf42736 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-float.html @@ -0,0 +1,11 @@ + + +Empty ruby text container + + + + + +
ab cd
diff --git a/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-ref.html b/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-ref.html new file mode 100644 index 0000000000..9b513c9ada --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container-ref.html @@ -0,0 +1,5 @@ + + +Empty ruby text container + +
abcd
diff --git a/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container.html b/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container.html new file mode 100644 index 0000000000..972013c662 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/empty-ruby-text-container.html @@ -0,0 +1,7 @@ + + +Empty ruby text container + + + +
abcd
diff --git a/testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html b/testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html new file mode 100644 index 0000000000..3790ba0bd1 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html @@ -0,0 +1,27 @@ + + + + + CSS Ruby Test: Improperly-contained ruby annotation + + + + + + + + + + + BA diff --git a/testing/web-platform/tests/css/css-ruby/inheritance.html b/testing/web-platform/tests/css/css-ruby/inheritance.html new file mode 100644 index 0000000000..0128ea1ee8 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/inheritance.html @@ -0,0 +1,22 @@ + + + + +Inheritance of CSS Ruby Layout properties + + + + + + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-ruby/intra-base-white-space-001.html b/testing/web-platform/tests/css/css-ruby/intra-base-white-space-001.html new file mode 100644 index 0000000000..86468376c3 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/intra-base-white-space-001.html @@ -0,0 +1,35 @@ + + + + + CSS Ruby Test: intra-base white space (complex) + + + + + + + + + + + + + b cd e + + aaaa + + + + diff --git a/testing/web-platform/tests/css/css-ruby/line-break-around-ruby-001.html b/testing/web-platform/tests/css/css-ruby/line-break-around-ruby-001.html new file mode 100644 index 0000000000..c631f201e3 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/line-break-around-ruby-001.html @@ -0,0 +1,36 @@ + + +CSS Ruby Test: Test line breaking before and after <ruby> elements. + + + + + + + +
+
+
あ(かき
+
あい)か
+
)か
+
あ(
+
)か
+
あ()か
+
+ diff --git a/testing/web-platform/tests/css/css-ruby/line-spacing.html b/testing/web-platform/tests/css/css-ruby/line-spacing.html new file mode 100644 index 0000000000..9d3c6f23e7 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/line-spacing.html @@ -0,0 +1,153 @@ + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001-ref.html b/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001-ref.html new file mode 100644 index 0000000000..8c47023287 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001-ref.html @@ -0,0 +1,27 @@ + + + + + CSS Reference: Basic nested ruby + + + + +

Test passes if content in the two blocks are identical:

+
+ とうなんSoutheastの方角 +
+
+ とうなんSoutheastの方角 +
+ + diff --git a/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html b/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html new file mode 100644 index 0000000000..d502dbca9b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html @@ -0,0 +1,29 @@ + + + + + CSS Test: Basic nested ruby + + + + + + +

Test passes if content in the two blocks are identical:

+
+ とうなんSoutheastの方角 +
+
+ とうなんSoutheastの方角 +
+ + diff --git a/testing/web-platform/tests/css/css-ruby/parsing/ruby-align-invalid.html b/testing/web-platform/tests/css/css-ruby/parsing/ruby-align-invalid.html new file mode 100644 index 0000000000..fcb8511d9e --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/parsing/ruby-align-invalid.html @@ -0,0 +1,21 @@ + + + + +CSS Ruby Layout: parsing ruby-align with invalid values + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/parsing/ruby-align-valid.html b/testing/web-platform/tests/css/css-ruby/parsing/ruby-align-valid.html new file mode 100644 index 0000000000..23093b2b23 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/parsing/ruby-align-valid.html @@ -0,0 +1,20 @@ + + + + +CSS Ruby Layout: parsing ruby-align with valid values + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-invalid.html b/testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-invalid.html new file mode 100644 index 0000000000..b618bcb5da --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-invalid.html @@ -0,0 +1,23 @@ + + + + +CSS Ruby Layout: parsing ruby-merge with invalid values + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-valid.html b/testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-valid.html new file mode 100644 index 0000000000..5694e87dff --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-valid.html @@ -0,0 +1,19 @@ + + + + +CSS Ruby Layout: parsing ruby-merge with valid values + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/parsing/ruby-position-invalid.html b/testing/web-platform/tests/css/css-ruby/parsing/ruby-position-invalid.html new file mode 100644 index 0000000000..907c7deee3 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/parsing/ruby-position-invalid.html @@ -0,0 +1,22 @@ + + + + +CSS Ruby Layout: parsing ruby-position with invalid values + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/parsing/ruby-position-valid.html b/testing/web-platform/tests/css/css-ruby/parsing/ruby-position-valid.html new file mode 100644 index 0000000000..2a21748613 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/parsing/ruby-position-valid.html @@ -0,0 +1,19 @@ + + + + +CSS Ruby Layout: parsing ruby-position with valid values + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/rb-display-001.html b/testing/web-platform/tests/css/css-ruby/rb-display-001.html new file mode 100644 index 0000000000..5149eb34a4 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/rb-display-001.html @@ -0,0 +1,26 @@ + + + + + CSS Ruby Test: element with 'display: ruby-base' (basic) + + + + + + + + + + basbasTT diff --git a/testing/web-platform/tests/css/css-ruby/rbc-rtc-basic-001.html b/testing/web-platform/tests/css/css-ruby/rbc-rtc-basic-001.html new file mode 100644 index 0000000000..758490a553 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/rbc-rtc-basic-001.html @@ -0,0 +1,42 @@ + + + + + + + CSS Ruby Test: rbc and rtc elements (basic) + + + + + + + + + あい + + でいする + + + + diff --git a/testing/web-platform/tests/css/css-ruby/reference/improperly-contained-annotation-001-ref.html b/testing/web-platform/tests/css/css-ruby/reference/improperly-contained-annotation-001-ref.html new file mode 100644 index 0000000000..72a55541bc --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/reference/improperly-contained-annotation-001-ref.html @@ -0,0 +1,25 @@ + + + + + CSS Reference File + + + + + + BA + + diff --git a/testing/web-platform/tests/css/css-ruby/reference/intra-base-white-space-001-ref.html b/testing/web-platform/tests/css/css-ruby/reference/intra-base-white-space-001-ref.html new file mode 100644 index 0000000000..4615b53ea7 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/reference/intra-base-white-space-001-ref.html @@ -0,0 +1,28 @@ + + + + + CSS Reference File + + + + + + + + ba caaea + + + + diff --git a/testing/web-platform/tests/css/css-ruby/reference/rb-display-001-ref.html b/testing/web-platform/tests/css/css-ruby/reference/rb-display-001-ref.html new file mode 100644 index 0000000000..f8ed4022bc --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/reference/rb-display-001-ref.html @@ -0,0 +1,17 @@ + + + + + CSS Reference File + + + + + + basTbasT diff --git a/testing/web-platform/tests/css/css-ruby/reference/rbc-rtc-basic-001-ref.html b/testing/web-platform/tests/css/css-ruby/reference/rbc-rtc-basic-001-ref.html new file mode 100644 index 0000000000..2860c848b5 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/reference/rbc-rtc-basic-001-ref.html @@ -0,0 +1,29 @@ + + + + + + + CSS Reference File + + + + + + あい  + + + + 私に + + diff --git a/testing/web-platform/tests/css/css-ruby/reference/ruby-annotation-pairing-001-ref.html b/testing/web-platform/tests/css/css-ruby/reference/ruby-annotation-pairing-001-ref.html new file mode 100644 index 0000000000..2a8f9a836f --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/reference/ruby-annotation-pairing-001-ref.html @@ -0,0 +1,36 @@ + + + + + CSS Reference File + + + + + + +
A
+ +
W Z
+ +
A
+ +
W Z
+ +
A
+ +
W Z
diff --git a/testing/web-platform/tests/css/css-ruby/root-block-ruby.xhtml b/testing/web-platform/tests/css/css-ruby/root-block-ruby.xhtml new file mode 100644 index 0000000000..51ac507c3b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/root-block-ruby.xhtml @@ -0,0 +1,38 @@ + + + + +CSS Ruby Test: :root element with 'display:block ruby'. + + + + + + +べ + + + + + A + B + + +

+
+
diff --git a/testing/web-platform/tests/css/css-ruby/root-ruby-ref.xhtml b/testing/web-platform/tests/css/css-ruby/root-ruby-ref.xhtml
new file mode 100644
index 0000000000..9edd7e3601
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/root-ruby-ref.xhtml
@@ -0,0 +1,28 @@
+
+
+
+
+Reference: :root element with 'display:ruby'.
+
+
+べ
+
+  
+
+
+  A
+  B
+
+
+
block ruby, 
+
diff --git a/testing/web-platform/tests/css/css-ruby/root-ruby.xhtml b/testing/web-platform/tests/css/css-ruby/root-ruby.xhtml new file mode 100644 index 0000000000..4b78690dd4 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/root-ruby.xhtml @@ -0,0 +1,38 @@ + + + + +CSS Ruby Test: :root element with 'display:ruby'. + + + + + + +べ + + + + + A + B + + +

+
+
diff --git a/testing/web-platform/tests/css/css-ruby/rt-display-001.html b/testing/web-platform/tests/css/css-ruby/rt-display-001.html
new file mode 100644
index 0000000000..a83ce243b3
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/rt-display-001.html
@@ -0,0 +1,27 @@
+
+
+  
+
+  CSS Ruby Test: element with 'display: ruby-text' (basic)
+
+  
+  
+  
+  
+
+
+  
+
+  basbasTT
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-001.xht b/testing/web-platform/tests/css/css-ruby/ruby-001.xht
new file mode 100644
index 0000000000..80f49f0dbc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/ruby-001.xht
@@ -0,0 +1,60 @@
+
+
+ 
+  Ruby: Ping Test
+  
+  
+  
+    
+ 
+ 
+  

There should be exactly four lines of text below.

+

+ + + 2. This is + the second + line. + + + 1. This is + the first + line. + + + 3. This is the third line. + + +

+

+ + + 4. This + is + the + + + fourth + and + final + + + line. + + +

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-align-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-align-001-ref.html new file mode 100644 index 0000000000..eb368b3ae6 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-align-001-ref.html @@ -0,0 +1,17 @@ + + +Tests for ruby-align + + + + + + +
X X X
+
X X X
+
X X X
+ +
X X X
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-align-001.html b/testing/web-platform/tests/css/css-ruby/ruby-align-001.html new file mode 100644 index 0000000000..13c96f53f2 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-align-001.html @@ -0,0 +1,26 @@ + + +Tests for ruby-align + + + + + + + + + + X X X
+

+ + X X X
+

+ + X X X
+

+ + X X X
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-align-001a.html b/testing/web-platform/tests/css/css-ruby/ruby-align-001a.html new file mode 100644 index 0000000000..6e652f1726 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-align-001a.html @@ -0,0 +1,26 @@ + + +Tests for ruby-align + + + + + + + + + + X X X
+

+ + X X X
+

+ + X X X
+

+ + X X X
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-align-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-align-002-ref.html new file mode 100644 index 0000000000..e4dd3c8bbe --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-align-002-ref.html @@ -0,0 +1,28 @@ + + +Tests for ruby-align + + + + + + + +
X X X
+

+ +
X X X
+

+ +
X X X
+

+ + +
X X X
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-align-002.html b/testing/web-platform/tests/css/css-ruby/ruby-align-002.html new file mode 100644 index 0000000000..ec40be5e10 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-align-002.html @@ -0,0 +1,28 @@ + + +Tests for ruby-align + + + + + + + + + +
X X X +

+ +
X X X +

+ +
X X X +

+ +
X X X +
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-align-002a.html b/testing/web-platform/tests/css/css-ruby/ruby-align-002a.html new file mode 100644 index 0000000000..dfb7ae37ed --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-align-002a.html @@ -0,0 +1,28 @@ + + +Tests for ruby-align + + + + + + + + + +
X X X +

+ +
X X X +

+ +
X X X +

+ +
X X X +
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-annotation-pairing-001.html b/testing/web-platform/tests/css/css-ruby/ruby-annotation-pairing-001.html new file mode 100644 index 0000000000..453ba96ebd --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-annotation-pairing-001.html @@ -0,0 +1,40 @@ + + + + + CSS Ruby Test: single ruby annotation pairing + + + + + + + + + + + + + +

W Z A

+ +
A
+ +
W Z
+ +

W Z A

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-autohide-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-autohide-001-ref.html new file mode 100644 index 0000000000..43945ce1b2 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-autohide-001-ref.html @@ -0,0 +1,14 @@ + + + + + CSS Reference: Autohide ruby annotations which are identical to their bases + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-autohide-001.html b/testing/web-platform/tests/css/css-ruby/ruby-autohide-001.html new file mode 100644 index 0000000000..61bc6706ba --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-autohide-001.html @@ -0,0 +1,16 @@ + + + + + CSS Test: Autohide ruby annotations which are identical to their bases + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-autohide-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-autohide-002-ref.html new file mode 100644 index 0000000000..afa0f3cd24 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-autohide-002-ref.html @@ -0,0 +1,26 @@ + + + + + CSS Reference: Autohide ruby annotations which are identical to their bases + + + +

+ + ri +

+

+ ri + +

+

+ + +

+

+ + +

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-autohide-002.html b/testing/web-platform/tests/css/css-ruby/ruby-autohide-002.html new file mode 100644 index 0000000000..3d5131cdd8 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-autohide-002.html @@ -0,0 +1,38 @@ + + + + + CSS Test: Autohide ruby annotations which are identical to their bases + + + + + + +

+ + +

+

+ + +

+

+ + ri +

+

+ ri + +

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-autohide-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-autohide-003-ref.html new file mode 100644 index 0000000000..468b17d4ed --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-autohide-003-ref.html @@ -0,0 +1,17 @@ + + + + + CSS Reference: Autohide ruby annotations which are identical to their bases + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-autohide-003.html b/testing/web-platform/tests/css/css-ruby/ruby-autohide-003.html new file mode 100644 index 0000000000..2279e7540e --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-autohide-003.html @@ -0,0 +1,19 @@ + + + + + CSS Test: Autohide ruby annotations which are identical to their bases + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-autohide-004.html b/testing/web-platform/tests/css/css-ruby/ruby-autohide-004.html new file mode 100644 index 0000000000..4499cf3e16 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-autohide-004.html @@ -0,0 +1,15 @@ + + + + + CSS Test: Autohide ruby annotations which are identical to their bases + + + + + + + 振 + + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-base-container-abs.html b/testing/web-platform/tests/css/css-ruby/ruby-base-container-abs.html new file mode 100644 index 0000000000..35baeda23e --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-base-container-abs.html @@ -0,0 +1,11 @@ + + +CSS Ruby Test: ruby base container with abs. pos. child + + + + + +
a bc
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-base-container-float.html b/testing/web-platform/tests/css/css-ruby/ruby-base-container-float.html new file mode 100644 index 0000000000..18ef9bb4ba --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-base-container-float.html @@ -0,0 +1,11 @@ + + +CSS Ruby Test: ruby base container with floating child + + + + + +
a bc
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-base-different-size-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-base-different-size-ref.html new file mode 100644 index 0000000000..70f47eaa8b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-base-different-size-ref.html @@ -0,0 +1,28 @@ + + + +CSS Ruby Reference + + + + +

XXxx

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-base-different-size.html b/testing/web-platform/tests/css/css-ruby/ruby-base-different-size.html new file mode 100644 index 0000000000..f71b5644c6 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-base-different-size.html @@ -0,0 +1,26 @@ + + + +CSS Ruby Test: sizing and positioning of ruby containers when size of ruby bases and the base container differ + + + + + + +

XXxx

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-bidi-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-bidi-001-ref.html new file mode 100644 index 0000000000..c714921d32 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-bidi-001-ref.html @@ -0,0 +1,14 @@ + + +Position of ruby annotation in RTL text + + + + + basetext + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-bidi-001.html b/testing/web-platform/tests/css/css-ruby/ruby-bidi-001.html new file mode 100644 index 0000000000..ba18071150 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-bidi-001.html @@ -0,0 +1,16 @@ + + +Position of ruby annotation in RTL text + + + + + + + basetext + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-bidi-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-bidi-002-ref.html new file mode 100644 index 0000000000..874284de99 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-bidi-002-ref.html @@ -0,0 +1,35 @@ + + +Bidi reordering of ruby + + + + +

+ + base1base2 + text1text2 + base4base3 + text4text3 + + + base7base8 + text7text8 + base6base5 + text6text5 + +

+

+ + base5base6 + text5text6 + base8base7 + text8text7 + + + base3base4 + text3text4 + base2base1 + text2text1 + +

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-bidi-002.html b/testing/web-platform/tests/css/css-ruby/ruby-bidi-002.html new file mode 100644 index 0000000000..d6692a333a --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-bidi-002.html @@ -0,0 +1,49 @@ + + +Bidi reordering of ruby + + + + + + +

+ + base1base2 + + text1text2 + + + base3base4 + + text3text4 + + + base5base6 + text5text6 + + base7base8 + + text7text8 + +

+

+ + base1base2 + + text1text2 + + + base3base4 + + text3text4 + + + base5base6 + text5text6 + + base7base8 + + text7text8 + +

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-bidi-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-bidi-003-ref.html new file mode 100644 index 0000000000..ec00293d86 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-bidi-003-ref.html @@ -0,0 +1,6 @@ + + +Bidirectional text inside ruby content box + + +
אב12ג
אabבג
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-bidi-003.html b/testing/web-platform/tests/css/css-ruby/ruby-bidi-003.html new file mode 100644 index 0000000000..2510408ec2 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-bidi-003.html @@ -0,0 +1,8 @@ + + +Bidirectional text inside ruby content box + + + + +אב12גאabבג diff --git a/testing/web-platform/tests/css/css-ruby/ruby-bidi-004-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-bidi-004-ref.html new file mode 100644 index 0000000000..58ebff482c --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-bidi-004-ref.html @@ -0,0 +1,22 @@ + + +CSS Ruby reference + +

All three examples should look the same:

+ +
+

+ ۱ ۲ ۳1 2 3 +

+ +

+ ۱ ۲ ۳1 2 3 +

+ +

+ ۱ ۲ ۳1 2 3 +

+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-bidi-004.html b/testing/web-platform/tests/css/css-ruby/ruby-bidi-004.html new file mode 100644 index 0000000000..9cfe65059d --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-bidi-004.html @@ -0,0 +1,26 @@ + + +CSS Ruby test: dir=rtl on rb and rt elements + + + + + +

All three examples should look the same:

+ +
+

+ ۱ ۲ ۳1 2 3 +

+ +

+ ۱ ۲ ۳1 2 3 +

+ +

+ ۱ ۲ ۳1 2 3 +

+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-generation-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-001-ref.html new file mode 100644 index 0000000000..8d836fe23c --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-001-ref.html @@ -0,0 +1,41 @@ + + +Test for pseudo ruby box generation + + + + + +

|a bc d + e f + gh + i j + k l + m nop + qrst + u v + w x + y z|

+ +

| a bc d + e f + gh + i j + k l + m nop + qrst + u v + w x + y z |

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-generation-001.html b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-001.html new file mode 100644 index 0000000000..ac58d4d43a --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-001.html @@ -0,0 +1,56 @@ + + +Test for pseudo ruby box generation + + + + + + + + + +

| + a b + c d + e f + g h + i j + k l + m n + o p + q r + s t + u v + w x + y z + |

+ +

| a b + c d + e f + g h + i j + k l + m n + o p + q r + s t + u v + w x + y z |

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-generation-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-002-ref.html new file mode 100644 index 0000000000..730ab787d3 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-002-ref.html @@ -0,0 +1,47 @@ + + +Test for pseudo ruby box generation + + + + + +

|a b + c defg h + i j + k lmn + o p + q r + s tu v + w x + yz|

+ +

| a b + c defg h + i j + k lmn + o p + q r + s tu v + w x + yz |

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-generation-002.html b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-002.html new file mode 100644 index 0000000000..e09ecf1eb2 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-002.html @@ -0,0 +1,56 @@ + + +Test for pseudo ruby box generation + + + + + + + + + +

| + a b + c d + e f + g h + i j + k l + m n + o p + q r + s t + u v + w x + y z + |

+ +

| a b + c d + e f + g h + i j + k l + m n + o p + q r + s t + u v + w x + y z |

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-generation-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-003-ref.html new file mode 100644 index 0000000000..e4c92a498b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-003-ref.html @@ -0,0 +1,43 @@ + + +Test for pseudo ruby box generation + + + + + +

|a bcd + e f + g h + ijkl + m n + o p + q r + st + u v + w xy z|

+ +

| a bcd + e f + g h + ijkl + m n + o p + q r + st + u v + w xy z |

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-generation-003.html b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-003.html new file mode 100644 index 0000000000..6b975afdfb --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-003.html @@ -0,0 +1,56 @@ + + +Test for pseudo ruby box generation + + + + + + + + + +

| + a b + c d + e f + g h + i j + k l + m n + o p + q r + s t + u v + w x + y z + |

+ +

| a b + c d + e f + g h + i j + k l + m n + o p + q r + s t + u v + w x + y z |

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-generation-004-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-004-ref.html new file mode 100644 index 0000000000..7a27622cac --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-004-ref.html @@ -0,0 +1,47 @@ + + +Test for pseudo ruby box generation + + + + + +

|ab + c d + e fghi j + k l + m no p + q r + s t + u v + wx + yz|

+ +

| ab + c d + e fghi j + k l + m no p + q r + s t + u v + wx + yz |

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-generation-004.html b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-004.html new file mode 100644 index 0000000000..0f6ed72d71 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-004.html @@ -0,0 +1,56 @@ + + +Test for pseudo ruby box generation + + + + + + + + + +

| + a b + c d + e f + g h + i j + k l + m n + o p + q r + s t + u v + w x + y z + |

+ +

| a b + c d + e f + g h + i j + k l + m n + o p + q r + s t + u v + w x + y z |

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-generation-005-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-005-ref.html new file mode 100644 index 0000000000..55ba7b2c73 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-005-ref.html @@ -0,0 +1,45 @@ + + +Test for pseudo ruby box generation + + + + + +

|a b + c d + e f + g h + i j + klm n + o pq r + s tuvw xy z|

+ +

| a b + c d + e f + g h + i j + klm n + o pq r + s tuvw xy z |

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-generation-005.html b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-005.html new file mode 100644 index 0000000000..c86b697bf9 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-generation-005.html @@ -0,0 +1,41 @@ + + +Test for pseudo ruby box generation + + + + + + + +

| + a b + c d + e f + g h + i j + k l + m n + o p + q r + s t + u v + w x + y z + |

+ +

| a b + c d + e f + g h + i j + k l + m n + o p + q r + s t + u v + w x + y z |

+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-model-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-box-model-001-ref.html new file mode 100644 index 0000000000..8ddca2fc5b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-model-001-ref.html @@ -0,0 +1,81 @@ + + +CSS test reference + + + +

Test passes if, in each of the base/annotations pairs below, there is no gap between the pink box of the base and the orange box of the annotation.

+ + + + b1 + + + a1 + + + + + + b2 + + + a2 + + + + + + b3 + + + a3 + + + + + + b4 + + + a4 + + + + + + b5 + + + a5 + + + + + + b6 + + + a6 + + + + + + b7 + + + a7 + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-model-001.html b/testing/web-platform/tests/css/css-ruby/ruby-box-model-001.html new file mode 100644 index 0000000000..1fa2befaf8 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-box-model-001.html @@ -0,0 +1,94 @@ + + +CSS Ruby test: no m/b/p/ effect on base/annotation containers + + + + + + + + +

Test passes if, in each of the base/annotations pairs below, there is no gap between the pink box of the base and the orange box of the annotation.

+ + + + b1 + + + a1 + + + + + + b2 + + + a2 + + + + + + b3 + + + a3 + + + + + + b4 + + + a4 + + + + + + b5 + + + a5 + + + + + + b6 + + + a6 + + + + + + b7 + + + a7 + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-001-ref.html new file mode 100644 index 0000000000..0a09924c65 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-001-ref.html @@ -0,0 +1,20 @@ + + +Test for dynamic insertion of ruby frames + + + + +

One space should exist between 'a' and 'b':

+ +

a b

+

a b

+

a b

+

a b

+

a b

+ +

a b

+

a b

+

a b

+

a b

+

a b

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-001.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-001.html new file mode 100644 index 0000000000..be1c5ce500 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-001.html @@ -0,0 +1,30 @@ + + +Test for dynamic insertion of ruby frames + + + + + + +

One space should exist between 'a' and 'b':

+ + + +

a b

+

a b

+ +

a b

+ +

a b

+

a b

+ + + +

a b

+

a b

+ +

a b

+ +

a b

+

a b

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-002-ref.html new file mode 100644 index 0000000000..cd85db944e --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-002-ref.html @@ -0,0 +1,20 @@ + + +Test for dynamic insertion of ruby frames + + + + +

One space should exist between 'a' and 'b':

+ +

a b

+

a b

+

a b

+

a b

+

a b

+

a b

+

a b

+ +

a b

+

a b

+

a b

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-002.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-002.html new file mode 100644 index 0000000000..c2a12a0419 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-002.html @@ -0,0 +1,31 @@ + + +Test for dynamic insertion of ruby frames + + + + + + +

One space should exist between 'a' and 'b':

+ + + +

a b

+

a b

+ +

a b

+

a b

+ +

a b

+ +

a b

+

a b

+ + + +

ab

+ +

ab

+ +

ab

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-003-ref.html new file mode 100644 index 0000000000..ef71525479 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-003-ref.html @@ -0,0 +1,13 @@ + + +Test for dynamic insertion of ruby frames + + + +

No space should exist between 'a' and 'b':

+ +

a b

+

a b

+

a b

+

a b

+

a b

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-003.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-003.html new file mode 100644 index 0000000000..68984b5568 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-003.html @@ -0,0 +1,21 @@ + + +Test for dynamic insertion of ruby frames + + + + + + +

No space should exist between 'a' and 'b':

+ + + +

a b

+

a b

+ +

a b

+ +

a b

+ +

a b

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-004-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-004-ref.html new file mode 100644 index 0000000000..9c8120ee3f --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-004-ref.html @@ -0,0 +1,15 @@ + + +Test for dynamic insertion of ruby frames + + + +

No space should exist between 'a' and 'b':

+ +

a b

+

a b

+

a b

+

a b

+

a b

+

a b

+

a b

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-004.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-004.html new file mode 100644 index 0000000000..9b3c36e3ac --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-004.html @@ -0,0 +1,22 @@ + + +Test for dynamic insertion of ruby frames + + + + + + +

No space should exist between 'a' and 'b':

+ + + +

ab

+

ab

+

ab

+ +

ab

+

ab

+

ab

+ +

ab

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-005-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-005-ref.html new file mode 100644 index 0000000000..03e5cabe55 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-005-ref.html @@ -0,0 +1,13 @@ + + +Test for dynamic insertion of ruby frames + + + +

'a' and 'b' should be paired with 'x' and 'y' respectively:

+ +

abxy

+

abxy

+

axby

+

abxy

+

abxy

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-005.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-005.html new file mode 100644 index 0000000000..a684d665c8 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-005.html @@ -0,0 +1,22 @@ + + +Test for dynamic insertion of ruby frames + + + + + + +

'a' and 'b' should be paired with 'x' and 'y' respectively:

+ + + +

abxy

+ +

abxy

+ +

axy

+ +

abxy

+ +

abxy

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-001-ref.html new file mode 100644 index 0000000000..23beda2898 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-001-ref.html @@ -0,0 +1,19 @@ + + +Test for dynamic removal of ruby frames + + + +

No space should exist between 'a' and 'b':

+ +

a b

+

a b

+

a b

+ +

a b

+

a b

+

a b

+ +

ab x

+

abx

+

ab x

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-001.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-001.html new file mode 100644 index 0000000000..090ea43c79 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-001.html @@ -0,0 +1,34 @@ + + +Test for dynamic removal of ruby frames + + + + + + +

No space should exist between 'a' and 'b':

+ + + +

a b

+ +

a b

+ +

a b

+ + + +

a b

+ +

a b

+ +

a b

+ + + +

ab x

+ +

abx

+ +

ab x

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-002-ref.html new file mode 100644 index 0000000000..f9d2fd7240 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-002-ref.html @@ -0,0 +1,13 @@ + + +Test for dynamic removal of ruby frames + + + +

One space should exist between 'a' and 'b':

+ +

a b

+

a b

+

a b

+

a b

+

a bx y

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-002.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-002.html new file mode 100644 index 0000000000..76846e547b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-002.html @@ -0,0 +1,21 @@ + + +Test for dynamic removal of ruby frames + + + + + + +

One space should exist between 'a' and 'b':

+ + + +

a b

+

a b

+ +

a b

+ +

a b

+ +

a bx y

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-003-ref.html new file mode 100644 index 0000000000..0067c014f5 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-003-ref.html @@ -0,0 +1,20 @@ + + +Test for dynamic removal of ruby frames + + + +

'a' and 'b' should be paired with 'x' and 'y' respectively:

+ + +

abxy

+

abxy

+

abxy

+ +

abxy

+

abxy

+ +

'ab' should be paried with 'xy':

+ +

abxy

+

abxy

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-003.html b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-003.html new file mode 100644 index 0000000000..d35b2b968d --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-003.html @@ -0,0 +1,33 @@ + + +Test for dynamic removal of ruby frames + + + + + + +

'a' and 'b' should be paired with 'x' and 'y' respectively:

+ + + +

abxy

+ +

abxy

+ +

abxy

+ + + +

a bxy

+ +

abx y

+ +

'ab' should be paried with 'xy':

+ + + +

abxy

+ + +

abxy

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-float-handling-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-float-handling-001-ref.html new file mode 100644 index 0000000000..245a366172 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-float-handling-001-ref.html @@ -0,0 +1,19 @@ + + +Test for float handling in ruby + + + + +
HELLO WORLD
hello world
+
HELLO WORLD
hello world
+
HELLO WORLD
hello world
+
HELLO WORLD
hello world
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-float-handling-001.html b/testing/web-platform/tests/css/css-ruby/ruby-float-handling-001.html new file mode 100644 index 0000000000..5cb56e88ac --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-float-handling-001.html @@ -0,0 +1,21 @@ + + +Test for float handling in ruby + + + + + + +
HELLO WORLD
hello world
+
HELLO WORLDhello
world
+
HELLO WORLD
hello world
+
HELLO WORLDhello
world
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-001-ref.html new file mode 100644 index 0000000000..770f264682 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-001-ref.html @@ -0,0 +1,23 @@ + + + + + CSS Reference: Inlinize block-level boxes inside ruby + + + + + +
a
b
c
+
a
b
c
+
a
b
c
+
a
b
c
+
a
b
c
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-001.html b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-001.html new file mode 100644 index 0000000000..93569e549b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-001.html @@ -0,0 +1,25 @@ + + + + + CSS Test: Inlinize block-level boxes inside ruby + + + + + + + +
a
b
c
+
a
b
c
+
a
b
c
+
a
b
c
+
a
b
c
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-002-ref.html new file mode 100644 index 0000000000..41533ee76b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-002-ref.html @@ -0,0 +1,42 @@ + + + + + CSS Reference: Inlinize block-level boxes inside ruby + + + + +
a
b
c
x
y
z
+
+ a
b1b2
c
+ x
y1y2
z
+
+
+ a
+
b1
+
b2
+
c
+ x
+
y1
+
y2
+
z
+
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-002.html b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-002.html new file mode 100644 index 0000000000..4616d50146 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-002.html @@ -0,0 +1,44 @@ + + + + + CSS Test: Inlinize block-level boxes inside ruby + + + + + + +
a
b
c
x
y
z
+
+ a
b1b2
c
+ x
y1y2
z
+
+
+ a
+
b1
+
b2
+
c
+ x
+
y1
+
y2
+
z
+
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-003-ref.html new file mode 100644 index 0000000000..c8041eb5c7 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-003-ref.html @@ -0,0 +1,25 @@ + + + + + CSS Reference: Inlinize block-level boxes inside ruby + + + + + +
a
b1
b2
c
+
a
b1
b2
c
+
a
b1
b2
c
+
a
b1
b2
c
+
a
b1
b2
c
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-003.html b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-003.html new file mode 100644 index 0000000000..4d1a85f9d1 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-003.html @@ -0,0 +1,26 @@ + + + + + CSS Test: Inlinize block-level boxes inside ruby + + + + + + + +
a
b1
b2
c
+
a
b1
b2
c
+
a
b1
b2
c
+
a
b1
b2
c
+
a
b1
b2
c
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-004-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-004-ref.html new file mode 100644 index 0000000000..e1042d14c1 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-004-ref.html @@ -0,0 +1,23 @@ + + + + + CSS Reference: Inlinize block-level boxes inside ruby + + + + + +
a
b
c
+
a
b
c
+
a
b
c
+
a
b
c
+
a
b
c
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-004.html b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-004.html new file mode 100644 index 0000000000..7d34371219 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-004.html @@ -0,0 +1,25 @@ + + + + + CSS Test: Inlinize block-level boxes inside ruby + + + + + + + +
a
b
c
+
a
b
c
+
a
b
c
+
a
b
c
+
a
b
c
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-005-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-005-ref.html new file mode 100644 index 0000000000..4b2d66e2e7 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-005-ref.html @@ -0,0 +1,30 @@ + + + + + CSS Reference: Inlinize block-level boxes inside ruby + + + + + +
b
+
b
+
b
+
b
+
b
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-005.html b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-005.html new file mode 100644 index 0000000000..595c704ab2 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-inlinize-blocks-005.html @@ -0,0 +1,32 @@ + + + + + CSS Test: Inlinize block-level boxes inside ruby + + + + + + + +
b
+
b
+
b
+
b
+
b
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-001-ref.html new file mode 100644 index 0000000000..1d9fbb344f --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-001-ref.html @@ -0,0 +1,18 @@ + + +Intra-level whitespace pairing + + + +

+ a b + x y +

+

+ a b + xy +

+

+ ab + x y +

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-001.html b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-001.html new file mode 100644 index 0000000000..4fceda1fb0 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-001.html @@ -0,0 +1,20 @@ + + +Intra-level whitespace pairing + + + + + +

+ a b + x y +

+

+ a b + xy +

+

+ ab + x y +

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-002-ref.html new file mode 100644 index 0000000000..c5949dbeb5 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-002-ref.html @@ -0,0 +1,24 @@ + + +Intra-level whitespace pairing + + + + + +12345 12345 67890 +
12345 678900987654321
+
123456789009876 54321
+
12345 6789009876 54321
+ diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-002.html b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-002.html new file mode 100644 index 0000000000..67aab53bfb --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-002.html @@ -0,0 +1,31 @@ + + +Intra-level whitespace pairing + + + + + + + +12345 12345 67890 +
12345 678900987654321
+
123456789009876 54321
+
12345 6789009876 54321
+ diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-003-ref.html new file mode 100644 index 0000000000..d1df82371c --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-003-ref.html @@ -0,0 +1,10 @@ + + +Intra-level whitespace pairing + + + +| + beforebase + textafter +| diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-003.html b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-003.html new file mode 100644 index 0000000000..716f2e3f0b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-003.html @@ -0,0 +1,32 @@ + + +Intra-level whitespace pairing + + + + + + + +| + base + text +| diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-001-ref.html new file mode 100644 index 0000000000..9d2889f811 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-001-ref.html @@ -0,0 +1,48 @@ + + + +Intrinsic ISize calculation of ruby + + + +
+ ABCDEF +
+
+ ABCDEF +
+
+ +
+ XYZABCDEFXYZ +
+
+ XYZABCDEFXYZ +
+
+ +
+ あいうえ +
+
+ あいうえ +
+
+ +
+ おあいうえお +
+
+ おあいうえお +
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-001.html b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-001.html new file mode 100644 index 0000000000..84f48e2fc9 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-001.html @@ -0,0 +1,47 @@ + + + +Intrinsic ISize calculation of ruby + + + + + +
+ ABCDEF +
+
+ ABCDEF +
+
+ +
+ XYZABCDEFXYZ +
+
+ XYZABCDEFXYZ +
+
+ +
+ あいうえ +
+
+ あいうえ +
+
+ +
+ おあいうえお +
+
+ おあいうえお +
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002-ref.html new file mode 100644 index 0000000000..d71de26a25 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002-ref.html @@ -0,0 +1,28 @@ + + + +Intrinsic ISize calculation of ruby + + + +

No line break should happen in any block, and the content should just fit in the block.

+ +
+ ABC DEF +
+
+ XYZ ABCDEF XYZ +
+ +
+ あい うえ +
+
+ お あいうえ お +
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002.html b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002.html new file mode 100644 index 0000000000..741d41bec5 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002.html @@ -0,0 +1,30 @@ + + + +Intrinsic ISize calculation of ruby + + + + + +

No line break should happen in any block, and the content should just fit in the block.

+ +
+ ABC DEF +
+
+ XYZ ABCDEF XYZ +
+ +
+ あい うえ +
+
+ お あいうえ お +
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-003-ref.html new file mode 100644 index 0000000000..01523b4a85 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-003-ref.html @@ -0,0 +1,54 @@ + + + +Intrinsic ISize calculation of ruby + + + +
+ ABCDEF +
+
+ ABCDEF +
+
+ +
+ XYZABCDEFXYZ +
+
+ XYZABCDEFXYZ +
+
+ +
+ あいうえ +
+
+ あいうえ +
+
+ +
+ おあいうえお +
+
+ おあいうえお +
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-003.html b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-003.html new file mode 100644 index 0000000000..c67033f69a --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-003.html @@ -0,0 +1,53 @@ + + + +Intrinsic ISize calculation of ruby + + + + + +
+ ABCDEF +
+
+ ABCDEF +
+
+ +
+ XYZABCDEFXYZ +
+
+ XYZABCDEFXYZ +
+
+ +
+ あいうえ +
+
+ あいうえ +
+
+ +
+ おあいうえお +
+
+ おあいうえお +
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-justification-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-justification-001-ref.html new file mode 100644 index 0000000000..eaec889713 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-justification-001-ref.html @@ -0,0 +1,12 @@ + + +Justification with ruby span + + + + +
+ ab +
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-justification-001.html b/testing/web-platform/tests/css/css-ruby/ruby-justification-001.html new file mode 100644 index 0000000000..edef72874b --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-justification-001.html @@ -0,0 +1,15 @@ + + +Justification with ruby span + + + + + + +
+ ab +
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-justification-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-justification-002-ref.html new file mode 100644 index 0000000000..c61dae5c62 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-justification-002-ref.html @@ -0,0 +1,17 @@ + + + +Justification with ruby span + + + + +
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-justification-002.html b/testing/web-platform/tests/css/css-ruby/ruby-justification-002.html new file mode 100644 index 0000000000..979987c028 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-justification-002.html @@ -0,0 +1,23 @@ + + + +Justification with ruby span + + + + + + +
+ + + +
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-lang-specific-style-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-lang-specific-style-001-ref.html new file mode 100644 index 0000000000..c0655a5310 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-lang-specific-style-001-ref.html @@ -0,0 +1,12 @@ + + +Test for lang-specific default stylesheet for ruby + + + + + +

base x xtext x x

+

base x xtext x x

+

base x xtext x x

+

base x xtext x x

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-lang-specific-style-001.html b/testing/web-platform/tests/css/css-ruby/ruby-lang-specific-style-001.html new file mode 100644 index 0000000000..3206514f0d --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-lang-specific-style-001.html @@ -0,0 +1,14 @@ + + +Test for lang-specific default stylesheet for ruby + + + + + + + +

base x xtext x x

+

base x xtext x x

+

base x xtext x x

+

base x xtext x x

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-layout-internal-boxes-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-layout-internal-boxes-ref.html new file mode 100644 index 0000000000..7c89ee60e9 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-layout-internal-boxes-ref.html @@ -0,0 +1,179 @@ + + + + + CSS Ruby Reference: ruby content w. layout-internal 'display' values + + + + + +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +

+ + + +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ + + +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-layout-internal-boxes.html b/testing/web-platform/tests/css/css-ruby/ruby-layout-internal-boxes.html new file mode 100644 index 0000000000..cfd271233e --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-layout-internal-boxes.html @@ -0,0 +1,181 @@ + + + + + CSS Ruby Test: ruby content w. layout-internal 'display' values + + + + + + + + +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +ab +ab +a
b
b
+a
b
c
+ +

+ + + +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ + + +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ +b +b +
b
b
+
b
c
+ + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-001-ref.html new file mode 100644 index 0000000000..1cd43b8001 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-001-ref.html @@ -0,0 +1,11 @@ + + +Test for ruby line break suppression + + + +ab
+ab
+ab
+ab
+ab diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-001.html b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-001.html new file mode 100644 index 0000000000..11d4d40d43 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-001.html @@ -0,0 +1,13 @@ + + +Test for ruby line break suppression + + + + + +a
b

+a
b

+a
b

+a
b

+a
b
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-002-ref.html new file mode 100644 index 0000000000..8281ea1d74 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-002-ref.html @@ -0,0 +1,13 @@ + + +Test for ruby line break suppression + + + +
+ aaaaaaaaaabbbbbbbbbb
+ aaaaaaaaaabbbbbbbbbb
+ aaaaaaaaaabbbbbbbbbb
+ aaaaaaaaaabbbbbbbbbb
+ aaaaaaaaaabbbbbbbbbb
+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-002.html b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-002.html new file mode 100644 index 0000000000..394b9c27e5 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-002.html @@ -0,0 +1,15 @@ + + +Test for ruby line break suppression + + + + + +
+ aaaaaaaaaa
bbbbbbbbbb

+ aaaaaaaaaa
bbbbbbbbbb

+ aaaaaaaaaa
bbbbbbbbbb

+ aaaaaaaaaa
bbbbbbbbbb

+ aaaaaaaaaa
bbbbbbbbbb

+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-003-ref.html new file mode 100644 index 0000000000..f8b1e168e1 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-003-ref.html @@ -0,0 +1,16 @@ + + +Test for ruby line break suppression + + + +a +b
+a +b
+a +b
+a +b
+a +b
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-003.html b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-003.html new file mode 100644 index 0000000000..dadfd562a4 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-003.html @@ -0,0 +1,21 @@ + + +Test for ruby line break suppression + + + + + + +a +b
+a +b
+a +b
+a +b
+a +b
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-004-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-004-ref.html new file mode 100644 index 0000000000..5aa5582957 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-004-ref.html @@ -0,0 +1,7 @@ + + +Line break suppression on whitespaces wrapped but not contained in ruby boxes + + +a +b diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-004.html b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-004.html new file mode 100644 index 0000000000..0314237f07 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-004.html @@ -0,0 +1,9 @@ + + +Line break suppression on whitespaces wrapped but not contained in ruby boxes + + + + +a +b diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-005-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-005-ref.html new file mode 100644 index 0000000000..c40780e37d --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-005-ref.html @@ -0,0 +1,7 @@ + + +Line break suppression with soft hyphen + + + +xa diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-005.html b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-005.html new file mode 100644 index 0000000000..10d6690b3d --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-005.html @@ -0,0 +1,9 @@ + + +Line break suppression with soft hyphen + + + + + +x diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-001-ref.html new file mode 100644 index 0000000000..1f3031c59a --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-001-ref.html @@ -0,0 +1,14 @@ + + + +Meet the specification for line breaking between ruby bases + + + + +
+ です +
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-001.html b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-001.html new file mode 100644 index 0000000000..b6b4d861e2 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-001.html @@ -0,0 +1,19 @@ + + + +Meet the specification for line breaking between ruby bases + + + + + + +
+ + です + + + +
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-002-ref.html new file mode 100644 index 0000000000..08510f7fb0 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-002-ref.html @@ -0,0 +1,11 @@ + + + +Line breaking between ruby and preceeding open bracket + + + + +
+ の「X」 +
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-002.html b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-002.html new file mode 100644 index 0000000000..dddf41f930 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-002.html @@ -0,0 +1,13 @@ + + + +Line breaking between ruby and preceeding open bracket + + + + + + +
+ の「X
」 +
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-003-ref.html new file mode 100644 index 0000000000..4f3cecb27c --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-003-ref.html @@ -0,0 +1,18 @@ + + + +Dynamic break point change in ruby + + + + +
+

一二三四五六七八

+

一二三四五六七八

+
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-003.html b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-003.html new file mode 100644 index 0000000000..27348d0cf1 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-line-breaking-003.html @@ -0,0 +1,28 @@ + + + +Dynamic break point change in ruby + + + + + + +
+

+

+
+ diff --git a/testing/web-platform/tests/css/css-ruby/ruby-no-transform-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-no-transform-ref.html new file mode 100644 index 0000000000..56afd9366f --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-no-transform-ref.html @@ -0,0 +1,10 @@ + + +Ruby should not support transform + + + + + ab + AB + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-no-transform.html b/testing/web-platform/tests/css/css-ruby/ruby-no-transform.html new file mode 100644 index 0000000000..1cdd4f3bbf --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-no-transform.html @@ -0,0 +1,17 @@ + + +Ruby should not support transform + + + + + + + + ab + AB + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-position-alternate.html b/testing/web-platform/tests/css/css-ruby/ruby-position-alternate.html new file mode 100644 index 0000000000..e2e10d9be2 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-position-alternate.html @@ -0,0 +1,75 @@ + + + + + + +

+ + base + annotation1 + annotation2 + annotation3 + +

+ + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-position.html b/testing/web-platform/tests/css/css-ruby/ruby-position.html new file mode 100644 index 0000000000..014c524044 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-position.html @@ -0,0 +1,47 @@ + + + + + + +

baseannotation

+

baseannotation

+

baseannotation

+ +

baseannotation

+

baseannotation

+

baseannotation

+ + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-reflow-001-noruby.html b/testing/web-platform/tests/css/css-ruby/ruby-reflow-001-noruby.html new file mode 100644 index 0000000000..eda07deddb --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-reflow-001-noruby.html @@ -0,0 +1,18 @@ + + + +CSS Test: Ruby Base Frames Reflowed + + + + + + + + + +新幹線 + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-reflow-001-opaqueruby.html b/testing/web-platform/tests/css/css-ruby/ruby-reflow-001-opaqueruby.html new file mode 100644 index 0000000000..77feb2e6b8 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-reflow-001-opaqueruby.html @@ -0,0 +1,22 @@ + + + +CSS Test: Ruby Text Frames Visible + + + + + + + + + + + + + しんかんせん + + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-reflow-001-transparentruby.html b/testing/web-platform/tests/css/css-ruby/ruby-reflow-001-transparentruby.html new file mode 100644 index 0000000000..008c5250bc --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-reflow-001-transparentruby.html @@ -0,0 +1,23 @@ + + + +CSS Test: Ruby Base Frames Reflowed + + + + + + + + + + + + + しんかんせん + + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-span-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-span-001-ref.html new file mode 100644 index 0000000000..3bf873453c --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-span-001-ref.html @@ -0,0 +1,7 @@ + + +Ruby span + + + +The Ruby Basespan diff --git a/testing/web-platform/tests/css/css-ruby/ruby-span-001.html b/testing/web-platform/tests/css/css-ruby/ruby-span-001.html new file mode 100644 index 0000000000..e7b19667aa --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-span-001.html @@ -0,0 +1,9 @@ + + +Ruby span + + + + + +The Ruby Basespan diff --git a/testing/web-platform/tests/css/css-ruby/ruby-text-collapse-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-text-collapse-ref.html new file mode 100644 index 0000000000..6cbcc7807f --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-text-collapse-ref.html @@ -0,0 +1,21 @@ + + + +CSS Reference: visibility: collapse hides ruby annotations + + + + + こんちゅう +
+ + + こんちゅう +
+ + + こん + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-text-collapse.html b/testing/web-platform/tests/css/css-ruby/ruby-text-collapse.html new file mode 100644 index 0000000000..5bb01aab02 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-text-collapse.html @@ -0,0 +1,23 @@ + + + +CSS Test: visibility: collapse hides ruby annotations + + + + + + + こんちゅう +
+ + + こんちゅう +
+ + + こんちゅう + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001-ref.html new file mode 100644 index 0000000000..db4f23c886 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001-ref.html @@ -0,0 +1,21 @@ + + + + + CSS Reference: Ruby with text-combine-upright in base + + + + + +

Test passes if the two rectangles are vertically middle aligned.

+
+ XXXXXXXXX +
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001a.html b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001a.html new file mode 100644 index 0000000000..bdb87e29b9 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001a.html @@ -0,0 +1,23 @@ + + + + + CSS Test: Ruby with text-combine-upright base + + + + + + + +

Test passes if the two rectangles are vertically middle aligned.

+
+ XXXXXXXXX +
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001b.html b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001b.html new file mode 100644 index 0000000000..8aed0146b5 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-001b.html @@ -0,0 +1,23 @@ + + + + + CSS Test: Ruby with text-combine-upright child in base + + + + + + + +

Test passes if the two rectangles are vertically middle aligned.

+
+ XXXXXXXXX +
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002-ref.html new file mode 100644 index 0000000000..1bb4386e7a --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002-ref.html @@ -0,0 +1,21 @@ + + + + + CSS Reference: Ruby with text-combine-upright annotation + + + + + +

Test passes if the two rectangles are vertically middle aligned.

+
+ XXXXX +
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002a.html b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002a.html new file mode 100644 index 0000000000..6c95c169e2 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002a.html @@ -0,0 +1,23 @@ + + + + + CSS Test: Ruby with text-combine-upright in annotation + + + + + + + +

Test passes if the two rectangles are vertically middle aligned.

+
+ XXXXX +
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002b.html b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002b.html new file mode 100644 index 0000000000..ed7dabb026 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-text-combine-upright-002b.html @@ -0,0 +1,23 @@ + + + + + CSS Test: Ruby with text-combine-upright child in annotation + + + + + + + +

Test passes if the two rectangles are vertically middle aligned.

+
+ XXXXX +
+ + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-whitespace-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-whitespace-001-ref.html new file mode 100644 index 0000000000..04fa59e6ba --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-whitespace-001-ref.html @@ -0,0 +1,33 @@ + + +Ruby whitespace handling + + + + + +

+ Base three Text three Segment two +

+ +

+ Base one Base threeText one Text three +

+ +

+ Segment one Base three Text three Base one Base threeText oneText two/three +

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-whitespace-001.html b/testing/web-platform/tests/css/css-ruby/ruby-whitespace-001.html new file mode 100644 index 0000000000..9072a8e684 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-whitespace-001.html @@ -0,0 +1,33 @@ + + +Ruby whitespace handling + + + + + + + +

+ + Base three + Text three + Segment two + +

+ +

+ + Base one Base three + Text one Text three + +

+ +

+ Segment one Base three Text three + + Base one Base three Text oneText two/three +

diff --git a/testing/web-platform/tests/css/css-ruby/ruby-whitespace-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-whitespace-002-ref.html new file mode 100644 index 0000000000..2b22891738 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-whitespace-002-ref.html @@ -0,0 +1,15 @@ + + +Ruby whitespace handling + + + + + +abcd BASETEXT + +abcdBASETEXT + +abcd BASETEXT + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-whitespace-002.html b/testing/web-platform/tests/css/css-ruby/ruby-whitespace-002.html new file mode 100644 index 0000000000..98ed789133 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-whitespace-002.html @@ -0,0 +1,16 @@ + + +Ruby whitespace handling + + + + + + +abcd BASETEXT + +abcd BASETEXT + +abcd BASETEXT + + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-with-floats-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-001-ref.html new file mode 100644 index 0000000000..c041e3f993 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-001-ref.html @@ -0,0 +1,4 @@ + +
+
baseannotation
+ diff --git a/testing/web-platform/tests/css/css-ruby/ruby-with-floats-001.html b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-001.html new file mode 100644 index 0000000000..a49c1b255f --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-001.html @@ -0,0 +1,7 @@ + +A float is positioned correctly with ruby. + + +
+baseannotation + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-with-floats-002-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-002-ref.html new file mode 100644 index 0000000000..aa07f344e4 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-002-ref.html @@ -0,0 +1,5 @@ + +
+
+
baseannotation
+ diff --git a/testing/web-platform/tests/css/css-ruby/ruby-with-floats-002.html b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-002.html new file mode 100644 index 0000000000..190089d334 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-002.html @@ -0,0 +1,8 @@ + +A ruby annotation doesn't intersect with any floats. + + +
+
+baseannotation + diff --git a/testing/web-platform/tests/css/css-ruby/ruby-with-floats-003-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-003-ref.html new file mode 100644 index 0000000000..110e16eeec --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-003-ref.html @@ -0,0 +1,5 @@ + +
+
+
baseannotation
+ diff --git a/testing/web-platform/tests/css/css-ruby/ruby-with-floats-003.html b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-003.html new file mode 100644 index 0000000000..4fd7524315 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-003.html @@ -0,0 +1,8 @@ + +A ruby annotation doesn't intersect with any floats. + + +
+
+baseannotation + diff --git a/testing/web-platform/tests/css/css-ruby/support/ruby-common.css b/testing/web-platform/tests/css/css-ruby/support/ruby-common.css new file mode 100644 index 0000000000..cf83123281 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/support/ruby-common.css @@ -0,0 +1,18 @@ +rbc { + display: ruby-base-container; + unicode-bidi: isolate; +} +[pseudo] { + font-size: inherit; + line-height: inherit; +} +[pseudo] > rt { + font-size: 50%; +} +[pseudo] > rt[pseudo] { + font-size: inherit; +} + +.large { + font-size: 200%; +} diff --git a/testing/web-platform/tests/css/css-ruby/support/ruby-dynamic-insertion.js b/testing/web-platform/tests/css/css-ruby/support/ruby-dynamic-insertion.js new file mode 100644 index 0000000000..0bf6cd9697 --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/support/ruby-dynamic-insertion.js @@ -0,0 +1,42 @@ +window.onload = function() { + // Force a reflow before any changes. + document.body.clientWidth; + + var elems = document.querySelectorAll('[data-insert]'); + Array.from(elems).forEach(function(e) { + var parent, ref; + switch (e.dataset.insert) { + case 'start': + parent = e; + ref = e.firstChild; + break; + + case 'end': + parent = e; + ref = null; + break; + + case 'before': + parent = e.parentNode; + ref = e; + break; + + case 'after': + parent = e.parentNode; + ref = e.nextSibling; + break; + } + + var elem, textnode; + if ('text' in e.dataset) { + textnode = document.createTextNode(e.dataset.text); + } + if ('tag' in e.dataset) { + elem = document.createElement(e.dataset.tag); + if (textnode) { + elem.appendChild(textnode); + } + } + parent.insertBefore(elem ? elem : textnode, ref); + }); +}; diff --git a/testing/web-platform/tests/css/css-ruby/support/ruby-dynamic-removal.js b/testing/web-platform/tests/css/css-ruby/support/ruby-dynamic-removal.js new file mode 100644 index 0000000000..c703e7601e --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/support/ruby-dynamic-removal.js @@ -0,0 +1,14 @@ +function getElements(className) { + return Array.from(document.getElementsByClassName(className)); +} +window.onload = function() { + // Force a reflow before any changes. + document.body.clientWidth; + + getElements('remove').forEach(function(e) { + e.remove(); + }); + getElements('remove-after').forEach(function(e) { + e.parentNode.removeChild(e.nextSibling); + }); +}; -- cgit v1.2.3